httpapi/tests: Added some basic tests for session and group creation.
[wine.git] / configure
blob4704e165b7558cc8fea44b618cea30049cbd56b1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.22.
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.22'
584 PACKAGE_STRING='Wine 2.22'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://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 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 UDEV_LIBS
660 UDEV_CFLAGS
661 OSS4_CFLAGS
662 ALSA_LIBS
663 GSTREAMER_LIBS
664 GSTREAMER_CFLAGS
665 PULSE_LIBS
666 PULSE_CFLAGS
667 GETTEXTPO_LIBS
668 Z_LIBS
669 FREETYPE_LIBS
670 FREETYPE_CFLAGS
671 LCMS2_LIBS
672 LCMS2_CFLAGS
673 RESOLV_LIBS
674 GPHOTO2_PORT_LIBS
675 GPHOTO2_PORT_CFLAGS
676 GPHOTO2_LIBS
677 GPHOTO2_CFLAGS
678 SANE_LIBS
679 SANE_CFLAGS
680 GNUTLS_LIBS
681 GNUTLS_CFLAGS
682 HAL_LIBS
683 HAL_CFLAGS
684 DBUS_LIBS
685 DBUS_CFLAGS
686 XSLT_LIBS
687 XSLT_CFLAGS
688 XML2_LIBS
689 XML2_CFLAGS
690 PCAP_LIBS
691 X_EXTRA_LIBS
692 X_LIBS
693 X_PRE_LIBS
694 X_CFLAGS
695 XMKMF
696 PTHREAD_LIBS
697 CROSSCFLAGS
698 CROSSCC
699 CROSSTARGET
700 PRELINK
701 WINELOADER_DEPENDS
702 CARBON_LIBS
703 QUICKTIME_LIBS
704 OPENCL_LIBS
705 OPENAL_LIBS
706 COREAUDIO_LIBS
707 SECURITY_LIBS
708 DISKARBITRATION_LIBS
709 APPKIT_LIBS
710 CORESERVICES_LIBS
711 APPLICATIONSERVICES_LIBS
712 FORCEFEEDBACK_LIBS
713 IOKIT_LIBS
714 COREFOUNDATION_LIBS
715 LIBWINE_DEPENDS
716 LIBWINE_LDFLAGS
717 LIBWINE_INSTALL_DEV
718 LIBWINE_INSTALL_LIB
719 LIBWINE_IMPORTLIB
720 LIBWINE_SHAREDLIB
721 SOCKET_LIBS
722 DLLTOOL
723 WINELOADER_PROGRAMS
724 ALL_TEST_RESOURCES
725 CONFIGURE_TARGETS
726 DISABLED_SUBDIRS
727 SUBDIRS
728 READELF
729 OTOOL
731 WINELOADER_LDFLAGS
732 LDEXECFLAGS
733 LDRPATH_LOCAL
734 LDRPATH_INSTALL
735 DLLFLAGS
736 dlldir
738 OPENGL_LIBS
739 ICOTOOL
740 CONVERT
741 RSVG
742 FONTFORGE
743 PKG_CONFIG
744 MSGFMT
745 LDCONFIG
746 EGREP
747 GREP
748 LN_S
749 RANLIB
750 ARFLAGS
751 STRIP
752 ac_ct_AR
754 BISON
755 FLEX
756 TOOLSDIR
757 TARGETFLAGS
759 CPPBIN
760 ac_ct_CXX
761 CXXFLAGS
763 OBJEXT
764 EXEEXT
765 ac_ct_CC
766 CPPFLAGS
767 LDFLAGS
768 CFLAGS
770 SET_MAKE
771 host_os
772 host_vendor
773 host_cpu
774 host
775 build_os
776 build_vendor
777 build_cpu
778 build
779 target_alias
780 host_alias
781 build_alias
782 LIBS
783 ECHO_T
784 ECHO_N
785 ECHO_C
786 DEFS
787 mandir
788 localedir
789 libdir
790 psdir
791 pdfdir
792 dvidir
793 htmldir
794 infodir
795 docdir
796 oldincludedir
797 includedir
798 runstatedir
799 localstatedir
800 sharedstatedir
801 sysconfdir
802 datadir
803 datarootdir
804 libexecdir
805 sbindir
806 bindir
807 program_transform_name
808 prefix
809 exec_prefix
810 PACKAGE_URL
811 PACKAGE_BUGREPORT
812 PACKAGE_STRING
813 PACKAGE_VERSION
814 PACKAGE_TARNAME
815 PACKAGE_NAME
816 PATH_SEPARATOR
817 SHELL'
818 ac_subst_files=''
819 ac_user_opts='
820 enable_option_checking
821 enable_win16
822 enable_win64
823 enable_tests
824 enable_maintainer_mode
825 with_alsa
826 with_capi
827 with_cms
828 with_coreaudio
829 with_cups
830 with_curses
831 with_dbus
832 with_fontconfig
833 with_freetype
834 with_gettext
835 with_gettextpo
836 with_gphoto
837 with_glu
838 with_gnutls
839 with_gsm
840 with_gstreamer
841 with_hal
842 with_jpeg
843 with_krb5
844 with_ldap
845 with_mpg123
846 with_netapi
847 with_openal
848 with_opencl
849 with_opengl
850 with_osmesa
851 with_oss
852 with_pcap
853 with_png
854 with_pthread
855 with_pulse
856 with_sane
857 with_tiff
858 with_udev
859 with_v4l
860 with_xcomposite
861 with_xcursor
862 with_xfixes
863 with_xinerama
864 with_xinput
865 with_xinput2
866 with_xml
867 with_xrandr
868 with_xrender
869 with_xshape
870 with_xshm
871 with_xslt
872 with_xxf86vm
873 with_zlib
874 with_wine_tools
875 with_wine64
876 enable_largefile
877 with_x
878 enable_acledit
879 enable_aclui
880 enable_activeds
881 enable_actxprxy
882 enable_adsldpc
883 enable_advapi32
884 enable_advpack
885 enable_amstream
886 enable_api_ms_win_appmodel_identity_l1_1_0
887 enable_api_ms_win_appmodel_runtime_l1_1_1
888 enable_api_ms_win_appmodel_runtime_l1_1_2
889 enable_api_ms_win_core_apiquery_l1_1_0
890 enable_api_ms_win_core_appcompat_l1_1_1
891 enable_api_ms_win_core_appinit_l1_1_0
892 enable_api_ms_win_core_atoms_l1_1_0
893 enable_api_ms_win_core_bem_l1_1_0
894 enable_api_ms_win_core_com_l1_1_0
895 enable_api_ms_win_core_com_l1_1_1
896 enable_api_ms_win_core_com_private_l1_1_0
897 enable_api_ms_win_core_console_l1_1_0
898 enable_api_ms_win_core_console_l2_1_0
899 enable_api_ms_win_core_crt_l1_1_0
900 enable_api_ms_win_core_crt_l2_1_0
901 enable_api_ms_win_core_datetime_l1_1_0
902 enable_api_ms_win_core_datetime_l1_1_1
903 enable_api_ms_win_core_debug_l1_1_0
904 enable_api_ms_win_core_debug_l1_1_1
905 enable_api_ms_win_core_delayload_l1_1_0
906 enable_api_ms_win_core_delayload_l1_1_1
907 enable_api_ms_win_core_errorhandling_l1_1_0
908 enable_api_ms_win_core_errorhandling_l1_1_1
909 enable_api_ms_win_core_errorhandling_l1_1_2
910 enable_api_ms_win_core_errorhandling_l1_1_3
911 enable_api_ms_win_core_fibers_l1_1_0
912 enable_api_ms_win_core_fibers_l1_1_1
913 enable_api_ms_win_core_file_l1_1_0
914 enable_api_ms_win_core_file_l1_2_0
915 enable_api_ms_win_core_file_l1_2_1
916 enable_api_ms_win_core_file_l1_2_2
917 enable_api_ms_win_core_file_l2_1_0
918 enable_api_ms_win_core_file_l2_1_1
919 enable_api_ms_win_core_file_l2_1_2
920 enable_api_ms_win_core_handle_l1_1_0
921 enable_api_ms_win_core_heap_l1_1_0
922 enable_api_ms_win_core_heap_l1_2_0
923 enable_api_ms_win_core_heap_l2_1_0
924 enable_api_ms_win_core_heap_obsolete_l1_1_0
925 enable_api_ms_win_core_interlocked_l1_1_0
926 enable_api_ms_win_core_interlocked_l1_2_0
927 enable_api_ms_win_core_io_l1_1_0
928 enable_api_ms_win_core_io_l1_1_1
929 enable_api_ms_win_core_job_l1_1_0
930 enable_api_ms_win_core_job_l2_1_0
931 enable_api_ms_win_core_kernel32_legacy_l1_1_0
932 enable_api_ms_win_core_kernel32_legacy_l1_1_1
933 enable_api_ms_win_core_kernel32_private_l1_1_1
934 enable_api_ms_win_core_libraryloader_l1_1_0
935 enable_api_ms_win_core_libraryloader_l1_1_1
936 enable_api_ms_win_core_libraryloader_l1_2_0
937 enable_api_ms_win_core_libraryloader_l1_2_1
938 enable_api_ms_win_core_libraryloader_l1_2_2
939 enable_api_ms_win_core_localization_l1_1_0
940 enable_api_ms_win_core_localization_l1_2_0
941 enable_api_ms_win_core_localization_l1_2_1
942 enable_api_ms_win_core_localization_l2_1_0
943 enable_api_ms_win_core_localization_obsolete_l1_1_0
944 enable_api_ms_win_core_localization_obsolete_l1_2_0
945 enable_api_ms_win_core_localization_obsolete_l1_3_0
946 enable_api_ms_win_core_localization_private_l1_1_0
947 enable_api_ms_win_core_localregistry_l1_1_0
948 enable_api_ms_win_core_memory_l1_1_0
949 enable_api_ms_win_core_memory_l1_1_1
950 enable_api_ms_win_core_memory_l1_1_2
951 enable_api_ms_win_core_misc_l1_1_0
952 enable_api_ms_win_core_namedpipe_l1_1_0
953 enable_api_ms_win_core_namedpipe_l1_2_0
954 enable_api_ms_win_core_namespace_l1_1_0
955 enable_api_ms_win_core_normalization_l1_1_0
956 enable_api_ms_win_core_path_l1_1_0
957 enable_api_ms_win_core_privateprofile_l1_1_1
958 enable_api_ms_win_core_processenvironment_l1_1_0
959 enable_api_ms_win_core_processenvironment_l1_2_0
960 enable_api_ms_win_core_processthreads_l1_1_0
961 enable_api_ms_win_core_processthreads_l1_1_1
962 enable_api_ms_win_core_processthreads_l1_1_2
963 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
964 enable_api_ms_win_core_profile_l1_1_0
965 enable_api_ms_win_core_psapi_ansi_l1_1_0
966 enable_api_ms_win_core_psapi_l1_1_0
967 enable_api_ms_win_core_psapi_obsolete_l1_1_0
968 enable_api_ms_win_core_quirks_l1_1_0
969 enable_api_ms_win_core_realtime_l1_1_0
970 enable_api_ms_win_core_registry_l1_1_0
971 enable_api_ms_win_core_registry_l2_1_0
972 enable_api_ms_win_core_registryuserspecific_l1_1_0
973 enable_api_ms_win_core_rtlsupport_l1_1_0
974 enable_api_ms_win_core_rtlsupport_l1_2_0
975 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
976 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
977 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
978 enable_api_ms_win_core_sidebyside_l1_1_0
979 enable_api_ms_win_core_string_l1_1_0
980 enable_api_ms_win_core_string_l2_1_0
981 enable_api_ms_win_core_string_obsolete_l1_1_0
982 enable_api_ms_win_core_stringansi_l1_1_0
983 enable_api_ms_win_core_synch_ansi_l1_1_0
984 enable_api_ms_win_core_synch_l1_1_0
985 enable_api_ms_win_core_synch_l1_2_0
986 enable_api_ms_win_core_synch_l1_2_1
987 enable_api_ms_win_core_sysinfo_l1_1_0
988 enable_api_ms_win_core_sysinfo_l1_2_0
989 enable_api_ms_win_core_sysinfo_l1_2_1
990 enable_api_ms_win_core_threadpool_l1_1_0
991 enable_api_ms_win_core_threadpool_l1_2_0
992 enable_api_ms_win_core_threadpool_legacy_l1_1_0
993 enable_api_ms_win_core_threadpool_private_l1_1_0
994 enable_api_ms_win_core_timezone_l1_1_0
995 enable_api_ms_win_core_toolhelp_l1_1_0
996 enable_api_ms_win_core_url_l1_1_0
997 enable_api_ms_win_core_util_l1_1_0
998 enable_api_ms_win_core_version_l1_1_0
999 enable_api_ms_win_core_version_l1_1_1
1000 enable_api_ms_win_core_version_private_l1_1_0
1001 enable_api_ms_win_core_versionansi_l1_1_0
1002 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1003 enable_api_ms_win_core_winrt_error_l1_1_0
1004 enable_api_ms_win_core_winrt_error_l1_1_1
1005 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1006 enable_api_ms_win_core_winrt_l1_1_0
1007 enable_api_ms_win_core_winrt_registration_l1_1_0
1008 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1009 enable_api_ms_win_core_winrt_string_l1_1_0
1010 enable_api_ms_win_core_wow64_l1_1_0
1011 enable_api_ms_win_core_wow64_l1_1_1
1012 enable_api_ms_win_core_xstate_l1_1_0
1013 enable_api_ms_win_core_xstate_l2_1_0
1014 enable_api_ms_win_crt_conio_l1_1_0
1015 enable_api_ms_win_crt_convert_l1_1_0
1016 enable_api_ms_win_crt_environment_l1_1_0
1017 enable_api_ms_win_crt_filesystem_l1_1_0
1018 enable_api_ms_win_crt_heap_l1_1_0
1019 enable_api_ms_win_crt_locale_l1_1_0
1020 enable_api_ms_win_crt_math_l1_1_0
1021 enable_api_ms_win_crt_multibyte_l1_1_0
1022 enable_api_ms_win_crt_private_l1_1_0
1023 enable_api_ms_win_crt_process_l1_1_0
1024 enable_api_ms_win_crt_runtime_l1_1_0
1025 enable_api_ms_win_crt_stdio_l1_1_0
1026 enable_api_ms_win_crt_string_l1_1_0
1027 enable_api_ms_win_crt_time_l1_1_0
1028 enable_api_ms_win_crt_utility_l1_1_0
1029 enable_api_ms_win_devices_config_l1_1_1
1030 enable_api_ms_win_devices_query_l1_1_1
1031 enable_api_ms_win_downlevel_advapi32_l1_1_0
1032 enable_api_ms_win_downlevel_advapi32_l2_1_0
1033 enable_api_ms_win_downlevel_normaliz_l1_1_0
1034 enable_api_ms_win_downlevel_ole32_l1_1_0
1035 enable_api_ms_win_downlevel_shell32_l1_1_0
1036 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1037 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1038 enable_api_ms_win_downlevel_user32_l1_1_0
1039 enable_api_ms_win_downlevel_version_l1_1_0
1040 enable_api_ms_win_dx_d3dkmt_l1_1_0
1041 enable_api_ms_win_eventing_classicprovider_l1_1_0
1042 enable_api_ms_win_eventing_consumer_l1_1_0
1043 enable_api_ms_win_eventing_controller_l1_1_0
1044 enable_api_ms_win_eventing_legacy_l1_1_0
1045 enable_api_ms_win_eventing_provider_l1_1_0
1046 enable_api_ms_win_eventlog_legacy_l1_1_0
1047 enable_api_ms_win_mm_joystick_l1_1_0
1048 enable_api_ms_win_mm_misc_l1_1_1
1049 enable_api_ms_win_mm_mme_l1_1_0
1050 enable_api_ms_win_mm_time_l1_1_0
1051 enable_api_ms_win_ntuser_dc_access_l1_1_0
1052 enable_api_ms_win_ntuser_rectangle_l1_1_0
1053 enable_api_ms_win_power_base_l1_1_0
1054 enable_api_ms_win_power_setting_l1_1_0
1055 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1056 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1057 enable_api_ms_win_security_audit_l1_1_1
1058 enable_api_ms_win_security_base_l1_1_0
1059 enable_api_ms_win_security_base_l1_2_0
1060 enable_api_ms_win_security_base_private_l1_1_1
1061 enable_api_ms_win_security_credentials_l1_1_0
1062 enable_api_ms_win_security_grouppolicy_l1_1_0
1063 enable_api_ms_win_security_lsalookup_l1_1_0
1064 enable_api_ms_win_security_lsalookup_l1_1_1
1065 enable_api_ms_win_security_lsalookup_l2_1_1
1066 enable_api_ms_win_security_lsapolicy_l1_1_0
1067 enable_api_ms_win_security_provider_l1_1_0
1068 enable_api_ms_win_security_sddl_l1_1_0
1069 enable_api_ms_win_security_systemfunctions_l1_1_0
1070 enable_api_ms_win_service_core_l1_1_0
1071 enable_api_ms_win_service_core_l1_1_1
1072 enable_api_ms_win_service_management_l1_1_0
1073 enable_api_ms_win_service_management_l2_1_0
1074 enable_api_ms_win_service_private_l1_1_1
1075 enable_api_ms_win_service_winsvc_l1_1_0
1076 enable_api_ms_win_service_winsvc_l1_2_0
1077 enable_api_ms_win_shcore_scaling_l1_1_1
1078 enable_api_ms_win_shell_shellcom_l1_1_0
1079 enable_api_ms_win_shell_shellfolders_l1_1_0
1080 enable_apphelp
1081 enable_appwiz_cpl
1082 enable_atl
1083 enable_atl100
1084 enable_atl110
1085 enable_atl80
1086 enable_atl90
1087 enable_authz
1088 enable_avicap32
1089 enable_avifil32
1090 enable_avrt
1091 enable_bcrypt
1092 enable_bluetoothapis
1093 enable_browseui
1094 enable_bthprops_cpl
1095 enable_cabinet
1096 enable_capi2032
1097 enable_cards
1098 enable_cfgmgr32
1099 enable_clusapi
1100 enable_combase
1101 enable_comcat
1102 enable_comctl32
1103 enable_comdlg32
1104 enable_compstui
1105 enable_comsvcs
1106 enable_concrt140
1107 enable_connect
1108 enable_credui
1109 enable_crtdll
1110 enable_crypt32
1111 enable_cryptdlg
1112 enable_cryptdll
1113 enable_cryptext
1114 enable_cryptnet
1115 enable_cryptui
1116 enable_ctapi32
1117 enable_ctl3d32
1118 enable_d2d1
1119 enable_d3d10
1120 enable_d3d10_1
1121 enable_d3d10core
1122 enable_d3d11
1123 enable_d3d8
1124 enable_d3d9
1125 enable_d3dcompiler_33
1126 enable_d3dcompiler_34
1127 enable_d3dcompiler_35
1128 enable_d3dcompiler_36
1129 enable_d3dcompiler_37
1130 enable_d3dcompiler_38
1131 enable_d3dcompiler_39
1132 enable_d3dcompiler_40
1133 enable_d3dcompiler_41
1134 enable_d3dcompiler_42
1135 enable_d3dcompiler_43
1136 enable_d3dcompiler_46
1137 enable_d3dcompiler_47
1138 enable_d3dim
1139 enable_d3drm
1140 enable_d3dx10_33
1141 enable_d3dx10_34
1142 enable_d3dx10_35
1143 enable_d3dx10_36
1144 enable_d3dx10_37
1145 enable_d3dx10_38
1146 enable_d3dx10_39
1147 enable_d3dx10_40
1148 enable_d3dx10_41
1149 enable_d3dx10_42
1150 enable_d3dx10_43
1151 enable_d3dx11_42
1152 enable_d3dx11_43
1153 enable_d3dx9_24
1154 enable_d3dx9_25
1155 enable_d3dx9_26
1156 enable_d3dx9_27
1157 enable_d3dx9_28
1158 enable_d3dx9_29
1159 enable_d3dx9_30
1160 enable_d3dx9_31
1161 enable_d3dx9_32
1162 enable_d3dx9_33
1163 enable_d3dx9_34
1164 enable_d3dx9_35
1165 enable_d3dx9_36
1166 enable_d3dx9_37
1167 enable_d3dx9_38
1168 enable_d3dx9_39
1169 enable_d3dx9_40
1170 enable_d3dx9_41
1171 enable_d3dx9_42
1172 enable_d3dx9_43
1173 enable_d3dxof
1174 enable_davclnt
1175 enable_dbgeng
1176 enable_dbghelp
1177 enable_dciman32
1178 enable_ddraw
1179 enable_ddrawex
1180 enable_devenum
1181 enable_dhcpcsvc
1182 enable_difxapi
1183 enable_dinput
1184 enable_dinput8
1185 enable_dispex
1186 enable_dmband
1187 enable_dmcompos
1188 enable_dmime
1189 enable_dmloader
1190 enable_dmscript
1191 enable_dmstyle
1192 enable_dmsynth
1193 enable_dmusic
1194 enable_dmusic32
1195 enable_dnsapi
1196 enable_dplay
1197 enable_dplayx
1198 enable_dpnaddr
1199 enable_dpnet
1200 enable_dpnhpast
1201 enable_dpnlobby
1202 enable_dpvoice
1203 enable_dpwsockx
1204 enable_drmclien
1205 enable_dsound
1206 enable_dsquery
1207 enable_dssenh
1208 enable_dswave
1209 enable_dwmapi
1210 enable_dwrite
1211 enable_dx8vb
1212 enable_dxdiagn
1213 enable_dxgi
1214 enable_dxva2
1215 enable_esent
1216 enable_evr
1217 enable_explorerframe
1218 enable_ext_ms_win_authz_context_l1_1_0
1219 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1220 enable_ext_ms_win_gdi_dc_create_l1_1_1
1221 enable_ext_ms_win_gdi_dc_l1_2_0
1222 enable_ext_ms_win_gdi_devcaps_l1_1_0
1223 enable_ext_ms_win_gdi_draw_l1_1_1
1224 enable_ext_ms_win_gdi_render_l1_1_0
1225 enable_ext_ms_win_kernel32_package_current_l1_1_0
1226 enable_ext_ms_win_kernel32_package_l1_1_1
1227 enable_ext_ms_win_ntuser_message_l1_1_1
1228 enable_ext_ms_win_ntuser_private_l1_1_1
1229 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1230 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1231 enable_ext_ms_win_ntuser_window_l1_1_1
1232 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1233 enable_ext_ms_win_ras_rasapi32_l1_1_0
1234 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1235 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1236 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1237 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1238 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1239 enable_ext_ms_win_security_credui_l1_1_0
1240 enable_ext_ms_win_security_cryptui_l1_1_0
1241 enable_faultrep
1242 enable_fltlib
1243 enable_fltmgr_sys
1244 enable_fntcache
1245 enable_fontsub
1246 enable_fusion
1247 enable_fwpuclnt
1248 enable_gameux
1249 enable_gdi32
1250 enable_gdiplus
1251 enable_glu32
1252 enable_gphoto2_ds
1253 enable_gpkcsp
1254 enable_hal
1255 enable_hhctrl_ocx
1256 enable_hid
1257 enable_hidclass_sys
1258 enable_hlink
1259 enable_hnetcfg
1260 enable_httpapi
1261 enable_iccvid
1262 enable_icmp
1263 enable_ieframe
1264 enable_ieproxy
1265 enable_imaadp32_acm
1266 enable_imagehlp
1267 enable_imm32
1268 enable_inetcomm
1269 enable_inetcpl_cpl
1270 enable_inetmib1
1271 enable_infosoft
1272 enable_initpki
1273 enable_inkobj
1274 enable_inseng
1275 enable_iphlpapi
1276 enable_iprop
1277 enable_irprops_cpl
1278 enable_itircl
1279 enable_itss
1280 enable_joy_cpl
1281 enable_jscript
1282 enable_jsproxy
1283 enable_kerberos
1284 enable_kernel32
1285 enable_kernelbase
1286 enable_ksuser
1287 enable_ktmw32
1288 enable_l3codeca_acm
1289 enable_loadperf
1290 enable_localspl
1291 enable_localui
1292 enable_lz32
1293 enable_mapi32
1294 enable_mapistub
1295 enable_mciavi32
1296 enable_mcicda
1297 enable_mciqtz32
1298 enable_mciseq
1299 enable_mciwave
1300 enable_mf
1301 enable_mf3216
1302 enable_mfplat
1303 enable_mfreadwrite
1304 enable_mgmtapi
1305 enable_midimap
1306 enable_mlang
1307 enable_mmcndmgr
1308 enable_mmdevapi
1309 enable_mountmgr_sys
1310 enable_mpr
1311 enable_mprapi
1312 enable_msacm32_drv
1313 enable_msacm32
1314 enable_msadp32_acm
1315 enable_msasn1
1316 enable_mscat32
1317 enable_mscms
1318 enable_mscoree
1319 enable_msctf
1320 enable_msctfp
1321 enable_msdaps
1322 enable_msdelta
1323 enable_msdmo
1324 enable_msdrm
1325 enable_msftedit
1326 enable_msg711_acm
1327 enable_msgsm32_acm
1328 enable_mshtml_tlb
1329 enable_mshtml
1330 enable_msi
1331 enable_msident
1332 enable_msimg32
1333 enable_msimsg
1334 enable_msimtf
1335 enable_msisip
1336 enable_msisys_ocx
1337 enable_msls31
1338 enable_msnet32
1339 enable_mspatcha
1340 enable_msports
1341 enable_msrle32
1342 enable_msscript_ocx
1343 enable_mssign32
1344 enable_mssip32
1345 enable_mstask
1346 enable_msvcirt
1347 enable_msvcm80
1348 enable_msvcm90
1349 enable_msvcp100
1350 enable_msvcp110
1351 enable_msvcp120
1352 enable_msvcp120_app
1353 enable_msvcp140
1354 enable_msvcp60
1355 enable_msvcp70
1356 enable_msvcp71
1357 enable_msvcp80
1358 enable_msvcp90
1359 enable_msvcr100
1360 enable_msvcr110
1361 enable_msvcr120
1362 enable_msvcr120_app
1363 enable_msvcr70
1364 enable_msvcr71
1365 enable_msvcr80
1366 enable_msvcr90
1367 enable_msvcrt
1368 enable_msvcrt20
1369 enable_msvcrt40
1370 enable_msvcrtd
1371 enable_msvfw32
1372 enable_msvidc32
1373 enable_mswsock
1374 enable_msxml
1375 enable_msxml2
1376 enable_msxml3
1377 enable_msxml4
1378 enable_msxml6
1379 enable_mtxdm
1380 enable_ncrypt
1381 enable_nddeapi
1382 enable_ndis_sys
1383 enable_netapi32
1384 enable_netcfgx
1385 enable_netprofm
1386 enable_newdev
1387 enable_normaliz
1388 enable_npmshtml
1389 enable_npptools
1390 enable_ntdll
1391 enable_ntdsapi
1392 enable_ntoskrnl_exe
1393 enable_ntprint
1394 enable_objsel
1395 enable_odbc32
1396 enable_odbccp32
1397 enable_odbccu32
1398 enable_ole32
1399 enable_oleacc
1400 enable_oleaut32
1401 enable_olecli32
1402 enable_oledb32
1403 enable_oledlg
1404 enable_olepro32
1405 enable_olesvr32
1406 enable_olethk32
1407 enable_openal32
1408 enable_opencl
1409 enable_opengl32
1410 enable_packager
1411 enable_pdh
1412 enable_photometadatahandler
1413 enable_pidgen
1414 enable_powrprof
1415 enable_printui
1416 enable_prntvpt
1417 enable_propsys
1418 enable_psapi
1419 enable_pstorec
1420 enable_qcap
1421 enable_qedit
1422 enable_qmgr
1423 enable_qmgrprxy
1424 enable_quartz
1425 enable_query
1426 enable_rasapi32
1427 enable_rasdlg
1428 enable_regapi
1429 enable_resutils
1430 enable_riched20
1431 enable_riched32
1432 enable_rpcrt4
1433 enable_rsabase
1434 enable_rsaenh
1435 enable_rstrtmgr
1436 enable_rtutils
1437 enable_samlib
1438 enable_sane_ds
1439 enable_sapi
1440 enable_scarddlg
1441 enable_sccbase
1442 enable_schannel
1443 enable_schedsvc
1444 enable_scrobj
1445 enable_scrrun
1446 enable_scsiport_sys
1447 enable_secur32
1448 enable_security
1449 enable_sensapi
1450 enable_serialui
1451 enable_setupapi
1452 enable_sfc
1453 enable_sfc_os
1454 enable_shdoclc
1455 enable_shdocvw
1456 enable_shell32
1457 enable_shfolder
1458 enable_shlwapi
1459 enable_slbcsp
1460 enable_slc
1461 enable_snmpapi
1462 enable_softpub
1463 enable_spoolss
1464 enable_sspicli
1465 enable_stdole2_tlb
1466 enable_stdole32_tlb
1467 enable_sti
1468 enable_svrapi
1469 enable_sxs
1470 enable_t2embed
1471 enable_tapi32
1472 enable_taskschd
1473 enable_tdh
1474 enable_tdi_sys
1475 enable_traffic
1476 enable_twain_32
1477 enable_ucrtbase
1478 enable_uiautomationcore
1479 enable_uiribbon
1480 enable_unicows
1481 enable_updspapi
1482 enable_url
1483 enable_urlmon
1484 enable_usbd_sys
1485 enable_user32
1486 enable_userenv
1487 enable_usp10
1488 enable_uxtheme
1489 enable_vbscript
1490 enable_vcomp
1491 enable_vcomp100
1492 enable_vcomp110
1493 enable_vcomp120
1494 enable_vcomp140
1495 enable_vcomp90
1496 enable_vcruntime140
1497 enable_vdmdbg
1498 enable_version
1499 enable_virtdisk
1500 enable_vssapi
1501 enable_wbemdisp
1502 enable_wbemprox
1503 enable_wdscore
1504 enable_webservices
1505 enable_wer
1506 enable_wevtapi
1507 enable_wiaservc
1508 enable_wimgapi
1509 enable_windowscodecs
1510 enable_windowscodecsext
1511 enable_winealsa_drv
1512 enable_wineandroid_drv
1513 enable_winebus_sys
1514 enable_winecoreaudio_drv
1515 enable_wined3d
1516 enable_winegstreamer
1517 enable_winehid_sys
1518 enable_winejoystick_drv
1519 enable_winemac_drv
1520 enable_winemapi
1521 enable_wineoss_drv
1522 enable_wineps_drv
1523 enable_winepulse_drv
1524 enable_wineqtdecoder
1525 enable_winex11_drv
1526 enable_wing32
1527 enable_winhttp
1528 enable_wininet
1529 enable_winmm
1530 enable_winnls32
1531 enable_winscard
1532 enable_winspool_drv
1533 enable_winsta
1534 enable_wintab32
1535 enable_wintrust
1536 enable_winusb
1537 enable_wlanapi
1538 enable_wldap32
1539 enable_wmasf
1540 enable_wmi
1541 enable_wmiutils
1542 enable_wmp
1543 enable_wmphoto
1544 enable_wmvcore
1545 enable_wnaspi32
1546 enable_wpc
1547 enable_wpcap
1548 enable_ws2_32
1549 enable_wsdapi
1550 enable_wshom_ocx
1551 enable_wsnmp32
1552 enable_wsock32
1553 enable_wtsapi32
1554 enable_wuapi
1555 enable_wuaueng
1556 enable_x3daudio1_0
1557 enable_x3daudio1_1
1558 enable_x3daudio1_2
1559 enable_x3daudio1_3
1560 enable_x3daudio1_4
1561 enable_x3daudio1_5
1562 enable_x3daudio1_6
1563 enable_x3daudio1_7
1564 enable_xapofx1_1
1565 enable_xapofx1_2
1566 enable_xapofx1_3
1567 enable_xapofx1_4
1568 enable_xapofx1_5
1569 enable_xaudio2_0
1570 enable_xaudio2_1
1571 enable_xaudio2_2
1572 enable_xaudio2_3
1573 enable_xaudio2_4
1574 enable_xaudio2_5
1575 enable_xaudio2_6
1576 enable_xaudio2_7
1577 enable_xaudio2_8
1578 enable_xaudio2_9
1579 enable_xinput1_1
1580 enable_xinput1_2
1581 enable_xinput1_3
1582 enable_xinput1_4
1583 enable_xinput9_1_0
1584 enable_xmllite
1585 enable_xolehlp
1586 enable_xpsprint
1587 enable_xpssvcs
1588 enable_fonts
1589 enable_include
1590 enable_libs_port
1591 enable_libs_wine
1592 enable_libs_wpp
1593 enable_loader
1594 enable_po
1595 enable_arp
1596 enable_aspnet_regiis
1597 enable_attrib
1598 enable_cabarc
1599 enable_cacls
1600 enable_clock
1601 enable_cmd
1602 enable_conhost
1603 enable_control
1604 enable_cscript
1605 enable_dpnsvr
1606 enable_dxdiag
1607 enable_eject
1608 enable_expand
1609 enable_explorer
1610 enable_extrac32
1611 enable_findstr
1612 enable_fsutil
1613 enable_hh
1614 enable_hostname
1615 enable_icacls
1616 enable_icinfo
1617 enable_iexplore
1618 enable_ipconfig
1619 enable_lodctr
1620 enable_mofcomp
1621 enable_mshta
1622 enable_msiexec
1623 enable_msinfo32
1624 enable_net
1625 enable_netsh
1626 enable_netstat
1627 enable_ngen
1628 enable_notepad
1629 enable_oleview
1630 enable_ping
1631 enable_plugplay
1632 enable_powershell
1633 enable_presentationfontcache
1634 enable_progman
1635 enable_reg
1636 enable_regasm
1637 enable_regedit
1638 enable_regsvcs
1639 enable_regsvr32
1640 enable_rpcss
1641 enable_rundll32
1642 enable_sc
1643 enable_schtasks
1644 enable_sdbinst
1645 enable_secedit
1646 enable_servicemodelreg
1647 enable_services
1648 enable_shutdown
1649 enable_spoolsv
1650 enable_start
1651 enable_subst
1652 enable_svchost
1653 enable_systeminfo
1654 enable_taskkill
1655 enable_tasklist
1656 enable_taskmgr
1657 enable_termsv
1658 enable_uninstaller
1659 enable_unlodctr
1660 enable_view
1661 enable_wevtutil
1662 enable_wineboot
1663 enable_winebrowser
1664 enable_winecfg
1665 enable_wineconsole
1666 enable_winedbg
1667 enable_winedevice
1668 enable_winefile
1669 enable_winemenubuilder
1670 enable_winemine
1671 enable_winemsibuilder
1672 enable_winepath
1673 enable_winetest
1674 enable_winhlp32
1675 enable_winver
1676 enable_wmic
1677 enable_wmplayer
1678 enable_wordpad
1679 enable_write
1680 enable_wscript
1681 enable_wusa
1682 enable_xcopy
1683 enable_server
1684 enable_tools
1686 ac_precious_vars='build_alias
1687 host_alias
1688 target_alias
1690 CFLAGS
1691 LDFLAGS
1692 LIBS
1693 CPPFLAGS
1695 CXXFLAGS
1698 XMKMF
1699 XML2_CFLAGS
1700 XML2_LIBS
1701 XSLT_CFLAGS
1702 XSLT_LIBS
1703 DBUS_CFLAGS
1704 DBUS_LIBS
1705 HAL_CFLAGS
1706 HAL_LIBS
1707 GNUTLS_CFLAGS
1708 GNUTLS_LIBS
1709 SANE_CFLAGS
1710 SANE_LIBS
1711 GPHOTO2_CFLAGS
1712 GPHOTO2_LIBS
1713 GPHOTO2_PORT_CFLAGS
1714 GPHOTO2_PORT_LIBS
1715 LCMS2_CFLAGS
1716 LCMS2_LIBS
1717 FREETYPE_CFLAGS
1718 FREETYPE_LIBS
1719 PULSE_CFLAGS
1720 PULSE_LIBS
1721 GSTREAMER_CFLAGS
1722 GSTREAMER_LIBS
1723 UDEV_CFLAGS
1724 UDEV_LIBS
1725 CAPI20_CFLAGS
1726 CAPI20_LIBS
1727 CUPS_CFLAGS
1728 CUPS_LIBS
1729 FONTCONFIG_CFLAGS
1730 FONTCONFIG_LIBS
1731 KRB5_CFLAGS
1732 KRB5_LIBS
1733 JPEG_CFLAGS
1734 JPEG_LIBS
1735 PNG_CFLAGS
1736 PNG_LIBS
1737 TIFF_CFLAGS
1738 TIFF_LIBS
1739 MPG123_CFLAGS
1740 MPG123_LIBS
1741 NETAPI_CFLAGS
1742 NETAPI_LIBS
1743 LDAP_CFLAGS
1744 LDAP_LIBS'
1747 # Initialize some variables set by options.
1748 ac_init_help=
1749 ac_init_version=false
1750 ac_unrecognized_opts=
1751 ac_unrecognized_sep=
1752 # The variables have the same names as the options, with
1753 # dashes changed to underlines.
1754 cache_file=/dev/null
1755 exec_prefix=NONE
1756 no_create=
1757 no_recursion=
1758 prefix=NONE
1759 program_prefix=NONE
1760 program_suffix=NONE
1761 program_transform_name=s,x,x,
1762 silent=
1763 site=
1764 srcdir=
1765 verbose=
1766 x_includes=NONE
1767 x_libraries=NONE
1769 # Installation directory options.
1770 # These are left unexpanded so users can "make install exec_prefix=/foo"
1771 # and all the variables that are supposed to be based on exec_prefix
1772 # by default will actually change.
1773 # Use braces instead of parens because sh, perl, etc. also accept them.
1774 # (The list follows the same order as the GNU Coding Standards.)
1775 bindir='${exec_prefix}/bin'
1776 sbindir='${exec_prefix}/sbin'
1777 libexecdir='${exec_prefix}/libexec'
1778 datarootdir='${prefix}/share'
1779 datadir='${datarootdir}'
1780 sysconfdir='${prefix}/etc'
1781 sharedstatedir='${prefix}/com'
1782 localstatedir='${prefix}/var'
1783 runstatedir='${localstatedir}/run'
1784 includedir='${prefix}/include'
1785 oldincludedir='/usr/include'
1786 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1787 infodir='${datarootdir}/info'
1788 htmldir='${docdir}'
1789 dvidir='${docdir}'
1790 pdfdir='${docdir}'
1791 psdir='${docdir}'
1792 libdir='${exec_prefix}/lib'
1793 localedir='${datarootdir}/locale'
1794 mandir='${datarootdir}/man'
1796 ac_prev=
1797 ac_dashdash=
1798 for ac_option
1800 # If the previous option needs an argument, assign it.
1801 if test -n "$ac_prev"; then
1802 eval $ac_prev=\$ac_option
1803 ac_prev=
1804 continue
1807 case $ac_option in
1808 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1809 *=) ac_optarg= ;;
1810 *) ac_optarg=yes ;;
1811 esac
1813 # Accept the important Cygnus configure options, so we can diagnose typos.
1815 case $ac_dashdash$ac_option in
1817 ac_dashdash=yes ;;
1819 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1820 ac_prev=bindir ;;
1821 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1822 bindir=$ac_optarg ;;
1824 -build | --build | --buil | --bui | --bu)
1825 ac_prev=build_alias ;;
1826 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1827 build_alias=$ac_optarg ;;
1829 -cache-file | --cache-file | --cache-fil | --cache-fi \
1830 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1831 ac_prev=cache_file ;;
1832 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1833 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1834 cache_file=$ac_optarg ;;
1836 --config-cache | -C)
1837 cache_file=config.cache ;;
1839 -datadir | --datadir | --datadi | --datad)
1840 ac_prev=datadir ;;
1841 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1842 datadir=$ac_optarg ;;
1844 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1845 | --dataroo | --dataro | --datar)
1846 ac_prev=datarootdir ;;
1847 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1848 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1849 datarootdir=$ac_optarg ;;
1851 -disable-* | --disable-*)
1852 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1853 # Reject names that are not valid shell variable names.
1854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1855 as_fn_error $? "invalid feature name: $ac_useropt"
1856 ac_useropt_orig=$ac_useropt
1857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1858 case $ac_user_opts in
1860 "enable_$ac_useropt"
1861 "*) ;;
1862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1863 ac_unrecognized_sep=', ';;
1864 esac
1865 eval enable_$ac_useropt=no ;;
1867 -docdir | --docdir | --docdi | --doc | --do)
1868 ac_prev=docdir ;;
1869 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1870 docdir=$ac_optarg ;;
1872 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1873 ac_prev=dvidir ;;
1874 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1875 dvidir=$ac_optarg ;;
1877 -enable-* | --enable-*)
1878 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1879 # Reject names that are not valid shell variable names.
1880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1881 as_fn_error $? "invalid feature name: $ac_useropt"
1882 ac_useropt_orig=$ac_useropt
1883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1884 case $ac_user_opts in
1886 "enable_$ac_useropt"
1887 "*) ;;
1888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1889 ac_unrecognized_sep=', ';;
1890 esac
1891 eval enable_$ac_useropt=\$ac_optarg ;;
1893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1894 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1895 | --exec | --exe | --ex)
1896 ac_prev=exec_prefix ;;
1897 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1898 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1899 | --exec=* | --exe=* | --ex=*)
1900 exec_prefix=$ac_optarg ;;
1902 -gas | --gas | --ga | --g)
1903 # Obsolete; use --with-gas.
1904 with_gas=yes ;;
1906 -help | --help | --hel | --he | -h)
1907 ac_init_help=long ;;
1908 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1909 ac_init_help=recursive ;;
1910 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1911 ac_init_help=short ;;
1913 -host | --host | --hos | --ho)
1914 ac_prev=host_alias ;;
1915 -host=* | --host=* | --hos=* | --ho=*)
1916 host_alias=$ac_optarg ;;
1918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1919 ac_prev=htmldir ;;
1920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1921 | --ht=*)
1922 htmldir=$ac_optarg ;;
1924 -includedir | --includedir | --includedi | --included | --include \
1925 | --includ | --inclu | --incl | --inc)
1926 ac_prev=includedir ;;
1927 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1928 | --includ=* | --inclu=* | --incl=* | --inc=*)
1929 includedir=$ac_optarg ;;
1931 -infodir | --infodir | --infodi | --infod | --info | --inf)
1932 ac_prev=infodir ;;
1933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1934 infodir=$ac_optarg ;;
1936 -libdir | --libdir | --libdi | --libd)
1937 ac_prev=libdir ;;
1938 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1939 libdir=$ac_optarg ;;
1941 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1942 | --libexe | --libex | --libe)
1943 ac_prev=libexecdir ;;
1944 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1945 | --libexe=* | --libex=* | --libe=*)
1946 libexecdir=$ac_optarg ;;
1948 -localedir | --localedir | --localedi | --localed | --locale)
1949 ac_prev=localedir ;;
1950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1951 localedir=$ac_optarg ;;
1953 -localstatedir | --localstatedir | --localstatedi | --localstated \
1954 | --localstate | --localstat | --localsta | --localst | --locals)
1955 ac_prev=localstatedir ;;
1956 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1957 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1958 localstatedir=$ac_optarg ;;
1960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1961 ac_prev=mandir ;;
1962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1963 mandir=$ac_optarg ;;
1965 -nfp | --nfp | --nf)
1966 # Obsolete; use --without-fp.
1967 with_fp=no ;;
1969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1970 | --no-cr | --no-c | -n)
1971 no_create=yes ;;
1973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1975 no_recursion=yes ;;
1977 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1978 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1979 | --oldin | --oldi | --old | --ol | --o)
1980 ac_prev=oldincludedir ;;
1981 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1982 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1983 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1984 oldincludedir=$ac_optarg ;;
1986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1987 ac_prev=prefix ;;
1988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1989 prefix=$ac_optarg ;;
1991 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1992 | --program-pre | --program-pr | --program-p)
1993 ac_prev=program_prefix ;;
1994 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1995 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1996 program_prefix=$ac_optarg ;;
1998 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1999 | --program-suf | --program-su | --program-s)
2000 ac_prev=program_suffix ;;
2001 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2002 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2003 program_suffix=$ac_optarg ;;
2005 -program-transform-name | --program-transform-name \
2006 | --program-transform-nam | --program-transform-na \
2007 | --program-transform-n | --program-transform- \
2008 | --program-transform | --program-transfor \
2009 | --program-transfo | --program-transf \
2010 | --program-trans | --program-tran \
2011 | --progr-tra | --program-tr | --program-t)
2012 ac_prev=program_transform_name ;;
2013 -program-transform-name=* | --program-transform-name=* \
2014 | --program-transform-nam=* | --program-transform-na=* \
2015 | --program-transform-n=* | --program-transform-=* \
2016 | --program-transform=* | --program-transfor=* \
2017 | --program-transfo=* | --program-transf=* \
2018 | --program-trans=* | --program-tran=* \
2019 | --progr-tra=* | --program-tr=* | --program-t=*)
2020 program_transform_name=$ac_optarg ;;
2022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2023 ac_prev=pdfdir ;;
2024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2025 pdfdir=$ac_optarg ;;
2027 -psdir | --psdir | --psdi | --psd | --ps)
2028 ac_prev=psdir ;;
2029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2030 psdir=$ac_optarg ;;
2032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2033 | -silent | --silent | --silen | --sile | --sil)
2034 silent=yes ;;
2036 -runstatedir | --runstatedir | --runstatedi | --runstated \
2037 | --runstate | --runstat | --runsta | --runst | --runs \
2038 | --run | --ru | --r)
2039 ac_prev=runstatedir ;;
2040 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2041 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2042 | --run=* | --ru=* | --r=*)
2043 runstatedir=$ac_optarg ;;
2045 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2046 ac_prev=sbindir ;;
2047 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2048 | --sbi=* | --sb=*)
2049 sbindir=$ac_optarg ;;
2051 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2052 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2053 | --sharedst | --shareds | --shared | --share | --shar \
2054 | --sha | --sh)
2055 ac_prev=sharedstatedir ;;
2056 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2057 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2058 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2059 | --sha=* | --sh=*)
2060 sharedstatedir=$ac_optarg ;;
2062 -site | --site | --sit)
2063 ac_prev=site ;;
2064 -site=* | --site=* | --sit=*)
2065 site=$ac_optarg ;;
2067 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2068 ac_prev=srcdir ;;
2069 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2070 srcdir=$ac_optarg ;;
2072 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2073 | --syscon | --sysco | --sysc | --sys | --sy)
2074 ac_prev=sysconfdir ;;
2075 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2076 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2077 sysconfdir=$ac_optarg ;;
2079 -target | --target | --targe | --targ | --tar | --ta | --t)
2080 ac_prev=target_alias ;;
2081 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2082 target_alias=$ac_optarg ;;
2084 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2085 verbose=yes ;;
2087 -version | --version | --versio | --versi | --vers | -V)
2088 ac_init_version=: ;;
2090 -with-* | --with-*)
2091 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2092 # Reject names that are not valid shell variable names.
2093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2094 as_fn_error $? "invalid package name: $ac_useropt"
2095 ac_useropt_orig=$ac_useropt
2096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2097 case $ac_user_opts in
2099 "with_$ac_useropt"
2100 "*) ;;
2101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2102 ac_unrecognized_sep=', ';;
2103 esac
2104 eval with_$ac_useropt=\$ac_optarg ;;
2106 -without-* | --without-*)
2107 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2108 # Reject names that are not valid shell variable names.
2109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2110 as_fn_error $? "invalid package name: $ac_useropt"
2111 ac_useropt_orig=$ac_useropt
2112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2113 case $ac_user_opts in
2115 "with_$ac_useropt"
2116 "*) ;;
2117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2118 ac_unrecognized_sep=', ';;
2119 esac
2120 eval with_$ac_useropt=no ;;
2122 --x)
2123 # Obsolete; use --with-x.
2124 with_x=yes ;;
2126 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2127 | --x-incl | --x-inc | --x-in | --x-i)
2128 ac_prev=x_includes ;;
2129 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2130 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2131 x_includes=$ac_optarg ;;
2133 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2134 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2135 ac_prev=x_libraries ;;
2136 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2137 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2138 x_libraries=$ac_optarg ;;
2140 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2141 Try \`$0 --help' for more information"
2144 *=*)
2145 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2146 # Reject names that are not valid shell variable names.
2147 case $ac_envvar in #(
2148 '' | [0-9]* | *[!_$as_cr_alnum]* )
2149 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2150 esac
2151 eval $ac_envvar=\$ac_optarg
2152 export $ac_envvar ;;
2155 # FIXME: should be removed in autoconf 3.0.
2156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2159 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2162 esac
2163 done
2165 if test -n "$ac_prev"; then
2166 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2167 as_fn_error $? "missing argument to $ac_option"
2170 if test -n "$ac_unrecognized_opts"; then
2171 case $enable_option_checking in
2172 no) ;;
2173 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2175 esac
2178 # Check all directory arguments for consistency.
2179 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2180 datadir sysconfdir sharedstatedir localstatedir includedir \
2181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2182 libdir localedir mandir runstatedir
2184 eval ac_val=\$$ac_var
2185 # Remove trailing slashes.
2186 case $ac_val in
2187 */ )
2188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2189 eval $ac_var=\$ac_val;;
2190 esac
2191 # Be sure to have absolute directory names.
2192 case $ac_val in
2193 [\\/$]* | ?:[\\/]* ) continue;;
2194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2195 esac
2196 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2197 done
2199 # There might be people who depend on the old broken behavior: `$host'
2200 # used to hold the argument of --host etc.
2201 # FIXME: To remove some day.
2202 build=$build_alias
2203 host=$host_alias
2204 target=$target_alias
2206 # FIXME: To remove some day.
2207 if test "x$host_alias" != x; then
2208 if test "x$build_alias" = x; then
2209 cross_compiling=maybe
2210 elif test "x$build_alias" != "x$host_alias"; then
2211 cross_compiling=yes
2215 ac_tool_prefix=
2216 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2218 test "$silent" = yes && exec 6>/dev/null
2221 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2222 ac_ls_di=`ls -di .` &&
2223 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2224 as_fn_error $? "working directory cannot be determined"
2225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2226 as_fn_error $? "pwd does not report name of working directory"
2229 # Find the source files, if location was not specified.
2230 if test -z "$srcdir"; then
2231 ac_srcdir_defaulted=yes
2232 # Try the directory containing this script, then the parent directory.
2233 ac_confdir=`$as_dirname -- "$as_myself" ||
2234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2235 X"$as_myself" : 'X\(//\)[^/]' \| \
2236 X"$as_myself" : 'X\(//\)$' \| \
2237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2238 $as_echo X"$as_myself" |
2239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2240 s//\1/
2243 /^X\(\/\/\)[^/].*/{
2244 s//\1/
2247 /^X\(\/\/\)$/{
2248 s//\1/
2251 /^X\(\/\).*/{
2252 s//\1/
2255 s/.*/./; q'`
2256 srcdir=$ac_confdir
2257 if test ! -r "$srcdir/$ac_unique_file"; then
2258 srcdir=..
2260 else
2261 ac_srcdir_defaulted=no
2263 if test ! -r "$srcdir/$ac_unique_file"; then
2264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2265 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2268 ac_abs_confdir=`(
2269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2270 pwd)`
2271 # When building in place, set srcdir=.
2272 if test "$ac_abs_confdir" = "$ac_pwd"; then
2273 srcdir=.
2275 # Remove unnecessary trailing slashes from srcdir.
2276 # Double slashes in file names in object file debugging info
2277 # mess up M-x gdb in Emacs.
2278 case $srcdir in
2279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2280 esac
2281 for ac_var in $ac_precious_vars; do
2282 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2283 eval ac_env_${ac_var}_value=\$${ac_var}
2284 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2285 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2286 done
2289 # Report the --help message.
2291 if test "$ac_init_help" = "long"; then
2292 # Omit some internal or obsolete options to make the list less imposing.
2293 # This message is too long to be a string in the A/UX 3.1 sh.
2294 cat <<_ACEOF
2295 \`configure' configures Wine 2.22 to adapt to many kinds of systems.
2297 Usage: $0 [OPTION]... [VAR=VALUE]...
2299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2300 VAR=VALUE. See below for descriptions of some of the useful variables.
2302 Defaults for the options are specified in brackets.
2304 Configuration:
2305 -h, --help display this help and exit
2306 --help=short display options specific to this package
2307 --help=recursive display the short help of all the included packages
2308 -V, --version display version information and exit
2309 -q, --quiet, --silent do not print \`checking ...' messages
2310 --cache-file=FILE cache test results in FILE [disabled]
2311 -C, --config-cache alias for \`--cache-file=config.cache'
2312 -n, --no-create do not create output files
2313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2315 Installation directories:
2316 --prefix=PREFIX install architecture-independent files in PREFIX
2317 [$ac_default_prefix]
2318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2319 [PREFIX]
2321 By default, \`make install' will install all the files in
2322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2324 for instance \`--prefix=\$HOME'.
2326 For better control, use the options below.
2328 Fine tuning of the installation directories:
2329 --bindir=DIR user executables [EPREFIX/bin]
2330 --sbindir=DIR system admin executables [EPREFIX/sbin]
2331 --libexecdir=DIR program executables [EPREFIX/libexec]
2332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2335 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2336 --libdir=DIR object code libraries [EPREFIX/lib]
2337 --includedir=DIR C header files [PREFIX/include]
2338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2341 --infodir=DIR info documentation [DATAROOTDIR/info]
2342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2343 --mandir=DIR man documentation [DATAROOTDIR/man]
2344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2345 --htmldir=DIR html documentation [DOCDIR]
2346 --dvidir=DIR dvi documentation [DOCDIR]
2347 --pdfdir=DIR pdf documentation [DOCDIR]
2348 --psdir=DIR ps documentation [DOCDIR]
2349 _ACEOF
2351 cat <<\_ACEOF
2353 X features:
2354 --x-includes=DIR X include files are in DIR
2355 --x-libraries=DIR X library files are in DIR
2357 System types:
2358 --build=BUILD configure for building on BUILD [guessed]
2359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2360 _ACEOF
2363 if test -n "$ac_init_help"; then
2364 case $ac_init_help in
2365 short | recursive ) echo "Configuration of Wine 2.22:";;
2366 esac
2367 cat <<\_ACEOF
2369 Optional Features:
2370 --disable-option-checking ignore unrecognized --enable/--with options
2371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2373 --disable-win16 do not include Win16 support
2374 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2375 binaries)
2376 --disable-tests do not build the regression tests
2377 --enable-maintainer-mode
2378 enable maintainer-specific build rules
2379 --disable-largefile omit support for large files
2381 Optional Packages:
2382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2384 --without-alsa do not use the Alsa sound support
2385 --without-capi do not use CAPI (ISDN support)
2386 --without-cms do not use CMS (color management support)
2387 --without-coreaudio do not use the CoreAudio sound support
2388 --without-cups do not use CUPS
2389 --without-curses do not use (n)curses
2390 --without-dbus do not use DBus (dynamic device support)
2391 --without-fontconfig do not use fontconfig
2392 --without-freetype do not use the FreeType library
2393 --without-gettext do not use gettext
2394 --with-gettextpo use the GetTextPO library to rebuild po files
2395 --without-gphoto do not use gphoto (Digital Camera support)
2396 --without-glu do not use the GLU library
2397 --without-gnutls do not use GnuTLS (schannel support)
2398 --without-gsm do not use libgsm (GSM 06.10 codec support)
2399 --without-gstreamer do not use GStreamer (codecs support)
2400 --without-hal do not use HAL (dynamic device support)
2401 --without-jpeg do not use JPEG
2402 --without-krb5 do not use krb5 (Kerberos)
2403 --without-ldap do not use LDAP
2404 --without-mpg123 do not use the mpg123 library
2405 --without-netapi do not use the Samba NetAPI library
2406 --without-openal do not use OpenAL
2407 --without-opencl do not use OpenCL
2408 --without-opengl do not use OpenGL
2409 --without-osmesa do not use the OSMesa library
2410 --without-oss do not use the OSS sound support
2411 --without-pcap do not use the Packet Capture library
2412 --without-png do not use PNG
2413 --without-pthread do not use the pthread library
2414 --without-pulse do not use PulseAudio sound support
2415 --without-sane do not use SANE (scanner support)
2416 --without-tiff do not use TIFF
2417 --without-udev do not use udev (plug and play support)
2418 --without-v4l do not use v4l1 (v4l support)
2419 --without-xcomposite do not use the Xcomposite extension
2420 --without-xcursor do not use the Xcursor extension
2421 --without-xfixes do not use Xfixes for clipboard change notifications
2422 --without-xinerama do not use Xinerama (multi-monitor support)
2423 --without-xinput do not use the Xinput extension
2424 --without-xinput2 do not use the Xinput 2 extension
2425 --without-xml do not use XML
2426 --without-xrandr do not use Xrandr (resolution changes)
2427 --without-xrender do not use the Xrender extension
2428 --without-xshape do not use the Xshape extension
2429 --without-xshm do not use XShm (shared memory extension)
2430 --without-xslt do not use XSLT
2431 --without-xxf86vm do not use XFree video mode extension
2432 --without-zlib do not use Zlib (data compression)
2433 --with-wine-tools=DIR use Wine tools from directory DIR
2434 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2435 --with-x use the X Window System
2437 Some influential environment variables:
2438 CC C compiler command
2439 CFLAGS C compiler flags
2440 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2441 nonstandard directory <lib dir>
2442 LIBS libraries to pass to the linker, e.g. -l<library>
2443 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2444 you have headers in a nonstandard directory <include dir>
2445 CXX C++ compiler command
2446 CXXFLAGS C++ compiler flags
2447 CPP C preprocessor
2448 XMKMF Path to xmkmf, Makefile generator for X Window System
2449 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2450 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2451 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2452 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2453 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2454 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2455 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2456 HAL_LIBS Linker flags for hal, overriding pkg-config
2457 GNUTLS_CFLAGS
2458 C compiler flags for gnutls, overriding pkg-config
2459 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2460 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2461 SANE_LIBS Linker flags for libsane, overriding pkg-config
2462 GPHOTO2_CFLAGS
2463 C compiler flags for libgphoto2, overriding pkg-config
2464 GPHOTO2_LIBS
2465 Linker flags for libgphoto2, overriding pkg-config
2466 GPHOTO2_PORT_CFLAGS
2467 C compiler flags for libgphoto2_port, overriding pkg-config
2468 GPHOTO2_PORT_LIBS
2469 Linker flags for libgphoto2_port, overriding pkg-config
2470 LCMS2_CFLAGS
2471 C compiler flags for lcms2, overriding pkg-config
2472 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2473 FREETYPE_CFLAGS
2474 C compiler flags for freetype2, overriding pkg-config
2475 FREETYPE_LIBS
2476 Linker flags for freetype2, overriding pkg-config
2477 PULSE_CFLAGS
2478 C compiler flags for libpulse, overriding pkg-config
2479 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2480 GSTREAMER_CFLAGS
2481 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2482 gstreamer-audio-1.0, overriding pkg-config
2483 GSTREAMER_LIBS
2484 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2485 gstreamer-audio-1.0, overriding pkg-config
2486 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2487 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2488 CAPI20_CFLAGS
2489 C compiler flags for capi20, overriding pkg-config
2490 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2491 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2492 CUPS_LIBS Linker flags for cups, overriding pkg-config
2493 FONTCONFIG_CFLAGS
2494 C compiler flags for fontconfig, overriding pkg-config
2495 FONTCONFIG_LIBS
2496 Linker flags for fontconfig, overriding pkg-config
2497 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2498 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2499 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2500 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2501 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2502 PNG_LIBS Linker flags for libpng, overriding pkg-config
2503 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2504 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2505 MPG123_CFLAGS
2506 C compiler flags for libmpg123, overriding pkg-config
2507 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2508 NETAPI_CFLAGS
2509 C compiler flags for netapi, overriding pkg-config
2510 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2511 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2512 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2514 Use these variables to override the choices made by `configure' or to help
2515 it to find libraries and programs with nonstandard names/locations.
2517 Report bugs to <wine-devel@winehq.org>.
2518 Wine home page: <https://www.winehq.org>.
2519 _ACEOF
2520 ac_status=$?
2523 if test "$ac_init_help" = "recursive"; then
2524 # If there are subdirs, report their specific --help.
2525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2526 test -d "$ac_dir" ||
2527 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2528 continue
2529 ac_builddir=.
2531 case "$ac_dir" in
2532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2535 # A ".." for each directory in $ac_dir_suffix.
2536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2537 case $ac_top_builddir_sub in
2538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2540 esac ;;
2541 esac
2542 ac_abs_top_builddir=$ac_pwd
2543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2544 # for backward compatibility:
2545 ac_top_builddir=$ac_top_build_prefix
2547 case $srcdir in
2548 .) # We are building in place.
2549 ac_srcdir=.
2550 ac_top_srcdir=$ac_top_builddir_sub
2551 ac_abs_top_srcdir=$ac_pwd ;;
2552 [\\/]* | ?:[\\/]* ) # Absolute name.
2553 ac_srcdir=$srcdir$ac_dir_suffix;
2554 ac_top_srcdir=$srcdir
2555 ac_abs_top_srcdir=$srcdir ;;
2556 *) # Relative name.
2557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2558 ac_top_srcdir=$ac_top_build_prefix$srcdir
2559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2560 esac
2561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2563 cd "$ac_dir" || { ac_status=$?; continue; }
2564 # Check for guested configure.
2565 if test -f "$ac_srcdir/configure.gnu"; then
2566 echo &&
2567 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2568 elif test -f "$ac_srcdir/configure"; then
2569 echo &&
2570 $SHELL "$ac_srcdir/configure" --help=recursive
2571 else
2572 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2573 fi || ac_status=$?
2574 cd "$ac_pwd" || { ac_status=$?; break; }
2575 done
2578 test -n "$ac_init_help" && exit $ac_status
2579 if $ac_init_version; then
2580 cat <<\_ACEOF
2581 Wine configure 2.22
2582 generated by GNU Autoconf 2.69
2584 Copyright (C) 2012 Free Software Foundation, Inc.
2585 This configure script is free software; the Free Software Foundation
2586 gives unlimited permission to copy, distribute and modify it.
2587 _ACEOF
2588 exit
2591 ## ------------------------ ##
2592 ## Autoconf initialization. ##
2593 ## ------------------------ ##
2595 # ac_fn_c_try_compile LINENO
2596 # --------------------------
2597 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2598 ac_fn_c_try_compile ()
2600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2601 rm -f conftest.$ac_objext
2602 if { { ac_try="$ac_compile"
2603 case "(($ac_try" in
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2606 esac
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_compile") 2>conftest.err
2610 ac_status=$?
2611 if test -s conftest.err; then
2612 grep -v '^ *+' conftest.err >conftest.er1
2613 cat conftest.er1 >&5
2614 mv -f conftest.er1 conftest.err
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; } && {
2618 test -z "$ac_c_werror_flag" ||
2619 test ! -s conftest.err
2620 } && test -s conftest.$ac_objext; then :
2621 ac_retval=0
2622 else
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2626 ac_retval=1
2628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2629 as_fn_set_status $ac_retval
2631 } # ac_fn_c_try_compile
2633 # ac_fn_cxx_try_compile LINENO
2634 # ----------------------------
2635 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2636 ac_fn_cxx_try_compile ()
2638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2639 rm -f conftest.$ac_objext
2640 if { { ac_try="$ac_compile"
2641 case "(($ac_try" in
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2644 esac
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647 (eval "$ac_compile") 2>conftest.err
2648 ac_status=$?
2649 if test -s conftest.err; then
2650 grep -v '^ *+' conftest.err >conftest.er1
2651 cat conftest.er1 >&5
2652 mv -f conftest.er1 conftest.err
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; } && {
2656 test -z "$ac_cxx_werror_flag" ||
2657 test ! -s conftest.err
2658 } && test -s conftest.$ac_objext; then :
2659 ac_retval=0
2660 else
2661 $as_echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2664 ac_retval=1
2666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 as_fn_set_status $ac_retval
2669 } # ac_fn_cxx_try_compile
2671 # ac_fn_c_try_link LINENO
2672 # -----------------------
2673 # Try to link conftest.$ac_ext, and return whether this succeeded.
2674 ac_fn_c_try_link ()
2676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2677 rm -f conftest.$ac_objext conftest$ac_exeext
2678 if { { ac_try="$ac_link"
2679 case "(($ac_try" in
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2682 esac
2683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684 $as_echo "$ac_try_echo"; } >&5
2685 (eval "$ac_link") 2>conftest.err
2686 ac_status=$?
2687 if test -s conftest.err; then
2688 grep -v '^ *+' conftest.err >conftest.er1
2689 cat conftest.er1 >&5
2690 mv -f conftest.er1 conftest.err
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; } && {
2694 test -z "$ac_c_werror_flag" ||
2695 test ! -s conftest.err
2696 } && test -s conftest$ac_exeext && {
2697 test "$cross_compiling" = yes ||
2698 test -x conftest$ac_exeext
2699 }; then :
2700 ac_retval=0
2701 else
2702 $as_echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 ac_retval=1
2707 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2708 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2709 # interfere with the next link command; also delete a directory that is
2710 # left behind by Apple's compiler. We do this before executing the actions.
2711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_c_try_link
2717 # ac_fn_c_try_cpp LINENO
2718 # ----------------------
2719 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_cpp ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 if { { ac_try="$ac_cpp conftest.$ac_ext"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 $as_echo "$ac_try_echo"; } >&5
2730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2731 ac_status=$?
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } > conftest.i && {
2739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 }; then :
2742 ac_retval=0
2743 else
2744 $as_echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=1
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2752 } # ac_fn_c_try_cpp
2754 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2755 # -------------------------------------------------------
2756 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2757 # the include files in INCLUDES and setting the cache variable VAR
2758 # accordingly.
2759 ac_fn_c_check_header_mongrel ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 if eval \${$3+:} false; then :
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2764 $as_echo_n "checking for $2... " >&6; }
2765 if eval \${$3+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 eval ac_res=\$$3
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2770 $as_echo "$ac_res" >&6; }
2771 else
2772 # Is the header compilable?
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2774 $as_echo_n "checking $2 usability... " >&6; }
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2778 #include <$2>
2779 _ACEOF
2780 if ac_fn_c_try_compile "$LINENO"; then :
2781 ac_header_compiler=yes
2782 else
2783 ac_header_compiler=no
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2787 $as_echo "$ac_header_compiler" >&6; }
2789 # Is the header present?
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2791 $as_echo_n "checking $2 presence... " >&6; }
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2794 #include <$2>
2795 _ACEOF
2796 if ac_fn_c_try_cpp "$LINENO"; then :
2797 ac_header_preproc=yes
2798 else
2799 ac_header_preproc=no
2801 rm -f conftest.err conftest.i conftest.$ac_ext
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2803 $as_echo "$ac_header_preproc" >&6; }
2805 # So? What about this header?
2806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2807 yes:no: )
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2809 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2811 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2813 no:yes:* )
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2815 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2817 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2819 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2821 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2824 ( $as_echo "## ------------------------------------ ##
2825 ## Report this to wine-devel@winehq.org ##
2826 ## ------------------------------------ ##"
2827 ) | sed "s/^/$as_me: WARNING: /" >&2
2829 esac
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2831 $as_echo_n "checking for $2... " >&6; }
2832 if eval \${$3+:} false; then :
2833 $as_echo_n "(cached) " >&6
2834 else
2835 eval "$3=\$ac_header_compiler"
2837 eval ac_res=\$$3
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2839 $as_echo "$ac_res" >&6; }
2841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 } # ac_fn_c_check_header_mongrel
2845 # ac_fn_c_try_run LINENO
2846 # ----------------------
2847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2848 # that executables *can* be run.
2849 ac_fn_c_try_run ()
2851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2852 if { { ac_try="$ac_link"
2853 case "(($ac_try" in
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2856 esac
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 $as_echo "$ac_try_echo"; } >&5
2859 (eval "$ac_link") 2>&5
2860 ac_status=$?
2861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2863 { { case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866 esac
2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2868 $as_echo "$ac_try_echo"; } >&5
2869 (eval "$ac_try") 2>&5
2870 ac_status=$?
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; }; }; then :
2873 ac_retval=0
2874 else
2875 $as_echo "$as_me: program exited with status $ac_status" >&5
2876 $as_echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2879 ac_retval=$ac_status
2881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2883 as_fn_set_status $ac_retval
2885 } # ac_fn_c_try_run
2887 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2888 # -------------------------------------------------------
2889 # Tests whether HEADER exists and can be compiled using the include files in
2890 # INCLUDES, setting the cache variable VAR accordingly.
2891 ac_fn_c_check_header_compile ()
2893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2895 $as_echo_n "checking for $2... " >&6; }
2896 if eval \${$3+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2902 #include <$2>
2903 _ACEOF
2904 if ac_fn_c_try_compile "$LINENO"; then :
2905 eval "$3=yes"
2906 else
2907 eval "$3=no"
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 eval ac_res=\$$3
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913 $as_echo "$ac_res" >&6; }
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 } # ac_fn_c_check_header_compile
2918 # ac_fn_c_check_func LINENO FUNC VAR
2919 # ----------------------------------
2920 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2921 ac_fn_c_check_func ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2925 $as_echo_n "checking for $2... " >&6; }
2926 if eval \${$3+:} false; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2931 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2933 #define $2 innocuous_$2
2935 /* System header to define __stub macros and hopefully few prototypes,
2936 which can conflict with char $2 (); below.
2937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2938 <limits.h> exists even on freestanding compilers. */
2940 #ifdef __STDC__
2941 # include <limits.h>
2942 #else
2943 # include <assert.h>
2944 #endif
2946 #undef $2
2948 /* Override any GCC internal prototype to avoid an error.
2949 Use char because int might match the return type of a GCC
2950 builtin and then its argument prototype would still apply. */
2951 #ifdef __cplusplus
2952 extern "C"
2953 #endif
2954 char $2 ();
2955 /* The GNU C library defines this for functions which it implements
2956 to always fail with ENOSYS. Some functions are actually named
2957 something starting with __ and the normal name is an alias. */
2958 #if defined __stub_$2 || defined __stub___$2
2959 choke me
2960 #endif
2963 main ()
2965 return $2 ();
2967 return 0;
2969 _ACEOF
2970 if ac_fn_c_try_link "$LINENO"; then :
2971 eval "$3=yes"
2972 else
2973 eval "$3=no"
2975 rm -f core conftest.err conftest.$ac_objext \
2976 conftest$ac_exeext conftest.$ac_ext
2978 eval ac_res=\$$3
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2980 $as_echo "$ac_res" >&6; }
2981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2983 } # ac_fn_c_check_func
2985 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2986 # ----------------------------------------------------
2987 # Tries to find if the field MEMBER exists in type AGGR, after including
2988 # INCLUDES, setting cache variable VAR accordingly.
2989 ac_fn_c_check_member ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2993 $as_echo_n "checking for $2.$3... " >&6; }
2994 if eval \${$4+:} false; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3001 main ()
3003 static $2 ac_aggr;
3004 if (ac_aggr.$3)
3005 return 0;
3007 return 0;
3009 _ACEOF
3010 if ac_fn_c_try_compile "$LINENO"; then :
3011 eval "$4=yes"
3012 else
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3017 main ()
3019 static $2 ac_aggr;
3020 if (sizeof ac_aggr.$3)
3021 return 0;
3023 return 0;
3025 _ACEOF
3026 if ac_fn_c_try_compile "$LINENO"; then :
3027 eval "$4=yes"
3028 else
3029 eval "$4=no"
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 eval ac_res=\$$4
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3037 $as_echo "$ac_res" >&6; }
3038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 } # ac_fn_c_check_member
3042 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3043 # -------------------------------------------
3044 # Tests whether TYPE exists after having included INCLUDES, setting cache
3045 # variable VAR accordingly.
3046 ac_fn_c_check_type ()
3048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3050 $as_echo_n "checking for $2... " >&6; }
3051 if eval \${$3+:} false; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3054 eval "$3=no"
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3059 main ()
3061 if (sizeof ($2))
3062 return 0;
3064 return 0;
3066 _ACEOF
3067 if ac_fn_c_try_compile "$LINENO"; then :
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3072 main ()
3074 if (sizeof (($2)))
3075 return 0;
3077 return 0;
3079 _ACEOF
3080 if ac_fn_c_try_compile "$LINENO"; then :
3082 else
3083 eval "$3=yes"
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 eval ac_res=\$$3
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3091 $as_echo "$ac_res" >&6; }
3092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 } # ac_fn_c_check_type
3095 cat >config.log <<_ACEOF
3096 This file contains any messages produced by compilers while
3097 running configure, to aid debugging if configure makes a mistake.
3099 It was created by Wine $as_me 2.22, which was
3100 generated by GNU Autoconf 2.69. Invocation command line was
3102 $ $0 $@
3104 _ACEOF
3105 exec 5>>config.log
3107 cat <<_ASUNAME
3108 ## --------- ##
3109 ## Platform. ##
3110 ## --------- ##
3112 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3113 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3114 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3115 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3116 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3118 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3119 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3121 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3122 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3123 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3124 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3125 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3126 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3127 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3129 _ASUNAME
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3134 IFS=$as_save_IFS
3135 test -z "$as_dir" && as_dir=.
3136 $as_echo "PATH: $as_dir"
3137 done
3138 IFS=$as_save_IFS
3140 } >&5
3142 cat >&5 <<_ACEOF
3145 ## ----------- ##
3146 ## Core tests. ##
3147 ## ----------- ##
3149 _ACEOF
3152 # Keep a trace of the command line.
3153 # Strip out --no-create and --no-recursion so they do not pile up.
3154 # Strip out --silent because we don't want to record it for future runs.
3155 # Also quote any args containing shell meta-characters.
3156 # Make two passes to allow for proper duplicate-argument suppression.
3157 ac_configure_args=
3158 ac_configure_args0=
3159 ac_configure_args1=
3160 ac_must_keep_next=false
3161 for ac_pass in 1 2
3163 for ac_arg
3165 case $ac_arg in
3166 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3168 | -silent | --silent | --silen | --sile | --sil)
3169 continue ;;
3170 *\'*)
3171 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3172 esac
3173 case $ac_pass in
3174 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3176 as_fn_append ac_configure_args1 " '$ac_arg'"
3177 if test $ac_must_keep_next = true; then
3178 ac_must_keep_next=false # Got value, back to normal.
3179 else
3180 case $ac_arg in
3181 *=* | --config-cache | -C | -disable-* | --disable-* \
3182 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3183 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3184 | -with-* | --with-* | -without-* | --without-* | --x)
3185 case "$ac_configure_args0 " in
3186 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3187 esac
3189 -* ) ac_must_keep_next=true ;;
3190 esac
3192 as_fn_append ac_configure_args " '$ac_arg'"
3194 esac
3195 done
3196 done
3197 { ac_configure_args0=; unset ac_configure_args0;}
3198 { ac_configure_args1=; unset ac_configure_args1;}
3200 # When interrupted or exit'd, cleanup temporary files, and complete
3201 # config.log. We remove comments because anyway the quotes in there
3202 # would cause problems or look ugly.
3203 # WARNING: Use '\'' to represent an apostrophe within the trap.
3204 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3205 trap 'exit_status=$?
3206 # Save into config.log some information that might help in debugging.
3208 echo
3210 $as_echo "## ---------------- ##
3211 ## Cache variables. ##
3212 ## ---------------- ##"
3213 echo
3214 # The following way of writing the cache mishandles newlines in values,
3216 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3217 eval ac_val=\$$ac_var
3218 case $ac_val in #(
3219 *${as_nl}*)
3220 case $ac_var in #(
3221 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3223 esac
3224 case $ac_var in #(
3225 _ | IFS | as_nl) ;; #(
3226 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3227 *) { eval $ac_var=; unset $ac_var;} ;;
3228 esac ;;
3229 esac
3230 done
3231 (set) 2>&1 |
3232 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3233 *${as_nl}ac_space=\ *)
3234 sed -n \
3235 "s/'\''/'\''\\\\'\'''\''/g;
3236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3237 ;; #(
3239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3241 esac |
3242 sort
3244 echo
3246 $as_echo "## ----------------- ##
3247 ## Output variables. ##
3248 ## ----------------- ##"
3249 echo
3250 for ac_var in $ac_subst_vars
3252 eval ac_val=\$$ac_var
3253 case $ac_val in
3254 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3255 esac
3256 $as_echo "$ac_var='\''$ac_val'\''"
3257 done | sort
3258 echo
3260 if test -n "$ac_subst_files"; then
3261 $as_echo "## ------------------- ##
3262 ## File substitutions. ##
3263 ## ------------------- ##"
3264 echo
3265 for ac_var in $ac_subst_files
3267 eval ac_val=\$$ac_var
3268 case $ac_val in
3269 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3270 esac
3271 $as_echo "$ac_var='\''$ac_val'\''"
3272 done | sort
3273 echo
3276 if test -s confdefs.h; then
3277 $as_echo "## ----------- ##
3278 ## confdefs.h. ##
3279 ## ----------- ##"
3280 echo
3281 cat confdefs.h
3282 echo
3284 test "$ac_signal" != 0 &&
3285 $as_echo "$as_me: caught signal $ac_signal"
3286 $as_echo "$as_me: exit $exit_status"
3287 } >&5
3288 rm -f core *.core core.conftest.* &&
3289 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3290 exit $exit_status
3292 for ac_signal in 1 2 13 15; do
3293 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3294 done
3295 ac_signal=0
3297 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3298 rm -f -r conftest* confdefs.h
3300 $as_echo "/* confdefs.h */" > confdefs.h
3302 # Predefined preprocessor variables.
3304 cat >>confdefs.h <<_ACEOF
3305 #define PACKAGE_NAME "$PACKAGE_NAME"
3306 _ACEOF
3308 cat >>confdefs.h <<_ACEOF
3309 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3310 _ACEOF
3312 cat >>confdefs.h <<_ACEOF
3313 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3314 _ACEOF
3316 cat >>confdefs.h <<_ACEOF
3317 #define PACKAGE_STRING "$PACKAGE_STRING"
3318 _ACEOF
3320 cat >>confdefs.h <<_ACEOF
3321 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3322 _ACEOF
3324 cat >>confdefs.h <<_ACEOF
3325 #define PACKAGE_URL "$PACKAGE_URL"
3326 _ACEOF
3329 # Let the site file select an alternate cache file if it wants to.
3330 # Prefer an explicitly selected file to automatically selected ones.
3331 ac_site_file1=NONE
3332 ac_site_file2=NONE
3333 if test -n "$CONFIG_SITE"; then
3334 # We do not want a PATH search for config.site.
3335 case $CONFIG_SITE in #((
3336 -*) ac_site_file1=./$CONFIG_SITE;;
3337 */*) ac_site_file1=$CONFIG_SITE;;
3338 *) ac_site_file1=./$CONFIG_SITE;;
3339 esac
3340 elif test "x$prefix" != xNONE; then
3341 ac_site_file1=$prefix/share/config.site
3342 ac_site_file2=$prefix/etc/config.site
3343 else
3344 ac_site_file1=$ac_default_prefix/share/config.site
3345 ac_site_file2=$ac_default_prefix/etc/config.site
3347 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3349 test "x$ac_site_file" = xNONE && continue
3350 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3352 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3353 sed 's/^/| /' "$ac_site_file" >&5
3354 . "$ac_site_file" \
3355 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "failed to load site script $ac_site_file
3358 See \`config.log' for more details" "$LINENO" 5; }
3360 done
3362 if test -r "$cache_file"; then
3363 # Some versions of bash will fail to source /dev/null (special files
3364 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3365 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3367 $as_echo "$as_me: loading cache $cache_file" >&6;}
3368 case $cache_file in
3369 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3370 *) . "./$cache_file";;
3371 esac
3373 else
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3375 $as_echo "$as_me: creating cache $cache_file" >&6;}
3376 >$cache_file
3379 # Check that the precious variables saved in the cache have kept the same
3380 # value.
3381 ac_cache_corrupted=false
3382 for ac_var in $ac_precious_vars; do
3383 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3384 eval ac_new_set=\$ac_env_${ac_var}_set
3385 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3386 eval ac_new_val=\$ac_env_${ac_var}_value
3387 case $ac_old_set,$ac_new_set in
3388 set,)
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3390 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3391 ac_cache_corrupted=: ;;
3392 ,set)
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3394 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3395 ac_cache_corrupted=: ;;
3396 ,);;
3398 if test "x$ac_old_val" != "x$ac_new_val"; then
3399 # differences in whitespace do not lead to failure.
3400 ac_old_val_w=`echo x $ac_old_val`
3401 ac_new_val_w=`echo x $ac_new_val`
3402 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3404 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3405 ac_cache_corrupted=:
3406 else
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3408 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3409 eval $ac_var=\$ac_old_val
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3412 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3414 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3415 fi;;
3416 esac
3417 # Pass precious variables to config.status.
3418 if test "$ac_new_set" = set; then
3419 case $ac_new_val in
3420 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3421 *) ac_arg=$ac_var=$ac_new_val ;;
3422 esac
3423 case " $ac_configure_args " in
3424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3425 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3426 esac
3428 done
3429 if $ac_cache_corrupted; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3433 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3434 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3436 ## -------------------- ##
3437 ## Main body of script. ##
3438 ## -------------------- ##
3440 ac_ext=c
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 ac_config_headers="$ac_config_headers include/config.h"
3450 ac_aux_dir=
3451 for ac_dir in tools "$srcdir"/tools; do
3452 if test -f "$ac_dir/install-sh"; then
3453 ac_aux_dir=$ac_dir
3454 ac_install_sh="$ac_aux_dir/install-sh -c"
3455 break
3456 elif test -f "$ac_dir/install.sh"; then
3457 ac_aux_dir=$ac_dir
3458 ac_install_sh="$ac_aux_dir/install.sh -c"
3459 break
3460 elif test -f "$ac_dir/shtool"; then
3461 ac_aux_dir=$ac_dir
3462 ac_install_sh="$ac_aux_dir/shtool install -c"
3463 break
3465 done
3466 if test -z "$ac_aux_dir"; then
3467 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3470 # These three variables are undocumented and unsupported,
3471 # and are intended to be withdrawn in a future Autoconf release.
3472 # They can cause serious problems if a builder's source tree is in a directory
3473 # whose full name contains unusual characters.
3474 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3475 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3476 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3480 libwine_version="1.0"
3484 # Check whether --enable-win16 was given.
3485 if test "${enable_win16+set}" = set; then :
3486 enableval=$enable_win16;
3489 # Check whether --enable-win64 was given.
3490 if test "${enable_win64+set}" = set; then :
3491 enableval=$enable_win64;
3494 # Check whether --enable-tests was given.
3495 if test "${enable_tests+set}" = set; then :
3496 enableval=$enable_tests;
3499 # Check whether --enable-maintainer-mode was given.
3500 if test "${enable_maintainer_mode+set}" = set; then :
3501 enableval=$enable_maintainer_mode;
3506 # Check whether --with-alsa was given.
3507 if test "${with_alsa+set}" = set; then :
3508 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3512 # Check whether --with-capi was given.
3513 if test "${with_capi+set}" = set; then :
3514 withval=$with_capi;
3518 # Check whether --with-cms was given.
3519 if test "${with_cms+set}" = set; then :
3520 withval=$with_cms;
3524 # Check whether --with-coreaudio was given.
3525 if test "${with_coreaudio+set}" = set; then :
3526 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3530 # Check whether --with-cups was given.
3531 if test "${with_cups+set}" = set; then :
3532 withval=$with_cups;
3536 # Check whether --with-curses was given.
3537 if test "${with_curses+set}" = set; then :
3538 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3542 # Check whether --with-dbus was given.
3543 if test "${with_dbus+set}" = set; then :
3544 withval=$with_dbus;
3548 # Check whether --with-fontconfig was given.
3549 if test "${with_fontconfig+set}" = set; then :
3550 withval=$with_fontconfig;
3554 # Check whether --with-freetype was given.
3555 if test "${with_freetype+set}" = set; then :
3556 withval=$with_freetype;
3560 # Check whether --with-gettext was given.
3561 if test "${with_gettext+set}" = set; then :
3562 withval=$with_gettext;
3566 # Check whether --with-gettextpo was given.
3567 if test "${with_gettextpo+set}" = set; then :
3568 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3572 # Check whether --with-gphoto was given.
3573 if test "${with_gphoto+set}" = set; then :
3574 withval=$with_gphoto;
3578 # Check whether --with-glu was given.
3579 if test "${with_glu+set}" = set; then :
3580 withval=$with_glu;
3584 # Check whether --with-gnutls was given.
3585 if test "${with_gnutls+set}" = set; then :
3586 withval=$with_gnutls;
3590 # Check whether --with-gsm was given.
3591 if test "${with_gsm+set}" = set; then :
3592 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3596 # Check whether --with-gstreamer was given.
3597 if test "${with_gstreamer+set}" = set; then :
3598 withval=$with_gstreamer;
3602 # Check whether --with-hal was given.
3603 if test "${with_hal+set}" = set; then :
3604 withval=$with_hal;
3608 # Check whether --with-jpeg was given.
3609 if test "${with_jpeg+set}" = set; then :
3610 withval=$with_jpeg;
3614 # Check whether --with-krb5 was given.
3615 if test "${with_krb5+set}" = set; then :
3616 withval=$with_krb5;
3620 # Check whether --with-ldap was given.
3621 if test "${with_ldap+set}" = set; then :
3622 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3626 # Check whether --with-mpg123 was given.
3627 if test "${with_mpg123+set}" = set; then :
3628 withval=$with_mpg123;
3632 # Check whether --with-netapi was given.
3633 if test "${with_netapi+set}" = set; then :
3634 withval=$with_netapi;
3638 # Check whether --with-openal was given.
3639 if test "${with_openal+set}" = set; then :
3640 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3644 # Check whether --with-opencl was given.
3645 if test "${with_opencl+set}" = set; then :
3646 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3650 # Check whether --with-opengl was given.
3651 if test "${with_opengl+set}" = set; then :
3652 withval=$with_opengl;
3656 # Check whether --with-osmesa was given.
3657 if test "${with_osmesa+set}" = set; then :
3658 withval=$with_osmesa;
3662 # Check whether --with-oss was given.
3663 if test "${with_oss+set}" = set; then :
3664 withval=$with_oss;
3668 # Check whether --with-pcap was given.
3669 if test "${with_pcap+set}" = set; then :
3670 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3674 # Check whether --with-png was given.
3675 if test "${with_png+set}" = set; then :
3676 withval=$with_png;
3680 # Check whether --with-pthread was given.
3681 if test "${with_pthread+set}" = set; then :
3682 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3686 # Check whether --with-pulse was given.
3687 if test "${with_pulse+set}" = set; then :
3688 withval=$with_pulse;
3692 # Check whether --with-sane was given.
3693 if test "${with_sane+set}" = set; then :
3694 withval=$with_sane;
3698 # Check whether --with-tiff was given.
3699 if test "${with_tiff+set}" = set; then :
3700 withval=$with_tiff;
3704 # Check whether --with-udev was given.
3705 if test "${with_udev+set}" = set; then :
3706 withval=$with_udev;
3710 # Check whether --with-v4l was given.
3711 if test "${with_v4l+set}" = set; then :
3712 withval=$with_v4l;
3716 # Check whether --with-xcomposite was given.
3717 if test "${with_xcomposite+set}" = set; then :
3718 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3722 # Check whether --with-xcursor was given.
3723 if test "${with_xcursor+set}" = set; then :
3724 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3728 # Check whether --with-xfixes was given.
3729 if test "${with_xfixes+set}" = set; then :
3730 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3734 # Check whether --with-xinerama was given.
3735 if test "${with_xinerama+set}" = set; then :
3736 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3740 # Check whether --with-xinput was given.
3741 if test "${with_xinput+set}" = set; then :
3742 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3746 # Check whether --with-xinput2 was given.
3747 if test "${with_xinput2+set}" = set; then :
3748 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3752 # Check whether --with-xml was given.
3753 if test "${with_xml+set}" = set; then :
3754 withval=$with_xml;
3758 # Check whether --with-xrandr was given.
3759 if test "${with_xrandr+set}" = set; then :
3760 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3764 # Check whether --with-xrender was given.
3765 if test "${with_xrender+set}" = set; then :
3766 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3770 # Check whether --with-xshape was given.
3771 if test "${with_xshape+set}" = set; then :
3772 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3776 # Check whether --with-xshm was given.
3777 if test "${with_xshm+set}" = set; then :
3778 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3782 # Check whether --with-xslt was given.
3783 if test "${with_xslt+set}" = set; then :
3784 withval=$with_xslt;
3788 # Check whether --with-xxf86vm was given.
3789 if test "${with_xxf86vm+set}" = set; then :
3790 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
3794 # Check whether --with-zlib was given.
3795 if test "${with_zlib+set}" = set; then :
3796 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3801 # Check whether --with-wine-tools was given.
3802 if test "${with_wine_tools+set}" = set; then :
3803 withval=$with_wine_tools;
3807 # Check whether --with-wine64 was given.
3808 if test "${with_wine64+set}" = set; then :
3809 withval=$with_wine64;
3813 # Make sure we can run config.sub.
3814 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3815 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3818 $as_echo_n "checking build system type... " >&6; }
3819 if ${ac_cv_build+:} false; then :
3820 $as_echo_n "(cached) " >&6
3821 else
3822 ac_build_alias=$build_alias
3823 test "x$ac_build_alias" = x &&
3824 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3825 test "x$ac_build_alias" = x &&
3826 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3827 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3828 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3832 $as_echo "$ac_cv_build" >&6; }
3833 case $ac_cv_build in
3834 *-*-*) ;;
3835 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3836 esac
3837 build=$ac_cv_build
3838 ac_save_IFS=$IFS; IFS='-'
3839 set x $ac_cv_build
3840 shift
3841 build_cpu=$1
3842 build_vendor=$2
3843 shift; shift
3844 # Remember, the first character of IFS is used to create $*,
3845 # except with old shells:
3846 build_os=$*
3847 IFS=$ac_save_IFS
3848 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3852 $as_echo_n "checking host system type... " >&6; }
3853 if ${ac_cv_host+:} false; then :
3854 $as_echo_n "(cached) " >&6
3855 else
3856 if test "x$host_alias" = x; then
3857 ac_cv_host=$ac_cv_build
3858 else
3859 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3860 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3865 $as_echo "$ac_cv_host" >&6; }
3866 case $ac_cv_host in
3867 *-*-*) ;;
3868 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3869 esac
3870 host=$ac_cv_host
3871 ac_save_IFS=$IFS; IFS='-'
3872 set x $ac_cv_host
3873 shift
3874 host_cpu=$1
3875 host_vendor=$2
3876 shift; shift
3877 # Remember, the first character of IFS is used to create $*,
3878 # except with old shells:
3879 host_os=$*
3880 IFS=$ac_save_IFS
3881 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3885 case "$srcdir" in
3886 .) ;;
3887 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3888 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3889 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3890 fi ;;
3891 esac
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3895 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3896 set x ${MAKE-make}
3897 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3898 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 cat >conftest.make <<\_ACEOF
3902 SHELL = /bin/sh
3903 all:
3904 @echo '@@@%%%=$(MAKE)=@@@%%%'
3905 _ACEOF
3906 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3907 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3908 *@@@%%%=?*=@@@%%%*)
3909 eval ac_cv_prog_make_${ac_make}_set=yes;;
3911 eval ac_cv_prog_make_${ac_make}_set=no;;
3912 esac
3913 rm -f conftest.make
3915 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3917 $as_echo "yes" >&6; }
3918 SET_MAKE=
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3922 SET_MAKE="MAKE=${MAKE-make}"
3925 ac_ext=c
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 if test -n "$ac_tool_prefix"; then
3931 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3932 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if ${ac_cv_prog_CC+:} false; then :
3936 $as_echo_n "(cached) " >&6
3937 else
3938 if test -n "$CC"; then
3939 ac_cv_prog_CC="$CC" # Let the user override the test.
3940 else
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 for as_dir in $PATH
3944 IFS=$as_save_IFS
3945 test -z "$as_dir" && as_dir=.
3946 for ac_exec_ext in '' $ac_executable_extensions; do
3947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3948 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 break 2
3952 done
3953 done
3954 IFS=$as_save_IFS
3958 CC=$ac_cv_prog_CC
3959 if test -n "$CC"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3961 $as_echo "$CC" >&6; }
3962 else
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3969 if test -z "$ac_cv_prog_CC"; then
3970 ac_ct_CC=$CC
3971 # Extract the first word of "gcc", so it can be a program name with args.
3972 set dummy gcc; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if test -n "$ac_ct_CC"; then
3979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3980 else
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_ac_ct_CC="gcc"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3992 done
3993 done
3994 IFS=$as_save_IFS
3998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3999 if test -n "$ac_ct_CC"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4001 $as_echo "$ac_ct_CC" >&6; }
4002 else
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4007 if test "x$ac_ct_CC" = x; then
4008 CC=""
4009 else
4010 case $cross_compiling:$ac_tool_warned in
4011 yes:)
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4014 ac_tool_warned=yes ;;
4015 esac
4016 CC=$ac_ct_CC
4018 else
4019 CC="$ac_cv_prog_CC"
4022 if test -z "$CC"; then
4023 if test -n "$ac_tool_prefix"; then
4024 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}cc; ac_word=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_prog_CC+:} false; then :
4029 $as_echo_n "(cached) " >&6
4030 else
4031 if test -n "$CC"; then
4032 ac_cv_prog_CC="$CC" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_CC="${ac_tool_prefix}cc"
4042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4045 done
4046 done
4047 IFS=$as_save_IFS
4051 CC=$ac_cv_prog_CC
4052 if test -n "$CC"; then
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4054 $as_echo "$CC" >&6; }
4055 else
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4063 if test -z "$CC"; then
4064 # Extract the first word of "cc", so it can be a program name with args.
4065 set dummy cc; ac_word=$2
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 $as_echo_n "checking for $ac_word... " >&6; }
4068 if ${ac_cv_prog_CC+:} false; then :
4069 $as_echo_n "(cached) " >&6
4070 else
4071 if test -n "$CC"; then
4072 ac_cv_prog_CC="$CC" # Let the user override the test.
4073 else
4074 ac_prog_rejected=no
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 for as_dir in $PATH
4078 IFS=$as_save_IFS
4079 test -z "$as_dir" && as_dir=.
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4083 ac_prog_rejected=yes
4084 continue
4086 ac_cv_prog_CC="cc"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 break 2
4090 done
4091 done
4092 IFS=$as_save_IFS
4094 if test $ac_prog_rejected = yes; then
4095 # We found a bogon in the path, so make sure we never use it.
4096 set dummy $ac_cv_prog_CC
4097 shift
4098 if test $# != 0; then
4099 # We chose a different compiler from the bogus one.
4100 # However, it has the same basename, so the bogon will be chosen
4101 # first if we set CC to just the basename; use the full file name.
4102 shift
4103 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4108 CC=$ac_cv_prog_CC
4109 if test -n "$CC"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4111 $as_echo "$CC" >&6; }
4112 else
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4119 if test -z "$CC"; then
4120 if test -n "$ac_tool_prefix"; then
4121 for ac_prog in cl.exe
4123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if ${ac_cv_prog_CC+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC="$CC" # Let the user override the test.
4132 else
4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 for as_dir in $PATH
4136 IFS=$as_save_IFS
4137 test -z "$as_dir" && as_dir=.
4138 for ac_exec_ext in '' $ac_executable_extensions; do
4139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 break 2
4144 done
4145 done
4146 IFS=$as_save_IFS
4150 CC=$ac_cv_prog_CC
4151 if test -n "$CC"; then
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4153 $as_echo "$CC" >&6; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4160 test -n "$CC" && break
4161 done
4163 if test -z "$CC"; then
4164 ac_ct_CC=$CC
4165 for ac_prog in cl.exe
4167 # Extract the first word of "$ac_prog", so it can be a program name with args.
4168 set dummy $ac_prog; ac_word=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 if test -n "$ac_ct_CC"; then
4175 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4176 else
4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 for as_dir in $PATH
4180 IFS=$as_save_IFS
4181 test -z "$as_dir" && as_dir=.
4182 for ac_exec_ext in '' $ac_executable_extensions; do
4183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_ac_ct_CC="$ac_prog"
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 break 2
4188 done
4189 done
4190 IFS=$as_save_IFS
4194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4195 if test -n "$ac_ct_CC"; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4197 $as_echo "$ac_ct_CC" >&6; }
4198 else
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4204 test -n "$ac_ct_CC" && break
4205 done
4207 if test "x$ac_ct_CC" = x; then
4208 CC=""
4209 else
4210 case $cross_compiling:$ac_tool_warned in
4211 yes:)
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4214 ac_tool_warned=yes ;;
4215 esac
4216 CC=$ac_ct_CC
4223 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4225 as_fn_error $? "no acceptable C compiler found in \$PATH
4226 See \`config.log' for more details" "$LINENO" 5; }
4228 # Provide some information about the compiler.
4229 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4230 set X $ac_compile
4231 ac_compiler=$2
4232 for ac_option in --version -v -V -qversion; do
4233 { { ac_try="$ac_compiler $ac_option >&5"
4234 case "(($ac_try" in
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4237 esac
4238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4239 $as_echo "$ac_try_echo"; } >&5
4240 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4241 ac_status=$?
4242 if test -s conftest.err; then
4243 sed '10a\
4244 ... rest of stderr output deleted ...
4245 10q' conftest.err >conftest.er1
4246 cat conftest.er1 >&5
4248 rm -f conftest.er1 conftest.err
4249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4250 test $ac_status = 0; }
4251 done
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 ac_clean_files_save=$ac_clean_files
4265 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4266 # Try to create an executable without -o first, disregard a.out.
4267 # It will help us diagnose broken compilers, and finding out an intuition
4268 # of exeext.
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4270 $as_echo_n "checking whether the C compiler works... " >&6; }
4271 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4273 # The possible output files:
4274 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4276 ac_rmfiles=
4277 for ac_file in $ac_files
4279 case $ac_file in
4280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4281 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4282 esac
4283 done
4284 rm -f $ac_rmfiles
4286 if { { ac_try="$ac_link_default"
4287 case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4290 esac
4291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4292 $as_echo "$ac_try_echo"; } >&5
4293 (eval "$ac_link_default") 2>&5
4294 ac_status=$?
4295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4296 test $ac_status = 0; }; then :
4297 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4298 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4299 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4300 # so that the user can short-circuit this test for compilers unknown to
4301 # Autoconf.
4302 for ac_file in $ac_files ''
4304 test -f "$ac_file" || continue
4305 case $ac_file in
4306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4308 [ab].out )
4309 # We found the default executable, but exeext='' is most
4310 # certainly right.
4311 break;;
4312 *.* )
4313 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4314 then :; else
4315 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4317 # We set ac_cv_exeext here because the later test for it is not
4318 # safe: cross compilers may not add the suffix if given an `-o'
4319 # argument, so we may need to know it at that point already.
4320 # Even if this section looks crufty: it has the advantage of
4321 # actually working.
4322 break;;
4324 break;;
4325 esac
4326 done
4327 test "$ac_cv_exeext" = no && ac_cv_exeext=
4329 else
4330 ac_file=''
4332 if test -z "$ac_file"; then :
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4335 $as_echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4340 as_fn_error 77 "C compiler cannot create executables
4341 See \`config.log' for more details" "$LINENO" 5; }
4342 else
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4344 $as_echo "yes" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4347 $as_echo_n "checking for C compiler default output file name... " >&6; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4349 $as_echo "$ac_file" >&6; }
4350 ac_exeext=$ac_cv_exeext
4352 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4353 ac_clean_files=$ac_clean_files_save
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4355 $as_echo_n "checking for suffix of executables... " >&6; }
4356 if { { ac_try="$ac_link"
4357 case "(($ac_try" in
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4360 esac
4361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4362 $as_echo "$ac_try_echo"; } >&5
4363 (eval "$ac_link") 2>&5
4364 ac_status=$?
4365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4366 test $ac_status = 0; }; then :
4367 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4368 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4369 # work properly (i.e., refer to `conftest.exe'), while it won't with
4370 # `rm'.
4371 for ac_file in conftest.exe conftest conftest.*; do
4372 test -f "$ac_file" || continue
4373 case $ac_file in
4374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4375 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4376 break;;
4377 * ) break;;
4378 esac
4379 done
4380 else
4381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4383 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4384 See \`config.log' for more details" "$LINENO" 5; }
4386 rm -f conftest conftest$ac_cv_exeext
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4388 $as_echo "$ac_cv_exeext" >&6; }
4390 rm -f conftest.$ac_ext
4391 EXEEXT=$ac_cv_exeext
4392 ac_exeext=$EXEEXT
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4395 #include <stdio.h>
4397 main ()
4399 FILE *f = fopen ("conftest.out", "w");
4400 return ferror (f) || fclose (f) != 0;
4403 return 0;
4405 _ACEOF
4406 ac_clean_files="$ac_clean_files conftest.out"
4407 # Check that the compiler produces executables we can run. If not, either
4408 # the compiler is broken, or we cross compile.
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4410 $as_echo_n "checking whether we are cross compiling... " >&6; }
4411 if test "$cross_compiling" != yes; then
4412 { { ac_try="$ac_link"
4413 case "(($ac_try" in
4414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4416 esac
4417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_link") 2>&5
4420 ac_status=$?
4421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4422 test $ac_status = 0; }
4423 if { ac_try='./conftest$ac_cv_exeext'
4424 { { case "(($ac_try" in
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4427 esac
4428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429 $as_echo "$ac_try_echo"; } >&5
4430 (eval "$ac_try") 2>&5
4431 ac_status=$?
4432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4433 test $ac_status = 0; }; }; then
4434 cross_compiling=no
4435 else
4436 if test "$cross_compiling" = maybe; then
4437 cross_compiling=yes
4438 else
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error $? "cannot run C compiled programs.
4442 If you meant to cross compile, use \`--host'.
4443 See \`config.log' for more details" "$LINENO" 5; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4448 $as_echo "$cross_compiling" >&6; }
4450 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4451 ac_clean_files=$ac_clean_files_save
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4453 $as_echo_n "checking for suffix of object files... " >&6; }
4454 if ${ac_cv_objext+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4461 main ()
4465 return 0;
4467 _ACEOF
4468 rm -f conftest.o conftest.obj
4469 if { { ac_try="$ac_compile"
4470 case "(($ac_try" in
4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472 *) ac_try_echo=$ac_try;;
4473 esac
4474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4475 $as_echo "$ac_try_echo"; } >&5
4476 (eval "$ac_compile") 2>&5
4477 ac_status=$?
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }; then :
4480 for ac_file in conftest.o conftest.obj conftest.*; do
4481 test -f "$ac_file" || continue;
4482 case $ac_file in
4483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4484 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4485 break;;
4486 esac
4487 done
4488 else
4489 $as_echo "$as_me: failed program was:" >&5
4490 sed 's/^/| /' conftest.$ac_ext >&5
4492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4494 as_fn_error $? "cannot compute suffix of object files: cannot compile
4495 See \`config.log' for more details" "$LINENO" 5; }
4497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4500 $as_echo "$ac_cv_objext" >&6; }
4501 OBJEXT=$ac_cv_objext
4502 ac_objext=$OBJEXT
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4505 if ${ac_cv_c_compiler_gnu+:} false; then :
4506 $as_echo_n "(cached) " >&6
4507 else
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4512 main ()
4514 #ifndef __GNUC__
4515 choke me
4516 #endif
4519 return 0;
4521 _ACEOF
4522 if ac_fn_c_try_compile "$LINENO"; then :
4523 ac_compiler_gnu=yes
4524 else
4525 ac_compiler_gnu=no
4527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4532 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4533 if test $ac_compiler_gnu = yes; then
4534 GCC=yes
4535 else
4536 GCC=
4538 ac_test_CFLAGS=${CFLAGS+set}
4539 ac_save_CFLAGS=$CFLAGS
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4541 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4542 if ${ac_cv_prog_cc_g+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 ac_save_c_werror_flag=$ac_c_werror_flag
4546 ac_c_werror_flag=yes
4547 ac_cv_prog_cc_g=no
4548 CFLAGS="-g"
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_c_try_compile "$LINENO"; then :
4561 ac_cv_prog_cc_g=yes
4562 else
4563 CFLAGS=""
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4572 return 0;
4574 _ACEOF
4575 if ac_fn_c_try_compile "$LINENO"; then :
4577 else
4578 ac_c_werror_flag=$ac_save_c_werror_flag
4579 CFLAGS="-g"
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4584 main ()
4588 return 0;
4590 _ACEOF
4591 if ac_fn_c_try_compile "$LINENO"; then :
4592 ac_cv_prog_cc_g=yes
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4599 ac_c_werror_flag=$ac_save_c_werror_flag
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4602 $as_echo "$ac_cv_prog_cc_g" >&6; }
4603 if test "$ac_test_CFLAGS" = set; then
4604 CFLAGS=$ac_save_CFLAGS
4605 elif test $ac_cv_prog_cc_g = yes; then
4606 if test "$GCC" = yes; then
4607 CFLAGS="-g -O2"
4608 else
4609 CFLAGS="-g"
4611 else
4612 if test "$GCC" = yes; then
4613 CFLAGS="-O2"
4614 else
4615 CFLAGS=
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4619 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4620 if ${ac_cv_prog_cc_c89+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 ac_cv_prog_cc_c89=no
4624 ac_save_CC=$CC
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4627 #include <stdarg.h>
4628 #include <stdio.h>
4629 struct stat;
4630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4631 struct buf { int x; };
4632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4633 static char *e (p, i)
4634 char **p;
4635 int i;
4637 return p[i];
4639 static char *f (char * (*g) (char **, int), char **p, ...)
4641 char *s;
4642 va_list v;
4643 va_start (v,p);
4644 s = g (p, va_arg (v,int));
4645 va_end (v);
4646 return s;
4649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4650 function prototypes and stuff, but not '\xHH' hex character constants.
4651 These don't provoke an error unfortunately, instead are silently treated
4652 as 'x'. The following induces an error, until -std is added to get
4653 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4654 array size at least. It's necessary to write '\x00'==0 to get something
4655 that's true only with -std. */
4656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4658 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4659 inside strings and character constants. */
4660 #define FOO(x) 'x'
4661 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4663 int test (int i, double x);
4664 struct s1 {int (*f) (int a);};
4665 struct s2 {int (*f) (double a);};
4666 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4667 int argc;
4668 char **argv;
4670 main ()
4672 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4674 return 0;
4676 _ACEOF
4677 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4678 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4680 CC="$ac_save_CC $ac_arg"
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 ac_cv_prog_cc_c89=$ac_arg
4684 rm -f core conftest.err conftest.$ac_objext
4685 test "x$ac_cv_prog_cc_c89" != "xno" && break
4686 done
4687 rm -f conftest.$ac_ext
4688 CC=$ac_save_CC
4691 # AC_CACHE_VAL
4692 case "x$ac_cv_prog_cc_c89" in
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4695 $as_echo "none needed" >&6; } ;;
4696 xno)
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4698 $as_echo "unsupported" >&6; } ;;
4700 CC="$CC $ac_cv_prog_cc_c89"
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4702 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4703 esac
4704 if test "x$ac_cv_prog_cc_c89" != xno; then :
4708 ac_ext=c
4709 ac_cpp='$CPP $CPPFLAGS'
4710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4714 ac_ext=cpp
4715 ac_cpp='$CXXCPP $CPPFLAGS'
4716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4719 if test -z "$CXX"; then
4720 if test -n "$CCC"; then
4721 CXX=$CCC
4722 else
4723 if test -n "$ac_tool_prefix"; then
4724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_CXX+:} false; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -n "$CXX"; then
4734 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4735 else
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 break 2
4747 done
4748 done
4749 IFS=$as_save_IFS
4753 CXX=$ac_cv_prog_CXX
4754 if test -n "$CXX"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4756 $as_echo "$CXX" >&6; }
4757 else
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4763 test -n "$CXX" && break
4764 done
4766 if test -z "$CXX"; then
4767 ac_ct_CXX=$CXX
4768 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4770 # Extract the first word of "$ac_prog", so it can be a program name with args.
4771 set dummy $ac_prog; ac_word=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 if test -n "$ac_ct_CXX"; then
4778 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4779 else
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 for as_dir in $PATH
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_ac_ct_CXX="$ac_prog"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4798 if test -n "$ac_ct_CXX"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4800 $as_echo "$ac_ct_CXX" >&6; }
4801 else
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4807 test -n "$ac_ct_CXX" && break
4808 done
4810 if test "x$ac_ct_CXX" = x; then
4811 CXX="g++"
4812 else
4813 case $cross_compiling:$ac_tool_warned in
4814 yes:)
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4817 ac_tool_warned=yes ;;
4818 esac
4819 CXX=$ac_ct_CXX
4825 # Provide some information about the compiler.
4826 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4827 set X $ac_compile
4828 ac_compiler=$2
4829 for ac_option in --version -v -V -qversion; do
4830 { { ac_try="$ac_compiler $ac_option >&5"
4831 case "(($ac_try" in
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4834 esac
4835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4836 $as_echo "$ac_try_echo"; } >&5
4837 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4838 ac_status=$?
4839 if test -s conftest.err; then
4840 sed '10a\
4841 ... rest of stderr output deleted ...
4842 10q' conftest.err >conftest.er1
4843 cat conftest.er1 >&5
4845 rm -f conftest.er1 conftest.err
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; }
4848 done
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4851 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4852 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4859 main ()
4861 #ifndef __GNUC__
4862 choke me
4863 #endif
4866 return 0;
4868 _ACEOF
4869 if ac_fn_cxx_try_compile "$LINENO"; then :
4870 ac_compiler_gnu=yes
4871 else
4872 ac_compiler_gnu=no
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4875 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4879 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4880 if test $ac_compiler_gnu = yes; then
4881 GXX=yes
4882 else
4883 GXX=
4885 ac_test_CXXFLAGS=${CXXFLAGS+set}
4886 ac_save_CXXFLAGS=$CXXFLAGS
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4888 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4889 if ${ac_cv_prog_cxx_g+:} false; then :
4890 $as_echo_n "(cached) " >&6
4891 else
4892 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4893 ac_cxx_werror_flag=yes
4894 ac_cv_prog_cxx_g=no
4895 CXXFLAGS="-g"
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4900 main ()
4904 return 0;
4906 _ACEOF
4907 if ac_fn_cxx_try_compile "$LINENO"; then :
4908 ac_cv_prog_cxx_g=yes
4909 else
4910 CXXFLAGS=""
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 main ()
4919 return 0;
4921 _ACEOF
4922 if ac_fn_cxx_try_compile "$LINENO"; then :
4924 else
4925 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4926 CXXFLAGS="-g"
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4935 return 0;
4937 _ACEOF
4938 if ac_fn_cxx_try_compile "$LINENO"; then :
4939 ac_cv_prog_cxx_g=yes
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4949 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4950 if test "$ac_test_CXXFLAGS" = set; then
4951 CXXFLAGS=$ac_save_CXXFLAGS
4952 elif test $ac_cv_prog_cxx_g = yes; then
4953 if test "$GXX" = yes; then
4954 CXXFLAGS="-g -O2"
4955 else
4956 CXXFLAGS="-g"
4958 else
4959 if test "$GXX" = yes; then
4960 CXXFLAGS="-O2"
4961 else
4962 CXXFLAGS=
4965 ac_ext=c
4966 ac_cpp='$CPP $CPPFLAGS'
4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4971 if test -n "$ac_tool_prefix"; then
4972 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4973 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_CPPBIN+:} false; then :
4977 $as_echo_n "(cached) " >&6
4978 else
4979 if test -n "$CPPBIN"; then
4980 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 break 2
4993 done
4994 done
4995 IFS=$as_save_IFS
4999 CPPBIN=$ac_cv_prog_CPPBIN
5000 if test -n "$CPPBIN"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5002 $as_echo "$CPPBIN" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5010 if test -z "$ac_cv_prog_CPPBIN"; then
5011 ac_ct_CPPBIN=$CPPBIN
5012 # Extract the first word of "cpp", so it can be a program name with args.
5013 set dummy cpp; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$ac_ct_CPPBIN"; then
5020 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_ac_ct_CPPBIN="cpp"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5040 if test -n "$ac_ct_CPPBIN"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5042 $as_echo "$ac_ct_CPPBIN" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5048 if test "x$ac_ct_CPPBIN" = x; then
5049 CPPBIN="cpp"
5050 else
5051 case $cross_compiling:$ac_tool_warned in
5052 yes:)
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5055 ac_tool_warned=yes ;;
5056 esac
5057 CPPBIN=$ac_ct_CPPBIN
5059 else
5060 CPPBIN="$ac_cv_prog_CPPBIN"
5064 cat >>confdefs.h <<_ACEOF
5065 #define EXEEXT "$ac_exeext"
5066 _ACEOF
5068 if test -n "$ac_tool_prefix"; then
5069 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5070 set dummy ${ac_tool_prefix}ld; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_LD+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$LD"; then
5077 ac_cv_prog_LD="$LD" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_LD="${ac_tool_prefix}ld"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5090 done
5091 done
5092 IFS=$as_save_IFS
5096 LD=$ac_cv_prog_LD
5097 if test -n "$LD"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5099 $as_echo "$LD" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5107 if test -z "$ac_cv_prog_LD"; then
5108 ac_ct_LD=$LD
5109 # Extract the first word of "ld", so it can be a program name with args.
5110 set dummy ld; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$ac_ct_LD"; then
5117 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5118 else
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_ac_ct_LD="ld"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5130 done
5131 done
5132 IFS=$as_save_IFS
5136 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5137 if test -n "$ac_ct_LD"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5139 $as_echo "$ac_ct_LD" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5145 if test "x$ac_ct_LD" = x; then
5146 LD=""
5147 else
5148 case $cross_compiling:$ac_tool_warned in
5149 yes:)
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5152 ac_tool_warned=yes ;;
5153 esac
5154 LD=$ac_ct_LD
5156 else
5157 LD="$ac_cv_prog_LD"
5161 case $host in
5162 *-darwin*)
5163 with_fontconfig=${with_fontconfig:-no}
5165 *-mingw32*|*-cygwin*)
5166 enable_win16=${enable_win16:-no}
5167 CFLAGS="$CFLAGS -D_WIN32"
5169 esac
5171 case $host in
5172 x86_64*|amd64*)
5173 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5174 then
5175 CC="$CC -m32"
5176 CXX="$CXX -m32"
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5178 $as_echo_n "checking whether $CC works... " >&6; }
5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5184 main ()
5188 return 0;
5190 _ACEOF
5191 if ac_fn_c_try_link "$LINENO"; then :
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5193 $as_echo "yes" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5197 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5199 rm -f core conftest.err conftest.$ac_objext \
5200 conftest$ac_exeext conftest.$ac_ext
5201 host_cpu="i386"
5202 notice_platform="32-bit "
5203 TARGETFLAGS="-m32"
5205 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5206 export PKG_CONFIG_PATH
5207 enable_win16=${enable_win16:-yes}
5208 else
5209 if test "x${GCC}" = "xyes"
5210 then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5212 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214 /* end confdefs.h. */
5215 #include <stdarg.h>
5217 main ()
5219 void func(__builtin_ms_va_list *args);
5221 return 0;
5223 _ACEOF
5224 if ac_fn_c_try_compile "$LINENO"; then :
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5230 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 CC="$CC -m64"
5235 CXX="$CXX -m64"
5236 host_cpu="x86_64"
5237 notice_platform="64-bit "
5238 TARGETFLAGS="-m64"
5242 arm*)
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5244 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247 int ac_test(int i) { return i; }
5249 main ()
5251 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5253 return 0;
5255 _ACEOF
5256 if ac_fn_c_try_link "$LINENO"; then :
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5258 $as_echo "yes" >&6; }
5259 else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5262 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5264 rm -f core conftest.err conftest.$ac_objext \
5265 conftest$ac_exeext conftest.$ac_ext
5266 CFLAGS="$CFLAGS -marm"
5267 TARGETFLAGS="-marm"
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point" >&5
5270 $as_echo_n "checking whether $CC supports floating point... " >&6; }
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5275 main ()
5277 asm("vmrs r2,fpscr");
5279 return 0;
5281 _ACEOF
5282 if ac_fn_c_try_link "$LINENO"; then :
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5284 $as_echo "yes" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5288 as_fn_error $? "You need a target with floating point support to build Wine for ARM." "$LINENO" 5
5290 rm -f core conftest.err conftest.$ac_objext \
5291 conftest$ac_exeext conftest.$ac_ext
5293 i[3456789]86*)
5294 enable_win16=${enable_win16:-yes}
5296 esac
5298 enable_win16=${enable_win16:-no}
5299 enable_win64=${enable_win64:-no}
5301 enable_winetest=${enable_winetest:-$enable_tests}
5303 if test -n "$with_wine64"
5304 then
5305 if test "x$enable_win64" = "xyes"
5306 then
5307 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5308 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5310 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5311 You should create a separate build directory and run configure from there." "$LINENO" 5
5312 enable_fonts=${enable_fonts:-no}
5313 enable_server=${enable_server:-no}
5314 elif test "x$enable_win64" = "xyes"
5315 then
5316 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5320 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5321 if ${wine_cv_toolsdir+:} false; then :
5322 $as_echo_n "(cached) " >&6
5323 else
5324 wine_cv_toolsdir="$with_wine_tools"
5325 if test -z "$with_wine_tools"; then
5326 if test "$cross_compiling" = "yes"; then
5327 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5328 elif test -n "$with_wine64"; then
5329 wine_cv_toolsdir="$with_wine64"
5332 if test -z "$wine_cv_toolsdir"; then
5333 wine_makedep=tools/makedep
5334 wine_cv_toolsdir="\$(top_builddir)"
5335 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5336 wine_makedep=$wine_cv_toolsdir/tools/makedep
5337 case "$wine_cv_toolsdir" in
5338 /*) ;;
5339 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5340 esac
5341 enable_tools=${enable_tools:-no}
5342 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5343 else
5344 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5348 $as_echo "$wine_cv_toolsdir" >&6; }
5349 TOOLSDIR=$wine_cv_toolsdir
5351 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5352 then
5353 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5357 for ac_prog in flex
5359 # Extract the first word of "$ac_prog", so it can be a program name with args.
5360 set dummy $ac_prog; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_FLEX+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 if test -n "$FLEX"; then
5367 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_FLEX="$ac_prog"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 break 2
5380 done
5381 done
5382 IFS=$as_save_IFS
5386 FLEX=$ac_cv_prog_FLEX
5387 if test -n "$FLEX"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5389 $as_echo "$FLEX" >&6; }
5390 else
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5396 test -n "$FLEX" && break
5397 done
5398 test -n "$FLEX" || FLEX="none"
5400 if test "$FLEX" = "none"
5401 then
5402 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5405 $as_echo_n "checking whether flex is recent enough... " >&6; }
5406 cat >conftest.l <<EOF
5407 %top{
5408 #include "prediluvian.h"
5412 if $FLEX -t conftest.l >/dev/null 2>&5
5413 then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5415 $as_echo "yes" >&6; }
5416 else
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5419 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5422 for ac_prog in bison
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy $ac_prog; ac_word=$2
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427 $as_echo_n "checking for $ac_word... " >&6; }
5428 if ${ac_cv_prog_BISON+:} false; then :
5429 $as_echo_n "(cached) " >&6
5430 else
5431 if test -n "$BISON"; then
5432 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5433 else
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_prog_BISON="$ac_prog"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 break 2
5445 done
5446 done
5447 IFS=$as_save_IFS
5451 BISON=$ac_cv_prog_BISON
5452 if test -n "$BISON"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5454 $as_echo "$BISON" >&6; }
5455 else
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5461 test -n "$BISON" && break
5462 done
5463 test -n "$BISON" || BISON="none"
5465 if test "$BISON" = "none"
5466 then
5467 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5470 if test -n "$ac_tool_prefix"; then
5471 for ac_prog in ar gar
5473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_AR+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 if test -n "$AR"; then
5481 ac_cv_prog_AR="$AR" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 AR=$ac_cv_prog_AR
5501 if test -n "$AR"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5503 $as_echo "$AR" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5510 test -n "$AR" && break
5511 done
5513 if test -z "$AR"; then
5514 ac_ct_AR=$AR
5515 for ac_prog in ar gar
5517 # Extract the first word of "$ac_prog", so it can be a program name with args.
5518 set dummy $ac_prog; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if test -n "$ac_ct_AR"; then
5525 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5526 else
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH
5530 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_ac_ct_AR="$ac_prog"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 break 2
5538 done
5539 done
5540 IFS=$as_save_IFS
5544 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5545 if test -n "$ac_ct_AR"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5547 $as_echo "$ac_ct_AR" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5554 test -n "$ac_ct_AR" && break
5555 done
5557 if test "x$ac_ct_AR" = x; then
5558 AR="ar"
5559 else
5560 case $cross_compiling:$ac_tool_warned in
5561 yes:)
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5564 ac_tool_warned=yes ;;
5565 esac
5566 AR=$ac_ct_AR
5570 if test -n "$ac_tool_prefix"; then
5571 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5572 set dummy ${ac_tool_prefix}strip; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_STRIP+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -n "$STRIP"; then
5579 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5592 done
5593 done
5594 IFS=$as_save_IFS
5598 STRIP=$ac_cv_prog_STRIP
5599 if test -n "$STRIP"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5601 $as_echo "$STRIP" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5609 if test -z "$ac_cv_prog_STRIP"; then
5610 ac_ct_STRIP=$STRIP
5611 # Extract the first word of "strip", so it can be a program name with args.
5612 set dummy strip; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5616 $as_echo_n "(cached) " >&6
5617 else
5618 if test -n "$ac_ct_STRIP"; then
5619 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5620 else
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH
5624 IFS=$as_save_IFS
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_ac_ct_STRIP="strip"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 break 2
5632 done
5633 done
5634 IFS=$as_save_IFS
5638 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5639 if test -n "$ac_ct_STRIP"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5641 $as_echo "$ac_ct_STRIP" >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5647 if test "x$ac_ct_STRIP" = x; then
5648 STRIP="strip"
5649 else
5650 case $cross_compiling:$ac_tool_warned in
5651 yes:)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5654 ac_tool_warned=yes ;;
5655 esac
5656 STRIP=$ac_ct_STRIP
5658 else
5659 STRIP="$ac_cv_prog_STRIP"
5662 ARFLAGS=rc
5664 if test -n "$ac_tool_prefix"; then
5665 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5666 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_RANLIB+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -n "$RANLIB"; then
5673 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 RANLIB=$ac_cv_prog_RANLIB
5693 if test -n "$RANLIB"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5695 $as_echo "$RANLIB" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5703 if test -z "$ac_cv_prog_RANLIB"; then
5704 ac_ct_RANLIB=$RANLIB
5705 # Extract the first word of "ranlib", so it can be a program name with args.
5706 set dummy ranlib; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$ac_ct_RANLIB"; then
5713 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_ac_ct_RANLIB="ranlib"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5733 if test -n "$ac_ct_RANLIB"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5735 $as_echo "$ac_ct_RANLIB" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5741 if test "x$ac_ct_RANLIB" = x; then
5742 RANLIB=":"
5743 else
5744 case $cross_compiling:$ac_tool_warned in
5745 yes:)
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5748 ac_tool_warned=yes ;;
5749 esac
5750 RANLIB=$ac_ct_RANLIB
5752 else
5753 RANLIB="$ac_cv_prog_RANLIB"
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5757 $as_echo_n "checking whether ln -s works... " >&6; }
5758 LN_S=$as_ln_s
5759 if test "$LN_S" = "ln -s"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5761 $as_echo "yes" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5764 $as_echo "no, using $LN_S" >&6; }
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5768 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5769 if ${ac_cv_path_GREP+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -z "$GREP"; then
5773 ac_path_GREP_found=false
5774 # Loop through the user's path and test for each of PROGNAME-LIST
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_prog in grep ggrep; do
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5783 as_fn_executable_p "$ac_path_GREP" || continue
5784 # Check for GNU ac_path_GREP and select it if it is found.
5785 # Check for GNU $ac_path_GREP
5786 case `"$ac_path_GREP" --version 2>&1` in
5787 *GNU*)
5788 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5790 ac_count=0
5791 $as_echo_n 0123456789 >"conftest.in"
5792 while :
5794 cat "conftest.in" "conftest.in" >"conftest.tmp"
5795 mv "conftest.tmp" "conftest.in"
5796 cp "conftest.in" "conftest.nl"
5797 $as_echo 'GREP' >> "conftest.nl"
5798 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5799 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5800 as_fn_arith $ac_count + 1 && ac_count=$as_val
5801 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5802 # Best one so far, save it but keep looking for a better one
5803 ac_cv_path_GREP="$ac_path_GREP"
5804 ac_path_GREP_max=$ac_count
5806 # 10*(2^10) chars as input seems more than enough
5807 test $ac_count -gt 10 && break
5808 done
5809 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5810 esac
5812 $ac_path_GREP_found && break 3
5813 done
5814 done
5815 done
5816 IFS=$as_save_IFS
5817 if test -z "$ac_cv_path_GREP"; then
5818 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5820 else
5821 ac_cv_path_GREP=$GREP
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5826 $as_echo "$ac_cv_path_GREP" >&6; }
5827 GREP="$ac_cv_path_GREP"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5831 $as_echo_n "checking for egrep... " >&6; }
5832 if ${ac_cv_path_EGREP+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5836 then ac_cv_path_EGREP="$GREP -E"
5837 else
5838 if test -z "$EGREP"; then
5839 ac_path_EGREP_found=false
5840 # Loop through the user's path and test for each of PROGNAME-LIST
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_prog in egrep; do
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5849 as_fn_executable_p "$ac_path_EGREP" || continue
5850 # Check for GNU ac_path_EGREP and select it if it is found.
5851 # Check for GNU $ac_path_EGREP
5852 case `"$ac_path_EGREP" --version 2>&1` in
5853 *GNU*)
5854 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5856 ac_count=0
5857 $as_echo_n 0123456789 >"conftest.in"
5858 while :
5860 cat "conftest.in" "conftest.in" >"conftest.tmp"
5861 mv "conftest.tmp" "conftest.in"
5862 cp "conftest.in" "conftest.nl"
5863 $as_echo 'EGREP' >> "conftest.nl"
5864 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5866 as_fn_arith $ac_count + 1 && ac_count=$as_val
5867 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5868 # Best one so far, save it but keep looking for a better one
5869 ac_cv_path_EGREP="$ac_path_EGREP"
5870 ac_path_EGREP_max=$ac_count
5872 # 10*(2^10) chars as input seems more than enough
5873 test $ac_count -gt 10 && break
5874 done
5875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5876 esac
5878 $ac_path_EGREP_found && break 3
5879 done
5880 done
5881 done
5882 IFS=$as_save_IFS
5883 if test -z "$ac_cv_path_EGREP"; then
5884 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5886 else
5887 ac_cv_path_EGREP=$EGREP
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5893 $as_echo "$ac_cv_path_EGREP" >&6; }
5894 EGREP="$ac_cv_path_EGREP"
5897 # Extract the first word of "ldconfig", so it can be a program name with args.
5898 set dummy ldconfig; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_path_LDCONFIG+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 case $LDCONFIG in
5905 [\\/]* | ?:[\\/]*)
5906 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in /sbin /usr/sbin $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5924 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5926 esac
5928 LDCONFIG=$ac_cv_path_LDCONFIG
5929 if test -n "$LDCONFIG"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5931 $as_echo "$LDCONFIG" >&6; }
5932 else
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5938 for ac_prog in msgfmt
5940 # Extract the first word of "$ac_prog", so it can be a program name with args.
5941 set dummy $ac_prog; ac_word=$2
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5943 $as_echo_n "checking for $ac_word... " >&6; }
5944 if ${ac_cv_prog_MSGFMT+:} false; then :
5945 $as_echo_n "(cached) " >&6
5946 else
5947 if test -n "$MSGFMT"; then
5948 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5949 else
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 for as_dir in $PATH
5953 IFS=$as_save_IFS
5954 test -z "$as_dir" && as_dir=.
5955 for ac_exec_ext in '' $ac_executable_extensions; do
5956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5957 ac_cv_prog_MSGFMT="$ac_prog"
5958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 break 2
5961 done
5962 done
5963 IFS=$as_save_IFS
5967 MSGFMT=$ac_cv_prog_MSGFMT
5968 if test -n "$MSGFMT"; then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5970 $as_echo "$MSGFMT" >&6; }
5971 else
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5973 $as_echo "no" >&6; }
5977 test -n "$MSGFMT" && break
5978 done
5979 test -n "$MSGFMT" || MSGFMT="false"
5981 if ${ac_tool_prefix+:} false; then :
5982 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5983 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5987 $as_echo_n "(cached) " >&6
5988 else
5989 if test -n "$PKG_CONFIG"; then
5990 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5995 IFS=$as_save_IFS
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 break 2
6003 done
6004 done
6005 IFS=$as_save_IFS
6009 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6010 if test -n "$PKG_CONFIG"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6012 $as_echo "$PKG_CONFIG" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6020 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6021 if test "x$cross_compiling" = xyes; then :
6023 else
6024 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6025 # Extract the first word of "pkg-config", so it can be a program name with args.
6026 set dummy pkg-config; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$PKG_CONFIG"; then
6033 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_PKG_CONFIG="pkg-config"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6053 if test -n "$PKG_CONFIG"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6055 $as_echo "$PKG_CONFIG" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6063 else
6064 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6067 if test "x$enable_maintainer_mode" != "xyes"
6068 then
6069 FONTFORGE=""
6070 RSVG=""
6071 CONVERT=""
6072 ICOTOOL=""
6073 else
6074 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6075 for ac_prog in fontforge
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if ${ac_cv_prog_FONTFORGE+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 if test -n "$FONTFORGE"; then
6085 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090 IFS=$as_save_IFS
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_FONTFORGE="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 break 2
6098 done
6099 done
6100 IFS=$as_save_IFS
6104 FONTFORGE=$ac_cv_prog_FONTFORGE
6105 if test -n "$FONTFORGE"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6107 $as_echo "$FONTFORGE" >&6; }
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114 test -n "$FONTFORGE" && break
6115 done
6116 test -n "$FONTFORGE" || FONTFORGE="false"
6118 for ac_prog in rsvg-convert rsvg
6120 # Extract the first word of "$ac_prog", so it can be a program name with args.
6121 set dummy $ac_prog; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_RSVG+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 if test -n "$RSVG"; then
6128 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6133 IFS=$as_save_IFS
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_RSVG="$ac_prog"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 break 2
6141 done
6142 done
6143 IFS=$as_save_IFS
6147 RSVG=$ac_cv_prog_RSVG
6148 if test -n "$RSVG"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6150 $as_echo "$RSVG" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6157 test -n "$RSVG" && break
6158 done
6159 test -n "$RSVG" || RSVG="false"
6161 for ac_prog in convert
6163 # Extract the first word of "$ac_prog", so it can be a program name with args.
6164 set dummy $ac_prog; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_CONVERT+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$CONVERT"; then
6171 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_CONVERT="$ac_prog"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 CONVERT=$ac_cv_prog_CONVERT
6191 if test -n "$CONVERT"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6193 $as_echo "$CONVERT" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6200 test -n "$CONVERT" && break
6201 done
6202 test -n "$CONVERT" || CONVERT="false"
6204 for ac_prog in icotool
6206 # Extract the first word of "$ac_prog", so it can be a program name with args.
6207 set dummy $ac_prog; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ICOTOOL+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$ICOTOOL"; then
6214 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ICOTOOL="$ac_prog"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6227 done
6228 done
6229 IFS=$as_save_IFS
6233 ICOTOOL=$ac_cv_prog_ICOTOOL
6234 if test -n "$ICOTOOL"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6236 $as_echo "$ICOTOOL" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6243 test -n "$ICOTOOL" && break
6244 done
6245 test -n "$ICOTOOL" || ICOTOOL="false"
6247 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6248 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6250 if test "$CONVERT" = false
6251 then
6252 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6255 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6256 convert_version=`convert --version | head -n1`
6257 if test "x$convert_version" != "x"
6258 then
6259 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6260 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6261 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6262 then
6263 CONVERT=false
6266 if test "$CONVERT" = false
6267 then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6269 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6270 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6273 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6277 if test "$ICOTOOL" = false
6278 then
6279 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6280 else
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6282 $as_echo_n "checking for recent enough icotool... " >&6; }
6283 icotool_version=`icotool --version | head -n1`
6284 if test "x$icotool_version" != "x"
6285 then
6286 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6287 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6288 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6289 then
6290 ICOTOOL=false
6291 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6294 if test "$ICOTOOL" = false
6295 then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6297 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6298 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6301 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6305 with_gettext=yes
6306 with_gettextpo=yes
6307 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6310 test "x$with_gettext" != xno || MSGFMT=false
6311 if test "$MSGFMT" != "false"
6312 then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6314 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6315 cat >conftest.po <<EOF
6316 # comment
6317 msgctxt "ctxt"
6318 msgid "id"
6319 msgstr "str"
6321 if $MSGFMT -o /dev/null conftest.po 2>&5
6322 then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6324 $as_echo "yes" >&6; }
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6328 MSGFMT=false
6331 if test "$MSGFMT" = false; then :
6332 case "x$with_gettext" in
6333 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6334 xno) ;;
6335 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6336 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6337 esac
6338 enable_po=${enable_po:-no}
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6343 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6344 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 ac_check_lib_save_LIBS=$LIBS
6348 LIBS="-li386 $LIBS"
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6352 /* Override any GCC internal prototype to avoid an error.
6353 Use char because int might match the return type of a GCC
6354 builtin and then its argument prototype would still apply. */
6355 #ifdef __cplusplus
6356 extern "C"
6357 #endif
6358 char i386_set_ldt ();
6360 main ()
6362 return i386_set_ldt ();
6364 return 0;
6366 _ACEOF
6367 if ac_fn_c_try_link "$LINENO"; then :
6368 ac_cv_lib_i386_i386_set_ldt=yes
6369 else
6370 ac_cv_lib_i386_i386_set_ldt=no
6372 rm -f core conftest.err conftest.$ac_objext \
6373 conftest$ac_exeext conftest.$ac_ext
6374 LIBS=$ac_check_lib_save_LIBS
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6377 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6378 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6379 cat >>confdefs.h <<_ACEOF
6380 #define HAVE_LIBI386 1
6381 _ACEOF
6383 LIBS="-li386 $LIBS"
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6388 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6389 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 ac_check_lib_save_LIBS=$LIBS
6393 LIBS="-lossaudio $LIBS"
6394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6397 /* Override any GCC internal prototype to avoid an error.
6398 Use char because int might match the return type of a GCC
6399 builtin and then its argument prototype would still apply. */
6400 #ifdef __cplusplus
6401 extern "C"
6402 #endif
6403 char _oss_ioctl ();
6405 main ()
6407 return _oss_ioctl ();
6409 return 0;
6411 _ACEOF
6412 if ac_fn_c_try_link "$LINENO"; then :
6413 ac_cv_lib_ossaudio__oss_ioctl=yes
6414 else
6415 ac_cv_lib_ossaudio__oss_ioctl=no
6417 rm -f core conftest.err conftest.$ac_objext \
6418 conftest$ac_exeext conftest.$ac_ext
6419 LIBS=$ac_check_lib_save_LIBS
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6422 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6423 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6424 cat >>confdefs.h <<_ACEOF
6425 #define HAVE_LIBOSSAUDIO 1
6426 _ACEOF
6428 LIBS="-lossaudio $LIBS"
6433 OPENGL_LIBS=""
6437 # Check whether --enable-largefile was given.
6438 if test "${enable_largefile+set}" = set; then :
6439 enableval=$enable_largefile;
6442 if test "$enable_largefile" != no; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6445 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6446 if ${ac_cv_sys_largefile_CC+:} false; then :
6447 $as_echo_n "(cached) " >&6
6448 else
6449 ac_cv_sys_largefile_CC=no
6450 if test "$GCC" != yes; then
6451 ac_save_CC=$CC
6452 while :; do
6453 # IRIX 6.2 and later do not support large files by default,
6454 # so use the C compiler's -n32 option if that helps.
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #include <sys/types.h>
6458 /* Check that off_t can represent 2**63 - 1 correctly.
6459 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6460 since some C++ compilers masquerading as C compilers
6461 incorrectly reject 9223372036854775807. */
6462 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6463 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6464 && LARGE_OFF_T % 2147483647 == 1)
6465 ? 1 : -1];
6467 main ()
6471 return 0;
6473 _ACEOF
6474 if ac_fn_c_try_compile "$LINENO"; then :
6475 break
6477 rm -f core conftest.err conftest.$ac_objext
6478 CC="$CC -n32"
6479 if ac_fn_c_try_compile "$LINENO"; then :
6480 ac_cv_sys_largefile_CC=' -n32'; break
6482 rm -f core conftest.err conftest.$ac_objext
6483 break
6484 done
6485 CC=$ac_save_CC
6486 rm -f conftest.$ac_ext
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6490 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6491 if test "$ac_cv_sys_largefile_CC" != no; then
6492 CC=$CC$ac_cv_sys_largefile_CC
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6496 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6497 if ${ac_cv_sys_file_offset_bits+:} false; then :
6498 $as_echo_n "(cached) " >&6
6499 else
6500 while :; do
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6503 #include <sys/types.h>
6504 /* Check that off_t can represent 2**63 - 1 correctly.
6505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6506 since some C++ compilers masquerading as C compilers
6507 incorrectly reject 9223372036854775807. */
6508 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6510 && LARGE_OFF_T % 2147483647 == 1)
6511 ? 1 : -1];
6513 main ()
6517 return 0;
6519 _ACEOF
6520 if ac_fn_c_try_compile "$LINENO"; then :
6521 ac_cv_sys_file_offset_bits=no; break
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #define _FILE_OFFSET_BITS 64
6527 #include <sys/types.h>
6528 /* Check that off_t can represent 2**63 - 1 correctly.
6529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6530 since some C++ compilers masquerading as C compilers
6531 incorrectly reject 9223372036854775807. */
6532 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6534 && LARGE_OFF_T % 2147483647 == 1)
6535 ? 1 : -1];
6537 main ()
6541 return 0;
6543 _ACEOF
6544 if ac_fn_c_try_compile "$LINENO"; then :
6545 ac_cv_sys_file_offset_bits=64; break
6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6548 ac_cv_sys_file_offset_bits=unknown
6549 break
6550 done
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6553 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6554 case $ac_cv_sys_file_offset_bits in #(
6555 no | unknown) ;;
6557 cat >>confdefs.h <<_ACEOF
6558 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6559 _ACEOF
6561 esac
6562 rm -rf conftest*
6563 if test $ac_cv_sys_file_offset_bits = unknown; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6565 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6566 if ${ac_cv_sys_large_files+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 while :; do
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <sys/types.h>
6573 /* Check that off_t can represent 2**63 - 1 correctly.
6574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6575 since some C++ compilers masquerading as C compilers
6576 incorrectly reject 9223372036854775807. */
6577 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6579 && LARGE_OFF_T % 2147483647 == 1)
6580 ? 1 : -1];
6582 main ()
6586 return 0;
6588 _ACEOF
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 ac_cv_sys_large_files=no; break
6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #define _LARGE_FILES 1
6596 #include <sys/types.h>
6597 /* Check that off_t can represent 2**63 - 1 correctly.
6598 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6599 since some C++ compilers masquerading as C compilers
6600 incorrectly reject 9223372036854775807. */
6601 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6602 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6603 && LARGE_OFF_T % 2147483647 == 1)
6604 ? 1 : -1];
6606 main ()
6610 return 0;
6612 _ACEOF
6613 if ac_fn_c_try_compile "$LINENO"; then :
6614 ac_cv_sys_large_files=1; break
6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6617 ac_cv_sys_large_files=unknown
6618 break
6619 done
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6622 $as_echo "$ac_cv_sys_large_files" >&6; }
6623 case $ac_cv_sys_large_files in #(
6624 no | unknown) ;;
6626 cat >>confdefs.h <<_ACEOF
6627 #define _LARGE_FILES $ac_cv_sys_large_files
6628 _ACEOF
6630 esac
6631 rm -rf conftest*
6638 ac_ext=c
6639 ac_cpp='$CPP $CPPFLAGS'
6640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6644 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6645 # On Suns, sometimes $CPP names a directory.
6646 if test -n "$CPP" && test -d "$CPP"; then
6647 CPP=
6649 if test -z "$CPP"; then
6650 if ${ac_cv_prog_CPP+:} false; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 # Double quotes because CPP needs to be expanded
6654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6656 ac_preproc_ok=false
6657 for ac_c_preproc_warn_flag in '' yes
6659 # Use a header file that comes with gcc, so configuring glibc
6660 # with a fresh cross-compiler works.
6661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6662 # <limits.h> exists even on freestanding compilers.
6663 # On the NeXT, cc -E runs the code through the compiler's parser,
6664 # not just through cpp. "Syntax error" is here to catch this case.
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #ifdef __STDC__
6668 # include <limits.h>
6669 #else
6670 # include <assert.h>
6671 #endif
6672 Syntax error
6673 _ACEOF
6674 if ac_fn_c_try_cpp "$LINENO"; then :
6676 else
6677 # Broken: fails on valid input.
6678 continue
6680 rm -f conftest.err conftest.i conftest.$ac_ext
6682 # OK, works on sane cases. Now check whether nonexistent headers
6683 # can be detected and how.
6684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6686 #include <ac_nonexistent.h>
6687 _ACEOF
6688 if ac_fn_c_try_cpp "$LINENO"; then :
6689 # Broken: success on invalid input.
6690 continue
6691 else
6692 # Passes both tests.
6693 ac_preproc_ok=:
6694 break
6696 rm -f conftest.err conftest.i conftest.$ac_ext
6698 done
6699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6700 rm -f conftest.i conftest.err conftest.$ac_ext
6701 if $ac_preproc_ok; then :
6702 break
6705 done
6706 ac_cv_prog_CPP=$CPP
6709 CPP=$ac_cv_prog_CPP
6710 else
6711 ac_cv_prog_CPP=$CPP
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6714 $as_echo "$CPP" >&6; }
6715 ac_preproc_ok=false
6716 for ac_c_preproc_warn_flag in '' yes
6718 # Use a header file that comes with gcc, so configuring glibc
6719 # with a fresh cross-compiler works.
6720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6721 # <limits.h> exists even on freestanding compilers.
6722 # On the NeXT, cc -E runs the code through the compiler's parser,
6723 # not just through cpp. "Syntax error" is here to catch this case.
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 #ifdef __STDC__
6727 # include <limits.h>
6728 #else
6729 # include <assert.h>
6730 #endif
6731 Syntax error
6732 _ACEOF
6733 if ac_fn_c_try_cpp "$LINENO"; then :
6735 else
6736 # Broken: fails on valid input.
6737 continue
6739 rm -f conftest.err conftest.i conftest.$ac_ext
6741 # OK, works on sane cases. Now check whether nonexistent headers
6742 # can be detected and how.
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 #include <ac_nonexistent.h>
6746 _ACEOF
6747 if ac_fn_c_try_cpp "$LINENO"; then :
6748 # Broken: success on invalid input.
6749 continue
6750 else
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6755 rm -f conftest.err conftest.i conftest.$ac_ext
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.i conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then :
6762 else
6763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6765 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6766 See \`config.log' for more details" "$LINENO" 5; }
6769 ac_ext=c
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6777 $as_echo_n "checking for ANSI C header files... " >&6; }
6778 if ${ac_cv_header_stdc+:} false; then :
6779 $as_echo_n "(cached) " >&6
6780 else
6781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6783 #include <stdlib.h>
6784 #include <stdarg.h>
6785 #include <string.h>
6786 #include <float.h>
6789 main ()
6793 return 0;
6795 _ACEOF
6796 if ac_fn_c_try_compile "$LINENO"; then :
6797 ac_cv_header_stdc=yes
6798 else
6799 ac_cv_header_stdc=no
6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6803 if test $ac_cv_header_stdc = yes; then
6804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6807 #include <string.h>
6809 _ACEOF
6810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6811 $EGREP "memchr" >/dev/null 2>&1; then :
6813 else
6814 ac_cv_header_stdc=no
6816 rm -f conftest*
6820 if test $ac_cv_header_stdc = yes; then
6821 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6824 #include <stdlib.h>
6826 _ACEOF
6827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6828 $EGREP "free" >/dev/null 2>&1; then :
6830 else
6831 ac_cv_header_stdc=no
6833 rm -f conftest*
6837 if test $ac_cv_header_stdc = yes; then
6838 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6839 if test "$cross_compiling" = yes; then :
6841 else
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6844 #include <ctype.h>
6845 #include <stdlib.h>
6846 #if ((' ' & 0x0FF) == 0x020)
6847 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6848 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6849 #else
6850 # define ISLOWER(c) \
6851 (('a' <= (c) && (c) <= 'i') \
6852 || ('j' <= (c) && (c) <= 'r') \
6853 || ('s' <= (c) && (c) <= 'z'))
6854 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6855 #endif
6857 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6859 main ()
6861 int i;
6862 for (i = 0; i < 256; i++)
6863 if (XOR (islower (i), ISLOWER (i))
6864 || toupper (i) != TOUPPER (i))
6865 return 2;
6866 return 0;
6868 _ACEOF
6869 if ac_fn_c_try_run "$LINENO"; then :
6871 else
6872 ac_cv_header_stdc=no
6874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6875 conftest.$ac_objext conftest.beam conftest.$ac_ext
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6881 $as_echo "$ac_cv_header_stdc" >&6; }
6882 if test $ac_cv_header_stdc = yes; then
6884 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6888 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6889 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6890 inttypes.h stdint.h unistd.h
6891 do :
6892 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6893 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6895 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6896 cat >>confdefs.h <<_ACEOF
6897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 _ACEOF
6902 done
6905 for ac_header in \
6906 AL/al.h \
6907 ApplicationServices/ApplicationServices.h \
6908 AudioToolbox/AudioConverter.h \
6909 AudioUnit/AudioUnit.h \
6910 AudioUnit/AudioComponent.h \
6911 CL/cl.h \
6912 Carbon/Carbon.h \
6913 CommonCrypto/CommonDigest.h \
6914 CoreAudio/CoreAudio.h \
6915 CoreServices/CoreServices.h \
6916 DiskArbitration/DiskArbitration.h \
6917 EGL/egl.h \
6918 IOKit/IOKitLib.h \
6919 IOKit/hid/IOHIDLib.h \
6920 OpenAL/al.h \
6921 OpenCL/opencl.h \
6922 QuickTime/ImageCompression.h \
6923 Security/Security.h \
6924 alias.h \
6925 alsa/asoundlib.h \
6926 arpa/inet.h \
6927 arpa/nameser.h \
6928 asm/types.h \
6929 asm/user.h \
6930 curses.h \
6931 direct.h \
6932 dirent.h \
6933 dlfcn.h \
6934 elf.h \
6935 float.h \
6936 fnmatch.h \
6937 getopt.h \
6938 gettext-po.h \
6939 grp.h \
6940 gsm.h \
6941 gsm/gsm.h \
6942 ieeefp.h \
6943 inet/mib2.h \
6944 io.h \
6945 kstat.h \
6946 libproc.h \
6947 link.h \
6948 linux/cdrom.h \
6949 linux/compiler.h \
6950 linux/filter.h \
6951 linux/hdreg.h \
6952 linux/hidraw.h \
6953 linux/input.h \
6954 linux/ioctl.h \
6955 linux/joystick.h \
6956 linux/major.h \
6957 linux/param.h \
6958 linux/serial.h \
6959 linux/types.h \
6960 linux/ucdrom.h \
6961 lwp.h \
6962 mach-o/nlist.h \
6963 mach-o/loader.h \
6964 mach/mach.h \
6965 mach/machine.h \
6966 machine/cpu.h \
6967 machine/limits.h \
6968 machine/sysarch.h \
6969 mntent.h \
6970 ncurses.h \
6971 netdb.h \
6972 netinet/in.h \
6973 netinet/in_systm.h \
6974 netinet/tcp.h \
6975 netinet/tcp_fsm.h \
6976 pcap/pcap.h \
6977 poll.h \
6978 port.h \
6979 process.h \
6980 pthread.h \
6981 pwd.h \
6982 sched.h \
6983 scsi/scsi.h \
6984 scsi/scsi_ioctl.h \
6985 scsi/sg.h \
6986 stdbool.h \
6987 stdint.h \
6988 stropts.h \
6989 sys/asoundlib.h \
6990 sys/attr.h \
6991 sys/auxv.h \
6992 sys/cdio.h \
6993 sys/elf32.h \
6994 sys/epoll.h \
6995 sys/event.h \
6996 sys/exec_elf.h \
6997 sys/filio.h \
6998 sys/inotify.h \
6999 sys/ioctl.h \
7000 sys/ipc.h \
7001 sys/limits.h \
7002 sys/link.h \
7003 sys/mman.h \
7004 sys/modem.h \
7005 sys/msg.h \
7006 sys/mtio.h \
7007 sys/param.h \
7008 sys/poll.h \
7009 sys/prctl.h \
7010 sys/protosw.h \
7011 sys/ptrace.h \
7012 sys/queue.h \
7013 sys/resource.h \
7014 sys/scsiio.h \
7015 sys/shm.h \
7016 sys/signal.h \
7017 sys/socket.h \
7018 sys/socketvar.h \
7019 sys/sockio.h \
7020 sys/statvfs.h \
7021 sys/strtio.h \
7022 sys/syscall.h \
7023 sys/sysinfo.h \
7024 sys/tihdr.h \
7025 sys/time.h \
7026 sys/timeout.h \
7027 sys/times.h \
7028 sys/uio.h \
7029 sys/user.h \
7030 sys/utsname.h \
7031 sys/vm86.h \
7032 sys/vnode.h \
7033 sys/wait.h \
7034 syscall.h \
7035 termios.h \
7036 unistd.h \
7037 utime.h \
7038 valgrind/memcheck.h \
7039 valgrind/valgrind.h \
7040 zlib.h
7042 do :
7043 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7044 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7046 cat >>confdefs.h <<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 _ACEOF
7052 done
7054 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7055 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7057 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7062 if test $ac_cv_header_sys_mkdev_h = no; then
7063 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7064 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7066 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7073 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7074 if ${ac_cv_header_stat_broken+:} false; then :
7075 $as_echo_n "(cached) " >&6
7076 else
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7079 #include <sys/types.h>
7080 #include <sys/stat.h>
7082 #if defined S_ISBLK && defined S_IFDIR
7083 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7084 #endif
7086 #if defined S_ISBLK && defined S_IFCHR
7087 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7088 #endif
7090 #if defined S_ISLNK && defined S_IFREG
7091 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7092 #endif
7094 #if defined S_ISSOCK && defined S_IFREG
7095 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7096 #endif
7098 _ACEOF
7099 if ac_fn_c_try_compile "$LINENO"; then :
7100 ac_cv_header_stat_broken=no
7101 else
7102 ac_cv_header_stat_broken=yes
7104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7107 $as_echo "$ac_cv_header_stat_broken" >&6; }
7108 if test $ac_cv_header_stat_broken = yes; then
7110 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7116 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7117 do :
7118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7119 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7120 #ifdef HAVE_SYS_PARAM_H
7121 # include <sys/param.h>
7122 #endif
7124 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7125 cat >>confdefs.h <<_ACEOF
7126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7127 _ACEOF
7131 done
7134 for ac_header in \
7135 netinet/ip.h \
7136 net/if.h \
7137 net/if_arp.h \
7138 net/if_dl.h \
7139 net/if_types.h \
7140 net/route.h \
7141 netinet/if_ether.h \
7142 netinet/if_inarp.h \
7143 netinet/in_pcb.h \
7144 netinet/ip_icmp.h \
7145 netinet/ip_var.h \
7146 netinet/udp.h \
7147 netipx/ipx.h \
7148 sys/un.h \
7150 do :
7151 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7152 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7153 #ifdef HAVE_SYS_SOCKET_H
7154 # include <sys/socket.h>
7155 #endif
7156 #ifdef HAVE_SYS_SOCKETVAR_H
7157 # include <sys/socketvar.h>
7158 #endif
7159 #ifdef HAVE_NET_ROUTE_H
7160 # include <net/route.h>
7161 #endif
7162 #ifdef HAVE_NETINET_IN_H
7163 # include <netinet/in.h>
7164 #endif
7165 #ifdef HAVE_NETINET_IN_SYSTM_H
7166 # include <netinet/in_systm.h>
7167 #endif
7168 #ifdef HAVE_NET_IF_H
7169 # include <net/if.h>
7170 #endif
7171 #ifdef HAVE_NETINET_IP_H
7172 # include <netinet/ip.h>
7173 #endif
7175 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7176 cat >>confdefs.h <<_ACEOF
7177 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7178 _ACEOF
7182 done
7185 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7186 do :
7187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7189 #ifdef HAVE_ALIAS_H
7190 # include <alias.h>
7191 #endif
7192 #ifdef HAVE_SYS_SOCKET_H
7193 # include <sys/socket.h>
7194 #endif
7195 #ifdef HAVE_SYS_SOCKETVAR_H
7196 # include <sys/socketvar.h>
7197 #endif
7198 #ifdef HAVE_SYS_TIMEOUT_H
7199 # include <sys/timeout.h>
7200 #endif
7201 #ifdef HAVE_NETINET_IN_H
7202 # include <netinet/in.h>
7203 #endif
7204 #ifdef HAVE_NETINET_IN_SYSTM_H
7205 # include <netinet/in_systm.h>
7206 #endif
7207 #ifdef HAVE_NETINET_IP_H
7208 # include <netinet/ip.h>
7209 #endif
7210 #ifdef HAVE_NETINET_IP_VAR_H
7211 # include <netinet/ip_var.h>
7212 #endif
7213 #ifdef HAVE_NETINET_IP_ICMP_H
7214 # include <netinet/ip_icmp.h>
7215 #endif
7216 #ifdef HAVE_NETINET_UDP_H
7217 # include <netinet/udp.h>
7218 #endif
7219 #ifdef HAVE_NETINET_TCP_H
7220 # include <netinet/tcp.h>
7221 #endif
7222 #ifdef HAVE_NETINET_TCP_TIMER_H
7223 #include <netinet/tcp_timer.h>
7224 #endif
7226 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7227 cat >>confdefs.h <<_ACEOF
7228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7229 _ACEOF
7233 done
7236 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7237 do :
7238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7240 #ifdef HAVE_ASM_TYPES_H
7241 # include <asm/types.h>
7242 #endif
7243 #ifdef HAVE_SYS_SOCKET_H
7244 # include <sys/socket.h>
7245 #endif
7246 #ifdef HAVE_LINUX_TYPES_H
7247 # include <linux/types.h>
7248 #endif
7250 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7253 _ACEOF
7257 done
7260 for ac_header in mach-o/dyld_images.h
7261 do :
7262 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7263 # include <stdbool.h>
7264 #endif
7265 #ifdef HAVE_STDINT_H
7266 # include <stdint.h>
7267 #endif
7269 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7270 cat >>confdefs.h <<_ACEOF
7271 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7272 _ACEOF
7276 done
7279 for ac_header in resolv.h
7280 do :
7281 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7282 #ifdef HAVE_SYS_SOCKET_H
7283 # include <sys/socket.h>
7284 #endif
7285 #ifdef HAVE_NETINET_IN_H
7286 # include <netinet/in.h>
7287 #endif
7288 #ifdef HAVE_ARPA_NAMESER_H
7289 # include <arpa/nameser.h>
7290 #endif
7292 if test "x$ac_cv_header_resolv_h" = xyes; then :
7293 cat >>confdefs.h <<_ACEOF
7294 #define HAVE_RESOLV_H 1
7295 _ACEOF
7299 done
7302 for ac_header in ifaddrs.h
7303 do :
7304 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7306 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7307 cat >>confdefs.h <<_ACEOF
7308 #define HAVE_IFADDRS_H 1
7309 _ACEOF
7313 done
7316 for ac_header in sys/ucontext.h
7317 do :
7318 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7320 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_SYS_UCONTEXT_H 1
7323 _ACEOF
7327 done
7330 for ac_header in sys/thr.h
7331 do :
7332 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7333 #ifdef HAVE_SYS_UCONTEXT_H
7334 #include <sys/ucontext.h>
7335 #endif
7337 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7338 cat >>confdefs.h <<_ACEOF
7339 #define HAVE_SYS_THR_H 1
7340 _ACEOF
7344 done
7347 for ac_header in pthread_np.h
7348 do :
7349 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7350 #include <pthread.h>
7351 #endif
7353 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7354 cat >>confdefs.h <<_ACEOF
7355 #define HAVE_PTHREAD_NP_H 1
7356 _ACEOF
7360 done
7363 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7364 do :
7365 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7366 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7367 #include <sys/time.h>
7368 #endif
7369 #include <sys/types.h>
7370 #ifdef HAVE_ASM_TYPES_H
7371 #include <asm/types.h>
7372 #endif
7374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7375 cat >>confdefs.h <<_ACEOF
7376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7377 _ACEOF
7381 done
7384 for ac_header in libprocstat.h
7385 do :
7386 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7387 #include <sys/param.h>
7388 #endif
7389 #ifdef HAVE_SYS_QUEUE_H
7390 #include <sys/queue.h>
7391 #endif
7392 #ifdef HAVE_SYS_SOCKET_H
7393 #include <sys/socket.h>
7394 #endif
7396 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7397 cat >>confdefs.h <<_ACEOF
7398 #define HAVE_LIBPROCSTAT_H 1
7399 _ACEOF
7403 done
7407 dlldir="\${libdir}/wine"
7409 DLLFLAGS="-D_REENTRANT"
7411 LDRPATH_INSTALL=""
7413 LDRPATH_LOCAL=""
7415 LDEXECFLAGS=""
7417 WINELOADER_LDFLAGS=""
7419 LIBEXT="so"
7420 DLLEXT=".so"
7421 IMPLIBEXT="def"
7422 # Extract the first word of "ldd", so it can be a program name with args.
7423 set dummy ldd; ac_word=$2
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 $as_echo_n "checking for $ac_word... " >&6; }
7426 if ${ac_cv_path_LDD+:} false; then :
7427 $as_echo_n "(cached) " >&6
7428 else
7429 case $LDD in
7430 [\\/]* | ?:[\\/]*)
7431 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 as_dummy="/sbin:/usr/sbin:$PATH"
7436 for as_dir in $as_dummy
7438 IFS=$as_save_IFS
7439 test -z "$as_dir" && as_dir=.
7440 for ac_exec_ext in '' $ac_executable_extensions; do
7441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 break 2
7446 done
7447 done
7448 IFS=$as_save_IFS
7450 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7452 esac
7454 LDD=$ac_cv_path_LDD
7455 if test -n "$LDD"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7457 $as_echo "$LDD" >&6; }
7458 else
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}otool; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_OTOOL+:} false; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$OTOOL"; then
7473 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 OTOOL=$ac_cv_prog_OTOOL
7493 if test -n "$OTOOL"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7495 $as_echo "$OTOOL" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_OTOOL"; then
7504 ac_ct_OTOOL=$OTOOL
7505 # Extract the first word of "otool", so it can be a program name with args.
7506 set dummy otool; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_OTOOL"; then
7513 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_OTOOL="otool"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7533 if test -n "$ac_ct_OTOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7535 $as_echo "$ac_ct_OTOOL" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_OTOOL" = x; then
7542 OTOOL="otool"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 OTOOL=$ac_ct_OTOOL
7552 else
7553 OTOOL="$ac_cv_prog_OTOOL"
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if ${ac_cv_prog_READELF+:} false; then :
7562 $as_echo_n "(cached) " >&6
7563 else
7564 if test -n "$READELF"; then
7565 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7566 else
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 for as_dir in $PATH
7570 IFS=$as_save_IFS
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7574 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 break 2
7578 done
7579 done
7580 IFS=$as_save_IFS
7584 READELF=$ac_cv_prog_READELF
7585 if test -n "$READELF"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7587 $as_echo "$READELF" >&6; }
7588 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7595 if test -z "$ac_cv_prog_READELF"; then
7596 ac_ct_READELF=$READELF
7597 # Extract the first word of "readelf", so it can be a program name with args.
7598 set dummy readelf; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$ac_ct_READELF"; then
7605 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7614 ac_cv_prog_ac_ct_READELF="readelf"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7618 done
7619 done
7620 IFS=$as_save_IFS
7624 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7625 if test -n "$ac_ct_READELF"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7627 $as_echo "$ac_ct_READELF" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7633 if test "x$ac_ct_READELF" = x; then
7634 READELF="true"
7635 else
7636 case $cross_compiling:$ac_tool_warned in
7637 yes:)
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7641 esac
7642 READELF=$ac_ct_READELF
7644 else
7645 READELF="$ac_cv_prog_READELF"
7648 wine_rules_file=conf$$rules.make
7649 rm -f $wine_rules_file
7650 SUBDIRS=""
7652 DISABLED_SUBDIRS=""
7654 CONFIGURE_TARGETS=""
7656 ALL_TEST_RESOURCES=""
7659 wine_fn_append_file ()
7661 as_fn_append $1 " \\$as_nl $2"
7664 wine_fn_append_rule ()
7666 $as_echo "$1" >>$wine_rules_file
7669 wine_fn_has_flag ()
7671 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7674 wine_fn_all_rules ()
7676 wine_fn_append_file SUBDIRS $ac_dir
7677 wine_fn_append_rule \
7678 "all: $ac_dir
7679 .PHONY: $ac_dir
7680 $ac_dir: dummy
7681 @cd $ac_dir && \$(MAKE)"
7684 wine_fn_install_rules ()
7686 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7688 wine_fn_append_rule \
7689 ".PHONY: $ac_dir/install $ac_dir/uninstall
7690 $ac_dir/install:: $ac_dir
7691 @cd $ac_dir && \$(MAKE) install
7692 $ac_dir/uninstall::
7693 @cd $ac_dir && \$(MAKE) uninstall
7694 install:: $ac_dir/install
7695 __uninstall__: $ac_dir/uninstall"
7697 if wine_fn_has_flag install-lib
7698 then
7699 wine_fn_append_rule \
7700 ".PHONY: $ac_dir/install-lib
7701 $ac_dir/install-lib:: $ac_dir
7702 @cd $ac_dir && \$(MAKE) install-lib
7703 install-lib:: $ac_dir/install-lib"
7706 if wine_fn_has_flag install-dev
7707 then
7708 wine_fn_append_rule \
7709 ".PHONY: $ac_dir/install-dev
7710 $ac_dir/install-dev:: $ac_dir
7711 @cd $ac_dir && \$(MAKE) install-dev
7712 install-dev:: $ac_dir/install-dev"
7716 wine_fn_clean_rules ()
7718 ac_clean=$@
7720 if wine_fn_has_flag clean
7721 then
7722 wine_fn_append_rule \
7723 "$ac_dir/clean: dummy
7724 @cd $ac_dir && \$(MAKE) clean"
7725 else
7726 wine_fn_append_rule \
7727 "$ac_dir/clean: dummy
7728 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7730 wine_fn_append_rule \
7731 "__clean__: $ac_dir/clean
7732 .PHONY: $ac_dir/clean"
7735 wine_fn_disabled_rules ()
7737 ac_clean=$@
7739 wine_fn_append_file SUBDIRS $ac_dir
7740 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7741 wine_fn_append_rule \
7742 "__clean__: $ac_dir/clean
7743 .PHONY: $ac_dir/clean
7744 $ac_dir/clean: dummy
7745 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7748 wine_fn_config_makefile ()
7750 ac_dir=$1
7751 ac_enable=$2
7752 ac_flags=$3
7754 case $ac_dir in
7755 fonts|server) test -z "$with_wine64" || return ;;
7756 esac
7757 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7758 wine_fn_disabled_rules; return
7760 wine_fn_all_rules
7761 wine_fn_install_rules
7762 wine_fn_clean_rules
7765 wine_fn_config_lib ()
7767 ac_name=$1
7768 ac_flags=$2
7769 ac_dir=dlls/$ac_name
7770 ac_deps="include"
7772 if test "x$enable_tools" = xno; then :
7774 else
7775 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7777 wine_fn_all_rules
7778 wine_fn_clean_rules
7780 wine_fn_append_rule \
7781 ".PHONY: $ac_dir/install $ac_dir/uninstall
7782 $ac_dir/install:: $ac_dir
7783 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7784 $ac_dir/uninstall::
7785 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7786 install install-dev:: $ac_dir/install
7787 __uninstall__: $ac_dir/uninstall
7788 __builddeps__: $ac_dir
7789 $ac_dir: $ac_deps"
7792 wine_fn_config_dll ()
7794 ac_name=$1
7795 ac_dir=dlls/$ac_name
7796 ac_enable=$2
7797 ac_flags=$3
7798 ac_implib=${4:-$ac_name}
7799 ac_file=$ac_dir/lib$ac_implib
7800 ac_dll=$ac_name
7801 ac_deps="include"
7802 ac_implibflags=""
7804 if test "x$enable_tools" = xno; then :
7806 else
7807 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7809 case $ac_name in
7810 *.*16) ac_implibflags=" -m16" ;;
7811 *.*) ;;
7812 *) ac_dll=$ac_dll.dll ;;
7813 esac
7815 ac_clean=
7816 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7817 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7819 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7820 if test "$ac_enable" != enable_win16
7821 then
7822 wine_fn_clean_rules $ac_clean
7823 wine_fn_append_file SUBDIRS $ac_dir
7824 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7825 else
7826 wine_fn_disabled_rules $ac_clean
7827 return
7829 else
7830 wine_fn_all_rules
7831 wine_fn_clean_rules $ac_clean
7832 wine_fn_append_rule \
7833 "$ac_dir: __builddeps__
7834 manpages htmlpages sgmlpages xmlpages::
7835 @cd $ac_dir && \$(MAKE) \$@
7836 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7837 install install-lib:: $ac_dir/install-lib
7838 __uninstall__: $ac_dir/uninstall"
7839 if test -n "$DLLEXT"
7840 then
7841 wine_fn_append_rule \
7842 "$ac_dir/install-lib:: $ac_dir
7843 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7844 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7845 $ac_dir/uninstall::
7846 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7847 else
7848 wine_fn_append_rule \
7849 "$ac_dir/install-lib:: $ac_dir
7850 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7851 $ac_dir/uninstall::
7852 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7856 if wine_fn_has_flag staticimplib
7857 then
7858 wine_fn_append_rule \
7859 "__builddeps__: $ac_file.a
7860 $ac_file.a $ac_file.cross.a: $ac_deps
7861 $ac_file.a: dummy
7862 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7863 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7864 $ac_dir/install-dev:: $ac_file.a
7865 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7866 $ac_dir/uninstall::
7867 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7868 install install-dev:: $ac_dir/install-dev
7869 __uninstall__: $ac_dir/uninstall"
7871 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7872 then
7873 wine_fn_append_rule \
7874 "__builddeps__: $ac_file.cross.a
7875 $ac_file.cross.a: dummy
7876 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7879 elif wine_fn_has_flag implib
7880 then
7881 wine_fn_append_rule \
7882 "__builddeps__: $ac_file.$IMPLIBEXT
7883 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7884 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7885 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7886 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7887 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7888 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7889 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7890 $ac_dir/uninstall::
7891 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7892 install install-dev:: $ac_dir/install-dev
7893 __uninstall__: $ac_dir/uninstall"
7894 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7895 then
7896 wine_fn_append_rule \
7897 "__builddeps__: $ac_file.cross.a
7898 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7899 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7904 wine_fn_config_program ()
7906 ac_name=$1
7907 ac_dir=programs/$ac_name
7908 ac_enable=$2
7909 ac_flags=$3
7910 ac_program=$ac_name
7912 case $ac_name in
7913 *.*) ;;
7914 *) ac_program=$ac_program.exe ;;
7915 esac
7917 ac_clean=
7918 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7919 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7921 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7922 wine_fn_disabled_rules $ac_clean; return
7925 wine_fn_all_rules
7926 wine_fn_clean_rules $ac_clean
7927 wine_fn_append_rule "$ac_dir: __builddeps__"
7929 wine_fn_has_flag install || return
7930 wine_fn_append_rule \
7931 ".PHONY: $ac_dir/install $ac_dir/uninstall
7932 install install-lib:: $ac_dir/install
7933 __uninstall__: $ac_dir/uninstall"
7935 if test -n "$DLLEXT"
7936 then
7937 wine_fn_append_rule \
7938 "$ac_dir/install:: $ac_dir
7939 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7940 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7941 $ac_dir/uninstall::
7942 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7944 if test -z "$with_wine64" && wine_fn_has_flag installbin
7945 then
7946 wine_fn_append_rule \
7947 "$ac_dir/install:: __tooldeps__
7948 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7949 $ac_dir/uninstall::
7950 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7952 else
7953 wine_fn_append_rule \
7954 "$ac_dir/install:: $ac_dir
7955 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7956 $ac_dir/uninstall::
7957 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7960 if test -z "$with_wine64" && wine_fn_has_flag manpage
7961 then
7962 wine_fn_append_rule \
7963 "$ac_dir/install:: $ac_dir
7964 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7965 $ac_dir/uninstall::
7966 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7970 wine_fn_config_test ()
7972 ac_dir=$1
7973 ac_name=$2
7974 ac_flags=$3
7976 ac_clean=
7977 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7978 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7980 if test "x$enable_tests" = xno; then :
7981 wine_fn_disabled_rules $ac_clean; return
7984 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7985 wine_fn_all_rules
7986 wine_fn_clean_rules $ac_clean
7988 wine_fn_append_rule \
7989 "$ac_dir: __builddeps__
7990 programs/winetest: $ac_dir
7991 check test: $ac_dir/test
7992 .PHONY: $ac_dir/test
7993 $ac_dir/test: dummy
7994 @cd $ac_dir && \$(MAKE) test
7995 testclean::
7996 \$(RM) $ac_dir/*.ok"
7998 if test -n "$CROSSTARGET"
7999 then
8000 wine_fn_append_rule \
8001 "crosstest: $ac_dir/crosstest
8002 .PHONY: $ac_dir/crosstest
8003 $ac_dir/crosstest: __builddeps__ dummy
8004 @cd $ac_dir && \$(MAKE) crosstest"
8008 wine_fn_config_tool ()
8010 ac_dir=$1
8011 ac_flags=$2
8012 if test "x$enable_tools" = xno; then :
8013 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8016 wine_fn_all_rules
8017 wine_fn_install_rules
8018 wine_fn_clean_rules
8020 wine_fn_append_rule "__tooldeps__: $ac_dir"
8021 wine_fn_append_rule "$ac_dir: libs/port"
8022 case $ac_dir in
8023 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8024 esac
8027 wine_fn_config_symlink ()
8029 ac_linkdir=
8030 if test "x$1" = "x-d"
8031 then
8032 ac_linkdir=$2
8033 shift; shift
8035 ac_links=$@
8036 wine_fn_append_rule \
8037 "$ac_links:
8038 @./config.status \$@"
8039 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8040 test -n "$ac_linkdir" || return
8041 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8044 wine_binary="wine"
8045 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8046 WINELOADER_PROGRAMS="$wine_binary"
8048 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8050 case $host_os in
8051 cygwin*|mingw32*)
8052 if test -n "$ac_tool_prefix"; then
8053 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8054 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8056 $as_echo_n "checking for $ac_word... " >&6; }
8057 if ${ac_cv_prog_DLLTOOL+:} false; then :
8058 $as_echo_n "(cached) " >&6
8059 else
8060 if test -n "$DLLTOOL"; then
8061 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8062 else
8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064 for as_dir in $PATH
8066 IFS=$as_save_IFS
8067 test -z "$as_dir" && as_dir=.
8068 for ac_exec_ext in '' $ac_executable_extensions; do
8069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8070 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 break 2
8074 done
8075 done
8076 IFS=$as_save_IFS
8080 DLLTOOL=$ac_cv_prog_DLLTOOL
8081 if test -n "$DLLTOOL"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8083 $as_echo "$DLLTOOL" >&6; }
8084 else
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086 $as_echo "no" >&6; }
8091 if test -z "$ac_cv_prog_DLLTOOL"; then
8092 ac_ct_DLLTOOL=$DLLTOOL
8093 # Extract the first word of "dlltool", so it can be a program name with args.
8094 set dummy dlltool; ac_word=$2
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8096 $as_echo_n "checking for $ac_word... " >&6; }
8097 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8098 $as_echo_n "(cached) " >&6
8099 else
8100 if test -n "$ac_ct_DLLTOOL"; then
8101 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8102 else
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 for as_dir in $PATH
8106 IFS=$as_save_IFS
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 break 2
8114 done
8115 done
8116 IFS=$as_save_IFS
8120 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8121 if test -n "$ac_ct_DLLTOOL"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8123 $as_echo "$ac_ct_DLLTOOL" >&6; }
8124 else
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8126 $as_echo "no" >&6; }
8129 if test "x$ac_ct_DLLTOOL" = x; then
8130 DLLTOOL="false"
8131 else
8132 case $cross_compiling:$ac_tool_warned in
8133 yes:)
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8136 ac_tool_warned=yes ;;
8137 esac
8138 DLLTOOL=$ac_ct_DLLTOOL
8140 else
8141 DLLTOOL="$ac_cv_prog_DLLTOOL"
8144 LIBEXT="dll"
8145 DLLEXT=""
8146 IMPLIBEXT="a"
8147 enable_iphlpapi=${enable_iphlpapi:-no}
8148 enable_kernel32=${enable_kernel32:-no}
8149 enable_msvcrt=${enable_msvcrt:-no}
8150 enable_ntdll=${enable_ntdll:-no}
8151 enable_ws2_32=${enable_ws2_32:-no}
8152 enable_loader=${enable_loader:-no}
8153 enable_server=${enable_server:-no}
8154 with_x=${with_x:-no}
8155 with_pthread=${with_pthread:-no}
8157 crtlibs=""
8158 case $host_os in
8159 mingw32*)
8160 crtlibs="-lmsvcrt"
8161 SOCKET_LIBS="-lws2_32"
8163 esac
8165 LIBWINE_SHAREDLIB="libwine.dll"
8167 LIBWINE_IMPORTLIB="libwine.a"
8169 LIBWINE_INSTALL_LIB="libwine.dll"
8171 LIBWINE_INSTALL_DEV="libwine.a"
8173 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8175 LIBWINE_DEPENDS="wine.def"
8179 darwin*|macosx*)
8180 for ac_header in libunwind.h
8181 do :
8182 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8184 cat >>confdefs.h <<_ACEOF
8185 #define HAVE_LIBUNWIND_H 1
8186 _ACEOF
8190 done
8192 LIBEXT="dylib"
8193 DLLFLAGS="$DLLFLAGS -fPIC"
8194 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8195 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8196 COREFOUNDATION_LIBS="-framework CoreFoundation"
8198 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8200 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8202 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8204 CORESERVICES_LIBS="-framework CoreServices"
8206 APPKIT_LIBS="-framework AppKit"
8208 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8210 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8211 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 ac_wine_try_cflags_saved=$CFLAGS
8215 CFLAGS="$CFLAGS -Wl,-no_pie"
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 ac_cv_cflags__Wl__no_pie=yes
8222 else
8223 ac_cv_cflags__Wl__no_pie=no
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 CFLAGS=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8230 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8231 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8232 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8234 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8235 then
8236 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8239 if test "$ac_cv_header_Security_Security_h" = "yes"
8240 then
8241 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8243 ac_save_LIBS="$LIBS"
8244 LIBS="$LIBS $SECURITY_LIBS"
8245 for ac_func in SSLCopyPeerCertificates
8246 do :
8247 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8248 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8249 cat >>confdefs.h <<_ACEOF
8250 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8251 _ACEOF
8254 done
8256 LIBS="$ac_save_LIBS"
8257 with_gnutls=${with_gnutls:-no}
8259 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8260 then
8261 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8262 then
8263 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8265 else
8266 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8269 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8270 ac_save_LIBS="$LIBS"
8271 LIBS="$LIBS $COREAUDIO_LIBS"
8272 for ac_func in AUGraphAddNode
8273 do :
8274 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8275 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8276 cat >>confdefs.h <<_ACEOF
8277 #define HAVE_AUGRAPHADDNODE 1
8278 _ACEOF
8281 done
8283 LIBS="$ac_save_LIBS"
8285 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8286 then
8287 OPENAL_LIBS="-framework OpenAL"
8290 cat >>confdefs.h <<_ACEOF
8291 #define HAVE_OPENAL 1
8292 _ACEOF
8294 ac_cv_lib_openal=yes
8296 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8297 then
8298 OPENCL_LIBS="-framework OpenCL"
8300 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8302 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8303 then
8304 ac_save_LIBS="$LIBS"
8305 LIBS="$LIBS $IOKIT_LIBS"
8306 for ac_func in IOHIDManagerCreate
8307 do :
8308 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8309 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8310 cat >>confdefs.h <<_ACEOF
8311 #define HAVE_IOHIDMANAGERCREATE 1
8312 _ACEOF
8315 done
8317 LIBS="$ac_save_LIBS"
8319 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8320 then
8321 ac_save_LIBS="$LIBS"
8322 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8324 $as_echo_n "checking for the QuickTime framework... " >&6; }
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 #include <QuickTime/ImageCompression.h>
8329 main ()
8331 CodecManagerVersion(NULL);
8333 return 0;
8335 _ACEOF
8336 if ac_fn_c_try_link "$LINENO"; then :
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8338 $as_echo "yes" >&6; }
8339 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8341 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8342 else
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 $as_echo "no" >&6; }
8345 ac_cv_header_QuickTime_ImageCompression_h=no
8347 rm -f core conftest.err conftest.$ac_objext \
8348 conftest$ac_exeext conftest.$ac_ext
8349 LIBS="$ac_save_LIBS"
8351 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8352 then
8353 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8355 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8356 then
8357 CARBON_LIBS="-framework Carbon"
8361 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8362 then
8363 ac_save_LIBS="$LIBS"
8364 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8365 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8366 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8367 enable_winemac_drv=${enable_winemac_drv:-yes}
8370 LIBS="$ac_save_LIBS"
8373 if test "x$enable_win16" = "xyes"
8374 then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8376 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8377 if test "$cross_compiling" = yes; then :
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8379 $as_echo "cross-compiling, assuming yes" >&6; }
8380 else
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383 asm(".text\n"
8384 "bad:\tnop;nop\n"
8385 "good:\tnop;nop\n\t"
8386 ".globl _testfunc\n"
8387 "_testfunc:\tcallw good");
8388 extern void testfunc();
8390 main ()
8392 unsigned short *p = (unsigned short *)testfunc;
8393 return p[0] != 0xe866 || p[1] != 0xfffa
8395 return 0;
8397 _ACEOF
8398 if ac_fn_c_try_run "$LINENO"; then :
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8400 $as_echo "yes" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8404 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
8406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8407 conftest.$ac_objext conftest.beam conftest.$ac_ext
8412 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8414 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8416 LIBWINE_INSTALL_DEV="libwine.dylib"
8418 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8420 WINELOADER_DEPENDS="wine_info.plist"
8424 linux-android*)
8425 DLLFLAGS="$DLLFLAGS -fPIC"
8426 LDEXECFLAGS="-Wl,-pie"
8427 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8429 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8430 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 ac_wine_try_cflags_saved=$CFLAGS
8434 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 int main(int argc, char **argv) { return 0; }
8438 _ACEOF
8439 if ac_fn_c_try_link "$LINENO"; then :
8440 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8441 else
8442 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 CFLAGS=$ac_wine_try_cflags_saved
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8449 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8450 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8451 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8453 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8455 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8456 if eval \${$as_ac_var+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8464 _ACEOF
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 eval "$as_ac_var=yes"
8467 else
8468 eval "$as_ac_var=no"
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8472 CFLAGS=$ac_wine_try_cflags_saved
8474 eval ac_res=\$$as_ac_var
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8476 $as_echo "$ac_res" >&6; }
8477 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8478 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8479 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8480 else
8481 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8483 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8484 if eval \${$as_ac_var+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 ac_wine_try_cflags_saved=$CFLAGS
8488 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8492 _ACEOF
8493 if ac_fn_c_try_link "$LINENO"; then :
8494 eval "$as_ac_var=yes"
8495 else
8496 eval "$as_ac_var=no"
8498 rm -f core conftest.err conftest.$ac_objext \
8499 conftest$ac_exeext conftest.$ac_ext
8500 CFLAGS=$ac_wine_try_cflags_saved
8502 eval ac_res=\$$as_ac_var
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8504 $as_echo "$ac_res" >&6; }
8505 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8506 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8507 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8511 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8512 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8513 $as_echo_n "(cached) " >&6
8514 else
8515 ac_wine_try_cflags_saved=$CFLAGS
8516 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 int main(int argc, char **argv) { return 0; }
8520 _ACEOF
8521 if ac_fn_c_try_link "$LINENO"; then :
8522 ac_cv_cflags__Wl___enable_new_dtags=yes
8523 else
8524 ac_cv_cflags__Wl___enable_new_dtags=no
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8528 CFLAGS=$ac_wine_try_cflags_saved
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8531 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8532 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8533 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8536 LIBWINE_SHAREDLIB="libwine.so"
8538 LIBWINE_INSTALL_LIB="libwine.so"
8540 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8544 $as_echo_n "checking for -lEGL... " >&6; }
8545 if ${ac_cv_lib_soname_EGL+:} false; then :
8546 $as_echo_n "(cached) " >&6
8547 else
8548 ac_check_soname_save_LIBS=$LIBS
8549 LIBS="-lEGL $LIBS"
8550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551 /* end confdefs.h. */
8553 /* Override any GCC internal prototype to avoid an error.
8554 Use char because int might match the return type of a GCC
8555 builtin and then its argument prototype would still apply. */
8556 #ifdef __cplusplus
8557 extern "C"
8558 #endif
8559 char eglGetProcAddress ();
8561 main ()
8563 return eglGetProcAddress ();
8565 return 0;
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 case "$LIBEXT" in
8570 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8571 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'` ;;
8572 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8573 if ${ac_cv_lib_soname_EGL:+false} :; then :
8574 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8575 fi ;;
8576 esac
8578 rm -f core conftest.err conftest.$ac_objext \
8579 conftest$ac_exeext conftest.$ac_ext
8580 LIBS=$ac_check_soname_save_LIBS
8582 if ${ac_cv_lib_soname_EGL:+false} :; then :
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8584 $as_echo "not found" >&6; }
8586 else
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8588 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8590 cat >>confdefs.h <<_ACEOF
8591 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8592 _ACEOF
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8597 $as_echo_n "checking for -lGLESv2... " >&6; }
8598 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 ac_check_soname_save_LIBS=$LIBS
8602 LIBS="-lGLESv2 $LIBS"
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8606 /* Override any GCC internal prototype to avoid an error.
8607 Use char because int might match the return type of a GCC
8608 builtin and then its argument prototype would still apply. */
8609 #ifdef __cplusplus
8610 extern "C"
8611 #endif
8612 char glFlush ();
8614 main ()
8616 return glFlush ();
8618 return 0;
8620 _ACEOF
8621 if ac_fn_c_try_link "$LINENO"; then :
8622 case "$LIBEXT" in
8623 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8624 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'` ;;
8625 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8626 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8627 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8628 fi ;;
8629 esac
8631 rm -f core conftest.err conftest.$ac_objext \
8632 conftest$ac_exeext conftest.$ac_ext
8633 LIBS=$ac_check_soname_save_LIBS
8635 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8637 $as_echo "not found" >&6; }
8639 else
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8641 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8643 cat >>confdefs.h <<_ACEOF
8644 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8645 _ACEOF
8650 if test "x$exec_prefix" = xNONE
8651 then
8652 case $host_cpu in
8653 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8654 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8655 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8656 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8657 esac
8662 DLLFLAGS="$DLLFLAGS -fPIC"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8664 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8665 if ${ac_cv_c_dll_gnuelf+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_wine_try_cflags_saved=$CFLAGS
8669 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 void myfunc() {}
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_c_dll_gnuelf="yes"
8676 else
8677 ac_cv_c_dll_gnuelf="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_c_dll_gnuelf" >&5
8684 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8685 if test "$ac_cv_c_dll_gnuelf" = "yes"
8686 then
8687 LIBWINE_LDFLAGS="-shared"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8689 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8690 if ${ac_cv_cflags__fPIC__shared__Wl__soname_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,-soname,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__soname_confest_so_1=yes
8701 else
8702 ac_cv_cflags__fPIC__shared__Wl__soname_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__soname_confest_so_1" >&5
8709 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8710 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8711 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8712 else
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8714 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8715 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 int main(int argc, char **argv) { return 0; }
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8726 else
8727 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8729 rm -f core conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8734 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8735 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8736 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8740 echo '{ global: *; };' >conftest.map
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8742 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8743 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 ac_wine_try_cflags_saved=$CFLAGS
8747 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8750 int main(int argc, char **argv) { return 0; }
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8754 else
8755 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 CFLAGS=$ac_wine_try_cflags_saved
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8762 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8763 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8764 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8766 rm -f conftest.map
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8769 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8770 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 int main(int argc, char **argv) { return 0; }
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8781 else
8782 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 CFLAGS=$ac_wine_try_cflags_saved
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8789 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8790 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8791 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8794 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8796 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8797 if eval \${$as_ac_var+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 eval "$as_ac_var=yes"
8808 else
8809 eval "$as_ac_var=no"
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 eval ac_res=\$$as_ac_var
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8817 $as_echo "$ac_res" >&6; }
8818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8819 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8820 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8821 else
8822 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8824 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8825 if eval \${$as_ac_var+:} false; then :
8826 $as_echo_n "(cached) " >&6
8827 else
8828 ac_wine_try_cflags_saved=$CFLAGS
8829 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8832 int main(int argc, char **argv) { return 0; }
8833 _ACEOF
8834 if ac_fn_c_try_link "$LINENO"; then :
8835 eval "$as_ac_var=yes"
8836 else
8837 eval "$as_ac_var=no"
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
8841 CFLAGS=$ac_wine_try_cflags_saved
8843 eval ac_res=\$$as_ac_var
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8845 $as_echo "$ac_res" >&6; }
8846 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8847 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8848 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8853 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8854 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8861 int main(int argc, char **argv) { return 0; }
8862 _ACEOF
8863 if ac_fn_c_try_link "$LINENO"; then :
8864 ac_cv_cflags__Wl___enable_new_dtags=yes
8865 else
8866 ac_cv_cflags__Wl___enable_new_dtags=no
8868 rm -f core conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8873 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8874 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8875 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8878 case $host_cpu in
8879 *i[3456789]86* | x86_64 | *aarch64*)
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8881 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8882 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8883 $as_echo_n "(cached) " >&6
8884 else
8885 ac_wine_try_cflags_saved=$CFLAGS
8886 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8889 int main(int argc, char **argv) { return 0; }
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8893 else
8894 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 CFLAGS=$ac_wine_try_cflags_saved
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8901 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8902 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8903 case $host_os in
8904 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8905 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8906 esac
8907 else
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8909 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8910 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 ac_wine_try_cflags_saved=$CFLAGS
8914 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8917 int main(int argc, char **argv) { return 0; }
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8920 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8921 else
8922 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8924 rm -f core conftest.err conftest.$ac_objext \
8925 conftest$ac_exeext conftest.$ac_ext
8926 CFLAGS=$ac_wine_try_cflags_saved
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8929 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8930 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8931 case $host_os in
8932 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8933 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8934 esac
8936 # Extract the first word of "prelink", so it can be a program name with args.
8937 set dummy prelink; ac_word=$2
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8939 $as_echo_n "checking for $ac_word... " >&6; }
8940 if ${ac_cv_path_PRELINK+:} false; then :
8941 $as_echo_n "(cached) " >&6
8942 else
8943 case $PRELINK in
8944 [\\/]* | ?:[\\/]*)
8945 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 for as_dir in /sbin /usr/sbin $PATH
8951 IFS=$as_save_IFS
8952 test -z "$as_dir" && as_dir=.
8953 for ac_exec_ext in '' $ac_executable_extensions; do
8954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8955 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8957 break 2
8959 done
8960 done
8961 IFS=$as_save_IFS
8963 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8965 esac
8967 PRELINK=$ac_cv_path_PRELINK
8968 if test -n "$PRELINK"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8970 $as_echo "$PRELINK" >&6; }
8971 else
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8977 if test "x$PRELINK" = xfalse
8978 then
8979 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8983 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8984 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 ac_wine_try_cflags_saved=$CFLAGS
8988 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8991 int main(int argc, char **argv) { return 0; }
8992 _ACEOF
8993 if ac_fn_c_try_link "$LINENO"; then :
8994 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8995 else
8996 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8998 rm -f core conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 CFLAGS=$ac_wine_try_cflags_saved
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9003 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9004 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9005 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9008 esac
9010 else
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9012 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9013 if ${ac_cv_c_dll_unixware+:} false; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 ac_wine_try_cflags_saved=$CFLAGS
9017 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 void myfunc() {}
9021 _ACEOF
9022 if ac_fn_c_try_link "$LINENO"; then :
9023 ac_cv_c_dll_unixware="yes"
9024 else
9025 ac_cv_c_dll_unixware="no"
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 CFLAGS=$ac_wine_try_cflags_saved
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9032 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9033 if test "$ac_cv_c_dll_unixware" = "yes"
9034 then
9035 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9038 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9040 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9042 LIBWINE_INSTALL_DEV="libwine.so"
9044 LIBWINE_DEPENDS="wine.map"
9047 esac
9049 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9050 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9051 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9052 enable_winemac_drv=${enable_winemac_drv:-no}
9053 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9055 CROSSTARGET=""
9057 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9058 then
9059 case "$host_cpu" in
9060 arm*)
9061 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9062 i[3456789]86*)
9063 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
9064 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9065 mingw32-gcc" ;;
9066 x86_64)
9067 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
9068 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9070 ac_prefix_list="" ;;
9071 esac
9072 for ac_prog in $ac_prefix_list
9074 # Extract the first word of "$ac_prog", so it can be a program name with args.
9075 set dummy $ac_prog; ac_word=$2
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9077 $as_echo_n "checking for $ac_word... " >&6; }
9078 if ${ac_cv_prog_CROSSCC+:} false; then :
9079 $as_echo_n "(cached) " >&6
9080 else
9081 if test -n "$CROSSCC"; then
9082 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9083 else
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 for as_dir in $PATH
9087 IFS=$as_save_IFS
9088 test -z "$as_dir" && as_dir=.
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9091 ac_cv_prog_CROSSCC="$ac_prog"
9092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9093 break 2
9095 done
9096 done
9097 IFS=$as_save_IFS
9101 CROSSCC=$ac_cv_prog_CROSSCC
9102 if test -n "$CROSSCC"; then
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9104 $as_echo "$CROSSCC" >&6; }
9105 else
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9107 $as_echo "no" >&6; }
9111 test -n "$CROSSCC" && break
9112 done
9113 test -n "$CROSSCC" || CROSSCC="false"
9115 if test "$CROSSCC" != "false"
9116 then
9117 ac_save_CC="$CC"
9118 CC="$CROSSCC"
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9120 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9125 main ()
9129 return 0;
9131 _ACEOF
9132 if ac_fn_c_try_compile "$LINENO"; then :
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9134 $as_echo "yes" >&6; }
9135 set x $CROSSCC
9136 shift
9137 while test $# -ge 1
9139 case "$1" in
9140 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9141 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9142 esac
9143 shift
9144 done
9145 else
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9147 $as_echo "no" >&6; }
9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9150 CC="$ac_save_CC"
9151 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9157 if test "$ac_cv_header_pthread_h" = "yes"
9158 then
9159 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9160 if test "x$ac_cv_func_pthread_create" = xyes; then :
9162 else
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9164 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9165 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9166 $as_echo_n "(cached) " >&6
9167 else
9168 ac_check_lib_save_LIBS=$LIBS
9169 LIBS="-lpthread $LIBS"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char pthread_create ();
9181 main ()
9183 return pthread_create ();
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 ac_cv_lib_pthread_pthread_create=yes
9190 else
9191 ac_cv_lib_pthread_pthread_create=no
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 LIBS=$ac_check_lib_save_LIBS
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9198 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9199 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9200 PTHREAD_LIBS="-lpthread"
9207 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9208 case "x$with_pthread" in
9209 xno) ;;
9210 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9211 Wine cannot support threads without libpthread.
9212 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9213 esac
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9219 $as_echo_n "checking for X... " >&6; }
9222 # Check whether --with-x was given.
9223 if test "${with_x+set}" = set; then :
9224 withval=$with_x;
9227 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9228 if test "x$with_x" = xno; then
9229 # The user explicitly disabled X.
9230 have_x=disabled
9231 else
9232 case $x_includes,$x_libraries in #(
9233 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9234 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 # One or both of the vars are not set, and there is no cached value.
9238 ac_x_includes=no ac_x_libraries=no
9239 rm -f -r conftest.dir
9240 if mkdir conftest.dir; then
9241 cd conftest.dir
9242 cat >Imakefile <<'_ACEOF'
9243 incroot:
9244 @echo incroot='${INCROOT}'
9245 usrlibdir:
9246 @echo usrlibdir='${USRLIBDIR}'
9247 libdir:
9248 @echo libdir='${LIBDIR}'
9249 _ACEOF
9250 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9251 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9252 for ac_var in incroot usrlibdir libdir; do
9253 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9254 done
9255 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9256 for ac_extension in a so sl dylib la dll; do
9257 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9258 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9259 ac_im_usrlibdir=$ac_im_libdir; break
9261 done
9262 # Screen out bogus values from the imake configuration. They are
9263 # bogus both because they are the default anyway, and because
9264 # using them would break gcc on systems where it needs fixed includes.
9265 case $ac_im_incroot in
9266 /usr/include) ac_x_includes= ;;
9267 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9268 esac
9269 case $ac_im_usrlibdir in
9270 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9271 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9272 esac
9274 cd ..
9275 rm -f -r conftest.dir
9278 # Standard set of common directories for X headers.
9279 # Check X11 before X11Rn because it is often a symlink to the current release.
9280 ac_x_header_dirs='
9281 /usr/X11/include
9282 /usr/X11R7/include
9283 /usr/X11R6/include
9284 /usr/X11R5/include
9285 /usr/X11R4/include
9287 /usr/include/X11
9288 /usr/include/X11R7
9289 /usr/include/X11R6
9290 /usr/include/X11R5
9291 /usr/include/X11R4
9293 /usr/local/X11/include
9294 /usr/local/X11R7/include
9295 /usr/local/X11R6/include
9296 /usr/local/X11R5/include
9297 /usr/local/X11R4/include
9299 /usr/local/include/X11
9300 /usr/local/include/X11R7
9301 /usr/local/include/X11R6
9302 /usr/local/include/X11R5
9303 /usr/local/include/X11R4
9305 /usr/X386/include
9306 /usr/x386/include
9307 /usr/XFree86/include/X11
9309 /usr/include
9310 /usr/local/include
9311 /usr/unsupported/include
9312 /usr/athena/include
9313 /usr/local/x11r5/include
9314 /usr/lpp/Xamples/include
9316 /usr/openwin/include
9317 /usr/openwin/share/include'
9319 if test "$ac_x_includes" = no; then
9320 # Guess where to find include files, by looking for Xlib.h.
9321 # First, try using that file with no special directory specified.
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9324 #include <X11/Xlib.h>
9325 _ACEOF
9326 if ac_fn_c_try_cpp "$LINENO"; then :
9327 # We can compile using X headers with no special include directory.
9328 ac_x_includes=
9329 else
9330 for ac_dir in $ac_x_header_dirs; do
9331 if test -r "$ac_dir/X11/Xlib.h"; then
9332 ac_x_includes=$ac_dir
9333 break
9335 done
9337 rm -f conftest.err conftest.i conftest.$ac_ext
9338 fi # $ac_x_includes = no
9340 if test "$ac_x_libraries" = no; then
9341 # Check for the libraries.
9342 # See if we find them without any special options.
9343 # Don't add to $LIBS permanently.
9344 ac_save_LIBS=$LIBS
9345 LIBS="-lX11 $LIBS"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 #include <X11/Xlib.h>
9350 main ()
9352 XrmInitialize ()
9354 return 0;
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 LIBS=$ac_save_LIBS
9359 # We can link X programs with no special library path.
9360 ac_x_libraries=
9361 else
9362 LIBS=$ac_save_LIBS
9363 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9365 # Don't even attempt the hair of trying to link an X program!
9366 for ac_extension in a so sl dylib la dll; do
9367 if test -r "$ac_dir/libX11.$ac_extension"; then
9368 ac_x_libraries=$ac_dir
9369 break 2
9371 done
9372 done
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 fi # $ac_x_libraries = no
9378 case $ac_x_includes,$ac_x_libraries in #(
9379 no,* | *,no | *\'*)
9380 # Didn't find X, or a directory has "'" in its name.
9381 ac_cv_have_x="have_x=no";; #(
9383 # Record where we found X for the cache.
9384 ac_cv_have_x="have_x=yes\
9385 ac_x_includes='$ac_x_includes'\
9386 ac_x_libraries='$ac_x_libraries'"
9387 esac
9389 ;; #(
9390 *) have_x=yes;;
9391 esac
9392 eval "$ac_cv_have_x"
9393 fi # $with_x != no
9395 if test "$have_x" != yes; then
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9397 $as_echo "$have_x" >&6; }
9398 no_x=yes
9399 else
9400 # If each of the values was on the command line, it overrides each guess.
9401 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9402 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9403 # Update the cache value to reflect the command line values.
9404 ac_cv_have_x="have_x=yes\
9405 ac_x_includes='$x_includes'\
9406 ac_x_libraries='$x_libraries'"
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9408 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9411 if test "$no_x" = yes; then
9412 # Not all programs may use this symbol, but it does not hurt to define it.
9414 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9416 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9417 else
9418 if test -n "$x_includes"; then
9419 X_CFLAGS="$X_CFLAGS -I$x_includes"
9422 # It would also be nice to do this for all -L options, not just this one.
9423 if test -n "$x_libraries"; then
9424 X_LIBS="$X_LIBS -L$x_libraries"
9425 # For Solaris; some versions of Sun CC require a space after -R and
9426 # others require no space. Words are not sufficient . . . .
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9428 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9429 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9430 ac_xsave_c_werror_flag=$ac_c_werror_flag
9431 ac_c_werror_flag=yes
9432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9436 main ()
9440 return 0;
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9445 $as_echo "no" >&6; }
9446 X_LIBS="$X_LIBS -R$x_libraries"
9447 else
9448 LIBS="$ac_xsave_LIBS -R $x_libraries"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9453 main ()
9457 return 0;
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9462 $as_echo "yes" >&6; }
9463 X_LIBS="$X_LIBS -R $x_libraries"
9464 else
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9466 $as_echo "neither works" >&6; }
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 ac_c_werror_flag=$ac_xsave_c_werror_flag
9474 LIBS=$ac_xsave_LIBS
9477 # Check for system-dependent libraries X programs must link with.
9478 # Do this before checking for the system-independent R6 libraries
9479 # (-lICE), since we may need -lsocket or whatever for X linking.
9481 if test "$ISC" = yes; then
9482 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9483 else
9484 # Martyn Johnson says this is needed for Ultrix, if the X
9485 # libraries were built with DECnet support. And Karl Berry says
9486 # the Alpha needs dnet_stub (dnet does not exist).
9487 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char XOpenDisplay ();
9499 main ()
9501 return XOpenDisplay ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9508 else
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9510 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9511 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 ac_check_lib_save_LIBS=$LIBS
9515 LIBS="-ldnet $LIBS"
9516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h. */
9519 /* Override any GCC internal prototype to avoid an error.
9520 Use char because int might match the return type of a GCC
9521 builtin and then its argument prototype would still apply. */
9522 #ifdef __cplusplus
9523 extern "C"
9524 #endif
9525 char dnet_ntoa ();
9527 main ()
9529 return dnet_ntoa ();
9531 return 0;
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 ac_cv_lib_dnet_dnet_ntoa=yes
9536 else
9537 ac_cv_lib_dnet_dnet_ntoa=no
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 LIBS=$ac_check_lib_save_LIBS
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9544 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9545 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9546 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9549 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9551 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9552 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 ac_check_lib_save_LIBS=$LIBS
9556 LIBS="-ldnet_stub $LIBS"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9563 #ifdef __cplusplus
9564 extern "C"
9565 #endif
9566 char dnet_ntoa ();
9568 main ()
9570 return dnet_ntoa ();
9572 return 0;
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9577 else
9578 ac_cv_lib_dnet_stub_dnet_ntoa=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 LIBS=$ac_check_lib_save_LIBS
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9585 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9586 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9587 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS="$ac_xsave_LIBS"
9596 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9597 # to get the SysV transport functions.
9598 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9599 # needs -lnsl.
9600 # The nsl library prevents programs from opening the X display
9601 # on Irix 5.2, according to T.E. Dickey.
9602 # The functions gethostbyname, getservbyname, and inet_addr are
9603 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9604 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9605 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9609 if test $ac_cv_func_gethostbyname = no; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9611 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9612 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_check_lib_save_LIBS=$LIBS
9616 LIBS="-lnsl $LIBS"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9620 /* Override any GCC internal prototype to avoid an error.
9621 Use char because int might match the return type of a GCC
9622 builtin and then its argument prototype would still apply. */
9623 #ifdef __cplusplus
9624 extern "C"
9625 #endif
9626 char gethostbyname ();
9628 main ()
9630 return gethostbyname ();
9632 return 0;
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 ac_cv_lib_nsl_gethostbyname=yes
9637 else
9638 ac_cv_lib_nsl_gethostbyname=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 LIBS=$ac_check_lib_save_LIBS
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9645 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9646 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9647 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9650 if test $ac_cv_lib_nsl_gethostbyname = no; then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9652 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9653 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 ac_check_lib_save_LIBS=$LIBS
9657 LIBS="-lbsd $LIBS"
9658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9661 /* Override any GCC internal prototype to avoid an error.
9662 Use char because int might match the return type of a GCC
9663 builtin and then its argument prototype would still apply. */
9664 #ifdef __cplusplus
9665 extern "C"
9666 #endif
9667 char gethostbyname ();
9669 main ()
9671 return gethostbyname ();
9673 return 0;
9675 _ACEOF
9676 if ac_fn_c_try_link "$LINENO"; then :
9677 ac_cv_lib_bsd_gethostbyname=yes
9678 else
9679 ac_cv_lib_bsd_gethostbyname=no
9681 rm -f core conftest.err conftest.$ac_objext \
9682 conftest$ac_exeext conftest.$ac_ext
9683 LIBS=$ac_check_lib_save_LIBS
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9686 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9687 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9688 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9694 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9695 # socket/setsockopt and other routines are undefined under SCO ODT
9696 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9697 # on later versions), says Simon Leinen: it contains gethostby*
9698 # variants that don't use the name server (or something). -lsocket
9699 # must be given before -lnsl if both are needed. We assume that
9700 # if connect needs -lnsl, so does gethostbyname.
9701 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9702 if test "x$ac_cv_func_connect" = xyes; then :
9706 if test $ac_cv_func_connect = no; then
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9708 $as_echo_n "checking for connect in -lsocket... " >&6; }
9709 if ${ac_cv_lib_socket_connect+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 ac_check_lib_save_LIBS=$LIBS
9713 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9720 #ifdef __cplusplus
9721 extern "C"
9722 #endif
9723 char connect ();
9725 main ()
9727 return connect ();
9729 return 0;
9731 _ACEOF
9732 if ac_fn_c_try_link "$LINENO"; then :
9733 ac_cv_lib_socket_connect=yes
9734 else
9735 ac_cv_lib_socket_connect=no
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_lib_save_LIBS
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9742 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9743 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9744 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9749 # Guillermo Gomez says -lposix is necessary on A/UX.
9750 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9751 if test "x$ac_cv_func_remove" = xyes; then :
9755 if test $ac_cv_func_remove = no; then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9757 $as_echo_n "checking for remove in -lposix... " >&6; }
9758 if ${ac_cv_lib_posix_remove+:} false; then :
9759 $as_echo_n "(cached) " >&6
9760 else
9761 ac_check_lib_save_LIBS=$LIBS
9762 LIBS="-lposix $LIBS"
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9769 #ifdef __cplusplus
9770 extern "C"
9771 #endif
9772 char remove ();
9774 main ()
9776 return remove ();
9778 return 0;
9780 _ACEOF
9781 if ac_fn_c_try_link "$LINENO"; then :
9782 ac_cv_lib_posix_remove=yes
9783 else
9784 ac_cv_lib_posix_remove=no
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 LIBS=$ac_check_lib_save_LIBS
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9791 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9792 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9793 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9798 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9799 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9800 if test "x$ac_cv_func_shmat" = xyes; then :
9804 if test $ac_cv_func_shmat = no; then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9806 $as_echo_n "checking for shmat in -lipc... " >&6; }
9807 if ${ac_cv_lib_ipc_shmat+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_check_lib_save_LIBS=$LIBS
9811 LIBS="-lipc $LIBS"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char shmat ();
9823 main ()
9825 return shmat ();
9827 return 0;
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 ac_cv_lib_ipc_shmat=yes
9832 else
9833 ac_cv_lib_ipc_shmat=no
9835 rm -f core conftest.err conftest.$ac_objext \
9836 conftest$ac_exeext conftest.$ac_ext
9837 LIBS=$ac_check_lib_save_LIBS
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9840 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9841 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9842 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9848 # Check for libraries that X11R6 Xt/Xaw programs need.
9849 ac_save_LDFLAGS=$LDFLAGS
9850 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9851 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9852 # check for ICE first), but we must link in the order -lSM -lICE or
9853 # we get undefined symbols. So assume we have SM if we have ICE.
9854 # These have to be linked with before -lX11, unlike the other
9855 # libraries we check for below, so use a different variable.
9856 # John Interrante, Karl Berry
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9858 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9859 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_check_lib_save_LIBS=$LIBS
9863 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char IceConnectionNumber ();
9875 main ()
9877 return IceConnectionNumber ();
9879 return 0;
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 ac_cv_lib_ICE_IceConnectionNumber=yes
9884 else
9885 ac_cv_lib_ICE_IceConnectionNumber=no
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 LIBS=$ac_check_lib_save_LIBS
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9892 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9893 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9894 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9897 LDFLAGS=$ac_save_LDFLAGS
9902 if test "$have_x" = "yes"
9903 then
9904 ac_save_CPPFLAGS="$CPPFLAGS"
9905 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9908 $as_echo_n "checking for -lX11... " >&6; }
9909 if ${ac_cv_lib_soname_X11+:} false; then :
9910 $as_echo_n "(cached) " >&6
9911 else
9912 ac_check_soname_save_LIBS=$LIBS
9913 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9917 /* Override any GCC internal prototype to avoid an error.
9918 Use char because int might match the return type of a GCC
9919 builtin and then its argument prototype would still apply. */
9920 #ifdef __cplusplus
9921 extern "C"
9922 #endif
9923 char XCreateWindow ();
9925 main ()
9927 return XCreateWindow ();
9929 return 0;
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 case "$LIBEXT" in
9934 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9935 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'` ;;
9936 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9937 if ${ac_cv_lib_soname_X11:+false} :; then :
9938 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9939 fi ;;
9940 esac
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_soname_save_LIBS
9946 if ${ac_cv_lib_soname_X11:+false} :; then :
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9948 $as_echo "not found" >&6; }
9950 else
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9952 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9954 cat >>confdefs.h <<_ACEOF
9955 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9956 _ACEOF
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9961 $as_echo_n "checking for -lXext... " >&6; }
9962 if ${ac_cv_lib_soname_Xext+:} false; then :
9963 $as_echo_n "(cached) " >&6
9964 else
9965 ac_check_soname_save_LIBS=$LIBS
9966 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9970 /* Override any GCC internal prototype to avoid an error.
9971 Use char because int might match the return type of a GCC
9972 builtin and then its argument prototype would still apply. */
9973 #ifdef __cplusplus
9974 extern "C"
9975 #endif
9976 char XextCreateExtension ();
9978 main ()
9980 return XextCreateExtension ();
9982 return 0;
9984 _ACEOF
9985 if ac_fn_c_try_link "$LINENO"; then :
9986 case "$LIBEXT" in
9987 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9988 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'` ;;
9989 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9990 if ${ac_cv_lib_soname_Xext:+false} :; then :
9991 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9992 fi ;;
9993 esac
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 LIBS=$ac_check_soname_save_LIBS
9999 if ${ac_cv_lib_soname_Xext:+false} :; then :
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10001 $as_echo "not found" >&6; }
10003 else
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10005 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10007 cat >>confdefs.h <<_ACEOF
10008 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10009 _ACEOF
10011 X_LIBS="$X_LIBS -lXext"
10013 X_LIBS="$X_LIBS -lX11"
10015 for ac_header in X11/Xlib.h \
10016 X11/XKBlib.h \
10017 X11/Xutil.h \
10018 X11/Xcursor/Xcursor.h \
10019 X11/extensions/shape.h \
10020 X11/extensions/XInput.h \
10021 X11/extensions/XInput2.h \
10022 X11/extensions/XShm.h \
10023 X11/extensions/Xcomposite.h \
10024 X11/extensions/Xfixes.h \
10025 X11/extensions/Xinerama.h \
10026 X11/extensions/Xrandr.h \
10027 X11/extensions/Xrender.h \
10028 X11/extensions/xf86vmode.h \
10029 X11/extensions/xf86vmproto.h
10030 do :
10031 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10032 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10033 # include <X11/Xlib.h>
10034 #endif
10035 #ifdef HAVE_X11_XUTIL_H
10036 # include <X11/Xutil.h>
10037 #endif
10039 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10040 cat >>confdefs.h <<_ACEOF
10041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10042 _ACEOF
10046 done
10049 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10050 then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10052 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10053 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_check_lib_save_LIBS=$LIBS
10057 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10061 /* Override any GCC internal prototype to avoid an error.
10062 Use char because int might match the return type of a GCC
10063 builtin and then its argument prototype would still apply. */
10064 #ifdef __cplusplus
10065 extern "C"
10066 #endif
10067 char XkbQueryExtension ();
10069 main ()
10071 return XkbQueryExtension ();
10073 return 0;
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_lib_X11_XkbQueryExtension=yes
10078 else
10079 ac_cv_lib_X11_XkbQueryExtension=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10086 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10087 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10089 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10095 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10096 then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10098 $as_echo_n "checking for -lXcursor... " >&6; }
10099 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10100 $as_echo_n "(cached) " >&6
10101 else
10102 ac_check_soname_save_LIBS=$LIBS
10103 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10107 /* Override any GCC internal prototype to avoid an error.
10108 Use char because int might match the return type of a GCC
10109 builtin and then its argument prototype would still apply. */
10110 #ifdef __cplusplus
10111 extern "C"
10112 #endif
10113 char XcursorImageLoadCursor ();
10115 main ()
10117 return XcursorImageLoadCursor ();
10119 return 0;
10121 _ACEOF
10122 if ac_fn_c_try_link "$LINENO"; then :
10123 case "$LIBEXT" in
10124 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10125 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'` ;;
10126 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10127 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10128 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10129 fi ;;
10130 esac
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_soname_save_LIBS
10136 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10138 $as_echo "not found" >&6; }
10140 else
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10142 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10144 cat >>confdefs.h <<_ACEOF
10145 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10146 _ACEOF
10151 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10152 case "x$with_xcursor" in
10153 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10154 xno) ;;
10155 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10156 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10157 esac
10161 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10162 then
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10164 $as_echo_n "checking for -lXi... " >&6; }
10165 if ${ac_cv_lib_soname_Xi+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167 else
10168 ac_check_soname_save_LIBS=$LIBS
10169 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10173 /* Override any GCC internal prototype to avoid an error.
10174 Use char because int might match the return type of a GCC
10175 builtin and then its argument prototype would still apply. */
10176 #ifdef __cplusplus
10177 extern "C"
10178 #endif
10179 char XOpenDevice ();
10181 main ()
10183 return XOpenDevice ();
10185 return 0;
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 case "$LIBEXT" in
10190 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10191 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'` ;;
10192 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10193 if ${ac_cv_lib_soname_Xi:+false} :; then :
10194 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10195 fi ;;
10196 esac
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_soname_save_LIBS
10202 if ${ac_cv_lib_soname_Xi:+false} :; then :
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10204 $as_echo "not found" >&6; }
10206 else
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10208 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10210 cat >>confdefs.h <<_ACEOF
10211 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10212 _ACEOF
10217 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10218 case "x$with_xinput" in
10219 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10220 xno) ;;
10221 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10222 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10223 esac
10227 if test "x$ac_cv_lib_soname_Xi" != x
10228 then
10229 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10230 case "x$with_xinput2" in
10231 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10232 xno) ;;
10233 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10234 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10235 esac
10240 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10241 then
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10243 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10244 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 ac_check_lib_save_LIBS=$LIBS
10248 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10255 #ifdef __cplusplus
10256 extern "C"
10257 #endif
10258 char XShmQueryExtension ();
10260 main ()
10262 return XShmQueryExtension ();
10264 return 0;
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"; then :
10268 ac_cv_lib_Xext_XShmQueryExtension=yes
10269 else
10270 ac_cv_lib_Xext_XShmQueryExtension=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10277 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10278 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10280 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10285 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10286 case "x$with_xshm" in
10287 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10288 xno) ;;
10289 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10290 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10291 esac
10295 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10296 then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10298 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10299 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_check_lib_save_LIBS=$LIBS
10303 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10310 #ifdef __cplusplus
10311 extern "C"
10312 #endif
10313 char XShapeQueryExtension ();
10315 main ()
10317 return XShapeQueryExtension ();
10319 return 0;
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 ac_cv_lib_Xext_XShapeQueryExtension=yes
10324 else
10325 ac_cv_lib_Xext_XShapeQueryExtension=no
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 LIBS=$ac_check_lib_save_LIBS
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10332 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10333 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10335 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10340 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10341 case "x$with_xshape" in
10342 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10343 xno) ;;
10344 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10345 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10346 esac
10350 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10351 then
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10353 $as_echo_n "checking for -lXxf86vm... " >&6; }
10354 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10355 $as_echo_n "(cached) " >&6
10356 else
10357 ac_check_soname_save_LIBS=$LIBS
10358 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10365 #ifdef __cplusplus
10366 extern "C"
10367 #endif
10368 char XF86VidModeQueryExtension ();
10370 main ()
10372 return XF86VidModeQueryExtension ();
10374 return 0;
10376 _ACEOF
10377 if ac_fn_c_try_link "$LINENO"; then :
10378 case "$LIBEXT" in
10379 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10380 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'` ;;
10381 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10382 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10383 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10384 fi ;;
10385 esac
10387 rm -f core conftest.err conftest.$ac_objext \
10388 conftest$ac_exeext conftest.$ac_ext
10389 LIBS=$ac_check_soname_save_LIBS
10391 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10393 $as_echo "not found" >&6; }
10395 else
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10397 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10399 cat >>confdefs.h <<_ACEOF
10400 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10401 _ACEOF
10406 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10407 case "x$with_xxf86vm" in
10408 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10409 xno) ;;
10410 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10411 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10412 esac
10416 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10417 then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10419 $as_echo_n "checking for -lXrender... " >&6; }
10420 if ${ac_cv_lib_soname_Xrender+:} false; then :
10421 $as_echo_n "(cached) " >&6
10422 else
10423 ac_check_soname_save_LIBS=$LIBS
10424 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10428 /* Override any GCC internal prototype to avoid an error.
10429 Use char because int might match the return type of a GCC
10430 builtin and then its argument prototype would still apply. */
10431 #ifdef __cplusplus
10432 extern "C"
10433 #endif
10434 char XRenderQueryExtension ();
10436 main ()
10438 return XRenderQueryExtension ();
10440 return 0;
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 case "$LIBEXT" in
10445 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10446 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'` ;;
10447 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10448 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10449 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10450 fi ;;
10451 esac
10453 rm -f core conftest.err conftest.$ac_objext \
10454 conftest$ac_exeext conftest.$ac_ext
10455 LIBS=$ac_check_soname_save_LIBS
10457 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10459 $as_echo "not found" >&6; }
10461 else
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10463 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10465 cat >>confdefs.h <<_ACEOF
10466 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10467 _ACEOF
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10470 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10471 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_lib_save_LIBS=$LIBS
10475 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char XRenderSetPictureTransform ();
10487 main ()
10489 return XRenderSetPictureTransform ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10496 else
10497 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10499 rm -f core conftest.err conftest.$ac_objext \
10500 conftest$ac_exeext conftest.$ac_ext
10501 LIBS=$ac_check_lib_save_LIBS
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10504 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10505 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10507 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10512 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10513 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_lib_save_LIBS=$LIBS
10517 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XRenderCreateLinearGradient ();
10529 main ()
10531 return XRenderCreateLinearGradient ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10538 else
10539 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_lib_save_LIBS
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10546 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10547 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10549 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10556 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10557 case "x$with_xrender" in
10558 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10559 xno) ;;
10560 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10561 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10562 esac
10566 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10567 then
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10570 #include <X11/Xlib.h>
10571 #include <X11/extensions/Xrandr.h>
10573 main ()
10575 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10577 return 0;
10579 _ACEOF
10580 if ac_fn_c_try_compile "$LINENO"; then :
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10582 $as_echo_n "checking for -lXrandr... " >&6; }
10583 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_check_soname_save_LIBS=$LIBS
10587 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10591 /* Override any GCC internal prototype to avoid an error.
10592 Use char because int might match the return type of a GCC
10593 builtin and then its argument prototype would still apply. */
10594 #ifdef __cplusplus
10595 extern "C"
10596 #endif
10597 char XRRQueryExtension ();
10599 main ()
10601 return XRRQueryExtension ();
10603 return 0;
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 case "$LIBEXT" in
10608 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10609 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'` ;;
10610 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10611 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10612 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10613 fi ;;
10614 esac
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 LIBS=$ac_check_soname_save_LIBS
10620 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10622 $as_echo "not found" >&6; }
10624 else
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10626 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10628 cat >>confdefs.h <<_ACEOF
10629 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10630 _ACEOF
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10634 #include <X11/Xlib.h>
10635 #include <X11/extensions/Xrandr.h>
10637 main ()
10639 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10641 return 0;
10643 _ACEOF
10644 if ac_fn_c_try_compile "$LINENO"; then :
10646 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10654 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10655 case "x$with_xrandr" in
10656 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10657 xno) ;;
10658 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10659 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10660 esac
10664 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10665 then
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 #include <X11/Xlib.h>
10669 #include <X11/extensions/Xfixes.h>
10671 main ()
10673 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_compile "$LINENO"; then :
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10680 $as_echo_n "checking for -lXfixes... " >&6; }
10681 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10682 $as_echo_n "(cached) " >&6
10683 else
10684 ac_check_soname_save_LIBS=$LIBS
10685 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10692 #ifdef __cplusplus
10693 extern "C"
10694 #endif
10695 char XFixesQueryVersion ();
10697 main ()
10699 return XFixesQueryVersion ();
10701 return 0;
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 case "$LIBEXT" in
10706 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10707 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'` ;;
10708 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10709 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10710 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10711 fi ;;
10712 esac
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_soname_save_LIBS
10718 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10720 $as_echo "not found" >&6; }
10722 else
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10724 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10726 cat >>confdefs.h <<_ACEOF
10727 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10728 _ACEOF
10733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10735 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10736 case "x$with_xfixes" in
10737 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10738 xno) ;;
10739 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10740 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10741 esac
10745 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10746 then
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10749 #include <X11/Xlib.h>
10750 #include <X11/extensions/Xinerama.h>
10752 main ()
10754 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10756 return 0;
10758 _ACEOF
10759 if ac_fn_c_try_compile "$LINENO"; then :
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10761 $as_echo_n "checking for -lXinerama... " >&6; }
10762 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10763 $as_echo_n "(cached) " >&6
10764 else
10765 ac_check_soname_save_LIBS=$LIBS
10766 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10773 #ifdef __cplusplus
10774 extern "C"
10775 #endif
10776 char XineramaQueryScreens ();
10778 main ()
10780 return XineramaQueryScreens ();
10782 return 0;
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"; then :
10786 case "$LIBEXT" in
10787 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10788 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'` ;;
10789 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10790 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10791 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10792 fi ;;
10793 esac
10795 rm -f core conftest.err conftest.$ac_objext \
10796 conftest$ac_exeext conftest.$ac_ext
10797 LIBS=$ac_check_soname_save_LIBS
10799 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10801 $as_echo "not found" >&6; }
10803 else
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10805 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10807 cat >>confdefs.h <<_ACEOF
10808 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10809 _ACEOF
10814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10816 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10817 case "x$with_xinerama" in
10818 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10819 xno) ;;
10820 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10821 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10822 esac
10826 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10827 then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10829 $as_echo_n "checking for -lXcomposite... " >&6; }
10830 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_soname_save_LIBS=$LIBS
10834 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char XCompositeRedirectWindow ();
10846 main ()
10848 return XCompositeRedirectWindow ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 case "$LIBEXT" in
10855 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10856 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'` ;;
10857 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10858 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10859 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10860 fi ;;
10861 esac
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_soname_save_LIBS
10867 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10869 $as_echo "not found" >&6; }
10871 else
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10873 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10877 _ACEOF
10882 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10883 case "x$with_xcomposite" in
10884 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10885 xno) ;;
10886 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10887 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10888 esac
10892 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10893 #include <X11/Xlib.h>
10894 #endif
10896 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10898 cat >>confdefs.h <<_ACEOF
10899 #define HAVE_XICCALLBACK_CALLBACK 1
10900 _ACEOF
10904 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10905 #include <X11/Xlib.h>
10906 #endif
10908 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10910 cat >>confdefs.h <<_ACEOF
10911 #define HAVE_XEVENT_XCOOKIE 1
10912 _ACEOF
10919 opengl_msg=""
10920 if test "x$with_opengl" != "xno"
10921 then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10923 $as_echo_n "checking for -lGL... " >&6; }
10924 if ${ac_cv_lib_soname_GL+:} false; then :
10925 $as_echo_n "(cached) " >&6
10926 else
10927 ac_check_soname_save_LIBS=$LIBS
10928 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10935 #ifdef __cplusplus
10936 extern "C"
10937 #endif
10938 char glXCreateContext ();
10940 main ()
10942 return glXCreateContext ();
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 case "$LIBEXT" in
10949 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10950 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'` ;;
10951 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10952 if ${ac_cv_lib_soname_GL:+false} :; then :
10953 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10954 fi ;;
10955 esac
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_soname_save_LIBS
10961 if ${ac_cv_lib_soname_GL:+false} :; then :
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10963 $as_echo "not found" >&6; }
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10965 $as_echo_n "checking for -lGL... " >&6; }
10966 if ${ac_cv_lib_soname_GL+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_soname_save_LIBS=$LIBS
10970 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"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char glXCreateContext ();
10982 main ()
10984 return glXCreateContext ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 case "$LIBEXT" in
10991 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10992 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'` ;;
10993 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10994 if ${ac_cv_lib_soname_GL:+false} :; then :
10995 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10996 fi ;;
10997 esac
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_soname_save_LIBS
11003 if ${ac_cv_lib_soname_GL:+false} :; then :
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11005 $as_echo "not found" >&6; }
11006 if test -f /usr/X11R6/lib/libGL.a
11007 then
11008 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11009 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11010 else
11011 opengl_msg="No OpenGL library found on this system."
11013 else
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11015 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11017 cat >>confdefs.h <<_ACEOF
11018 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11019 _ACEOF
11021 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"
11023 else
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11025 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11027 cat >>confdefs.h <<_ACEOF
11028 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11029 _ACEOF
11031 OPENGL_LIBS="-lGL"
11033 if test "x$with_glu" != "xno"
11034 then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11036 $as_echo_n "checking for -lGLU... " >&6; }
11037 if ${ac_cv_lib_soname_GLU+:} false; then :
11038 $as_echo_n "(cached) " >&6
11039 else
11040 ac_check_soname_save_LIBS=$LIBS
11041 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11048 #ifdef __cplusplus
11049 extern "C"
11050 #endif
11051 char gluLookAt ();
11053 main ()
11055 return gluLookAt ();
11057 return 0;
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 case "$LIBEXT" in
11062 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11063 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'` ;;
11064 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11065 if ${ac_cv_lib_soname_GLU:+false} :; then :
11066 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11067 fi ;;
11068 esac
11070 rm -f core conftest.err conftest.$ac_objext \
11071 conftest$ac_exeext conftest.$ac_ext
11072 LIBS=$ac_check_soname_save_LIBS
11074 if ${ac_cv_lib_soname_GLU:+false} :; then :
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11076 $as_echo "not found" >&6; }
11078 else
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11080 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11082 cat >>confdefs.h <<_ACEOF
11083 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11084 _ACEOF
11088 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11089 case "x$with_glu" in
11090 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11091 xno) ;;
11092 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11093 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11094 esac
11099 if test "x$with_osmesa" != "xno"
11100 then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11102 $as_echo_n "checking for -lOSMesa... " >&6; }
11103 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11104 $as_echo_n "(cached) " >&6
11105 else
11106 ac_check_soname_save_LIBS=$LIBS
11107 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char OSMesaGetProcAddress ();
11119 main ()
11121 return OSMesaGetProcAddress ();
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11127 case "$LIBEXT" in
11128 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11129 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'` ;;
11130 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11131 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11132 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11133 fi ;;
11134 esac
11136 rm -f core conftest.err conftest.$ac_objext \
11137 conftest$ac_exeext conftest.$ac_ext
11138 LIBS=$ac_check_soname_save_LIBS
11140 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11142 $as_echo "not found" >&6; }
11144 else
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11146 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11148 cat >>confdefs.h <<_ACEOF
11149 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11150 _ACEOF
11154 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11155 case "x$with_osmesa" in
11156 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11157 xno) ;;
11158 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11159 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11160 esac
11165 if test -n "$opengl_msg"; then :
11166 case "x$with_opengl" in
11167 x) as_fn_append wine_warnings "|$opengl_msg
11168 OpenGL and Direct3D won't be supported." ;;
11169 xno) ;;
11170 *) as_fn_error $? "$opengl_msg
11171 OpenGL and Direct3D won't be supported.
11172 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11173 esac
11177 CPPFLAGS="$ac_save_CPPFLAGS"
11178 else
11179 X_CFLAGS=""
11180 X_LIBS=""
11183 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11184 then
11185 if test "x$X_LIBS" = "x"; then :
11186 case "x$with_x" in
11187 xno) ;;
11188 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11189 without X support, which probably isn't what you want. You will need
11190 to install ${notice_platform}development packages of Xlib at the very least.
11191 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11192 esac
11193 enable_winex11_drv=${enable_winex11_drv:-no}
11195 else
11196 if test "x$X_LIBS" = "x"; then :
11197 case "x$with_x" in
11198 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11199 xno) ;;
11200 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11201 This is an error since --with-x was requested." "$LINENO" 5 ;;
11202 esac
11203 enable_winex11_drv=${enable_winex11_drv:-no}
11207 if test "$ac_cv_header_CL_cl_h" = "yes"
11208 then
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11210 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11211 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11212 $as_echo_n "(cached) " >&6
11213 else
11214 ac_check_lib_save_LIBS=$LIBS
11215 LIBS="-lOpenCL $LIBS"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11222 #ifdef __cplusplus
11223 extern "C"
11224 #endif
11225 char clGetPlatformInfo ();
11227 main ()
11229 return clGetPlatformInfo ();
11231 return 0;
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11236 else
11237 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11244 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11245 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11246 OPENCL_LIBS="-lOpenCL"
11251 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11252 case "x$with_opencl" in
11253 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11254 xno) ;;
11255 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11256 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11257 esac
11258 enable_opencl=${enable_opencl:-no}
11261 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11262 then
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11264 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11265 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11266 $as_echo_n "(cached) " >&6
11267 else
11268 ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-lpcap $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char pcap_create ();
11281 main ()
11283 return pcap_create ();
11285 return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_pcap_pcap_create=yes
11290 else
11291 ac_cv_lib_pcap_pcap_create=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11298 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11299 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11300 PCAP_LIBS="-lpcap"
11305 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11306 case "x$with_pcap" in
11307 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11308 xno) ;;
11309 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11310 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11311 esac
11312 enable_wpcap=${enable_wpcap:-no}
11316 if test "x$with_xml" != "xno"
11317 then
11318 if ${XML2_CFLAGS:+false} :; then :
11319 if ${PKG_CONFIG+:} false; then :
11320 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11323 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11324 if ${XML2_LIBS:+false} :; then :
11325 if ${PKG_CONFIG+:} false; then :
11326 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11329 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11330 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11331 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11332 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11333 ac_save_CPPFLAGS=$CPPFLAGS
11334 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11335 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11336 do :
11337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11338 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11340 cat >>confdefs.h <<_ACEOF
11341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11342 _ACEOF
11346 done
11348 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"
11349 then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11351 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11352 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-lxml2 $XML2_LIBS $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char xmlParseMemory ();
11368 main ()
11370 return xmlParseMemory ();
11372 return 0;
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 ac_cv_lib_xml2_xmlParseMemory=yes
11377 else
11378 ac_cv_lib_xml2_xmlParseMemory=no
11380 rm -f core conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11385 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11386 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11388 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11390 else
11391 XML2_LIBS=""
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11395 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11396 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_lib_save_LIBS=$LIBS
11400 LIBS="-lxml2 $XML2_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char xmlReadMemory ();
11412 main ()
11414 return xmlReadMemory ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_xml2_xmlReadMemory=yes
11421 else
11422 ac_cv_lib_xml2_xmlReadMemory=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11429 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11430 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11432 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11437 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11438 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 ac_check_lib_save_LIBS=$LIBS
11442 LIBS="-lxml2 $XML2_LIBS $LIBS"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char xmlNewDocPI ();
11454 main ()
11456 return xmlNewDocPI ();
11458 return 0;
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462 ac_cv_lib_xml2_xmlNewDocPI=yes
11463 else
11464 ac_cv_lib_xml2_xmlNewDocPI=no
11466 rm -f core conftest.err conftest.$ac_objext \
11467 conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_lib_save_LIBS
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11471 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11472 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11474 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11479 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11480 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_lib_save_LIBS=$LIBS
11484 LIBS="-lxml2 $XML2_LIBS $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char xmlSchemaSetParserStructuredErrors ();
11496 main ()
11498 return xmlSchemaSetParserStructuredErrors ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11505 else
11506 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11513 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11514 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11516 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11521 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11522 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11523 $as_echo_n "(cached) " >&6
11524 else
11525 ac_check_lib_save_LIBS=$LIBS
11526 LIBS="-lxml2 $XML2_LIBS $LIBS"
11527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11533 #ifdef __cplusplus
11534 extern "C"
11535 #endif
11536 char xmlSchemaSetValidStructuredErrors ();
11538 main ()
11540 return xmlSchemaSetValidStructuredErrors ();
11542 return 0;
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"; then :
11546 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11547 else
11548 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_lib_save_LIBS
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11555 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11556 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11558 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11563 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11564 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11565 $as_echo_n "(cached) " >&6
11566 else
11567 ac_check_lib_save_LIBS=$LIBS
11568 LIBS="-lxml2 $XML2_LIBS $LIBS"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 /* Override any GCC internal prototype to avoid an error.
11573 Use char because int might match the return type of a GCC
11574 builtin and then its argument prototype would still apply. */
11575 #ifdef __cplusplus
11576 extern "C"
11577 #endif
11578 char xmlFirstElementChild ();
11580 main ()
11582 return xmlFirstElementChild ();
11584 return 0;
11586 _ACEOF
11587 if ac_fn_c_try_link "$LINENO"; then :
11588 ac_cv_lib_xml2_xmlFirstElementChild=yes
11589 else
11590 ac_cv_lib_xml2_xmlFirstElementChild=no
11592 rm -f core conftest.err conftest.$ac_objext \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_lib_save_LIBS
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11597 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11598 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11600 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11604 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11606 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11608 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11612 else
11613 XML2_CFLAGS=""
11614 XML2_LIBS=""
11616 CPPFLAGS=$ac_save_CPPFLAGS
11617 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11618 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11621 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11622 case "x$with_xml" in
11623 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11624 xno) ;;
11625 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11626 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11627 esac
11631 if test "x$with_xslt" != "xno"
11632 then
11633 if ${XSLT_CFLAGS:+false} :; then :
11634 if ${PKG_CONFIG+:} false; then :
11635 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11638 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11639 if ${XSLT_LIBS:+false} :; then :
11640 if ${PKG_CONFIG+:} false; then :
11641 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11644 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11645 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11646 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11647 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11648 ac_save_CPPFLAGS=$CPPFLAGS
11649 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11650 for ac_header in libxslt/pattern.h libxslt/transform.h
11651 do :
11652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11654 # include <libxslt/pattern.h>
11655 #endif
11657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11658 cat >>confdefs.h <<_ACEOF
11659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11660 _ACEOF
11664 done
11666 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11667 then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11669 $as_echo_n "checking for -lxslt... " >&6; }
11670 if ${ac_cv_lib_soname_xslt+:} false; then :
11671 $as_echo_n "(cached) " >&6
11672 else
11673 ac_check_soname_save_LIBS=$LIBS
11674 LIBS="-lxslt $XSLT_LIBS $LIBS"
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11678 /* Override any GCC internal prototype to avoid an error.
11679 Use char because int might match the return type of a GCC
11680 builtin and then its argument prototype would still apply. */
11681 #ifdef __cplusplus
11682 extern "C"
11683 #endif
11684 char xsltCompilePattern ();
11686 main ()
11688 return xsltCompilePattern ();
11690 return 0;
11692 _ACEOF
11693 if ac_fn_c_try_link "$LINENO"; then :
11694 case "$LIBEXT" in
11695 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11696 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'` ;;
11697 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11698 if ${ac_cv_lib_soname_xslt:+false} :; then :
11699 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11700 fi ;;
11701 esac
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_soname_save_LIBS
11707 if ${ac_cv_lib_soname_xslt:+false} :; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11709 $as_echo "not found" >&6; }
11711 else
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11713 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11715 cat >>confdefs.h <<_ACEOF
11716 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11717 _ACEOF
11721 else
11722 XSLT_CFLAGS=""
11724 CPPFLAGS=$ac_save_CPPFLAGS
11725 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11726 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11729 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11730 case "x$with_xslt" in
11731 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11732 xno) ;;
11733 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11734 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11735 esac
11739 if test "x$with_dbus" != "xno"
11740 then
11741 if ${DBUS_CFLAGS:+false} :; then :
11742 if ${PKG_CONFIG+:} false; then :
11743 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11747 if ${DBUS_LIBS:+false} :; then :
11748 if ${PKG_CONFIG+:} false; then :
11749 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11754 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11755 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11756 ac_save_CPPFLAGS=$CPPFLAGS
11757 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11758 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11759 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11761 $as_echo_n "checking for -ldbus-1... " >&6; }
11762 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11763 $as_echo_n "(cached) " >&6
11764 else
11765 ac_check_soname_save_LIBS=$LIBS
11766 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11773 #ifdef __cplusplus
11774 extern "C"
11775 #endif
11776 char dbus_connection_close ();
11778 main ()
11780 return dbus_connection_close ();
11782 return 0;
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"; then :
11786 case "$LIBEXT" in
11787 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11788 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'` ;;
11789 *) 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'`
11790 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11791 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11792 fi ;;
11793 esac
11795 rm -f core conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11797 LIBS=$ac_check_soname_save_LIBS
11799 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11801 $as_echo "not found" >&6; }
11802 DBUS_CFLAGS=""
11803 else
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11805 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11807 cat >>confdefs.h <<_ACEOF
11808 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11809 _ACEOF
11813 else
11814 DBUS_CFLAGS=""
11818 CPPFLAGS=$ac_save_CPPFLAGS
11819 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11820 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11823 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11824 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11825 case "x$with_dbus" in
11826 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11827 xno) ;;
11828 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11829 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11830 esac
11834 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11835 then
11836 if ${HAL_CFLAGS:+false} :; then :
11837 if ${PKG_CONFIG+:} false; then :
11838 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11842 if ${HAL_LIBS:+false} :; then :
11843 if ${PKG_CONFIG+:} false; then :
11844 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11848 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11849 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11850 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11851 ac_save_CPPFLAGS=$CPPFLAGS
11852 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11853 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11854 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11856 $as_echo_n "checking for -lhal... " >&6; }
11857 if ${ac_cv_lib_soname_hal+:} false; then :
11858 $as_echo_n "(cached) " >&6
11859 else
11860 ac_check_soname_save_LIBS=$LIBS
11861 LIBS="-lhal $HAL_LIBS $LIBS"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11868 #ifdef __cplusplus
11869 extern "C"
11870 #endif
11871 char libhal_ctx_new ();
11873 main ()
11875 return libhal_ctx_new ();
11877 return 0;
11879 _ACEOF
11880 if ac_fn_c_try_link "$LINENO"; then :
11881 case "$LIBEXT" in
11882 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11883 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'` ;;
11884 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11885 if ${ac_cv_lib_soname_hal:+false} :; then :
11886 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11887 fi ;;
11888 esac
11890 rm -f core conftest.err conftest.$ac_objext \
11891 conftest$ac_exeext conftest.$ac_ext
11892 LIBS=$ac_check_soname_save_LIBS
11894 if ${ac_cv_lib_soname_hal:+false} :; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11896 $as_echo "not found" >&6; }
11897 HAL_CFLAGS=""
11898 else
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11900 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11902 cat >>confdefs.h <<_ACEOF
11903 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11904 _ACEOF
11908 else
11909 HAL_CFLAGS=""
11913 CPPFLAGS=$ac_save_CPPFLAGS
11914 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11915 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11917 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11918 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11919 case "x$with_hal" in
11920 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11921 xno) ;;
11922 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11923 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11924 esac
11929 if test "x$with_gnutls" != "xno"
11930 then
11931 if ${GNUTLS_CFLAGS:+false} :; then :
11932 if ${PKG_CONFIG+:} false; then :
11933 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11937 if ${GNUTLS_LIBS:+false} :; then :
11938 if ${PKG_CONFIG+:} false; then :
11939 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11944 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11946 ac_save_CPPFLAGS=$CPPFLAGS
11947 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11948 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11949 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #include <gnutls/gnutls.h>
11953 #include <gnutls/crypto.h>
11955 main ()
11957 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_compile "$LINENO"; then :
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11964 $as_echo_n "checking for -lgnutls... " >&6; }
11965 if ${ac_cv_lib_soname_gnutls+:} false; then :
11966 $as_echo_n "(cached) " >&6
11967 else
11968 ac_check_soname_save_LIBS=$LIBS
11969 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char gnutls_global_init ();
11981 main ()
11983 return gnutls_global_init ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 case "$LIBEXT" in
11990 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11991 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'` ;;
11992 *) 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'`
11993 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11994 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'`
11995 fi ;;
11996 esac
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 LIBS=$ac_check_soname_save_LIBS
12002 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12004 $as_echo "not found" >&6; }
12005 GNUTLS_CFLAGS=""
12006 else
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12008 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12010 cat >>confdefs.h <<_ACEOF
12011 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12012 _ACEOF
12016 ac_wine_check_funcs_save_LIBS="$LIBS"
12017 LIBS="$LIBS $GNUTLS_LIBS"
12018 for ac_func in gnutls_cipher_init
12019 do :
12020 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12021 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12022 cat >>confdefs.h <<_ACEOF
12023 #define HAVE_GNUTLS_CIPHER_INIT 1
12024 _ACEOF
12026 else
12027 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12029 done
12031 LIBS="$ac_wine_check_funcs_save_LIBS"
12033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 else
12035 GNUTLS_CFLAGS=""
12039 CPPFLAGS=$ac_save_CPPFLAGS
12040 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12041 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12044 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12045 case "x$with_gnutls" in
12046 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12047 xno) ;;
12048 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12049 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12050 esac
12054 CURSES_LIBS=""
12055 if test "$ac_cv_header_ncurses_h" = "yes"
12056 then
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12058 $as_echo_n "checking for -lncurses... " >&6; }
12059 if ${ac_cv_lib_soname_ncurses+:} false; then :
12060 $as_echo_n "(cached) " >&6
12061 else
12062 ac_check_soname_save_LIBS=$LIBS
12063 LIBS="-lncurses $LIBS"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char waddch ();
12075 main ()
12077 return waddch ();
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 case "$LIBEXT" in
12084 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12085 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'` ;;
12086 *) 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'`
12087 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12088 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12089 fi ;;
12090 esac
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_soname_save_LIBS
12096 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12098 $as_echo "not found" >&6; }
12100 else
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12102 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12104 cat >>confdefs.h <<_ACEOF
12105 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12106 _ACEOF
12108 CURSES_LIBS="-lncurses"
12110 elif test "$ac_cv_header_curses_h" = "yes"
12111 then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12113 $as_echo_n "checking for -lcurses... " >&6; }
12114 if ${ac_cv_lib_soname_curses+:} false; then :
12115 $as_echo_n "(cached) " >&6
12116 else
12117 ac_check_soname_save_LIBS=$LIBS
12118 LIBS="-lcurses $LIBS"
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12125 #ifdef __cplusplus
12126 extern "C"
12127 #endif
12128 char waddch ();
12130 main ()
12132 return waddch ();
12134 return 0;
12136 _ACEOF
12137 if ac_fn_c_try_link "$LINENO"; then :
12138 case "$LIBEXT" in
12139 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12140 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'` ;;
12141 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12142 if ${ac_cv_lib_soname_curses:+false} :; then :
12143 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12144 fi ;;
12145 esac
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_soname_save_LIBS
12151 if ${ac_cv_lib_soname_curses:+false} :; then :
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12153 $as_echo "not found" >&6; }
12155 else
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12157 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12159 cat >>confdefs.h <<_ACEOF
12160 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12161 _ACEOF
12163 CURSES_LIBS="-lcurses"
12166 ac_save_LIBS="$LIBS"
12167 LIBS="$LIBS $CURSES_LIBS"
12168 for ac_func in mousemask
12169 do :
12170 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12171 if test "x$ac_cv_func_mousemask" = xyes; then :
12172 cat >>confdefs.h <<_ACEOF
12173 #define HAVE_MOUSEMASK 1
12174 _ACEOF
12177 done
12179 LIBS="$ac_save_LIBS"
12180 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12181 case "x$with_curses" in
12182 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12183 xno) ;;
12184 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12185 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12186 esac
12190 if test "x$with_sane" != "xno"
12191 then
12192 if ${SANE_CFLAGS:+false} :; then :
12193 if ${PKG_CONFIG+:} false; then :
12194 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12197 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12198 if ${SANE_LIBS:+false} :; then :
12199 if ${PKG_CONFIG+:} false; then :
12200 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12203 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12205 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12206 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12207 ac_save_CPPFLAGS=$CPPFLAGS
12208 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12209 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12210 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12212 $as_echo_n "checking for -lsane... " >&6; }
12213 if ${ac_cv_lib_soname_sane+:} false; then :
12214 $as_echo_n "(cached) " >&6
12215 else
12216 ac_check_soname_save_LIBS=$LIBS
12217 LIBS="-lsane $SANE_LIBS $LIBS"
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char sane_init ();
12229 main ()
12231 return sane_init ();
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"; then :
12237 case "$LIBEXT" in
12238 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12239 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'` ;;
12240 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12241 if ${ac_cv_lib_soname_sane:+false} :; then :
12242 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12243 fi ;;
12244 esac
12246 rm -f core conftest.err conftest.$ac_objext \
12247 conftest$ac_exeext conftest.$ac_ext
12248 LIBS=$ac_check_soname_save_LIBS
12250 if ${ac_cv_lib_soname_sane:+false} :; then :
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12252 $as_echo "not found" >&6; }
12253 SANE_CFLAGS=""
12254 else
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12256 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12258 cat >>confdefs.h <<_ACEOF
12259 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12260 _ACEOF
12264 else
12265 SANE_CFLAGS=""
12269 CPPFLAGS=$ac_save_CPPFLAGS
12270 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12271 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12274 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12275 case "x$with_sane" in
12276 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12277 xno) ;;
12278 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12279 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12280 esac
12284 if test "x$with_v4l" != "xno"
12285 then
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12287 $as_echo_n "checking for -lv4l1... " >&6; }
12288 if ${ac_cv_lib_soname_v4l1+:} false; then :
12289 $as_echo_n "(cached) " >&6
12290 else
12291 ac_check_soname_save_LIBS=$LIBS
12292 LIBS="-lv4l1 $LIBS"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12299 #ifdef __cplusplus
12300 extern "C"
12301 #endif
12302 char v4l1_open ();
12304 main ()
12306 return v4l1_open ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"; then :
12312 case "$LIBEXT" in
12313 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12314 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'` ;;
12315 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12316 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12317 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12318 fi ;;
12319 esac
12321 rm -f core conftest.err conftest.$ac_objext \
12322 conftest$ac_exeext conftest.$ac_ext
12323 LIBS=$ac_check_soname_save_LIBS
12325 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12327 $as_echo "not found" >&6; }
12329 else
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12331 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12333 cat >>confdefs.h <<_ACEOF
12334 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12335 _ACEOF
12340 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12341 case "x$with_v4l" in
12342 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12343 xno) ;;
12344 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12345 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12346 esac
12350 if test "x$with_gphoto" != "xno"
12351 then
12352 if ${GPHOTO2_CFLAGS:+false} :; then :
12353 if ${PKG_CONFIG+:} false; then :
12354 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12357 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12358 if ${GPHOTO2_LIBS:+false} :; then :
12359 if ${PKG_CONFIG+:} false; then :
12360 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12363 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12364 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12365 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12366 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12367 ac_save_CPPFLAGS=$CPPFLAGS
12368 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12369 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12370 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12372 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12373 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12374 $as_echo_n "(cached) " >&6
12375 else
12376 ac_check_lib_save_LIBS=$LIBS
12377 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12381 /* Override any GCC internal prototype to avoid an error.
12382 Use char because int might match the return type of a GCC
12383 builtin and then its argument prototype would still apply. */
12384 #ifdef __cplusplus
12385 extern "C"
12386 #endif
12387 char gp_camera_new ();
12389 main ()
12391 return gp_camera_new ();
12393 return 0;
12395 _ACEOF
12396 if ac_fn_c_try_link "$LINENO"; then :
12397 ac_cv_lib_gphoto2_gp_camera_new=yes
12398 else
12399 ac_cv_lib_gphoto2_gp_camera_new=no
12401 rm -f core conftest.err conftest.$ac_objext \
12402 conftest$ac_exeext conftest.$ac_ext
12403 LIBS=$ac_check_lib_save_LIBS
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12406 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12407 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12409 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12411 else
12412 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12415 else
12416 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12420 CPPFLAGS=$ac_save_CPPFLAGS
12421 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12422 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12424 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12425 if ${PKG_CONFIG+:} false; then :
12426 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12429 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12430 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12431 if ${PKG_CONFIG+:} false; then :
12432 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12435 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12436 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12437 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12438 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12439 ac_save_CPPFLAGS=$CPPFLAGS
12440 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12441 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12442 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12444 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12445 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12446 $as_echo_n "(cached) " >&6
12447 else
12448 ac_check_lib_save_LIBS=$LIBS
12449 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12456 #ifdef __cplusplus
12457 extern "C"
12458 #endif
12459 char gp_port_info_list_new ();
12461 main ()
12463 return gp_port_info_list_new ();
12465 return 0;
12467 _ACEOF
12468 if ac_fn_c_try_link "$LINENO"; then :
12469 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12470 else
12471 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_lib_save_LIBS
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12478 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12479 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12481 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12483 else
12484 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12487 else
12488 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12492 CPPFLAGS=$ac_save_CPPFLAGS
12493 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12494 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12497 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12498 case "x$with_gphoto" in
12499 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12500 xno) ;;
12501 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12502 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12503 esac
12506 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12507 case "x$with_gphoto" in
12508 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12509 xno) ;;
12510 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12511 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12512 esac
12517 if test "$ac_cv_header_resolv_h" = "yes"
12518 then
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12520 $as_echo_n "checking for resolver library... " >&6; }
12521 if ${ac_cv_have_resolv+:} false; then :
12522 $as_echo_n "(cached) " >&6
12523 else
12524 ac_save_LIBS="$LIBS"
12525 for lib in '' -lresolv
12527 LIBS="$lib $ac_save_LIBS"
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12530 #ifdef HAVE_NETINET_IN_H
12531 #include <netinet/in.h>
12532 #endif
12533 #include <resolv.h>
12535 main ()
12537 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 ac_cv_have_resolv=${lib:-"none required"}
12544 else
12545 ac_cv_have_resolv="not found"
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 test "x$ac_cv_have_resolv" = "xnot found" || break
12550 done
12551 LIBS="$ac_save_LIBS"
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12554 $as_echo "$ac_cv_have_resolv" >&6; }
12556 case "$ac_cv_have_resolv" in
12557 "not found") ;;
12558 "none required")
12560 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12563 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12565 RESOLV_LIBS=$ac_cv_have_resolv
12567 esac
12570 if test "x$with_cms" != "xno"
12571 then
12572 if ${LCMS2_CFLAGS:+false} :; then :
12573 if ${PKG_CONFIG+:} false; then :
12574 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12578 if ${LCMS2_LIBS:+false} :; then :
12579 if ${PKG_CONFIG+:} false; then :
12580 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12584 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12585 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12586 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12587 ac_save_CPPFLAGS=$CPPFLAGS
12588 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12589 for ac_header in lcms2.h
12590 do :
12591 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12592 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12593 cat >>confdefs.h <<_ACEOF
12594 #define HAVE_LCMS2_H 1
12595 _ACEOF
12599 done
12601 if test "$ac_cv_header_lcms2_h" = "yes"
12602 then
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12604 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12605 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12606 $as_echo_n "(cached) " >&6
12607 else
12608 ac_check_lib_save_LIBS=$LIBS
12609 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12616 #ifdef __cplusplus
12617 extern "C"
12618 #endif
12619 char cmsOpenProfileFromFile ();
12621 main ()
12623 return cmsOpenProfileFromFile ();
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12630 else
12631 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12633 rm -f core conftest.err conftest.$ac_objext \
12634 conftest$ac_exeext conftest.$ac_ext
12635 LIBS=$ac_check_lib_save_LIBS
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12638 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12639 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12641 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12643 else
12644 LCMS2_LIBS=""
12647 else
12648 LCMS2_CFLAGS=""
12649 LCMS2_LIBS=""
12651 CPPFLAGS=$ac_save_CPPFLAGS
12652 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12653 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12656 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12657 case "x$with_cms" in
12658 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12659 xno) ;;
12660 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12661 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12662 esac
12666 if test "x$with_freetype" != "xno"
12667 then
12668 if ${FREETYPE_CFLAGS:+false} :; then :
12669 if ${PKG_CONFIG+:} false; then :
12670 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12673 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12674 if ${FREETYPE_LIBS:+false} :; then :
12675 if ${PKG_CONFIG+:} false; then :
12676 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12679 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12680 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12681 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12682 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12683 ac_save_CPPFLAGS=$CPPFLAGS
12684 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12685 for ac_header in ft2build.h
12686 do :
12687 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12688 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12689 cat >>confdefs.h <<_ACEOF
12690 #define HAVE_FT2BUILD_H 1
12691 _ACEOF
12695 done
12697 if test "$ac_cv_header_ft2build_h" = "yes"
12698 then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12700 $as_echo_n "checking for -lfreetype... " >&6; }
12701 if ${ac_cv_lib_soname_freetype+:} false; then :
12702 $as_echo_n "(cached) " >&6
12703 else
12704 ac_check_soname_save_LIBS=$LIBS
12705 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 char FT_Init_FreeType ();
12717 main ()
12719 return FT_Init_FreeType ();
12721 return 0;
12723 _ACEOF
12724 if ac_fn_c_try_link "$LINENO"; then :
12725 case "$LIBEXT" in
12726 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12727 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'` ;;
12728 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12729 if ${ac_cv_lib_soname_freetype:+false} :; then :
12730 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12731 fi ;;
12732 esac
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12736 LIBS=$ac_check_soname_save_LIBS
12738 if ${ac_cv_lib_soname_freetype:+false} :; then :
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12740 $as_echo "not found" >&6; }
12741 FREETYPE_LIBS=""
12742 else
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12744 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12746 cat >>confdefs.h <<_ACEOF
12747 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12748 _ACEOF
12751 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12753 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12754 #include FT_MODULE_H
12756 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12758 cat >>confdefs.h <<_ACEOF
12759 #define HAVE_FT_TRUETYPEENGINETYPE 1
12760 _ACEOF
12766 else
12767 FREETYPE_CFLAGS=""
12768 FREETYPE_LIBS=""
12770 CPPFLAGS=$ac_save_CPPFLAGS
12771 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12772 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12775 if test "x$ac_cv_lib_soname_freetype" = x; then :
12776 case "x$with_freetype" in
12777 xno) ;;
12778 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12779 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12780 esac
12781 enable_fonts=${enable_fonts:-no}
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12785 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12786 if ${ac_cv_c_ppdev+:} false; then :
12787 $as_echo_n "(cached) " >&6
12788 else
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12791 #ifdef HAVE_SYS_IOCTL_H
12792 # include <sys/ioctl.h>
12793 #endif
12794 #include <linux/ppdev.h>
12796 main ()
12798 ioctl (1,PPCLAIM,0)
12800 return 0;
12802 _ACEOF
12803 if ac_fn_c_try_compile "$LINENO"; then :
12804 ac_cv_c_ppdev="yes"
12805 else
12806 ac_cv_c_ppdev="no"
12808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12811 $as_echo "$ac_cv_c_ppdev" >&6; }
12812 if test "$ac_cv_c_ppdev" = "yes"
12813 then
12815 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12819 ac_wine_check_funcs_save_LIBS="$LIBS"
12820 LIBS="$LIBS $PTHREAD_LIBS"
12821 for ac_func in \
12822 pthread_attr_get_np \
12823 pthread_getattr_np \
12824 pthread_getthreadid_np \
12825 pthread_get_stackaddr_np \
12826 pthread_get_stacksize_np
12827 do :
12828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12830 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12831 cat >>confdefs.h <<_ACEOF
12832 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12833 _ACEOF
12836 done
12838 LIBS="$ac_wine_check_funcs_save_LIBS"
12840 if test "$ac_cv_header_zlib_h" = "yes"
12841 then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12843 $as_echo_n "checking for inflate in -lz... " >&6; }
12844 if ${ac_cv_lib_z_inflate+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lz $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char inflate ();
12860 main ()
12862 return inflate ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_z_inflate=yes
12869 else
12870 ac_cv_lib_z_inflate=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12877 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12878 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12880 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12882 Z_LIBS="-lz"
12887 if test "x$Z_LIBS" = "x"; then :
12888 case "x$with_zlib" in
12889 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12890 xno) ;;
12891 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12892 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12893 esac
12897 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12898 then
12899 if test "$ac_cv_header_gettext_po_h" = "yes"
12900 then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12902 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12903 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12904 $as_echo_n "(cached) " >&6
12905 else
12906 ac_check_lib_save_LIBS=$LIBS
12907 LIBS="-lgettextpo $LIBS"
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12911 /* Override any GCC internal prototype to avoid an error.
12912 Use char because int might match the return type of a GCC
12913 builtin and then its argument prototype would still apply. */
12914 #ifdef __cplusplus
12915 extern "C"
12916 #endif
12917 char po_message_msgctxt ();
12919 main ()
12921 return po_message_msgctxt ();
12923 return 0;
12925 _ACEOF
12926 if ac_fn_c_try_link "$LINENO"; then :
12927 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12928 else
12929 ac_cv_lib_gettextpo_po_message_msgctxt=no
12931 rm -f core conftest.err conftest.$ac_objext \
12932 conftest$ac_exeext conftest.$ac_ext
12933 LIBS=$ac_check_lib_save_LIBS
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12936 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12937 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12939 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12941 GETTEXTPO_LIBS="-lgettextpo"
12946 if test "x$GETTEXTPO_LIBS" = "x"; then :
12947 case "x$with_gettextpo" in
12948 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12949 xno) ;;
12950 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12951 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12952 esac
12955 if test "$srcdir" != .; then :
12956 case "x$with_gettextpo" in
12957 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12958 xno) ;;
12959 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12960 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12961 esac
12966 if test "x$with_pulse" != "xno";
12967 then
12968 if ${PULSE_CFLAGS:+false} :; then :
12969 if ${PKG_CONFIG+:} false; then :
12970 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12974 if ${PULSE_LIBS:+false} :; then :
12975 if ${PKG_CONFIG+:} false; then :
12976 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12981 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12982 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12983 ac_save_CPPFLAGS=$CPPFLAGS
12984 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12985 for ac_header in pulse/pulseaudio.h
12986 do :
12987 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12988 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12989 cat >>confdefs.h <<_ACEOF
12990 #define HAVE_PULSE_PULSEAUDIO_H 1
12991 _ACEOF
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12993 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12994 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12995 $as_echo_n "(cached) " >&6
12996 else
12997 ac_check_lib_save_LIBS=$LIBS
12998 LIBS="-lpulse $PULSE_LIBS $LIBS"
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13002 /* Override any GCC internal prototype to avoid an error.
13003 Use char because int might match the return type of a GCC
13004 builtin and then its argument prototype would still apply. */
13005 #ifdef __cplusplus
13006 extern "C"
13007 #endif
13008 char pa_stream_is_corked ();
13010 main ()
13012 return pa_stream_is_corked ();
13014 return 0;
13016 _ACEOF
13017 if ac_fn_c_try_link "$LINENO"; then :
13018 ac_cv_lib_pulse_pa_stream_is_corked=yes
13019 else
13020 ac_cv_lib_pulse_pa_stream_is_corked=no
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13024 LIBS=$ac_check_lib_save_LIBS
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13027 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13028 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13030 else
13031 PULSE_LIBS=""
13034 else
13035 PULSE_LIBS=""
13038 done
13040 CPPFLAGS=$ac_save_CPPFLAGS
13041 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13042 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13045 if test -z "$PULSE_LIBS"; then :
13046 case "x$with_pulse" in
13047 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13048 xno) ;;
13049 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13050 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13051 esac
13052 enable_winepulse_drv=${enable_winepulse_drv:-no}
13055 if test "x$with_gstreamer" != "xno"
13056 then
13057 if ${GSTREAMER_CFLAGS:+false} :; then :
13058 if ${PKG_CONFIG+:} false; then :
13059 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13063 if ${GSTREAMER_LIBS:+false} :; then :
13064 if ${PKG_CONFIG+:} false; then :
13065 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13070 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13071 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13072 ac_save_CPPFLAGS=$CPPFLAGS
13073 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13074 ac_gst_incl=""
13075 for i in $GSTREAMER_CFLAGS
13077 case "$i" in
13078 -I*) ac_gst_incl="$ac_gst_incl $i";;
13079 esac
13080 done
13081 GSTREAMER_CFLAGS=$ac_gst_incl
13082 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13083 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13084 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13086 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13089 #include <gst/gst.h>
13091 main ()
13093 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13095 return 0;
13097 _ACEOF
13098 if ac_fn_c_try_compile "$LINENO"; then :
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13100 $as_echo "yes" >&6; }
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13102 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13103 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char gst_pad_new ();
13119 main ()
13121 return gst_pad_new ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13128 else
13129 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_lib_save_LIBS
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13136 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13137 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13141 else
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143 $as_echo "no" >&6; }
13144 ac_glib2_broken=yes
13145 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13151 CPPFLAGS=$ac_save_CPPFLAGS
13152 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13153 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13156 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 :
13157 case "x$with_gstreamer" in
13158 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13159 xno) ;;
13160 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13161 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13162 esac
13165 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13167 ALSA_LIBS=""
13169 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13170 then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13172 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13173 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13174 $as_echo_n "(cached) " >&6
13175 else
13176 ac_check_lib_save_LIBS=$LIBS
13177 LIBS="-lasound $LIBS"
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13184 #ifdef __cplusplus
13185 extern "C"
13186 #endif
13187 char snd_pcm_hw_params_get_access_mask ();
13189 main ()
13191 return snd_pcm_hw_params_get_access_mask ();
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_link "$LINENO"; then :
13197 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13198 else
13199 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13201 rm -f core conftest.err conftest.$ac_objext \
13202 conftest$ac_exeext conftest.$ac_ext
13203 LIBS=$ac_check_lib_save_LIBS
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13206 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13207 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13210 #ifdef HAVE_ALSA_ASOUNDLIB_H
13211 #include <alsa/asoundlib.h>
13212 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13213 #include <sys/asoundlib.h>
13214 #endif
13216 main ()
13218 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13220 return 0;
13222 _ACEOF
13223 if ac_fn_c_try_compile "$LINENO"; then :
13224 ALSA_LIBS="-lasound"
13226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13230 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13232 if test "x$with_oss" != xno
13233 then
13234 ac_save_CPPFLAGS="$CPPFLAGS"
13235 if test -f /etc/oss.conf
13236 then
13237 . /etc/oss.conf
13239 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13240 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13241 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13243 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13245 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13247 cat >>confdefs.h <<_ACEOF
13248 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13249 _ACEOF
13251 OSS4_CFLAGS="$ac_oss_incl"
13258 CPPFLAGS="$ac_save_CPPFLAGS"
13260 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13261 case "x$with_oss" in
13262 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13263 xno) ;;
13264 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13265 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13266 esac
13267 enable_wineoss_drv=${enable_wineoss_drv:-no}
13270 if test "x$with_udev" != "xno"
13271 then
13272 if ${UDEV_CFLAGS:+false} :; then :
13273 if ${PKG_CONFIG+:} false; then :
13274 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13278 if ${UDEV_LIBS:+false} :; then :
13279 if ${PKG_CONFIG+:} false; then :
13280 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13284 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13285 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13286 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13287 ac_save_CPPFLAGS=$CPPFLAGS
13288 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13289 for ac_header in libudev.h
13290 do :
13291 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13292 if test "x$ac_cv_header_libudev_h" = xyes; then :
13293 cat >>confdefs.h <<_ACEOF
13294 #define HAVE_LIBUDEV_H 1
13295 _ACEOF
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13297 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13298 if ${ac_cv_lib_udev_udev_new+:} false; then :
13299 $as_echo_n "(cached) " >&6
13300 else
13301 ac_check_lib_save_LIBS=$LIBS
13302 LIBS="-ludev $UDEV_LIBS $LIBS"
13303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13304 /* end confdefs.h. */
13306 /* Override any GCC internal prototype to avoid an error.
13307 Use char because int might match the return type of a GCC
13308 builtin and then its argument prototype would still apply. */
13309 #ifdef __cplusplus
13310 extern "C"
13311 #endif
13312 char udev_new ();
13314 main ()
13316 return udev_new ();
13318 return 0;
13320 _ACEOF
13321 if ac_fn_c_try_link "$LINENO"; then :
13322 ac_cv_lib_udev_udev_new=yes
13323 else
13324 ac_cv_lib_udev_udev_new=no
13326 rm -f core conftest.err conftest.$ac_objext \
13327 conftest$ac_exeext conftest.$ac_ext
13328 LIBS=$ac_check_lib_save_LIBS
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13331 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13332 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13334 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13336 else
13337 UDEV_LIBS=""
13340 else
13341 UDEV_LIBS=""
13344 done
13346 CPPFLAGS=$ac_save_CPPFLAGS
13347 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13348 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13351 if test "x$UDEV_LIBS" = "x"; then :
13352 case "x$with_udev" in
13353 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13354 xno) ;;
13355 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13356 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13357 esac
13361 if test "x$with_capi" != "xno"
13362 then
13363 if ${CAPI20_CFLAGS:+false} :; then :
13364 if ${PKG_CONFIG+:} false; then :
13365 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13369 if ${CAPI20_LIBS:+false} :; then :
13370 if ${PKG_CONFIG+:} false; then :
13371 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13376 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13378 ac_save_CPPFLAGS=$CPPFLAGS
13379 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13380 for ac_header in capi20.h linux/capi.h
13381 do :
13382 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13383 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13385 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13386 cat >>confdefs.h <<_ACEOF
13387 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13388 _ACEOF
13392 done
13394 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13395 then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13397 $as_echo_n "checking for -lcapi20... " >&6; }
13398 if ${ac_cv_lib_soname_capi20+:} false; then :
13399 $as_echo_n "(cached) " >&6
13400 else
13401 ac_check_soname_save_LIBS=$LIBS
13402 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13406 /* Override any GCC internal prototype to avoid an error.
13407 Use char because int might match the return type of a GCC
13408 builtin and then its argument prototype would still apply. */
13409 #ifdef __cplusplus
13410 extern "C"
13411 #endif
13412 char capi20_register ();
13414 main ()
13416 return capi20_register ();
13418 return 0;
13420 _ACEOF
13421 if ac_fn_c_try_link "$LINENO"; then :
13422 case "$LIBEXT" in
13423 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13424 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'` ;;
13425 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13426 if ${ac_cv_lib_soname_capi20:+false} :; then :
13427 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13428 fi ;;
13429 esac
13431 rm -f core conftest.err conftest.$ac_objext \
13432 conftest$ac_exeext conftest.$ac_ext
13433 LIBS=$ac_check_soname_save_LIBS
13435 if ${ac_cv_lib_soname_capi20:+false} :; then :
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13437 $as_echo "not found" >&6; }
13439 else
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13441 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13443 cat >>confdefs.h <<_ACEOF
13444 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13445 _ACEOF
13450 CPPFLAGS=$ac_save_CPPFLAGS
13451 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13452 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13455 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13456 case "x$with_capi" in
13457 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13458 xno) ;;
13459 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13460 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13461 esac
13465 if test "x$with_cups" != "xno"
13466 then
13467 if ${CUPS_CFLAGS:+false} :; then :
13468 if ${PKG_CONFIG+:} false; then :
13469 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13472 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13473 if ${CUPS_LIBS:+false} :; then :
13474 if ${PKG_CONFIG+:} false; then :
13475 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13478 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13479 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13480 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13481 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13482 ac_save_CPPFLAGS=$CPPFLAGS
13483 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13484 for ac_header in cups/cups.h cups/ppd.h
13485 do :
13486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13487 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13489 cat >>confdefs.h <<_ACEOF
13490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13491 _ACEOF
13495 done
13497 if test "$ac_cv_header_cups_cups_h" = "yes"
13498 then
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13500 $as_echo_n "checking for -lcups... " >&6; }
13501 if ${ac_cv_lib_soname_cups+:} false; then :
13502 $as_echo_n "(cached) " >&6
13503 else
13504 ac_check_soname_save_LIBS=$LIBS
13505 LIBS="-lcups $CUPS_LIBS $LIBS"
13506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507 /* end confdefs.h. */
13509 /* Override any GCC internal prototype to avoid an error.
13510 Use char because int might match the return type of a GCC
13511 builtin and then its argument prototype would still apply. */
13512 #ifdef __cplusplus
13513 extern "C"
13514 #endif
13515 char cupsGetDefault ();
13517 main ()
13519 return cupsGetDefault ();
13521 return 0;
13523 _ACEOF
13524 if ac_fn_c_try_link "$LINENO"; then :
13525 case "$LIBEXT" in
13526 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13527 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'` ;;
13528 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13529 if ${ac_cv_lib_soname_cups:+false} :; then :
13530 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13531 fi ;;
13532 esac
13534 rm -f core conftest.err conftest.$ac_objext \
13535 conftest$ac_exeext conftest.$ac_ext
13536 LIBS=$ac_check_soname_save_LIBS
13538 if ${ac_cv_lib_soname_cups:+false} :; then :
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13540 $as_echo "not found" >&6; }
13541 CUPS_LIBS=""
13542 else
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13544 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13546 cat >>confdefs.h <<_ACEOF
13547 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13548 _ACEOF
13552 else
13553 CUPS_CFLAGS=""
13554 CUPS_LIBS=""
13556 CPPFLAGS=$ac_save_CPPFLAGS
13557 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13558 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13561 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13562 case "x$with_cups" in
13563 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13564 xno) ;;
13565 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13566 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13567 esac
13571 if test "x$with_fontconfig" != "xno"
13572 then
13573 if ${FONTCONFIG_CFLAGS:+false} :; then :
13574 if ${PKG_CONFIG+:} false; then :
13575 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13578 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13579 if ${FONTCONFIG_LIBS:+false} :; then :
13580 if ${PKG_CONFIG+:} false; then :
13581 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13584 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13586 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13587 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13588 ac_save_CPPFLAGS=$CPPFLAGS
13589 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13590 for ac_header in fontconfig/fontconfig.h
13591 do :
13592 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13593 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13594 cat >>confdefs.h <<_ACEOF
13595 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13596 _ACEOF
13600 done
13602 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13603 then
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13605 $as_echo_n "checking for -lfontconfig... " >&6; }
13606 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13607 $as_echo_n "(cached) " >&6
13608 else
13609 ac_check_soname_save_LIBS=$LIBS
13610 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13614 /* Override any GCC internal prototype to avoid an error.
13615 Use char because int might match the return type of a GCC
13616 builtin and then its argument prototype would still apply. */
13617 #ifdef __cplusplus
13618 extern "C"
13619 #endif
13620 char FcInit ();
13622 main ()
13624 return FcInit ();
13626 return 0;
13628 _ACEOF
13629 if ac_fn_c_try_link "$LINENO"; then :
13630 case "$LIBEXT" in
13631 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13632 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'` ;;
13633 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13634 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13635 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13636 fi ;;
13637 esac
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 LIBS=$ac_check_soname_save_LIBS
13643 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13645 $as_echo "not found" >&6; }
13646 FONTCONFIG_CFLAGS=""
13647 else
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13649 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13651 cat >>confdefs.h <<_ACEOF
13652 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13653 _ACEOF
13657 else
13658 FONTCONFIG_CFLAGS=""
13660 CPPFLAGS=$ac_save_CPPFLAGS
13661 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13662 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13665 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13666 case "x$with_fontconfig" in
13667 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13668 xno) ;;
13669 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13670 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13671 esac
13675 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13676 then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13678 $as_echo_n "checking for -lgsm... " >&6; }
13679 if ${ac_cv_lib_soname_gsm+:} false; then :
13680 $as_echo_n "(cached) " >&6
13681 else
13682 ac_check_soname_save_LIBS=$LIBS
13683 LIBS="-lgsm $LIBS"
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 /* Override any GCC internal prototype to avoid an error.
13688 Use char because int might match the return type of a GCC
13689 builtin and then its argument prototype would still apply. */
13690 #ifdef __cplusplus
13691 extern "C"
13692 #endif
13693 char gsm_create ();
13695 main ()
13697 return gsm_create ();
13699 return 0;
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 case "$LIBEXT" in
13704 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13705 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'` ;;
13706 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13707 if ${ac_cv_lib_soname_gsm:+false} :; then :
13708 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13709 fi ;;
13710 esac
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_soname_save_LIBS
13716 if ${ac_cv_lib_soname_gsm:+false} :; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13718 $as_echo "not found" >&6; }
13720 else
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13722 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13724 cat >>confdefs.h <<_ACEOF
13725 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13726 _ACEOF
13731 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13732 case "x$with_gsm" in
13733 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13734 xno) ;;
13735 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13736 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13737 esac
13741 if test "x$with_krb5" != "xno"
13742 then
13743 if ${KRB5_CFLAGS:+false} :; then :
13744 if ${PKG_CONFIG+:} false; then :
13745 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13748 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13749 if ${KRB5_LIBS:+false} :; then :
13750 if ${PKG_CONFIG+:} false; then :
13751 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13754 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13756 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13757 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13758 ac_save_CPPFLAGS=$CPPFLAGS
13759 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13760 for ac_header in krb5/krb5.h
13761 do :
13762 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13763 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13764 cat >>confdefs.h <<_ACEOF
13765 #define HAVE_KRB5_KRB5_H 1
13766 _ACEOF
13770 done
13772 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13773 then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13775 $as_echo_n "checking for -lkrb5... " >&6; }
13776 if ${ac_cv_lib_soname_krb5+:} false; then :
13777 $as_echo_n "(cached) " >&6
13778 else
13779 ac_check_soname_save_LIBS=$LIBS
13780 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13787 #ifdef __cplusplus
13788 extern "C"
13789 #endif
13790 char krb5_init_context ();
13792 main ()
13794 return krb5_init_context ();
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 case "$LIBEXT" in
13801 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13802 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13803 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13804 if ${ac_cv_lib_soname_krb5:+false} :; then :
13805 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13806 fi ;;
13807 esac
13809 rm -f core conftest.err conftest.$ac_objext \
13810 conftest$ac_exeext conftest.$ac_ext
13811 LIBS=$ac_check_soname_save_LIBS
13813 if ${ac_cv_lib_soname_krb5:+false} :; then :
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13815 $as_echo "not found" >&6; }
13816 KRB5_CFLAGS=""
13817 else
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13819 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13821 cat >>confdefs.h <<_ACEOF
13822 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13823 _ACEOF
13827 else
13828 KRB5_CFLAGS=""
13830 CPPFLAGS=$ac_save_CPPFLAGS
13831 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13832 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13835 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13836 case "x$with_krb5" in
13837 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13838 xno) ;;
13839 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13840 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13841 esac
13845 if test "x$with_jpeg" != "xno"
13846 then
13847 if ${JPEG_CFLAGS:+false} :; then :
13848 if ${PKG_CONFIG+:} false; then :
13849 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13853 if ${JPEG_LIBS:+false} :; then :
13854 if ${PKG_CONFIG+:} false; then :
13855 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13861 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13862 ac_save_CPPFLAGS=$CPPFLAGS
13863 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13864 for ac_header in jpeglib.h
13865 do :
13866 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13867 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13868 cat >>confdefs.h <<_ACEOF
13869 #define HAVE_JPEGLIB_H 1
13870 _ACEOF
13874 done
13876 if test "$ac_cv_header_jpeglib_h" = "yes"
13877 then
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13879 $as_echo_n "checking for -ljpeg... " >&6; }
13880 if ${ac_cv_lib_soname_jpeg+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_check_soname_save_LIBS=$LIBS
13884 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 char jpeg_start_decompress ();
13896 main ()
13898 return jpeg_start_decompress ();
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 case "$LIBEXT" in
13905 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13906 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'` ;;
13907 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13908 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13909 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13910 fi ;;
13911 esac
13913 rm -f core conftest.err conftest.$ac_objext \
13914 conftest$ac_exeext conftest.$ac_ext
13915 LIBS=$ac_check_soname_save_LIBS
13917 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13919 $as_echo "not found" >&6; }
13920 JPEG_CFLAGS=""
13921 else
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13923 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13927 _ACEOF
13931 else
13932 JPEG_CFLAGS=""
13934 CPPFLAGS=$ac_save_CPPFLAGS
13935 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13936 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13939 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13940 case "x$with_jpeg" in
13941 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13942 xno) ;;
13943 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13944 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13945 esac
13949 if test "x$with_png" != "xno"
13950 then
13951 if ${PNG_CFLAGS:+false} :; then :
13952 if ${PKG_CONFIG+:} false; then :
13953 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13956 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13957 if ${PNG_LIBS:+false} :; then :
13958 if ${PKG_CONFIG+:} false; then :
13959 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13962 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13964 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13965 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13966 ac_save_CPPFLAGS=$CPPFLAGS
13967 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13968 for ac_header in png.h
13969 do :
13970 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13971 if test "x$ac_cv_header_png_h" = xyes; then :
13972 cat >>confdefs.h <<_ACEOF
13973 #define HAVE_PNG_H 1
13974 _ACEOF
13978 done
13980 if test "$ac_cv_header_png_h" = "yes"
13981 then
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13983 $as_echo_n "checking for -lpng... " >&6; }
13984 if ${ac_cv_lib_soname_png+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 ac_check_soname_save_LIBS=$LIBS
13988 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 char png_create_read_struct ();
14000 main ()
14002 return png_create_read_struct ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 case "$LIBEXT" in
14009 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14010 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'` ;;
14011 *) 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'`
14012 if ${ac_cv_lib_soname_png:+false} :; then :
14013 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14014 fi ;;
14015 esac
14017 rm -f core conftest.err conftest.$ac_objext \
14018 conftest$ac_exeext conftest.$ac_ext
14019 LIBS=$ac_check_soname_save_LIBS
14021 if ${ac_cv_lib_soname_png:+false} :; then :
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14023 $as_echo "not found" >&6; }
14024 PNG_CFLAGS=""
14025 else
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14027 $as_echo "$ac_cv_lib_soname_png" >&6; }
14029 cat >>confdefs.h <<_ACEOF
14030 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14031 _ACEOF
14035 else
14036 PNG_CFLAGS=""
14038 CPPFLAGS=$ac_save_CPPFLAGS
14039 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14040 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14043 if test "x$ac_cv_lib_soname_png" = "x"; then :
14044 case "x$with_png" in
14045 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14046 xno) ;;
14047 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14048 This is an error since --with-png was requested." "$LINENO" 5 ;;
14049 esac
14053 if test "x$with_tiff" != "xno"
14054 then
14055 if ${TIFF_CFLAGS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14061 if ${TIFF_LIBS:+false} :; then :
14062 if ${PKG_CONFIG+:} false; then :
14063 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14069 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14070 ac_save_CPPFLAGS=$CPPFLAGS
14071 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14072 for ac_header in tiffio.h
14073 do :
14074 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14075 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14076 cat >>confdefs.h <<_ACEOF
14077 #define HAVE_TIFFIO_H 1
14078 _ACEOF
14082 done
14084 if test "$ac_cv_header_tiffio_h" = "yes"
14085 then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14087 $as_echo_n "checking for -ltiff... " >&6; }
14088 if ${ac_cv_lib_soname_tiff+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 ac_check_soname_save_LIBS=$LIBS
14092 LIBS="-ltiff $TIFF_LIBS $LIBS"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14096 /* Override any GCC internal prototype to avoid an error.
14097 Use char because int might match the return type of a GCC
14098 builtin and then its argument prototype would still apply. */
14099 #ifdef __cplusplus
14100 extern "C"
14101 #endif
14102 char TIFFClientOpen ();
14104 main ()
14106 return TIFFClientOpen ();
14108 return 0;
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"; then :
14112 case "$LIBEXT" in
14113 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14114 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'` ;;
14115 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14116 if ${ac_cv_lib_soname_tiff:+false} :; then :
14117 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14118 fi ;;
14119 esac
14121 rm -f core conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 LIBS=$ac_check_soname_save_LIBS
14125 if ${ac_cv_lib_soname_tiff:+false} :; then :
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14127 $as_echo "not found" >&6; }
14129 else
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14131 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14133 cat >>confdefs.h <<_ACEOF
14134 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14135 _ACEOF
14140 CPPFLAGS=$ac_save_CPPFLAGS
14141 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14142 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14145 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14146 case "x$with_tiff" in
14147 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14148 xno) ;;
14149 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14150 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14151 esac
14155 if test "x$with_mpg123" != "xno"
14156 then
14157 if ${MPG123_CFLAGS:+false} :; then :
14158 if ${PKG_CONFIG+:} false; then :
14159 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14163 if ${MPG123_LIBS:+false} :; then :
14164 if ${PKG_CONFIG+:} false; then :
14165 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14169 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14170 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14171 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14172 ac_save_CPPFLAGS=$CPPFLAGS
14173 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14174 for ac_header in mpg123.h
14175 do :
14176 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14177 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14178 cat >>confdefs.h <<_ACEOF
14179 #define HAVE_MPG123_H 1
14180 _ACEOF
14184 done
14186 if test "$ac_cv_header_mpg123_h" = "yes"
14187 then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14189 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14190 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_check_lib_save_LIBS=$LIBS
14194 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 #ifdef __cplusplus
14202 extern "C"
14203 #endif
14204 char mpg123_feed ();
14206 main ()
14208 return mpg123_feed ();
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 ac_cv_lib_mpg123_mpg123_feed=yes
14215 else
14216 ac_cv_lib_mpg123_mpg123_feed=no
14218 rm -f core conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_lib_save_LIBS
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14223 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14224 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14226 else
14227 MPG123_LIBS=""
14230 else
14231 MPG123_CFLAGS=""
14232 MPG123_LIBS=""
14234 CPPFLAGS=$ac_save_CPPFLAGS
14235 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14236 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14239 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14240 case "x$with_mpg123" in
14241 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14242 xno) ;;
14243 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14244 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14245 esac
14246 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14249 if test "$ac_cv_header_AL_al_h" = "yes"
14250 then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14252 $as_echo_n "checking for -lopenal... " >&6; }
14253 if ${ac_cv_lib_soname_openal+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_check_soname_save_LIBS=$LIBS
14257 LIBS="-lopenal $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char alGetSource3i ();
14269 main ()
14271 return alGetSource3i ();
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 case "$LIBEXT" in
14278 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14279 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'` ;;
14280 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14281 if ${ac_cv_lib_soname_openal:+false} :; then :
14282 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14283 fi ;;
14284 esac
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14288 LIBS=$ac_check_soname_save_LIBS
14290 if ${ac_cv_lib_soname_openal:+false} :; then :
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14292 $as_echo "not found" >&6; }
14294 else
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14296 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14298 cat >>confdefs.h <<_ACEOF
14299 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14300 _ACEOF
14302 OPENAL_LIBS="-lopenal"
14304 ac_cv_lib_openal=yes
14306 cat >>confdefs.h <<_ACEOF
14307 #define HAVE_OPENAL 1
14308 _ACEOF
14312 if test "x$ac_cv_lib_openal" != xyes; then :
14313 case "x$with_openal" in
14314 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14315 xno) ;;
14316 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14317 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14318 esac
14319 enable_openal32=${enable_openal32:-no}
14322 if test "x$ac_cv_lib_openal" = xyes
14323 then
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14325 $as_echo_n "checking for openal-soft... " >&6; }
14326 if ${ac_cv_have_openalsoft+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h. */
14331 #include <AL/al.h>
14332 #include <AL/alc.h>
14333 #include <AL/alext.h>
14334 LPALCRENDERSAMPLESSOFT x;
14336 main ()
14340 return 0;
14342 _ACEOF
14343 if ac_fn_c_try_compile "$LINENO"; then :
14344 ac_cv_have_openalsoft=yes
14345 else
14346 ac_cv_have_openalsoft=no
14348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14351 $as_echo "$ac_cv_have_openalsoft" >&6; }
14353 if test "x$ac_cv_have_openalsoft" != xyes
14354 then
14355 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14356 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14357 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14358 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14359 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14360 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14361 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14362 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14363 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14364 enable_xapofx1_1=${enable_xapofx1_1:-no}
14365 enable_xapofx1_2=${enable_xapofx1_2:-no}
14366 enable_xapofx1_3=${enable_xapofx1_3:-no}
14367 enable_xapofx1_4=${enable_xapofx1_4:-no}
14368 enable_xapofx1_5=${enable_xapofx1_5:-no}
14369 enable_xaudio2_0=${enable_xaudio2_0:-no}
14370 enable_xaudio2_1=${enable_xaudio2_1:-no}
14371 enable_xaudio2_2=${enable_xaudio2_2:-no}
14372 enable_xaudio2_3=${enable_xaudio2_3:-no}
14373 enable_xaudio2_4=${enable_xaudio2_4:-no}
14374 enable_xaudio2_5=${enable_xaudio2_5:-no}
14375 enable_xaudio2_6=${enable_xaudio2_6:-no}
14376 enable_xaudio2_7=${enable_xaudio2_7:-no}
14377 enable_xaudio2_8=${enable_xaudio2_8:-no}
14378 enable_xaudio2_9=${enable_xaudio2_9:-no}
14381 if test "$ac_cv_header_kstat_h" = "yes"
14382 then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14384 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14385 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 ac_check_lib_save_LIBS=$LIBS
14389 LIBS="-lkstat $LIBS"
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14393 /* Override any GCC internal prototype to avoid an error.
14394 Use char because int might match the return type of a GCC
14395 builtin and then its argument prototype would still apply. */
14396 #ifdef __cplusplus
14397 extern "C"
14398 #endif
14399 char kstat_open ();
14401 main ()
14403 return kstat_open ();
14405 return 0;
14407 _ACEOF
14408 if ac_fn_c_try_link "$LINENO"; then :
14409 ac_cv_lib_kstat_kstat_open=yes
14410 else
14411 ac_cv_lib_kstat_kstat_open=no
14413 rm -f core conftest.err conftest.$ac_objext \
14414 conftest$ac_exeext conftest.$ac_ext
14415 LIBS=$ac_check_lib_save_LIBS
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14418 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14419 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14421 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14423 KSTAT_LIBS="-lkstat"
14429 if test "$ac_cv_header_libprocstat_h" = "yes"
14430 then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14432 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14433 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 ac_check_lib_save_LIBS=$LIBS
14437 LIBS="-lprocstat $LIBS"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14444 #ifdef __cplusplus
14445 extern "C"
14446 #endif
14447 char procstat_open_sysctl ();
14449 main ()
14451 return procstat_open_sysctl ();
14453 return 0;
14455 _ACEOF
14456 if ac_fn_c_try_link "$LINENO"; then :
14457 ac_cv_lib_procstat_procstat_open_sysctl=yes
14458 else
14459 ac_cv_lib_procstat_procstat_open_sysctl=no
14461 rm -f core conftest.err conftest.$ac_objext \
14462 conftest$ac_exeext conftest.$ac_ext
14463 LIBS=$ac_check_lib_save_LIBS
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14466 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14467 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14469 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14471 PROCSTAT_LIBS="-lprocstat"
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14478 $as_echo_n "checking for -lodbc... " >&6; }
14479 if ${ac_cv_lib_soname_odbc+:} false; then :
14480 $as_echo_n "(cached) " >&6
14481 else
14482 ac_check_soname_save_LIBS=$LIBS
14483 LIBS="-lodbc $LIBS"
14484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14487 /* Override any GCC internal prototype to avoid an error.
14488 Use char because int might match the return type of a GCC
14489 builtin and then its argument prototype would still apply. */
14490 #ifdef __cplusplus
14491 extern "C"
14492 #endif
14493 char SQLConnect ();
14495 main ()
14497 return SQLConnect ();
14499 return 0;
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 case "$LIBEXT" in
14504 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14505 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'` ;;
14506 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14507 if ${ac_cv_lib_soname_odbc:+false} :; then :
14508 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14509 fi ;;
14510 esac
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14514 LIBS=$ac_check_soname_save_LIBS
14516 if ${ac_cv_lib_soname_odbc:+false} :; then :
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14518 $as_echo "not found" >&6; }
14519 cat >>confdefs.h <<_ACEOF
14520 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14521 _ACEOF
14523 else
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14525 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14527 cat >>confdefs.h <<_ACEOF
14528 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14529 _ACEOF
14534 if test "x$with_netapi" != "xno"
14535 then
14536 if ${NETAPI_CFLAGS:+false} :; then :
14537 if ${PKG_CONFIG+:} false; then :
14538 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14542 if ${NETAPI_LIBS:+false} :; then :
14543 if ${PKG_CONFIG+:} false; then :
14544 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14549 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14550 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14551 ac_save_CPPFLAGS=$CPPFLAGS
14552 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14554 $as_echo_n "checking for -lnetapi... " >&6; }
14555 if ${ac_cv_lib_soname_netapi+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_check_soname_save_LIBS=$LIBS
14559 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14563 /* Override any GCC internal prototype to avoid an error.
14564 Use char because int might match the return type of a GCC
14565 builtin and then its argument prototype would still apply. */
14566 #ifdef __cplusplus
14567 extern "C"
14568 #endif
14569 char libnetapi_init ();
14571 main ()
14573 return libnetapi_init ();
14575 return 0;
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 case "$LIBEXT" in
14580 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14581 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'` ;;
14582 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14583 if ${ac_cv_lib_soname_netapi:+false} :; then :
14584 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14585 fi ;;
14586 esac
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_soname_save_LIBS
14592 if ${ac_cv_lib_soname_netapi:+false} :; then :
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14594 $as_echo "not found" >&6; }
14595 cat >>confdefs.h <<_ACEOF
14596 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14597 _ACEOF
14599 else
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14601 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14603 cat >>confdefs.h <<_ACEOF
14604 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14605 _ACEOF
14609 CPPFLAGS=$ac_save_CPPFLAGS
14610 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14611 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14615 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14616 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14617 then
14618 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14622 EXTRACFLAGS=""
14624 if test "x${GCC}" = "xyes"
14625 then
14626 EXTRACFLAGS="-Wall -pipe"
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14629 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14630 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 if test "$cross_compiling" = yes; then :
14634 ac_cv_c_gcc_strength_bug="no"
14635 else
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14638 int L[4] = {0,1,2,3};
14640 main ()
14642 static int Array[3];
14643 unsigned int B = 3;
14644 int i;
14645 for(i=0; i<B; i++) Array[i] = i - 3;
14646 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14647 L[i] = 4;
14648 return (Array[1] != -2 || L[2] != 3)
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_run "$LINENO"; then :
14654 ac_cv_c_gcc_strength_bug="no"
14655 else
14656 ac_cv_c_gcc_strength_bug="yes"
14658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14659 conftest.$ac_objext conftest.beam conftest.$ac_ext
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14664 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14665 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14666 then
14667 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14671 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14672 if ${ac_cv_cflags__fno_builtin+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 ac_wine_try_cflags_saved=$CFLAGS
14676 CFLAGS="$CFLAGS -fno-builtin"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14679 int main(int argc, char **argv) { return 0; }
14680 _ACEOF
14681 if ac_fn_c_try_link "$LINENO"; then :
14682 ac_cv_cflags__fno_builtin=yes
14683 else
14684 ac_cv_cflags__fno_builtin=no
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14688 CFLAGS=$ac_wine_try_cflags_saved
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14691 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14692 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14693 BUILTINFLAG="-fno-builtin"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14697 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14698 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 ac_wine_try_cflags_saved=$CFLAGS
14702 CFLAGS="$CFLAGS -fno-strict-aliasing"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14705 int main(int argc, char **argv) { return 0; }
14706 _ACEOF
14707 if ac_fn_c_try_link "$LINENO"; then :
14708 ac_cv_cflags__fno_strict_aliasing=yes
14709 else
14710 ac_cv_cflags__fno_strict_aliasing=no
14712 rm -f core conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14714 CFLAGS=$ac_wine_try_cflags_saved
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14717 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14718 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14719 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14722 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14723 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 ac_wine_try_cflags_saved=$CFLAGS
14727 CFLAGS="$CFLAGS -fexcess-precision=standard"
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14730 int main(int argc, char **argv) { return 0; }
14731 _ACEOF
14732 if ac_fn_c_try_link "$LINENO"; then :
14733 ac_cv_cflags__fexcess_precision_standard=yes
14734 else
14735 ac_cv_cflags__fexcess_precision_standard=no
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 CFLAGS=$ac_wine_try_cflags_saved
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14742 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14743 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14744 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14747 saved_CFLAGS=$CFLAGS
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14749 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14750 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 ac_wine_try_cflags_saved=$CFLAGS
14754 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14757 int main(int argc, char **argv) { return 0; }
14758 _ACEOF
14759 if ac_fn_c_try_link "$LINENO"; then :
14760 ac_cv_cflags__Werror_unknown_warning_option=yes
14761 else
14762 ac_cv_cflags__Werror_unknown_warning_option=no
14764 rm -f core conftest.err conftest.$ac_objext \
14765 conftest$ac_exeext conftest.$ac_ext
14766 CFLAGS=$ac_wine_try_cflags_saved
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14769 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14770 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14771 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14774 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14775 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14776 $as_echo_n "(cached) " >&6
14777 else
14778 ac_wine_try_cflags_saved=$CFLAGS
14779 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14781 /* end confdefs.h. */
14782 int main(int argc, char **argv) { return 0; }
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_cflags__Wdeclaration_after_statement=yes
14786 else
14787 ac_cv_cflags__Wdeclaration_after_statement=no
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14791 CFLAGS=$ac_wine_try_cflags_saved
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14794 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14795 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14796 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14799 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14800 if ${ac_cv_cflags__Wempty_body+:} false; then :
14801 $as_echo_n "(cached) " >&6
14802 else
14803 ac_wine_try_cflags_saved=$CFLAGS
14804 CFLAGS="$CFLAGS -Wempty-body"
14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14806 /* end confdefs.h. */
14807 int main(int argc, char **argv) { return 0; }
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"; then :
14810 ac_cv_cflags__Wempty_body=yes
14811 else
14812 ac_cv_cflags__Wempty_body=no
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14816 CFLAGS=$ac_wine_try_cflags_saved
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14819 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14820 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14821 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14824 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14825 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14826 $as_echo_n "(cached) " >&6
14827 else
14828 ac_wine_try_cflags_saved=$CFLAGS
14829 CFLAGS="$CFLAGS -Wignored-qualifiers"
14830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h. */
14832 int main(int argc, char **argv) { return 0; }
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 ac_cv_cflags__Wignored_qualifiers=yes
14836 else
14837 ac_cv_cflags__Wignored_qualifiers=no
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 CFLAGS=$ac_wine_try_cflags_saved
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14844 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14845 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14846 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-packed-not-aligned" >&5
14849 $as_echo_n "checking whether the compiler supports -Wno-packed-not-aligned... " >&6; }
14850 if ${ac_cv_cflags__Wno_packed_not_aligned+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_wine_try_cflags_saved=$CFLAGS
14854 CFLAGS="$CFLAGS -Wno-packed-not-aligned"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 int main(int argc, char **argv) { return 0; }
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"; then :
14860 ac_cv_cflags__Wno_packed_not_aligned=yes
14861 else
14862 ac_cv_cflags__Wno_packed_not_aligned=no
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 CFLAGS=$ac_wine_try_cflags_saved
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_packed_not_aligned" >&5
14869 $as_echo "$ac_cv_cflags__Wno_packed_not_aligned" >&6; }
14870 if test "x$ac_cv_cflags__Wno_packed_not_aligned" = xyes; then :
14871 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14874 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14875 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14876 $as_echo_n "(cached) " >&6
14877 else
14878 ac_wine_try_cflags_saved=$CFLAGS
14879 CFLAGS="$CFLAGS -Wshift-overflow=2"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 int main(int argc, char **argv) { return 0; }
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 ac_cv_cflags__Wshift_overflow_2=yes
14886 else
14887 ac_cv_cflags__Wshift_overflow_2=no
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14891 CFLAGS=$ac_wine_try_cflags_saved
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14894 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14895 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14896 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14899 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14900 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 ac_wine_try_cflags_saved=$CFLAGS
14904 CFLAGS="$CFLAGS -Wstrict-prototypes"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14907 int main(int argc, char **argv) { return 0; }
14908 _ACEOF
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_cflags__Wstrict_prototypes=yes
14911 else
14912 ac_cv_cflags__Wstrict_prototypes=no
14914 rm -f core conftest.err conftest.$ac_objext \
14915 conftest$ac_exeext conftest.$ac_ext
14916 CFLAGS=$ac_wine_try_cflags_saved
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14919 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14920 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14921 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14924 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14925 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 ac_wine_try_cflags_saved=$CFLAGS
14929 CFLAGS="$CFLAGS -Wtype-limits"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 int main(int argc, char **argv) { return 0; }
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_cflags__Wtype_limits=yes
14936 else
14937 ac_cv_cflags__Wtype_limits=no
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14941 CFLAGS=$ac_wine_try_cflags_saved
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14944 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14945 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14946 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14949 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14950 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_wine_try_cflags_saved=$CFLAGS
14954 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 int main(int argc, char **argv) { return 0; }
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_cflags__Wunused_but_set_parameter=yes
14961 else
14962 ac_cv_cflags__Wunused_but_set_parameter=no
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14966 CFLAGS=$ac_wine_try_cflags_saved
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14969 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14970 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14971 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14974 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14975 if ${ac_cv_cflags__Wvla+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 ac_wine_try_cflags_saved=$CFLAGS
14979 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
14986 else
14987 ac_cv_cflags__Wvla=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__Wvla" >&5
14994 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14995 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14996 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14999 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15000 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 ac_wine_try_cflags_saved=$CFLAGS
15004 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
15011 else
15012 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
15019 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15020 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15021 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15025 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15026 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_wine_try_cflags_saved=$CFLAGS
15030 CFLAGS="$CFLAGS -Wpointer-arith"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 int main(int argc, char **argv) { return 0; }
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_cflags__Wpointer_arith=yes
15037 else
15038 ac_cv_cflags__Wpointer_arith=no
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15042 CFLAGS=$ac_wine_try_cflags_saved
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15045 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15046 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15047 saved_string_h_CFLAGS=$CFLAGS
15048 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15050 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15051 if ${ac_cv_c_string_h_warnings+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053 else
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15056 #include <string.h>
15058 main ()
15062 return 0;
15064 _ACEOF
15065 if ac_fn_c_try_compile "$LINENO"; then :
15066 ac_cv_c_string_h_warnings=no
15067 else
15068 ac_cv_c_string_h_warnings=yes
15070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15073 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15074 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15075 CFLAGS=$saved_string_h_CFLAGS
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15079 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15080 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15081 $as_echo_n "(cached) " >&6
15082 else
15083 ac_wine_try_cflags_saved=$CFLAGS
15084 CFLAGS="$CFLAGS -Wlogical-op"
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15087 int main(int argc, char **argv) { return 0; }
15088 _ACEOF
15089 if ac_fn_c_try_link "$LINENO"; then :
15090 ac_cv_cflags__Wlogical_op=yes
15091 else
15092 ac_cv_cflags__Wlogical_op=no
15094 rm -f core conftest.err conftest.$ac_objext \
15095 conftest$ac_exeext conftest.$ac_ext
15096 CFLAGS=$ac_wine_try_cflags_saved
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15099 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15100 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15101 saved_string_h_CFLAGS=$CFLAGS
15102 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15104 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15105 if ${ac_cv_c_logicalop_noisy+:} false; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15110 #include <string.h>
15111 char*f(const char *h,char n) {return strchr(h,n);}
15113 main ()
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_compile "$LINENO"; then :
15121 ac_cv_c_logicalop_noisy=no
15122 else
15123 ac_cv_c_logicalop_noisy=yes
15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15128 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15129 CFLAGS=$saved_string_h_CFLAGS
15130 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15133 CFLAGS=$saved_CFLAGS
15135 for ac_flag in $CFLAGS; do
15136 case $ac_flag in
15137 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15138 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15139 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15140 $as_echo_n "(cached) " >&6
15141 else
15142 ac_wine_try_cflags_saved=$CFLAGS
15143 CFLAGS="$CFLAGS -gdwarf-2"
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15146 int main(int argc, char **argv) { return 0; }
15147 _ACEOF
15148 if ac_fn_c_try_link "$LINENO"; then :
15149 ac_cv_cflags__gdwarf_2=yes
15150 else
15151 ac_cv_cflags__gdwarf_2=no
15153 rm -f core conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15155 CFLAGS=$ac_wine_try_cflags_saved
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15158 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15159 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15160 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15163 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15164 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 ac_wine_try_cflags_saved=$CFLAGS
15168 CFLAGS="$CFLAGS -gstrict-dwarf"
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15171 int main(int argc, char **argv) { return 0; }
15172 _ACEOF
15173 if ac_fn_c_try_link "$LINENO"; then :
15174 ac_cv_cflags__gstrict_dwarf=yes
15175 else
15176 ac_cv_cflags__gstrict_dwarf=no
15178 rm -f core conftest.err conftest.$ac_objext \
15179 conftest$ac_exeext conftest.$ac_ext
15180 CFLAGS=$ac_wine_try_cflags_saved
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15183 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15184 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15185 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15186 fi ;;
15187 esac
15188 done
15190 case $host_cpu in
15191 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15192 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15193 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15194 $as_echo_n "(cached) " >&6
15195 else
15196 ac_wine_try_cflags_saved=$CFLAGS
15197 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 int main(int argc, char **argv) { return 0; }
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 ac_cv_cflags__fno_omit_frame_pointer=yes
15204 else
15205 ac_cv_cflags__fno_omit_frame_pointer=no
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext conftest.$ac_ext
15209 CFLAGS=$ac_wine_try_cflags_saved
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15212 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15213 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15214 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15215 fi ;;
15216 esac
15218 case $host in
15219 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15220 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15221 if ${ac_cv_cflags__Wno_format+:} false; then :
15222 $as_echo_n "(cached) " >&6
15223 else
15224 ac_wine_try_cflags_saved=$CFLAGS
15225 CFLAGS="$CFLAGS -Wno-format"
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15228 int main(int argc, char **argv) { return 0; }
15229 _ACEOF
15230 if ac_fn_c_try_link "$LINENO"; then :
15231 ac_cv_cflags__Wno_format=yes
15232 else
15233 ac_cv_cflags__Wno_format=no
15235 rm -f core conftest.err conftest.$ac_objext \
15236 conftest$ac_exeext conftest.$ac_ext
15237 CFLAGS=$ac_wine_try_cflags_saved
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15240 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15241 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15242 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15243 fi ;;
15244 esac
15246 if test "x$enable_maintainer_mode" = "xyes"
15247 then
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15249 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15250 if ${ac_cv_cflags__Werror+:} false; then :
15251 $as_echo_n "(cached) " >&6
15252 else
15253 ac_wine_try_cflags_saved=$CFLAGS
15254 CFLAGS="$CFLAGS -Werror"
15255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15256 /* end confdefs.h. */
15257 int main(int argc, char **argv) { return 0; }
15258 _ACEOF
15259 if ac_fn_c_try_link "$LINENO"; then :
15260 ac_cv_cflags__Werror=yes
15261 else
15262 ac_cv_cflags__Werror=no
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266 CFLAGS=$ac_wine_try_cflags_saved
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15269 $as_echo "$ac_cv_cflags__Werror" >&6; }
15270 if test "x$ac_cv_cflags__Werror" = xyes; then :
15271 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15275 saved_CFLAGS="$CFLAGS"
15276 CFLAGS="$CFLAGS -Werror"
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15278 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15279 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15286 main ()
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_compile "$LINENO"; then :
15294 ac_cv_have_ms_hook_prologue="yes"
15295 else
15296 ac_cv_have_ms_hook_prologue="no"
15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15301 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15302 CFLAGS="$saved_CFLAGS"
15303 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15304 then
15306 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15308 else
15309 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15316 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15317 if ${ac_cv_c_fortify_enabled+:} false; then :
15318 $as_echo_n "(cached) " >&6
15319 else
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15322 #include <string.h>
15324 main ()
15326 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15327 #error Fortify enabled
15328 #endif
15330 return 0;
15332 _ACEOF
15333 if ac_fn_c_try_compile "$LINENO"; then :
15334 ac_cv_c_fortify_enabled=no
15335 else
15336 ac_cv_c_fortify_enabled=yes
15338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15341 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15342 if test "$ac_cv_c_fortify_enabled" = yes
15343 then
15344 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15349 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15350 if ${ac_cv_c_extern_prefix+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 extern int ac_test;
15357 main ()
15359 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_link "$LINENO"; then :
15365 ac_cv_c_extern_prefix="yes"
15366 else
15367 ac_cv_c_extern_prefix="no"
15369 rm -f core conftest.err conftest.$ac_objext \
15370 conftest$ac_exeext conftest.$ac_ext
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15373 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15375 case $host_cpu in
15376 *i[3456789]86*)
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15378 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15379 if ${ac_cv_c_stdcall_suffix+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15384 #ifndef _MSC_VER
15385 #define __stdcall __attribute__((__stdcall__))
15386 #endif
15387 int __stdcall ac_test(int i) { return i; }
15389 main ()
15391 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 ac_cv_c_stdcall_suffix="yes"
15398 else
15399 ac_cv_c_stdcall_suffix="no"
15401 rm -f core conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext conftest.$ac_ext
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15405 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15406 *) ac_cv_c_stdcall_suffix="no" ;;
15407 esac
15410 if test "$ac_cv_c_extern_prefix" = "yes"
15411 then
15412 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15414 asm_name_prefix="_"
15415 else
15416 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15418 asm_name_prefix=""
15422 if test "$ac_cv_c_stdcall_suffix" = "yes"
15423 then
15424 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15426 else
15427 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15433 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15434 if ${ac_cv_asm_func_def+:} false; then :
15435 $as_echo_n "(cached) " >&6
15436 else
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15441 main ()
15443 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"; then :
15449 ac_cv_asm_func_def=".def"
15450 else
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15455 main ()
15457 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15459 return 0;
15461 _ACEOF
15462 if ac_fn_c_try_link "$LINENO"; then :
15463 ac_cv_asm_func_def=".type @function"
15464 else
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15469 main ()
15471 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15473 return 0;
15475 _ACEOF
15476 if ac_fn_c_try_link "$LINENO"; then :
15477 ac_cv_asm_func_def=".type 2"
15478 else
15479 ac_cv_asm_func_def="unknown"
15481 rm -f core conftest.err conftest.$ac_objext \
15482 conftest$ac_exeext conftest.$ac_ext
15484 rm -f core conftest.err conftest.$ac_objext \
15485 conftest$ac_exeext conftest.$ac_ext
15487 rm -f core conftest.err conftest.$ac_objext \
15488 conftest$ac_exeext conftest.$ac_ext
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15491 $as_echo "$ac_cv_asm_func_def" >&6; }
15494 case "$ac_cv_asm_func_def" in
15495 ".def")
15496 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15498 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15499 ".type @function")
15500 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15502 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15503 ".type 2")
15504 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15506 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15508 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15510 asm_func_header="" ;;
15511 esac
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15514 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15515 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15516 $as_echo_n "(cached) " >&6
15517 else
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15520 asm(".text\n\t.long 0");
15522 main ()
15526 return 0;
15528 _ACEOF
15529 if ac_fn_c_try_compile "$LINENO"; then :
15530 ac_cv_c_asm_outside_funcs="yes"
15531 else
15532 ac_cv_c_asm_outside_funcs="no"
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15537 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15540 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15541 if ${ac_cv_c_dot_previous+:} false; then :
15542 $as_echo_n "(cached) " >&6
15543 else
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15548 main ()
15550 asm(".text\nac_test:\t.long 0\n\t.previous");
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_link "$LINENO"; then :
15556 ac_cv_c_dot_previous="yes"
15557 else
15558 ac_cv_c_dot_previous="no"
15560 rm -f core conftest.err conftest.$ac_objext \
15561 conftest$ac_exeext conftest.$ac_ext
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15564 $as_echo "$ac_cv_c_dot_previous" >&6; }
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15567 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15568 if ${ac_cv_c_cfi_support+:} false; then :
15569 $as_echo_n "(cached) " >&6
15570 else
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15573 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15575 main ()
15579 return 0;
15581 _ACEOF
15582 if ac_fn_c_try_compile "$LINENO"; then :
15583 ac_cv_c_cfi_support="yes"
15584 else
15585 ac_cv_c_cfi_support="no"
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15590 $as_echo "$ac_cv_c_cfi_support" >&6; }
15592 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15593 asm_func_trailer=""
15594 if test "$ac_cv_c_dot_previous" = "yes"
15595 then
15596 asm_func_trailer="\\n\\t.previous"
15598 if test "$ac_cv_c_cfi_support" = "yes"
15599 then
15600 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15601 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15603 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15605 UNWINDFLAGS=-fasynchronous-unwind-tables
15607 else
15608 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15610 if test "x$enable_win64" = "xyes"
15611 then
15612 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15616 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15619 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15620 then
15621 cat >>confdefs.h <<_ACEOF
15622 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15623 _ACEOF
15625 else
15626 cat >>confdefs.h <<_ACEOF
15627 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15628 _ACEOF
15632 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15635 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15639 case $build_os in
15640 cygwin*|mingw32*) TOOLSEXT=".exe"
15642 esac
15644 case $host_os in
15645 linux*)
15646 case $host_cpu in
15647 *i[3456789]86*|x86_64*|*aarch64*)
15648 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15649 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15651 esac
15653 esac
15656 ac_save_CFLAGS="$CFLAGS"
15657 CFLAGS="$CFLAGS $BUILTINFLAG"
15658 for ac_func in \
15659 __res_get_state \
15660 __res_getservers \
15661 _finite \
15662 _isnan \
15663 _pclose \
15664 _popen \
15665 _snprintf \
15666 _spawnvp \
15667 _strdup \
15668 _stricmp \
15669 _strnicmp \
15670 _strtoi64 \
15671 _strtoui64 \
15672 _vsnprintf \
15673 asctime_r \
15674 chsize \
15675 dlopen \
15676 epoll_create \
15677 ffs \
15678 finitef \
15679 fnmatch \
15680 fork \
15681 fpclass \
15682 fstatfs \
15683 fstatvfs \
15684 ftruncate \
15685 futimens \
15686 futimes \
15687 futimesat \
15688 getattrlist \
15689 getauxval \
15690 getifaddrs \
15691 getopt_long_only \
15692 getpwuid \
15693 gettimeofday \
15694 getuid \
15695 isnanf \
15696 kqueue \
15697 lstat \
15698 memmove \
15699 mmap \
15700 pclose \
15701 pipe2 \
15702 poll \
15703 popen \
15704 port_create \
15705 prctl \
15706 pread \
15707 proc_pidinfo \
15708 pwrite \
15709 readdir \
15710 readlink \
15711 sched_yield \
15712 select \
15713 setproctitle \
15714 setprogname \
15715 setrlimit \
15716 settimeofday \
15717 sigaltstack \
15718 sigprocmask \
15719 snprintf \
15720 statfs \
15721 statvfs \
15722 strcasecmp \
15723 strdup \
15724 strerror \
15725 strncasecmp \
15726 strtold \
15727 strtoll \
15728 strtoull \
15729 symlink \
15730 sysinfo \
15731 tcdrain \
15732 thr_kill2 \
15733 timegm \
15734 usleep \
15735 vsnprintf
15737 do :
15738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15740 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15743 _ACEOF
15746 done
15748 CFLAGS="$ac_save_CFLAGS"
15750 if test "$ac_cv_func_dlopen" = no
15751 then
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15753 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15754 if ${ac_cv_lib_dl_dlopen+:} false; then :
15755 $as_echo_n "(cached) " >&6
15756 else
15757 ac_check_lib_save_LIBS=$LIBS
15758 LIBS="-ldl $LIBS"
15759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15762 /* Override any GCC internal prototype to avoid an error.
15763 Use char because int might match the return type of a GCC
15764 builtin and then its argument prototype would still apply. */
15765 #ifdef __cplusplus
15766 extern "C"
15767 #endif
15768 char dlopen ();
15770 main ()
15772 return dlopen ();
15774 return 0;
15776 _ACEOF
15777 if ac_fn_c_try_link "$LINENO"; then :
15778 ac_cv_lib_dl_dlopen=yes
15779 else
15780 ac_cv_lib_dl_dlopen=no
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_lib_save_LIBS
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15787 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15788 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15789 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15790 DL_LIBS="-ldl"
15795 ac_wine_check_funcs_save_LIBS="$LIBS"
15796 LIBS="$LIBS $DL_LIBS"
15797 for ac_func in dladdr
15798 do :
15799 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15800 if test "x$ac_cv_func_dladdr" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_DLADDR 1
15803 _ACEOF
15806 done
15808 LIBS="$ac_wine_check_funcs_save_LIBS"
15810 if test "$ac_cv_func_poll" = no
15811 then
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15813 $as_echo_n "checking for poll in -lpoll... " >&6; }
15814 if ${ac_cv_lib_poll_poll+:} false; then :
15815 $as_echo_n "(cached) " >&6
15816 else
15817 ac_check_lib_save_LIBS=$LIBS
15818 LIBS="-lpoll $LIBS"
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15822 /* Override any GCC internal prototype to avoid an error.
15823 Use char because int might match the return type of a GCC
15824 builtin and then its argument prototype would still apply. */
15825 #ifdef __cplusplus
15826 extern "C"
15827 #endif
15828 char poll ();
15830 main ()
15832 return poll ();
15834 return 0;
15836 _ACEOF
15837 if ac_fn_c_try_link "$LINENO"; then :
15838 ac_cv_lib_poll_poll=yes
15839 else
15840 ac_cv_lib_poll_poll=no
15842 rm -f core conftest.err conftest.$ac_objext \
15843 conftest$ac_exeext conftest.$ac_ext
15844 LIBS=$ac_check_lib_save_LIBS
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15847 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15848 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15849 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15850 POLL_LIBS="-lpoll"
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15857 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15858 if ${ac_cv_search_gethostbyname+:} false; then :
15859 $as_echo_n "(cached) " >&6
15860 else
15861 ac_func_search_save_LIBS=$LIBS
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15865 /* Override any GCC internal prototype to avoid an error.
15866 Use char because int might match the return type of a GCC
15867 builtin and then its argument prototype would still apply. */
15868 #ifdef __cplusplus
15869 extern "C"
15870 #endif
15871 char gethostbyname ();
15873 main ()
15875 return gethostbyname ();
15877 return 0;
15879 _ACEOF
15880 for ac_lib in '' nsl; do
15881 if test -z "$ac_lib"; then
15882 ac_res="none required"
15883 else
15884 ac_res=-l$ac_lib
15885 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15887 if ac_fn_c_try_link "$LINENO"; then :
15888 ac_cv_search_gethostbyname=$ac_res
15890 rm -f core conftest.err conftest.$ac_objext \
15891 conftest$ac_exeext
15892 if ${ac_cv_search_gethostbyname+:} false; then :
15893 break
15895 done
15896 if ${ac_cv_search_gethostbyname+:} false; then :
15898 else
15899 ac_cv_search_gethostbyname=no
15901 rm conftest.$ac_ext
15902 LIBS=$ac_func_search_save_LIBS
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15905 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15906 ac_res=$ac_cv_search_gethostbyname
15907 if test "$ac_res" != no; then :
15908 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15914 $as_echo_n "checking for library containing connect... " >&6; }
15915 if ${ac_cv_search_connect+:} false; then :
15916 $as_echo_n "(cached) " >&6
15917 else
15918 ac_func_search_save_LIBS=$LIBS
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15922 /* Override any GCC internal prototype to avoid an error.
15923 Use char because int might match the return type of a GCC
15924 builtin and then its argument prototype would still apply. */
15925 #ifdef __cplusplus
15926 extern "C"
15927 #endif
15928 char connect ();
15930 main ()
15932 return connect ();
15934 return 0;
15936 _ACEOF
15937 for ac_lib in '' socket; do
15938 if test -z "$ac_lib"; then
15939 ac_res="none required"
15940 else
15941 ac_res=-l$ac_lib
15942 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15944 if ac_fn_c_try_link "$LINENO"; then :
15945 ac_cv_search_connect=$ac_res
15947 rm -f core conftest.err conftest.$ac_objext \
15948 conftest$ac_exeext
15949 if ${ac_cv_search_connect+:} false; then :
15950 break
15952 done
15953 if ${ac_cv_search_connect+:} false; then :
15955 else
15956 ac_cv_search_connect=no
15958 rm conftest.$ac_ext
15959 LIBS=$ac_func_search_save_LIBS
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15962 $as_echo "$ac_cv_search_connect" >&6; }
15963 ac_res=$ac_cv_search_connect
15964 if test "$ac_res" != no; then :
15965 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15971 $as_echo_n "checking for library containing inet_aton... " >&6; }
15972 if ${ac_cv_search_inet_aton+:} false; then :
15973 $as_echo_n "(cached) " >&6
15974 else
15975 ac_func_search_save_LIBS=$LIBS
15976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15977 /* end confdefs.h. */
15979 /* Override any GCC internal prototype to avoid an error.
15980 Use char because int might match the return type of a GCC
15981 builtin and then its argument prototype would still apply. */
15982 #ifdef __cplusplus
15983 extern "C"
15984 #endif
15985 char inet_aton ();
15987 main ()
15989 return inet_aton ();
15991 return 0;
15993 _ACEOF
15994 for ac_lib in '' resolv; do
15995 if test -z "$ac_lib"; then
15996 ac_res="none required"
15997 else
15998 ac_res=-l$ac_lib
15999 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16001 if ac_fn_c_try_link "$LINENO"; then :
16002 ac_cv_search_inet_aton=$ac_res
16004 rm -f core conftest.err conftest.$ac_objext \
16005 conftest$ac_exeext
16006 if ${ac_cv_search_inet_aton+:} false; then :
16007 break
16009 done
16010 if ${ac_cv_search_inet_aton+:} false; then :
16012 else
16013 ac_cv_search_inet_aton=no
16015 rm conftest.$ac_ext
16016 LIBS=$ac_func_search_save_LIBS
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16019 $as_echo "$ac_cv_search_inet_aton" >&6; }
16020 ac_res=$ac_cv_search_inet_aton
16021 if test "$ac_res" != no; then :
16022 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16027 for ac_func in \
16028 getaddrinfo \
16029 getnameinfo \
16030 getnetbyname \
16031 getprotobyname \
16032 getprotobynumber \
16033 getservbyport \
16034 inet_addr \
16035 inet_network \
16036 inet_ntop \
16037 inet_pton \
16038 sendmsg \
16039 socketpair \
16041 do :
16042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16044 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16045 cat >>confdefs.h <<_ACEOF
16046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16047 _ACEOF
16050 done
16053 ac_save_LIBS=$LIBS
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16055 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16056 if ${ac_cv_search_clock_gettime+:} false; then :
16057 $as_echo_n "(cached) " >&6
16058 else
16059 ac_func_search_save_LIBS=$LIBS
16060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16061 /* end confdefs.h. */
16063 /* Override any GCC internal prototype to avoid an error.
16064 Use char because int might match the return type of a GCC
16065 builtin and then its argument prototype would still apply. */
16066 #ifdef __cplusplus
16067 extern "C"
16068 #endif
16069 char clock_gettime ();
16071 main ()
16073 return clock_gettime ();
16075 return 0;
16077 _ACEOF
16078 for ac_lib in '' rt; do
16079 if test -z "$ac_lib"; then
16080 ac_res="none required"
16081 else
16082 ac_res=-l$ac_lib
16083 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16085 if ac_fn_c_try_link "$LINENO"; then :
16086 ac_cv_search_clock_gettime=$ac_res
16088 rm -f core conftest.err conftest.$ac_objext \
16089 conftest$ac_exeext
16090 if ${ac_cv_search_clock_gettime+:} false; then :
16091 break
16093 done
16094 if ${ac_cv_search_clock_gettime+:} false; then :
16096 else
16097 ac_cv_search_clock_gettime=no
16099 rm conftest.$ac_ext
16100 LIBS=$ac_func_search_save_LIBS
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16103 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16104 ac_res=$ac_cv_search_clock_gettime
16105 if test "$ac_res" != no; then :
16106 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16108 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16110 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16114 LIBS=$ac_save_LIBS
16116 if test "x$with_ldap" != "xno"
16117 then
16118 if ${LDAP_CFLAGS:+false} :; then :
16119 if ${PKG_CONFIG+:} false; then :
16120 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16124 if ${LDAP_LIBS:+false} :; then :
16125 if ${PKG_CONFIG+:} false; then :
16126 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16130 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16131 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16132 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16133 ac_save_CPPFLAGS=$CPPFLAGS
16134 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16135 for ac_header in ldap.h lber.h
16136 do :
16137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16138 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16139 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16142 _ACEOF
16146 done
16148 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16149 then
16150 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16152 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16154 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16155 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16156 $as_echo_n "(cached) " >&6
16157 else
16158 ac_check_lib_save_LIBS=$LIBS
16159 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16163 /* Override any GCC internal prototype to avoid an error.
16164 Use char because int might match the return type of a GCC
16165 builtin and then its argument prototype would still apply. */
16166 #ifdef __cplusplus
16167 extern "C"
16168 #endif
16169 char ldap_initialize ();
16171 main ()
16173 return ldap_initialize ();
16175 return 0;
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179 ac_cv_lib_ldap_r_ldap_initialize=yes
16180 else
16181 ac_cv_lib_ldap_r_ldap_initialize=no
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16185 LIBS=$ac_check_lib_save_LIBS
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16188 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16189 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16191 $as_echo_n "checking for ber_init in -llber... " >&6; }
16192 if ${ac_cv_lib_lber_ber_init+:} false; then :
16193 $as_echo_n "(cached) " >&6
16194 else
16195 ac_check_lib_save_LIBS=$LIBS
16196 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16200 /* Override any GCC internal prototype to avoid an error.
16201 Use char because int might match the return type of a GCC
16202 builtin and then its argument prototype would still apply. */
16203 #ifdef __cplusplus
16204 extern "C"
16205 #endif
16206 char ber_init ();
16208 main ()
16210 return ber_init ();
16212 return 0;
16214 _ACEOF
16215 if ac_fn_c_try_link "$LINENO"; then :
16216 ac_cv_lib_lber_ber_init=yes
16217 else
16218 ac_cv_lib_lber_ber_init=no
16220 rm -f core conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16222 LIBS=$ac_check_lib_save_LIBS
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16225 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16226 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16228 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16230 else
16231 LDAP_LIBS=""
16234 else
16235 LDAP_LIBS=""
16238 else
16239 LDAP_LIBS=""
16242 ac_wine_check_funcs_save_LIBS="$LIBS"
16243 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16244 for ac_func in \
16245 ldap_count_references \
16246 ldap_first_reference \
16247 ldap_next_reference \
16248 ldap_parse_reference \
16249 ldap_parse_sort_control \
16250 ldap_parse_sortresponse_control \
16251 ldap_parse_vlv_control \
16252 ldap_parse_vlvresponse_control
16253 do :
16254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16256 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16259 _ACEOF
16262 done
16264 LIBS="$ac_wine_check_funcs_save_LIBS"
16265 else
16266 LDAP_LIBS=""
16268 CPPFLAGS=$ac_save_CPPFLAGS
16269 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16270 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16273 if test "x$LDAP_LIBS" = "x"; then :
16274 case "x$with_ldap" in
16275 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16276 xno) ;;
16277 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16278 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16279 esac
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16284 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16285 if ${wine_cv_one_arg_mkdir+:} false; then :
16286 $as_echo_n "(cached) " >&6
16287 else
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 #include <sys/stat.h>
16292 main ()
16294 mkdir("foo");
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_compile "$LINENO"; then :
16300 wine_cv_one_arg_mkdir=yes
16301 else
16302 wine_cv_one_arg_mkdir=no
16304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16307 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16308 if test "$wine_cv_one_arg_mkdir" = "yes"
16309 then
16311 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16316 $as_echo_n "checking for sched_setaffinity... " >&6; }
16317 if ${wine_cv_have_sched_setaffinity+:} false; then :
16318 $as_echo_n "(cached) " >&6
16319 else
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16322 #define _GNU_SOURCE
16323 #include <sched.h>
16325 main ()
16327 sched_setaffinity(0, 0, 0);
16329 return 0;
16331 _ACEOF
16332 if ac_fn_c_try_link "$LINENO"; then :
16333 wine_cv_have_sched_setaffinity=yes
16334 else
16335 wine_cv_have_sched_setaffinity=no
16337 rm -f core conftest.err conftest.$ac_objext \
16338 conftest$ac_exeext conftest.$ac_ext
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16341 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16342 if test "$wine_cv_have_sched_setaffinity" = "yes"
16343 then
16345 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16350 $as_echo_n "checking for fallocate... " >&6; }
16351 if ${wine_cv_have_fallocate+:} false; then :
16352 $as_echo_n "(cached) " >&6
16353 else
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 #define _GNU_SOURCE
16357 #include <fcntl.h>
16359 main ()
16361 fallocate(-1, 0, 0, 0);
16363 return 0;
16365 _ACEOF
16366 if ac_fn_c_try_link "$LINENO"; then :
16367 wine_cv_have_fallocate=yes
16368 else
16369 wine_cv_have_fallocate=no
16371 rm -f core conftest.err conftest.$ac_objext \
16372 conftest$ac_exeext conftest.$ac_ext
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16375 $as_echo "$wine_cv_have_fallocate" >&6; }
16376 if test "$wine_cv_have_fallocate" = "yes"
16377 then
16379 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16385 $as_echo_n "checking for inline... " >&6; }
16386 if ${ac_cv_c_inline+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 ac_cv_c_inline=no
16390 for ac_kw in inline __inline__ __inline; do
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16393 #ifndef __cplusplus
16394 typedef int foo_t;
16395 static $ac_kw foo_t static_foo () {return 0; }
16396 $ac_kw foo_t foo () {return 0; }
16397 #endif
16399 _ACEOF
16400 if ac_fn_c_try_compile "$LINENO"; then :
16401 ac_cv_c_inline=$ac_kw
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404 test "$ac_cv_c_inline" != no && break
16405 done
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16409 $as_echo "$ac_cv_c_inline" >&6; }
16411 case $ac_cv_c_inline in
16412 inline | yes) ;;
16414 case $ac_cv_c_inline in
16415 no) ac_val=;;
16416 *) ac_val=$ac_cv_c_inline;;
16417 esac
16418 cat >>confdefs.h <<_ACEOF
16419 #ifndef __cplusplus
16420 #define inline $ac_val
16421 #endif
16422 _ACEOF
16424 esac
16426 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16427 if test "x$ac_cv_type_mode_t" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_MODE_T 1
16431 _ACEOF
16435 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16436 if test "x$ac_cv_type_off_t" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_OFF_T 1
16440 _ACEOF
16444 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16445 if test "x$ac_cv_type_pid_t" = xyes; then :
16447 cat >>confdefs.h <<_ACEOF
16448 #define HAVE_PID_T 1
16449 _ACEOF
16453 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16454 if test "x$ac_cv_type_size_t" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_SIZE_T 1
16458 _ACEOF
16462 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16463 if test "x$ac_cv_type_ssize_t" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_SSIZE_T 1
16467 _ACEOF
16471 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16472 if test "x$ac_cv_type_long_long" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_LONG_LONG 1
16476 _ACEOF
16480 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16481 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_FSBLKCNT_T 1
16485 _ACEOF
16489 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16490 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16492 cat >>confdefs.h <<_ACEOF
16493 #define HAVE_FSFILCNT_T 1
16494 _ACEOF
16499 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16500 #include <signal.h>
16502 if test "x$ac_cv_type_sigset_t" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_SIGSET_T 1
16506 _ACEOF
16511 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16513 if test "x$ac_cv_type_request_sense" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_REQUEST_SENSE 1
16517 _ACEOF
16523 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16524 #ifdef HAVE_SYS_SOCKET_H
16525 #include <sys/socket.h>
16526 #endif
16527 #ifdef HAVE_SYS_SOCKETVAR_H
16528 #include <sys/socketvar.h>
16529 #endif
16530 #ifdef HAVE_NET_ROUTE_H
16531 #include <net/route.h>
16532 #endif
16533 #ifdef HAVE_NETINET_IN_H
16534 #include <netinet/in.h>
16535 #endif
16536 #ifdef HAVE_NETINET_IN_SYSTM_H
16537 #include <netinet/in_systm.h>
16538 #endif
16539 #ifdef HAVE_NETINET_IP_H
16540 #include <netinet/ip.h>
16541 #endif
16542 #ifdef HAVE_NETINET_IN_PCB_H
16543 #include <netinet/in_pcb.h>
16544 #endif
16546 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_STRUCT_XINPGEN 1
16550 _ACEOF
16556 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16557 #include <link.h>
16558 #endif
16559 #ifdef HAVE_SYS_LINK_H
16560 #include <sys/link.h>
16561 #endif
16563 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_R_DEBUG 1
16567 _ACEOF
16571 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16572 #include <link.h>
16573 #endif
16574 #ifdef HAVE_SYS_LINK_H
16575 #include <sys/link.h>
16576 #endif
16578 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_LINK_MAP 1
16582 _ACEOF
16588 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16589 #include <linux/input.h>
16590 #endif
16592 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16596 _ACEOF
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16603 $as_echo_n "checking for if_nameindex... " >&6; }
16604 if ${wine_cv_have_if_nameindex+:} false; then :
16605 $as_echo_n "(cached) " >&6
16606 else
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16609 #ifdef HAVE_SYS_TYPES_H
16610 #include <sys/types.h>
16611 #endif
16612 #ifdef HAVE_SYS_SOCKET_H
16613 #include <sys/socket.h>
16614 #endif
16615 #ifdef HAVE_NET_IF_H
16616 # include <net/if.h>
16617 #endif
16619 main ()
16621 struct if_nameindex *p = if_nameindex(); return p->if_index;
16623 return 0;
16625 _ACEOF
16626 if ac_fn_c_try_link "$LINENO"; then :
16627 wine_cv_have_if_nameindex=yes
16628 else
16629 wine_cv_have_if_nameindex=no
16631 rm -f core conftest.err conftest.$ac_objext \
16632 conftest$ac_exeext conftest.$ac_ext
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16635 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16636 if test "$wine_cv_have_if_nameindex" = "yes"
16637 then
16639 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16644 $as_echo_n "checking for sigaddset... " >&6; }
16645 if ${wine_cv_have_sigaddset+:} false; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16650 #include <signal.h>
16652 main ()
16654 sigset_t set; sigaddset(&set,SIGTERM);
16656 return 0;
16658 _ACEOF
16659 if ac_fn_c_try_link "$LINENO"; then :
16660 wine_cv_have_sigaddset=yes
16661 else
16662 wine_cv_have_sigaddset=no
16664 rm -f core conftest.err conftest.$ac_objext \
16665 conftest$ac_exeext conftest.$ac_ext
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16668 $as_echo "$wine_cv_have_sigaddset" >&6; }
16669 if test "$wine_cv_have_sigaddset" = "yes"
16670 then
16672 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16678 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16679 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16680 $as_echo_n "(cached) " >&6
16681 else
16682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16684 #include <netdb.h>
16686 main ()
16689 char *name=0;
16690 struct hostent he;
16691 struct hostent *result;
16692 char *buf=0;
16693 int bufsize=0;
16694 int errnr;
16695 char *addr=0;
16696 int addrlen=0;
16697 int addrtype=0;
16698 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16699 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"; then :
16706 wine_cv_linux_gethostbyname_r_6=yes
16707 else
16708 wine_cv_linux_gethostbyname_r_6=no
16711 rm -f core conftest.err conftest.$ac_objext \
16712 conftest$ac_exeext conftest.$ac_ext
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16716 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16717 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16718 then
16720 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16724 if test "$ac_cv_header_linux_joystick_h" = "yes"
16725 then
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16727 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16728 if ${wine_cv_linux_joystick_22_api+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16734 #include <sys/ioctl.h>
16735 #include <sys/types.h>
16736 #include <linux/joystick.h>
16738 struct js_event blub;
16739 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16740 #error "no 2.2 header"
16741 #endif
16744 main ()
16746 /*empty*/
16748 return 0;
16750 _ACEOF
16751 if ac_fn_c_try_compile "$LINENO"; then :
16752 wine_cv_linux_joystick_22_api=yes
16753 else
16754 wine_cv_linux_joystick_22_api=no
16756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16760 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16761 if test "$wine_cv_linux_joystick_22_api" = "yes"
16762 then
16764 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16770 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16771 #ifdef HAVE_SYS_PARAM_H
16772 # include <sys/param.h>
16773 #endif
16774 #ifdef HAVE_SYS_MOUNT_H
16775 # include <sys/mount.h>
16776 #endif
16777 #ifdef HAVE_SYS_VFS_H
16778 # include <sys/vfs.h>
16779 #endif
16780 #ifdef HAVE_SYS_STATFS_H
16781 # include <sys/statfs.h>
16782 #endif
16784 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_STATFS_F_BFREE 1
16788 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16793 #ifdef HAVE_SYS_PARAM_H
16794 # include <sys/param.h>
16795 #endif
16796 #ifdef HAVE_SYS_MOUNT_H
16797 # include <sys/mount.h>
16798 #endif
16799 #ifdef HAVE_SYS_VFS_H
16800 # include <sys/vfs.h>
16801 #endif
16802 #ifdef HAVE_SYS_STATFS_H
16803 # include <sys/statfs.h>
16804 #endif
16806 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16810 _ACEOF
16814 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16815 #ifdef HAVE_SYS_PARAM_H
16816 # include <sys/param.h>
16817 #endif
16818 #ifdef HAVE_SYS_MOUNT_H
16819 # include <sys/mount.h>
16820 #endif
16821 #ifdef HAVE_SYS_VFS_H
16822 # include <sys/vfs.h>
16823 #endif
16824 #ifdef HAVE_SYS_STATFS_H
16825 # include <sys/statfs.h>
16826 #endif
16828 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16830 cat >>confdefs.h <<_ACEOF
16831 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16832 _ACEOF
16836 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16837 #ifdef HAVE_SYS_PARAM_H
16838 # include <sys/param.h>
16839 #endif
16840 #ifdef HAVE_SYS_MOUNT_H
16841 # include <sys/mount.h>
16842 #endif
16843 #ifdef HAVE_SYS_VFS_H
16844 # include <sys/vfs.h>
16845 #endif
16846 #ifdef HAVE_SYS_STATFS_H
16847 # include <sys/statfs.h>
16848 #endif
16850 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_STRUCT_STATFS_F_FFREE 1
16854 _ACEOF
16858 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16859 #ifdef HAVE_SYS_PARAM_H
16860 # include <sys/param.h>
16861 #endif
16862 #ifdef HAVE_SYS_MOUNT_H
16863 # include <sys/mount.h>
16864 #endif
16865 #ifdef HAVE_SYS_VFS_H
16866 # include <sys/vfs.h>
16867 #endif
16868 #ifdef HAVE_SYS_STATFS_H
16869 # include <sys/statfs.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16876 _ACEOF
16880 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16881 #ifdef HAVE_SYS_PARAM_H
16882 # include <sys/param.h>
16883 #endif
16884 #ifdef HAVE_SYS_MOUNT_H
16885 # include <sys/mount.h>
16886 #endif
16887 #ifdef HAVE_SYS_VFS_H
16888 # include <sys/vfs.h>
16889 #endif
16890 #ifdef HAVE_SYS_STATFS_H
16891 # include <sys/statfs.h>
16892 #endif
16894 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16898 _ACEOF
16904 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16905 #include <sys/statvfs.h>
16906 #endif
16908 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16910 cat >>confdefs.h <<_ACEOF
16911 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16912 _ACEOF
16918 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16919 #include <dirent.h>
16920 #endif
16922 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16926 _ACEOF
16932 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16933 #ifdef HAVE_SYS_SOCKET_H
16934 # include <sys/socket.h>
16935 #endif
16936 #ifdef HAVE_SYS_UN_H
16937 # include <sys/un.h>
16938 #endif
16940 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16944 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16949 #ifdef HAVE_SYS_SOCKET_H
16950 # include <sys/socket.h>
16951 #endif
16952 #ifdef HAVE_SYS_UN_H
16953 # include <sys/un.h>
16954 #endif
16956 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16960 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16965 #ifdef HAVE_SYS_SOCKET_H
16966 # include <sys/socket.h>
16967 #endif
16968 #ifdef HAVE_SYS_UN_H
16969 # include <sys/un.h>
16970 #endif
16972 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16976 _ACEOF
16982 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16983 #ifdef HAVE_SCSI_SG_H
16984 #include <scsi/sg.h>
16985 #endif
16987 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16989 cat >>confdefs.h <<_ACEOF
16990 #define HAVE_SCSIREQ_T_CMD 1
16991 _ACEOF
16995 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>
16996 #ifdef HAVE_SCSI_SG_H
16997 #include <scsi/sg.h>
16998 #endif
17000 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17002 cat >>confdefs.h <<_ACEOF
17003 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17004 _ACEOF
17010 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17012 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_SIGINFO_T_SI_FD 1
17016 _ACEOF
17022 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17023 #ifdef HAVE_SYS_MTIO_H
17024 #include <sys/mtio.h>
17025 #endif
17027 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17029 cat >>confdefs.h <<_ACEOF
17030 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17031 _ACEOF
17035 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17036 #ifdef HAVE_SYS_MTIO_H
17037 #include <sys/mtio.h>
17038 #endif
17040 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17042 cat >>confdefs.h <<_ACEOF
17043 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17044 _ACEOF
17048 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17049 #ifdef HAVE_SYS_MTIO_H
17050 #include <sys/mtio.h>
17051 #endif
17053 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17055 cat >>confdefs.h <<_ACEOF
17056 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17057 _ACEOF
17063 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17064 #include <getopt.h>
17065 #endif
17067 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17069 cat >>confdefs.h <<_ACEOF
17070 #define HAVE_STRUCT_OPTION_NAME 1
17071 _ACEOF
17077 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17078 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17082 _ACEOF
17086 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17087 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17089 cat >>confdefs.h <<_ACEOF
17090 #define HAVE_STRUCT_STAT_ST_MTIM 1
17091 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17096 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17098 cat >>confdefs.h <<_ACEOF
17099 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17100 _ACEOF
17104 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17105 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_STRUCT_STAT_ST_CTIM 1
17109 _ACEOF
17113 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17114 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17116 cat >>confdefs.h <<_ACEOF
17117 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17118 _ACEOF
17122 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17123 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17125 cat >>confdefs.h <<_ACEOF
17126 #define HAVE_STRUCT_STAT_ST_ATIM 1
17127 _ACEOF
17131 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17132 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17134 cat >>confdefs.h <<_ACEOF
17135 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17136 _ACEOF
17140 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17141 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17143 cat >>confdefs.h <<_ACEOF
17144 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17145 _ACEOF
17149 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17150 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17154 _ACEOF
17158 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17159 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17161 cat >>confdefs.h <<_ACEOF
17162 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17163 _ACEOF
17167 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17168 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17170 cat >>confdefs.h <<_ACEOF
17171 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17172 _ACEOF
17176 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17177 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17179 cat >>confdefs.h <<_ACEOF
17180 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17181 _ACEOF
17187 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
17188 #include <sys/types.h>
17189 #endif
17190 #ifdef HAVE_NETINET_IN_H
17191 #include <netinet/in.h>
17192 #endif
17194 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17196 cat >>confdefs.h <<_ACEOF
17197 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17198 _ACEOF
17204 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17205 #include <sys/types.h>
17206 #endif
17207 #ifdef HAVE_NETINET_IN_H
17208 #include <netinet/in.h>
17209 #endif
17210 #ifdef HAVE_RESOLV_H
17211 #include <resolv.h>
17212 #endif
17214 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_STRUCT___RES_STATE 1
17218 _ACEOF
17224 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
17225 #include <resolv.h>
17226 #endif
17228 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17230 cat >>confdefs.h <<_ACEOF
17231 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17232 _ACEOF
17238 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17239 #include <sys/types.h>
17240 #endif
17241 #ifdef HAVE_NETINET_IN_H
17242 # include <netinet/in.h>
17243 #endif
17244 #ifdef HAVE_ARPA_NAMESER_H
17245 # include <arpa/nameser.h>
17246 #endif
17248 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17250 cat >>confdefs.h <<_ACEOF
17251 #define HAVE_NS_MSG__MSG_PTR 1
17252 _ACEOF
17258 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17259 #include <sys/types.h>
17260 #endif
17261 #ifdef HAVE_NETINET_IN_H
17262 #include <netinet/in.h>
17263 #endif
17264 #ifdef HAVE_NETINET_IP_H
17265 #include <netinet/ip.h>
17266 #endif
17267 #ifdef HAVE_NETINET_IP_ICMP_H
17268 #include <netinet/ip_icmp.h>
17269 #endif
17270 #ifdef HAVE_NETINET_ICMP_VAR_H
17271 #include <netinet/icmp_var.h>
17272 #endif
17274 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17276 cat >>confdefs.h <<_ACEOF
17277 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17278 _ACEOF
17284 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17285 #include <sys/types.h>
17286 #endif
17287 #ifdef HAVE_ALIAS_H
17288 #include <alias.h>
17289 #endif
17290 #ifdef HAVE_SYS_SOCKET_H
17291 #include <sys/socket.h>
17292 #endif
17293 #ifdef HAVE_SYS_SOCKETVAR_H
17294 #include <sys/socketvar.h>
17295 #endif
17296 #ifdef HAVE_SYS_TIMEOUT_H
17297 #include <sys/timeout.h>
17298 #endif
17299 #ifdef HAVE_NETINET_IN_H
17300 #include <netinet/in.h>
17301 #endif
17302 #ifdef HAVE_NETINET_IN_SYSTM_H
17303 #include <netinet/in_systm.h>
17304 #endif
17305 #ifdef HAVE_NETINET_IP_H
17306 #include <netinet/ip.h>
17307 #endif
17308 #ifdef HAVE_NETINET_IP_VAR_H
17309 #include <netinet/ip_var.h>
17310 #endif
17311 #ifdef HAVE_NETINET_IP_ICMP_H
17312 #include <netinet/ip_icmp.h>
17313 #endif
17314 #ifdef HAVE_NETINET_ICMP_VAR_H
17315 #include <netinet/icmp_var.h>
17316 #endif
17318 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17322 _ACEOF
17328 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17329 #include <sys/types.h>
17330 #endif
17331 #ifdef HAVE_SYS_SOCKETVAR_H
17332 #include <sys/socketvar.h>
17333 #endif
17334 #ifdef HAVE_NETINET_IN_H
17335 #include <netinet/in.h>
17336 #endif
17337 #ifdef HAVE_NETINET_IP_VAR_H
17338 #include <netinet/ip_var.h>
17339 #endif
17341 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17345 _ACEOF
17351 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
17352 #include <netinet/ip_var.h>
17353 #endif
17355 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17357 cat >>confdefs.h <<_ACEOF
17358 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17359 _ACEOF
17365 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17366 #include <sys/types.h>
17367 #endif
17368 #ifdef HAVE_SYS_SOCKETVAR_H
17369 #include <sys/socketvar.h>
17370 #endif
17371 #ifdef HAVE_NETINET_IN_H
17372 #include <netinet/in.h>
17373 #endif
17374 #ifdef HAVE_NETINET_TCP_H
17375 #include <netinet/tcp.h>
17376 #endif
17377 #ifdef HAVE_NETINET_TCP_VAR_H
17378 #include <netinet/tcp_var.h>
17379 #endif
17381 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17383 cat >>confdefs.h <<_ACEOF
17384 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17385 _ACEOF
17391 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
17392 #include <netinet/tcp_var.h>
17393 #endif
17395 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17397 cat >>confdefs.h <<_ACEOF
17398 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17399 _ACEOF
17405 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17406 #include <sys/types.h>
17407 #endif
17408 #ifdef HAVE_NETINET_IN_H
17409 #include <netinet/in.h>
17410 #endif
17411 #ifdef HAVE_NETINET_IP_VAR_H
17412 #include <netinet/ip_var.h>
17413 #endif
17414 #ifdef HAVE_NETINET_UDP_H
17415 #include <netinet/udp.h>
17416 #endif
17417 #ifdef HAVE_NETINET_UDP_VAR_H
17418 #include <netinet/udp_var.h>
17419 #endif
17421 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17425 _ACEOF
17431 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17432 #include <sys/types.h>
17433 #endif
17434 #ifdef HAVE_NET_IF_H
17435 # include <net/if.h>
17436 #endif
17438 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17440 cat >>confdefs.h <<_ACEOF
17441 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17442 _ACEOF
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17449 $as_echo_n "checking for timezone variable... " >&6; }
17450 if ${ac_cv_have_timezone+:} false; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17455 #include <time.h>
17457 main ()
17459 timezone = 1
17461 return 0;
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"; then :
17465 ac_cv_have_timezone="yes"
17466 else
17467 ac_cv_have_timezone="no"
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17473 $as_echo "$ac_cv_have_timezone" >&6; }
17474 if test "$ac_cv_have_timezone" = "yes"
17475 then
17477 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17481 $as_echo_n "checking for daylight variable... " >&6; }
17482 if ${ac_cv_have_daylight+:} false; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 #include <time.h>
17489 main ()
17491 daylight = 1
17493 return 0;
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_have_daylight="yes"
17498 else
17499 ac_cv_have_daylight="no"
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17505 $as_echo "$ac_cv_have_daylight" >&6; }
17506 if test "$ac_cv_have_daylight" = "yes"
17507 then
17509 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17513 ac_save_LIBS="$LIBS"
17514 LIBS="$LIBS -lm"
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17516 $as_echo_n "checking for isfinite... " >&6; }
17517 if ${ac_cv_have_isfinite+:} false; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17522 #define _GNU_SOURCE
17523 #include <math.h>
17525 main ()
17527 float f = 0.0; return isfinite(f)
17529 return 0;
17531 _ACEOF
17532 if ac_fn_c_try_link "$LINENO"; then :
17533 ac_cv_have_isfinite="yes"
17534 else
17535 ac_cv_have_isfinite="no"
17537 rm -f core conftest.err conftest.$ac_objext \
17538 conftest$ac_exeext conftest.$ac_ext
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17541 $as_echo "$ac_cv_have_isfinite" >&6; }
17542 if test "$ac_cv_have_isfinite" = "yes"
17543 then
17545 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17550 $as_echo_n "checking for isinf... " >&6; }
17551 if ${ac_cv_have_isinf+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <math.h>
17558 main ()
17560 float f = 0.0; return isinf(f)
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_have_isinf="yes"
17567 else
17568 ac_cv_have_isinf="no"
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17574 $as_echo "$ac_cv_have_isinf" >&6; }
17575 if test "$ac_cv_have_isinf" = "yes"
17576 then
17578 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17583 $as_echo_n "checking for isnan... " >&6; }
17584 if ${ac_cv_have_isnan+:} false; then :
17585 $as_echo_n "(cached) " >&6
17586 else
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <math.h>
17591 main ()
17593 float f = 0.0; return isnan(f)
17595 return 0;
17597 _ACEOF
17598 if ac_fn_c_try_link "$LINENO"; then :
17599 ac_cv_have_isnan="yes"
17600 else
17601 ac_cv_have_isnan="no"
17603 rm -f core conftest.err conftest.$ac_objext \
17604 conftest$ac_exeext conftest.$ac_ext
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17607 $as_echo "$ac_cv_have_isnan" >&6; }
17608 if test "$ac_cv_have_isnan" = "yes"
17609 then
17611 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17615 for ac_func in \
17616 acosh \
17617 acoshf \
17618 asinh \
17619 asinhf \
17620 atanh \
17621 atanhf \
17622 cbrt \
17623 cbrtf \
17624 erf \
17625 erfc \
17626 erfcf \
17627 erff \
17628 exp2 \
17629 exp2f \
17630 expm1 \
17631 expm1f \
17632 lgamma \
17633 lgammaf \
17634 llrint \
17635 llrintf \
17636 llround \
17637 llroundf \
17638 log1p \
17639 log1pf \
17640 log2 \
17641 log2f \
17642 lrint \
17643 lrintf \
17644 lround \
17645 lroundf \
17646 nearbyint \
17647 nearbyintf \
17648 powl \
17649 remainder \
17650 remainderf \
17651 rint \
17652 rintf \
17653 round \
17654 roundf \
17655 trunc \
17656 truncf
17658 do :
17659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17661 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17662 cat >>confdefs.h <<_ACEOF
17663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17664 _ACEOF
17667 done
17669 LIBS="$ac_save_LIBS"
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17672 $as_echo_n "checking for __builtin_clz... " >&6; }
17673 if ${ac_cv_have___builtin_clz+:} false; then :
17674 $as_echo_n "(cached) " >&6
17675 else
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17680 main ()
17682 return __builtin_clz(1)
17684 return 0;
17686 _ACEOF
17687 if ac_fn_c_try_link "$LINENO"; then :
17688 ac_cv_have___builtin_clz="yes"
17689 else
17690 ac_cv_have___builtin_clz="no"
17692 rm -f core conftest.err conftest.$ac_objext \
17693 conftest$ac_exeext conftest.$ac_ext
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17696 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17697 if test "$ac_cv_have___builtin_clz" = "yes"
17698 then
17700 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17705 $as_echo_n "checking for __builtin_popcount... " >&6; }
17706 if ${ac_cv_have___builtin_popcount+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17713 main ()
17715 return __builtin_popcount(1)
17717 return 0;
17719 _ACEOF
17720 if ac_fn_c_try_link "$LINENO"; then :
17721 ac_cv_have___builtin_popcount="yes"
17722 else
17723 ac_cv_have___builtin_popcount="no"
17725 rm -f core conftest.err conftest.$ac_objext \
17726 conftest$ac_exeext conftest.$ac_ext
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17729 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17730 if test "$ac_cv_have___builtin_popcount" = "yes"
17731 then
17733 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17738 case $host_cpu in
17739 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17740 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17741 if ${ac_cv_cpp_def___i386__+:} false; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17746 #ifndef __i386__
17748 #endif
17749 _ACEOF
17750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17751 $EGREP "yes" >/dev/null 2>&1; then :
17752 ac_cv_cpp_def___i386__=yes
17753 else
17754 ac_cv_cpp_def___i386__=no
17756 rm -f conftest*
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17760 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17761 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17762 CFLAGS="$CFLAGS -D__i386__"
17763 LINTFLAGS="$LINTFLAGS -D__i386__"
17764 fi ;;
17765 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17766 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17767 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 #ifndef __x86_64__
17774 #endif
17775 _ACEOF
17776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17777 $EGREP "yes" >/dev/null 2>&1; then :
17778 ac_cv_cpp_def___x86_64__=yes
17779 else
17780 ac_cv_cpp_def___x86_64__=no
17782 rm -f conftest*
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17786 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17787 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17788 CFLAGS="$CFLAGS -D__x86_64__"
17789 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17790 fi ;;
17791 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17792 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17793 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17798 #ifndef __sparc64__
17800 #endif
17801 _ACEOF
17802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17803 $EGREP "yes" >/dev/null 2>&1; then :
17804 ac_cv_cpp_def___sparc64__=yes
17805 else
17806 ac_cv_cpp_def___sparc64__=no
17808 rm -f conftest*
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17812 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17813 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17814 CFLAGS="$CFLAGS -D__sparc64__"
17815 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17816 fi ;;
17817 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17818 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17819 if ${ac_cv_cpp_def___sparc__+:} false; then :
17820 $as_echo_n "(cached) " >&6
17821 else
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #ifndef __sparc__
17826 #endif
17827 _ACEOF
17828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17829 $EGREP "yes" >/dev/null 2>&1; then :
17830 ac_cv_cpp_def___sparc__=yes
17831 else
17832 ac_cv_cpp_def___sparc__=no
17834 rm -f conftest*
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17838 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17839 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17840 CFLAGS="$CFLAGS -D__sparc__"
17841 LINTFLAGS="$LINTFLAGS -D__sparc__"
17842 fi ;;
17843 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17844 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17845 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17846 $as_echo_n "(cached) " >&6
17847 else
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17850 #ifndef __powerpc64__
17852 #endif
17853 _ACEOF
17854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17855 $EGREP "yes" >/dev/null 2>&1; then :
17856 ac_cv_cpp_def___powerpc64__=yes
17857 else
17858 ac_cv_cpp_def___powerpc64__=no
17860 rm -f conftest*
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17864 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17865 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17866 CFLAGS="$CFLAGS -D__powerpc64__"
17867 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17868 fi ;;
17869 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17870 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17871 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17872 $as_echo_n "(cached) " >&6
17873 else
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17876 #ifndef __powerpc__
17878 #endif
17879 _ACEOF
17880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17881 $EGREP "yes" >/dev/null 2>&1; then :
17882 ac_cv_cpp_def___powerpc__=yes
17883 else
17884 ac_cv_cpp_def___powerpc__=no
17886 rm -f conftest*
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17890 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17891 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17892 CFLAGS="$CFLAGS -D__powerpc__"
17893 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17894 fi ;;
17895 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17896 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17897 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17898 $as_echo_n "(cached) " >&6
17899 else
17900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17901 /* end confdefs.h. */
17902 #ifndef __aarch64__
17904 #endif
17905 _ACEOF
17906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17907 $EGREP "yes" >/dev/null 2>&1; then :
17908 ac_cv_cpp_def___aarch64__=yes
17909 else
17910 ac_cv_cpp_def___aarch64__=no
17912 rm -f conftest*
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17916 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17917 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17918 CFLAGS="$CFLAGS -D__aarch64__"
17919 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17920 fi ;;
17921 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17922 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17923 if ${ac_cv_cpp_def___arm__+:} false; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17928 #ifndef __arm__
17930 #endif
17931 _ACEOF
17932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17933 $EGREP "yes" >/dev/null 2>&1; then :
17934 ac_cv_cpp_def___arm__=yes
17935 else
17936 ac_cv_cpp_def___arm__=no
17938 rm -f conftest*
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17942 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17943 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17944 CFLAGS="$CFLAGS -D__arm__"
17945 LINTFLAGS="$LINTFLAGS -D__arm__"
17946 fi ;;
17947 esac
17949 case $host_vendor in
17950 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17951 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17952 if ${ac_cv_cpp_def___sun__+:} false; then :
17953 $as_echo_n "(cached) " >&6
17954 else
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h. */
17957 #ifndef __sun__
17959 #endif
17960 _ACEOF
17961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17962 $EGREP "yes" >/dev/null 2>&1; then :
17963 ac_cv_cpp_def___sun__=yes
17964 else
17965 ac_cv_cpp_def___sun__=no
17967 rm -f conftest*
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17971 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17972 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17973 CFLAGS="$CFLAGS -D__sun__"
17974 LINTFLAGS="$LINTFLAGS -D__sun__"
17975 fi ;;
17976 esac
17982 ac_config_commands="$ac_config_commands include/stamp-h"
17984 $as_echo_n "creating Makefile rules..." >&6
17986 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17987 SOCKET_LIBS = $SOCKET_LIBS
17988 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17989 IOKIT_LIBS = $IOKIT_LIBS
17990 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17991 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17992 CORESERVICES_LIBS = $CORESERVICES_LIBS
17993 APPKIT_LIBS = $APPKIT_LIBS
17994 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17995 SECURITY_LIBS = $SECURITY_LIBS
17996 COREAUDIO_LIBS = $COREAUDIO_LIBS
17997 OPENAL_LIBS = $OPENAL_LIBS
17998 OPENCL_LIBS = $OPENCL_LIBS
17999 QUICKTIME_LIBS = $QUICKTIME_LIBS
18000 CARBON_LIBS = $CARBON_LIBS
18001 PTHREAD_LIBS = $PTHREAD_LIBS
18002 X_CFLAGS = $X_CFLAGS
18003 X_PRE_LIBS = $X_PRE_LIBS
18004 X_LIBS = $X_LIBS
18005 X_EXTRA_LIBS = $X_EXTRA_LIBS
18006 PCAP_LIBS = $PCAP_LIBS
18007 XML2_CFLAGS = $XML2_CFLAGS
18008 XML2_LIBS = $XML2_LIBS
18009 XSLT_CFLAGS = $XSLT_CFLAGS
18010 XSLT_LIBS = $XSLT_LIBS
18011 DBUS_CFLAGS = $DBUS_CFLAGS
18012 DBUS_LIBS = $DBUS_LIBS
18013 HAL_CFLAGS = $HAL_CFLAGS
18014 HAL_LIBS = $HAL_LIBS
18015 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18016 GNUTLS_LIBS = $GNUTLS_LIBS
18017 SANE_CFLAGS = $SANE_CFLAGS
18018 SANE_LIBS = $SANE_LIBS
18019 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18020 GPHOTO2_LIBS = $GPHOTO2_LIBS
18021 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18022 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18023 RESOLV_LIBS = $RESOLV_LIBS
18024 LCMS2_CFLAGS = $LCMS2_CFLAGS
18025 LCMS2_LIBS = $LCMS2_LIBS
18026 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18027 FREETYPE_LIBS = $FREETYPE_LIBS
18028 Z_LIBS = $Z_LIBS
18029 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18030 PULSE_CFLAGS = $PULSE_CFLAGS
18031 PULSE_LIBS = $PULSE_LIBS
18032 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18033 GSTREAMER_LIBS = $GSTREAMER_LIBS
18034 ALSA_LIBS = $ALSA_LIBS
18035 OSS4_CFLAGS = $OSS4_CFLAGS
18036 UDEV_CFLAGS = $UDEV_CFLAGS
18037 UDEV_LIBS = $UDEV_LIBS
18038 CAPI20_CFLAGS = $CAPI20_CFLAGS
18039 CAPI20_LIBS = $CAPI20_LIBS
18040 CUPS_CFLAGS = $CUPS_CFLAGS
18041 CUPS_LIBS = $CUPS_LIBS
18042 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18043 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18044 KRB5_CFLAGS = $KRB5_CFLAGS
18045 KRB5_LIBS = $KRB5_LIBS
18046 JPEG_CFLAGS = $JPEG_CFLAGS
18047 JPEG_LIBS = $JPEG_LIBS
18048 PNG_CFLAGS = $PNG_CFLAGS
18049 PNG_LIBS = $PNG_LIBS
18050 TIFF_CFLAGS = $TIFF_CFLAGS
18051 TIFF_LIBS = $TIFF_LIBS
18052 MPG123_CFLAGS = $MPG123_CFLAGS
18053 MPG123_LIBS = $MPG123_LIBS
18054 KSTAT_LIBS = $KSTAT_LIBS
18055 PROCSTAT_LIBS = $PROCSTAT_LIBS
18056 NETAPI_CFLAGS = $NETAPI_CFLAGS
18057 NETAPI_LIBS = $NETAPI_LIBS
18058 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18059 DL_LIBS = $DL_LIBS
18060 POLL_LIBS = $POLL_LIBS
18061 RT_LIBS = $RT_LIBS
18062 LDAP_CFLAGS = $LDAP_CFLAGS
18063 LDAP_LIBS = $LDAP_LIBS
18068 wine_fn_append_rule "
18069 # Rules automatically generated by configure
18071 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18073 .INIT: Makefile
18074 .MAKEFILEDEPS:
18075 all: Makefile
18076 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18077 @./config.status Make.tmp Makefile
18078 depend: \$(MAKEDEP) dummy
18079 \$(MAKEDEP)"
18081 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18082 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18084 if test "x$enable_fonts" != xno; then
18085 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18086 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18087 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18088 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18089 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18090 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18092 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18093 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18094 ac_config_links="$ac_config_links wine:tools/winewrapper"
18095 wine_fn_config_symlink wine
18096 if test "x$enable_win64" != xno; then
18097 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18098 wine_fn_config_symlink wine64
18101 wine_fn_config_dll acledit enable_acledit
18102 wine_fn_config_dll aclui enable_aclui implib
18103 wine_fn_config_dll activeds enable_activeds implib
18104 wine_fn_config_dll actxprxy enable_actxprxy clean
18105 wine_fn_config_lib adsiid
18106 wine_fn_config_dll adsldpc enable_adsldpc
18107 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18108 wine_fn_config_test dlls/advapi32/tests advapi32_test
18109 wine_fn_config_dll advpack enable_advpack implib
18110 wine_fn_config_test dlls/advpack/tests advpack_test
18111 wine_fn_config_dll amstream enable_amstream clean
18112 wine_fn_config_test dlls/amstream/tests amstream_test
18113 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18114 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18115 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18116 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18117 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18118 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18119 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18120 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18121 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18122 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18123 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18124 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18125 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18126 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18127 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18128 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18129 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18130 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18131 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18132 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18133 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18134 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18135 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18136 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18137 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18138 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18139 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18140 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18141 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18142 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18143 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18144 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18145 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18146 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18147 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18148 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18149 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18150 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18151 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18152 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18153 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18154 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18155 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18156 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18157 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18158 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18159 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18160 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18161 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18162 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18163 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18164 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18165 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18166 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18167 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18168 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18169 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18170 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18171 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18172 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18173 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18174 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18175 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18176 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18177 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18178 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18179 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18180 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18181 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18182 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18183 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18184 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18185 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18186 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18187 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18188 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18189 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18190 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18191 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18192 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18193 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18194 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18195 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18196 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18197 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18198 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18199 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18200 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18201 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18202 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18203 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18204 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18205 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18206 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18207 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18208 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18209 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18210 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18211 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18212 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18213 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18214 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18215 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18216 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18217 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18218 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18219 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18220 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18221 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18222 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18223 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18224 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18225 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18226 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18227 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18228 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18229 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18230 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18231 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18232 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18233 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18234 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18235 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18236 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18237 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18238 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18239 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18240 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18241 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18242 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18243 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18244 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18245 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18246 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18247 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18248 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18249 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18250 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18251 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18252 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18253 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18254 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18255 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18256 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18257 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18258 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18259 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18260 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18261 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18262 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18263 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18264 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18265 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18266 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18267 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18268 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18269 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18270 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18271 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18272 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18273 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18274 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18275 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18276 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18277 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18278 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18279 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18280 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18281 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18282 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18283 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18284 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18285 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18286 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18287 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18288 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18289 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18290 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18291 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18292 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18293 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18294 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18295 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18296 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18297 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18298 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18299 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18300 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18301 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18302 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18303 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18304 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18305 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18306 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18307 wine_fn_config_dll apphelp enable_apphelp
18308 wine_fn_config_test dlls/apphelp/tests apphelp_test
18309 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18310 wine_fn_config_dll atl enable_atl clean,implib
18311 wine_fn_config_test dlls/atl/tests atl_test
18312 wine_fn_config_dll atl100 enable_atl100 clean,implib
18313 wine_fn_config_test dlls/atl100/tests atl100_test
18314 wine_fn_config_dll atl110 enable_atl110 clean
18315 wine_fn_config_dll atl80 enable_atl80 clean,implib
18316 wine_fn_config_test dlls/atl80/tests atl80_test
18317 wine_fn_config_dll atl90 enable_atl90 clean
18318 wine_fn_config_dll authz enable_authz
18319 wine_fn_config_dll avicap32 enable_avicap32 implib
18320 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18321 wine_fn_config_test dlls/avifil32/tests avifil32_test
18322 wine_fn_config_dll avifile.dll16 enable_win16
18323 wine_fn_config_dll avrt enable_avrt implib
18324 wine_fn_config_dll bcrypt enable_bcrypt implib
18325 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18326 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18327 wine_fn_config_dll browseui enable_browseui clean
18328 wine_fn_config_test dlls/browseui/tests browseui_test
18329 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18330 wine_fn_config_dll cabinet enable_cabinet implib
18331 wine_fn_config_test dlls/cabinet/tests cabinet_test
18332 wine_fn_config_dll capi2032 enable_capi2032 implib
18333 wine_fn_config_dll cards enable_cards implib
18334 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18335 wine_fn_config_dll clusapi enable_clusapi implib
18336 wine_fn_config_dll combase enable_combase
18337 wine_fn_config_test dlls/combase/tests combase_test
18338 wine_fn_config_dll comcat enable_comcat
18339 wine_fn_config_test dlls/comcat/tests comcat_test
18340 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18341 wine_fn_config_test dlls/comctl32/tests comctl32_test
18342 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18343 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18344 wine_fn_config_dll comm.drv16 enable_win16
18345 wine_fn_config_dll commdlg.dll16 enable_win16
18346 wine_fn_config_dll compobj.dll16 enable_win16
18347 wine_fn_config_dll compstui enable_compstui implib
18348 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18349 wine_fn_config_dll concrt140 enable_concrt140
18350 wine_fn_config_dll connect enable_connect
18351 wine_fn_config_dll credui enable_credui clean,implib
18352 wine_fn_config_test dlls/credui/tests credui_test
18353 wine_fn_config_dll crtdll enable_crtdll
18354 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18355 wine_fn_config_test dlls/crypt32/tests crypt32_test
18356 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18357 wine_fn_config_dll cryptdll enable_cryptdll implib
18358 wine_fn_config_dll cryptext enable_cryptext
18359 wine_fn_config_dll cryptnet enable_cryptnet implib
18360 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18361 wine_fn_config_dll cryptui enable_cryptui clean,implib
18362 wine_fn_config_test dlls/cryptui/tests cryptui_test
18363 wine_fn_config_dll ctapi32 enable_ctapi32
18364 wine_fn_config_dll ctl3d.dll16 enable_win16
18365 wine_fn_config_dll ctl3d32 enable_ctl3d32
18366 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18367 wine_fn_config_dll d2d1 enable_d2d1 implib
18368 wine_fn_config_test dlls/d2d1/tests d2d1_test
18369 wine_fn_config_dll d3d10 enable_d3d10 implib
18370 wine_fn_config_test dlls/d3d10/tests d3d10_test
18371 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18372 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18373 wine_fn_config_dll d3d10core enable_d3d10core implib
18374 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18375 wine_fn_config_dll d3d11 enable_d3d11 implib
18376 wine_fn_config_test dlls/d3d11/tests d3d11_test
18377 wine_fn_config_dll d3d8 enable_d3d8 implib
18378 wine_fn_config_test dlls/d3d8/tests d3d8_test
18379 wine_fn_config_dll d3d9 enable_d3d9 implib
18380 wine_fn_config_test dlls/d3d9/tests d3d9_test
18381 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18382 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18383 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18384 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18385 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18386 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18387 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18388 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18389 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18390 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18391 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18392 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18393 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18394 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18395 wine_fn_config_dll d3dim enable_d3dim
18396 wine_fn_config_dll d3drm enable_d3drm implib
18397 wine_fn_config_test dlls/d3drm/tests d3drm_test
18398 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18399 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18400 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18401 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18402 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18403 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18404 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18405 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18406 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18407 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18408 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18409 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18410 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18411 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18412 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18413 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18414 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18415 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18416 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18417 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18418 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18419 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18420 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18421 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18422 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18423 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18424 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18425 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18426 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18427 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18428 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18429 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18430 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18431 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18432 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18433 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18434 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18435 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18436 wine_fn_config_dll davclnt enable_davclnt
18437 wine_fn_config_dll dbgeng enable_dbgeng implib
18438 wine_fn_config_dll dbghelp enable_dbghelp implib
18439 wine_fn_config_dll dciman32 enable_dciman32 implib
18440 wine_fn_config_dll ddeml.dll16 enable_win16
18441 wine_fn_config_dll ddraw enable_ddraw clean,implib
18442 wine_fn_config_test dlls/ddraw/tests ddraw_test
18443 wine_fn_config_dll ddrawex enable_ddrawex clean
18444 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18445 wine_fn_config_dll devenum enable_devenum clean
18446 wine_fn_config_test dlls/devenum/tests devenum_test
18447 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18448 wine_fn_config_dll difxapi enable_difxapi
18449 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18450 wine_fn_config_test dlls/dinput/tests dinput_test
18451 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18452 wine_fn_config_test dlls/dinput8/tests dinput8_test
18453 wine_fn_config_dll dispdib.dll16 enable_win16
18454 wine_fn_config_dll dispex enable_dispex clean
18455 wine_fn_config_test dlls/dispex/tests dispex_test
18456 wine_fn_config_dll display.drv16 enable_win16
18457 wine_fn_config_dll dmband enable_dmband clean
18458 wine_fn_config_test dlls/dmband/tests dmband_test
18459 wine_fn_config_dll dmcompos enable_dmcompos clean
18460 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18461 wine_fn_config_dll dmime enable_dmime clean
18462 wine_fn_config_test dlls/dmime/tests dmime_test
18463 wine_fn_config_dll dmloader enable_dmloader clean
18464 wine_fn_config_test dlls/dmloader/tests dmloader_test
18465 wine_fn_config_dll dmscript enable_dmscript clean
18466 wine_fn_config_test dlls/dmscript/tests dmscript_test
18467 wine_fn_config_dll dmstyle enable_dmstyle clean
18468 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18469 wine_fn_config_dll dmsynth enable_dmsynth clean
18470 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18471 wine_fn_config_dll dmusic enable_dmusic clean
18472 wine_fn_config_test dlls/dmusic/tests dmusic_test
18473 wine_fn_config_dll dmusic32 enable_dmusic32
18474 wine_fn_config_dll dnsapi enable_dnsapi implib
18475 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18476 wine_fn_config_dll dplay enable_dplay
18477 wine_fn_config_dll dplayx enable_dplayx clean,implib
18478 wine_fn_config_test dlls/dplayx/tests dplayx_test
18479 wine_fn_config_dll dpnaddr enable_dpnaddr
18480 wine_fn_config_dll dpnet enable_dpnet clean,implib
18481 wine_fn_config_test dlls/dpnet/tests dpnet_test
18482 wine_fn_config_dll dpnhpast enable_dpnhpast
18483 wine_fn_config_dll dpnlobby enable_dpnlobby
18484 wine_fn_config_dll dpvoice enable_dpvoice clean
18485 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18486 wine_fn_config_dll dpwsockx enable_dpwsockx
18487 wine_fn_config_dll drmclien enable_drmclien
18488 wine_fn_config_dll dsound enable_dsound clean,implib
18489 wine_fn_config_test dlls/dsound/tests dsound_test
18490 wine_fn_config_dll dsquery enable_dsquery clean
18491 wine_fn_config_dll dssenh enable_dssenh
18492 wine_fn_config_test dlls/dssenh/tests dssenh_test
18493 wine_fn_config_dll dswave enable_dswave clean
18494 wine_fn_config_test dlls/dswave/tests dswave_test
18495 wine_fn_config_dll dwmapi enable_dwmapi implib
18496 wine_fn_config_dll dwrite enable_dwrite implib
18497 wine_fn_config_test dlls/dwrite/tests dwrite_test
18498 wine_fn_config_dll dx8vb enable_dx8vb clean
18499 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18500 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18501 wine_fn_config_lib dxerr8
18502 wine_fn_config_lib dxerr9
18503 wine_fn_config_dll dxgi enable_dxgi implib
18504 wine_fn_config_test dlls/dxgi/tests dxgi_test
18505 wine_fn_config_lib dxguid
18506 wine_fn_config_dll dxva2 enable_dxva2
18507 wine_fn_config_dll esent enable_esent
18508 wine_fn_config_dll evr enable_evr clean
18509 wine_fn_config_test dlls/evr/tests evr_test
18510 wine_fn_config_dll explorerframe enable_explorerframe clean
18511 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18512 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18513 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18514 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18515 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18516 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18517 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18518 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18519 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18520 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18521 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18522 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18523 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18524 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18525 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18526 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18527 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18528 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18529 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18530 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
18531 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18532 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18533 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18534 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18535 wine_fn_config_dll faultrep enable_faultrep implib
18536 wine_fn_config_test dlls/faultrep/tests faultrep_test
18537 wine_fn_config_dll fltlib enable_fltlib
18538 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18539 wine_fn_config_dll fntcache enable_fntcache
18540 wine_fn_config_dll fontsub enable_fontsub
18541 wine_fn_config_dll fusion enable_fusion
18542 wine_fn_config_test dlls/fusion/tests fusion_test
18543 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18544 wine_fn_config_dll gameux enable_gameux clean
18545 wine_fn_config_test dlls/gameux/tests gameux_test
18546 wine_fn_config_dll gdi.exe16 enable_win16
18547 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18548 wine_fn_config_test dlls/gdi32/tests gdi32_test
18549 wine_fn_config_dll gdiplus enable_gdiplus implib
18550 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18551 wine_fn_config_dll glu32 enable_glu32 implib
18552 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18553 wine_fn_config_dll gpkcsp enable_gpkcsp
18554 wine_fn_config_dll hal enable_hal
18555 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18556 wine_fn_config_dll hid enable_hid implib
18557 wine_fn_config_test dlls/hid/tests hid_test
18558 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18559 wine_fn_config_dll hlink enable_hlink clean,implib
18560 wine_fn_config_test dlls/hlink/tests hlink_test
18561 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18562 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18563 wine_fn_config_dll httpapi enable_httpapi implib
18564 wine_fn_config_test dlls/httpapi/tests httpapi_test
18565 wine_fn_config_dll iccvid enable_iccvid clean
18566 wine_fn_config_dll icmp enable_icmp
18567 wine_fn_config_dll ieframe enable_ieframe clean,implib
18568 wine_fn_config_test dlls/ieframe/tests ieframe_test
18569 wine_fn_config_dll ieproxy enable_ieproxy clean
18570 wine_fn_config_dll ifsmgr.vxd enable_win16
18571 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18572 wine_fn_config_dll imagehlp enable_imagehlp implib
18573 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18574 wine_fn_config_dll imm.dll16 enable_win16
18575 wine_fn_config_dll imm32 enable_imm32 implib
18576 wine_fn_config_test dlls/imm32/tests imm32_test
18577 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18578 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18579 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18580 wine_fn_config_dll inetmib1 enable_inetmib1
18581 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18582 wine_fn_config_dll infosoft enable_infosoft clean
18583 wine_fn_config_test dlls/infosoft/tests infosoft_test
18584 wine_fn_config_dll initpki enable_initpki
18585 wine_fn_config_dll inkobj enable_inkobj
18586 wine_fn_config_dll inseng enable_inseng clean
18587 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18588 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18589 wine_fn_config_dll iprop enable_iprop
18590 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18591 wine_fn_config_dll itircl enable_itircl
18592 wine_fn_config_dll itss enable_itss clean
18593 wine_fn_config_test dlls/itss/tests itss_test
18594 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18595 wine_fn_config_dll jscript enable_jscript clean
18596 wine_fn_config_test dlls/jscript/tests jscript_test
18597 wine_fn_config_dll jsproxy enable_jsproxy implib
18598 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18599 wine_fn_config_dll kerberos enable_kerberos
18600 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18601 wine_fn_config_test dlls/kernel32/tests kernel32_test
18602 wine_fn_config_dll kernelbase enable_kernelbase
18603 wine_fn_config_dll keyboard.drv16 enable_win16
18604 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18605 wine_fn_config_dll ksuser enable_ksuser
18606 wine_fn_config_dll ktmw32 enable_ktmw32
18607 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18608 wine_fn_config_dll loadperf enable_loadperf implib
18609 wine_fn_config_dll localspl enable_localspl clean
18610 wine_fn_config_test dlls/localspl/tests localspl_test
18611 wine_fn_config_dll localui enable_localui clean
18612 wine_fn_config_test dlls/localui/tests localui_test
18613 wine_fn_config_dll lz32 enable_lz32 implib
18614 wine_fn_config_test dlls/lz32/tests lz32_test
18615 wine_fn_config_dll lzexpand.dll16 enable_win16
18616 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18617 wine_fn_config_test dlls/mapi32/tests mapi32_test
18618 wine_fn_config_dll mapistub enable_mapistub
18619 wine_fn_config_dll mciavi32 enable_mciavi32
18620 wine_fn_config_dll mcicda enable_mcicda
18621 wine_fn_config_dll mciqtz32 enable_mciqtz32
18622 wine_fn_config_dll mciseq enable_mciseq
18623 wine_fn_config_dll mciwave enable_mciwave
18624 wine_fn_config_dll mf enable_mf implib
18625 wine_fn_config_test dlls/mf/tests mf_test
18626 wine_fn_config_dll mf3216 enable_mf3216
18627 wine_fn_config_dll mfplat enable_mfplat implib
18628 wine_fn_config_test dlls/mfplat/tests mfplat_test
18629 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18630 wine_fn_config_lib mfuuid
18631 wine_fn_config_dll mgmtapi enable_mgmtapi
18632 wine_fn_config_dll midimap enable_midimap
18633 wine_fn_config_dll mlang enable_mlang clean,implib
18634 wine_fn_config_test dlls/mlang/tests mlang_test
18635 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18636 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18637 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18638 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18639 wine_fn_config_dll mmdevldr.vxd enable_win16
18640 wine_fn_config_dll mmsystem.dll16 enable_win16
18641 wine_fn_config_dll monodebg.vxd enable_win16
18642 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18643 wine_fn_config_dll mouse.drv16 enable_win16
18644 wine_fn_config_dll mpr enable_mpr clean,implib
18645 wine_fn_config_test dlls/mpr/tests mpr_test
18646 wine_fn_config_dll mprapi enable_mprapi implib
18647 wine_fn_config_dll msacm.dll16 enable_win16
18648 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18649 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18650 wine_fn_config_test dlls/msacm32/tests msacm32_test
18651 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18652 wine_fn_config_dll msasn1 enable_msasn1 implib
18653 wine_fn_config_dll mscat32 enable_mscat32
18654 wine_fn_config_dll mscms enable_mscms implib
18655 wine_fn_config_test dlls/mscms/tests mscms_test
18656 wine_fn_config_dll mscoree enable_mscoree clean
18657 wine_fn_config_test dlls/mscoree/tests mscoree_test
18658 wine_fn_config_dll msctf enable_msctf clean
18659 wine_fn_config_test dlls/msctf/tests msctf_test
18660 wine_fn_config_dll msctfp enable_msctfp clean
18661 wine_fn_config_dll msdaps enable_msdaps clean
18662 wine_fn_config_dll msdelta enable_msdelta
18663 wine_fn_config_dll msdmo enable_msdmo implib
18664 wine_fn_config_test dlls/msdmo/tests msdmo_test
18665 wine_fn_config_dll msdrm enable_msdrm
18666 wine_fn_config_dll msftedit enable_msftedit
18667 wine_fn_config_dll msg711.acm enable_msg711_acm
18668 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18669 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18670 wine_fn_config_dll mshtml enable_mshtml clean,implib
18671 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18672 wine_fn_config_dll msi enable_msi clean,implib
18673 wine_fn_config_test dlls/msi/tests msi_test
18674 wine_fn_config_dll msident enable_msident clean
18675 wine_fn_config_dll msimg32 enable_msimg32 implib
18676 wine_fn_config_dll msimsg enable_msimsg
18677 wine_fn_config_dll msimtf enable_msimtf clean
18678 wine_fn_config_dll msisip enable_msisip
18679 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18680 wine_fn_config_dll msls31 enable_msls31
18681 wine_fn_config_dll msnet32 enable_msnet32
18682 wine_fn_config_dll mspatcha enable_mspatcha implib
18683 wine_fn_config_dll msports enable_msports
18684 wine_fn_config_dll msrle32 enable_msrle32 clean
18685 wine_fn_config_test dlls/msrle32/tests msrle32_test
18686 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18687 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18688 wine_fn_config_dll mssign32 enable_mssign32
18689 wine_fn_config_dll mssip32 enable_mssip32
18690 wine_fn_config_dll mstask enable_mstask clean
18691 wine_fn_config_test dlls/mstask/tests mstask_test
18692 wine_fn_config_dll msvcirt enable_msvcirt
18693 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18694 wine_fn_config_dll msvcm80 enable_msvcm80
18695 wine_fn_config_dll msvcm90 enable_msvcm90
18696 wine_fn_config_dll msvcp100 enable_msvcp100
18697 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18698 wine_fn_config_dll msvcp110 enable_msvcp110
18699 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18700 wine_fn_config_dll msvcp120 enable_msvcp120
18701 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18702 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18703 wine_fn_config_dll msvcp140 enable_msvcp140
18704 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18705 wine_fn_config_dll msvcp60 enable_msvcp60
18706 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18707 wine_fn_config_dll msvcp70 enable_msvcp70
18708 wine_fn_config_dll msvcp71 enable_msvcp71
18709 wine_fn_config_dll msvcp80 enable_msvcp80
18710 wine_fn_config_dll msvcp90 enable_msvcp90
18711 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18712 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18713 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18714 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18715 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18716 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18717 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18718 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18719 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18720 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18721 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18722 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18723 wine_fn_config_dll msvcrt enable_msvcrt implib
18724 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18725 wine_fn_config_dll msvcrt20 enable_msvcrt20
18726 wine_fn_config_dll msvcrt40 enable_msvcrt40
18727 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18728 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18729 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18730 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18731 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18732 wine_fn_config_dll msvideo.dll16 enable_win16
18733 wine_fn_config_dll mswsock enable_mswsock implib
18734 wine_fn_config_dll msxml enable_msxml clean
18735 wine_fn_config_dll msxml2 enable_msxml2 clean
18736 wine_fn_config_dll msxml3 enable_msxml3 clean
18737 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18738 wine_fn_config_dll msxml4 enable_msxml4 clean
18739 wine_fn_config_dll msxml6 enable_msxml6 clean
18740 wine_fn_config_dll mtxdm enable_mtxdm
18741 wine_fn_config_dll ncrypt enable_ncrypt
18742 wine_fn_config_dll nddeapi enable_nddeapi implib
18743 wine_fn_config_dll ndis.sys enable_ndis_sys
18744 wine_fn_config_dll netapi32 enable_netapi32 implib
18745 wine_fn_config_test dlls/netapi32/tests netapi32_test
18746 wine_fn_config_dll netcfgx enable_netcfgx clean
18747 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18748 wine_fn_config_dll netprofm enable_netprofm clean
18749 wine_fn_config_test dlls/netprofm/tests netprofm_test
18750 wine_fn_config_dll newdev enable_newdev implib
18751 wine_fn_config_dll normaliz enable_normaliz implib
18752 wine_fn_config_dll npmshtml enable_npmshtml
18753 wine_fn_config_dll npptools enable_npptools
18754 wine_fn_config_dll ntdll enable_ntdll implib
18755 wine_fn_config_test dlls/ntdll/tests ntdll_test
18756 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18757 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18758 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18759 wine_fn_config_dll ntprint enable_ntprint
18760 wine_fn_config_test dlls/ntprint/tests ntprint_test
18761 wine_fn_config_dll objsel enable_objsel clean
18762 wine_fn_config_dll odbc32 enable_odbc32 implib
18763 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18764 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18765 wine_fn_config_dll odbccu32 enable_odbccu32
18766 wine_fn_config_dll ole2.dll16 enable_win16
18767 wine_fn_config_dll ole2conv.dll16 enable_win16
18768 wine_fn_config_dll ole2disp.dll16 enable_win16
18769 wine_fn_config_dll ole2nls.dll16 enable_win16
18770 wine_fn_config_dll ole2prox.dll16 enable_win16
18771 wine_fn_config_dll ole2thk.dll16 enable_win16
18772 wine_fn_config_dll ole32 enable_ole32 clean,implib
18773 wine_fn_config_test dlls/ole32/tests ole32_test
18774 wine_fn_config_dll oleacc enable_oleacc clean,implib
18775 wine_fn_config_test dlls/oleacc/tests oleacc_test
18776 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18777 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18778 wine_fn_config_dll olecli.dll16 enable_win16
18779 wine_fn_config_dll olecli32 enable_olecli32 implib
18780 wine_fn_config_dll oledb32 enable_oledb32 clean
18781 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18782 wine_fn_config_dll oledlg enable_oledlg clean,implib
18783 wine_fn_config_test dlls/oledlg/tests oledlg_test
18784 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18785 wine_fn_config_dll olesvr.dll16 enable_win16
18786 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18787 wine_fn_config_dll olethk32 enable_olethk32
18788 wine_fn_config_dll openal32 enable_openal32
18789 wine_fn_config_dll opencl enable_opencl
18790 wine_fn_config_dll opengl32 enable_opengl32 implib
18791 wine_fn_config_test dlls/opengl32/tests opengl32_test
18792 wine_fn_config_dll packager enable_packager clean
18793 wine_fn_config_test dlls/packager/tests packager_test
18794 wine_fn_config_dll pdh enable_pdh implib
18795 wine_fn_config_test dlls/pdh/tests pdh_test
18796 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18797 wine_fn_config_dll pidgen enable_pidgen
18798 wine_fn_config_dll powrprof enable_powrprof implib
18799 wine_fn_config_dll printui enable_printui
18800 wine_fn_config_dll prntvpt enable_prntvpt
18801 wine_fn_config_dll propsys enable_propsys clean,implib
18802 wine_fn_config_test dlls/propsys/tests propsys_test
18803 wine_fn_config_dll psapi enable_psapi implib
18804 wine_fn_config_test dlls/psapi/tests psapi_test
18805 wine_fn_config_dll pstorec enable_pstorec clean
18806 wine_fn_config_test dlls/pstorec/tests pstorec_test
18807 wine_fn_config_dll qcap enable_qcap
18808 wine_fn_config_test dlls/qcap/tests qcap_test
18809 wine_fn_config_dll qedit enable_qedit clean
18810 wine_fn_config_test dlls/qedit/tests qedit_test
18811 wine_fn_config_dll qmgr enable_qmgr clean
18812 wine_fn_config_test dlls/qmgr/tests qmgr_test
18813 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18814 wine_fn_config_dll quartz enable_quartz clean,implib
18815 wine_fn_config_test dlls/quartz/tests quartz_test clean
18816 wine_fn_config_dll query enable_query
18817 wine_fn_config_dll rasapi16.dll16 enable_win16
18818 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18819 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18820 wine_fn_config_dll rasdlg enable_rasdlg implib
18821 wine_fn_config_dll regapi enable_regapi
18822 wine_fn_config_dll resutils enable_resutils implib
18823 wine_fn_config_dll riched20 enable_riched20 clean,implib
18824 wine_fn_config_test dlls/riched20/tests riched20_test
18825 wine_fn_config_dll riched32 enable_riched32
18826 wine_fn_config_test dlls/riched32/tests riched32_test
18827 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18828 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18829 wine_fn_config_dll rsabase enable_rsabase
18830 wine_fn_config_dll rsaenh enable_rsaenh implib
18831 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18832 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18833 wine_fn_config_dll rtutils enable_rtutils implib
18834 wine_fn_config_dll samlib enable_samlib
18835 wine_fn_config_dll sane.ds enable_sane_ds clean
18836 wine_fn_config_dll sapi enable_sapi clean
18837 wine_fn_config_test dlls/sapi/tests sapi_test
18838 wine_fn_config_dll scarddlg enable_scarddlg
18839 wine_fn_config_dll sccbase enable_sccbase
18840 wine_fn_config_dll schannel enable_schannel
18841 wine_fn_config_test dlls/schannel/tests schannel_test
18842 wine_fn_config_dll schedsvc enable_schedsvc clean
18843 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18844 wine_fn_config_dll scrobj enable_scrobj clean
18845 wine_fn_config_dll scrrun enable_scrrun clean
18846 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18847 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18848 wine_fn_config_dll secur32 enable_secur32 implib
18849 wine_fn_config_test dlls/secur32/tests secur32_test
18850 wine_fn_config_dll security enable_security
18851 wine_fn_config_dll sensapi enable_sensapi implib
18852 wine_fn_config_dll serialui enable_serialui clean
18853 wine_fn_config_test dlls/serialui/tests serialui_test
18854 wine_fn_config_dll setupapi enable_setupapi clean,implib
18855 wine_fn_config_test dlls/setupapi/tests setupapi_test
18856 wine_fn_config_dll setupx.dll16 enable_win16
18857 wine_fn_config_dll sfc enable_sfc implib
18858 wine_fn_config_dll sfc_os enable_sfc_os implib
18859 wine_fn_config_dll shdoclc enable_shdoclc clean
18860 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18861 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18862 wine_fn_config_dll shell.dll16 enable_win16
18863 wine_fn_config_dll shell32 enable_shell32 clean,implib
18864 wine_fn_config_test dlls/shell32/tests shell32_test
18865 wine_fn_config_dll shfolder enable_shfolder implib
18866 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18867 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18868 wine_fn_config_dll slbcsp enable_slbcsp
18869 wine_fn_config_dll slc enable_slc implib
18870 wine_fn_config_test dlls/slc/tests slc_test
18871 wine_fn_config_dll snmpapi enable_snmpapi implib
18872 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18873 wine_fn_config_dll softpub enable_softpub
18874 wine_fn_config_dll sound.drv16 enable_win16
18875 wine_fn_config_dll spoolss enable_spoolss implib
18876 wine_fn_config_test dlls/spoolss/tests spoolss_test
18877 wine_fn_config_dll sspicli enable_sspicli
18878 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18879 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18880 wine_fn_config_dll sti enable_sti clean,implib
18881 wine_fn_config_test dlls/sti/tests sti_test
18882 wine_fn_config_dll storage.dll16 enable_win16
18883 wine_fn_config_dll stress.dll16 enable_win16
18884 wine_fn_config_lib strmbase
18885 wine_fn_config_lib strmiids
18886 wine_fn_config_dll svrapi enable_svrapi
18887 wine_fn_config_dll sxs enable_sxs implib
18888 wine_fn_config_test dlls/sxs/tests sxs_test
18889 wine_fn_config_dll system.drv16 enable_win16
18890 wine_fn_config_dll t2embed enable_t2embed implib
18891 wine_fn_config_test dlls/t2embed/tests t2embed_test
18892 wine_fn_config_dll tapi32 enable_tapi32 implib
18893 wine_fn_config_dll taskschd enable_taskschd clean
18894 wine_fn_config_test dlls/taskschd/tests taskschd_test
18895 wine_fn_config_dll tdh enable_tdh
18896 wine_fn_config_dll tdi.sys enable_tdi_sys
18897 wine_fn_config_dll toolhelp.dll16 enable_win16
18898 wine_fn_config_dll traffic enable_traffic
18899 wine_fn_config_dll twain.dll16 enable_win16
18900 wine_fn_config_dll twain_32 enable_twain_32 clean
18901 wine_fn_config_test dlls/twain_32/tests twain_32_test
18902 wine_fn_config_dll typelib.dll16 enable_win16
18903 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18904 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18905 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18906 wine_fn_config_dll uiribbon enable_uiribbon clean
18907 wine_fn_config_dll unicows enable_unicows implib
18908 wine_fn_config_dll updspapi enable_updspapi
18909 wine_fn_config_dll url enable_url implib
18910 wine_fn_config_dll urlmon enable_urlmon clean,implib
18911 wine_fn_config_test dlls/urlmon/tests urlmon_test
18912 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18913 wine_fn_config_dll user.exe16 enable_win16
18914 wine_fn_config_dll user32 enable_user32 clean,implib
18915 wine_fn_config_test dlls/user32/tests user32_test
18916 wine_fn_config_dll userenv enable_userenv implib
18917 wine_fn_config_test dlls/userenv/tests userenv_test
18918 wine_fn_config_dll usp10 enable_usp10 implib
18919 wine_fn_config_test dlls/usp10/tests usp10_test
18920 wine_fn_config_lib uuid
18921 wine_fn_config_dll uxtheme enable_uxtheme implib
18922 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18923 wine_fn_config_dll vbscript enable_vbscript clean
18924 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18925 wine_fn_config_dll vcomp enable_vcomp
18926 wine_fn_config_test dlls/vcomp/tests vcomp_test
18927 wine_fn_config_dll vcomp100 enable_vcomp100
18928 wine_fn_config_dll vcomp110 enable_vcomp110
18929 wine_fn_config_dll vcomp120 enable_vcomp120
18930 wine_fn_config_dll vcomp140 enable_vcomp140
18931 wine_fn_config_dll vcomp90 enable_vcomp90
18932 wine_fn_config_dll vcruntime140 enable_vcruntime140
18933 wine_fn_config_dll vdhcp.vxd enable_win16
18934 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18935 wine_fn_config_dll ver.dll16 enable_win16
18936 wine_fn_config_dll version enable_version implib
18937 wine_fn_config_test dlls/version/tests version_test
18938 wine_fn_config_dll virtdisk enable_virtdisk
18939 wine_fn_config_dll vmm.vxd enable_win16
18940 wine_fn_config_dll vnbt.vxd enable_win16
18941 wine_fn_config_dll vnetbios.vxd enable_win16
18942 wine_fn_config_dll vssapi enable_vssapi
18943 wine_fn_config_dll vtdapi.vxd enable_win16
18944 wine_fn_config_dll vwin32.vxd enable_win16
18945 wine_fn_config_dll w32skrnl enable_win16
18946 wine_fn_config_dll w32sys.dll16 enable_win16
18947 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18948 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18949 wine_fn_config_dll wbemprox enable_wbemprox clean
18950 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18951 wine_fn_config_dll wdscore enable_wdscore
18952 wine_fn_config_dll webservices enable_webservices implib
18953 wine_fn_config_test dlls/webservices/tests webservices_test
18954 wine_fn_config_dll wer enable_wer implib
18955 wine_fn_config_test dlls/wer/tests wer_test
18956 wine_fn_config_dll wevtapi enable_wevtapi
18957 wine_fn_config_dll wiaservc enable_wiaservc clean
18958 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18959 wine_fn_config_dll wimgapi enable_wimgapi
18960 wine_fn_config_dll win32s16.dll16 enable_win16
18961 wine_fn_config_dll win87em.dll16 enable_win16
18962 wine_fn_config_dll winaspi.dll16 enable_win16
18963 wine_fn_config_dll windebug.dll16 enable_win16
18964 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18965 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18966 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18967 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18968 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18969 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18970 wine_fn_config_dll winebus.sys enable_winebus_sys
18971 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18972 wine_fn_config_lib winecrt0
18973 wine_fn_config_dll wined3d enable_wined3d implib
18974 wine_fn_config_dll winegstreamer enable_winegstreamer
18975 wine_fn_config_dll winehid.sys enable_winehid_sys
18976 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18977 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18978 wine_fn_config_dll winemapi enable_winemapi
18979 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18980 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18981 wine_fn_config_dll wineps16.drv16 enable_win16
18982 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18983 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18984 wine_fn_config_dll winex11.drv enable_winex11_drv
18985 wine_fn_config_dll wing.dll16 enable_win16
18986 wine_fn_config_dll wing32 enable_wing32
18987 wine_fn_config_dll winhttp enable_winhttp clean,implib
18988 wine_fn_config_test dlls/winhttp/tests winhttp_test
18989 wine_fn_config_dll wininet enable_wininet clean,implib
18990 wine_fn_config_test dlls/wininet/tests wininet_test
18991 wine_fn_config_dll winmm enable_winmm clean,implib
18992 wine_fn_config_test dlls/winmm/tests winmm_test
18993 wine_fn_config_dll winnls.dll16 enable_win16
18994 wine_fn_config_dll winnls32 enable_winnls32 implib
18995 wine_fn_config_dll winscard enable_winscard implib
18996 wine_fn_config_dll winsock.dll16 enable_win16
18997 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18998 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18999 wine_fn_config_dll winsta enable_winsta
19000 wine_fn_config_dll wintab.dll16 enable_win16
19001 wine_fn_config_dll wintab32 enable_wintab32 implib
19002 wine_fn_config_test dlls/wintab32/tests wintab32_test
19003 wine_fn_config_dll wintrust enable_wintrust implib
19004 wine_fn_config_test dlls/wintrust/tests wintrust_test
19005 wine_fn_config_dll winusb enable_winusb
19006 wine_fn_config_dll wlanapi enable_wlanapi implib
19007 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19008 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19009 wine_fn_config_test dlls/wldap32/tests wldap32_test
19010 wine_fn_config_dll wmasf enable_wmasf
19011 wine_fn_config_dll wmi enable_wmi
19012 wine_fn_config_dll wmiutils enable_wmiutils clean
19013 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19014 wine_fn_config_dll wmp enable_wmp clean
19015 wine_fn_config_test dlls/wmp/tests wmp_test
19016 wine_fn_config_dll wmphoto enable_wmphoto clean
19017 wine_fn_config_dll wmvcore enable_wmvcore implib
19018 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19019 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19020 wine_fn_config_dll wow32 enable_win16 implib
19021 wine_fn_config_dll wpc enable_wpc clean
19022 wine_fn_config_test dlls/wpc/tests wpc_test
19023 wine_fn_config_dll wpcap enable_wpcap
19024 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19025 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19026 wine_fn_config_dll wsdapi enable_wsdapi implib
19027 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19028 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19029 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19030 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19031 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19032 wine_fn_config_dll wsock32 enable_wsock32 implib
19033 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19034 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19035 wine_fn_config_dll wuapi enable_wuapi clean
19036 wine_fn_config_dll wuaueng enable_wuaueng
19037 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19038 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19039 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19040 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19041 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19042 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19043 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19044 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19045 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19046 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19047 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19048 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19049 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19050 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19051 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19052 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19053 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19054 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19055 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19056 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19057 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19058 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19059 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19060 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19061 wine_fn_config_dll xinput1_1 enable_xinput1_1
19062 wine_fn_config_dll xinput1_2 enable_xinput1_2
19063 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19064 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19065 wine_fn_config_dll xinput1_4 enable_xinput1_4
19066 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19067 wine_fn_config_dll xmllite enable_xmllite implib
19068 wine_fn_config_test dlls/xmllite/tests xmllite_test
19069 wine_fn_config_dll xolehlp enable_xolehlp
19070 wine_fn_config_dll xpsprint enable_xpsprint
19071 wine_fn_config_dll xpssvcs enable_xpssvcs
19072 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19073 wine_fn_config_makefile include enable_include clean,install-dev
19074 wine_fn_config_makefile libs/port enable_libs_port
19075 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19076 wine_fn_config_makefile libs/wpp enable_libs_wpp
19077 wine_fn_config_makefile loader enable_loader clean,install-lib
19078 wine_fn_config_makefile po enable_po clean
19079 wine_fn_config_program arp enable_arp install
19080 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19081 wine_fn_config_program attrib enable_attrib clean,install
19082 wine_fn_config_program cabarc enable_cabarc install
19083 wine_fn_config_program cacls enable_cacls install
19084 wine_fn_config_program clock enable_clock clean,install
19085 wine_fn_config_program cmd enable_cmd clean,install
19086 wine_fn_config_test programs/cmd/tests cmd.exe_test
19087 wine_fn_config_program conhost enable_conhost install
19088 wine_fn_config_program control enable_control install
19089 wine_fn_config_program cscript enable_cscript clean,install
19090 wine_fn_config_program dpnsvr enable_dpnsvr install
19091 wine_fn_config_program dxdiag enable_dxdiag clean,install
19092 wine_fn_config_program eject enable_eject install
19093 wine_fn_config_program expand enable_expand install
19094 wine_fn_config_program explorer enable_explorer clean,install
19095 wine_fn_config_program extrac32 enable_extrac32 install
19096 wine_fn_config_program findstr enable_findstr install
19097 wine_fn_config_program fsutil enable_fsutil install
19098 wine_fn_config_program hh enable_hh install
19099 wine_fn_config_program hostname enable_hostname clean,install
19100 wine_fn_config_program icacls enable_icacls install
19101 wine_fn_config_program icinfo enable_icinfo install
19102 wine_fn_config_program iexplore enable_iexplore install
19103 wine_fn_config_program ipconfig enable_ipconfig clean,install
19104 wine_fn_config_program lodctr enable_lodctr install
19105 wine_fn_config_program mofcomp enable_mofcomp install
19106 wine_fn_config_program mshta enable_mshta install
19107 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19108 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19109 wine_fn_config_program net enable_net clean,install
19110 wine_fn_config_program netsh enable_netsh install
19111 wine_fn_config_program netstat enable_netstat clean,install
19112 wine_fn_config_program ngen enable_ngen install
19113 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19114 wine_fn_config_program oleview enable_oleview clean,install
19115 wine_fn_config_program ping enable_ping install
19116 wine_fn_config_program plugplay enable_plugplay install
19117 wine_fn_config_program powershell enable_powershell install
19118 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19119 wine_fn_config_program progman enable_progman clean,install
19120 wine_fn_config_program reg enable_reg clean,install
19121 wine_fn_config_test programs/reg/tests reg.exe_test
19122 wine_fn_config_program regasm enable_regasm install
19123 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19124 wine_fn_config_test programs/regedit/tests regedit.exe_test
19125 wine_fn_config_program regsvcs enable_regsvcs install
19126 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19127 wine_fn_config_program rpcss enable_rpcss clean,install
19128 wine_fn_config_program rundll.exe16 enable_win16 install
19129 wine_fn_config_program rundll32 enable_rundll32 install
19130 wine_fn_config_program sc enable_sc install
19131 wine_fn_config_program schtasks enable_schtasks install
19132 wine_fn_config_program sdbinst enable_sdbinst install
19133 wine_fn_config_program secedit enable_secedit install
19134 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19135 wine_fn_config_program services enable_services clean,install
19136 wine_fn_config_test programs/services/tests services.exe_test
19137 wine_fn_config_program shutdown enable_shutdown install
19138 wine_fn_config_program spoolsv enable_spoolsv install
19139 wine_fn_config_program start enable_start clean,install
19140 wine_fn_config_program subst enable_subst install
19141 wine_fn_config_program svchost enable_svchost install
19142 wine_fn_config_program systeminfo enable_systeminfo install
19143 wine_fn_config_program taskkill enable_taskkill clean,install
19144 wine_fn_config_program tasklist enable_tasklist install
19145 wine_fn_config_program taskmgr enable_taskmgr clean,install
19146 wine_fn_config_program termsv enable_termsv install
19147 wine_fn_config_program uninstaller enable_uninstaller clean,install
19148 wine_fn_config_program unlodctr enable_unlodctr install
19149 wine_fn_config_program view enable_view clean,install
19150 wine_fn_config_program wevtutil enable_wevtutil install
19151 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19152 wine_fn_config_program winebrowser enable_winebrowser install
19153 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19154 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19155 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19156 wine_fn_config_program winedevice enable_winedevice install
19157 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19158 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19159 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19160 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19161 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19162 wine_fn_config_program winetest enable_winetest clean
19163 wine_fn_config_program winevdm enable_win16 install
19164 wine_fn_config_program winhelp.exe16 enable_win16 install
19165 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19166 wine_fn_config_program winoldap.mod16 enable_win16 install
19167 wine_fn_config_program winver enable_winver install
19168 wine_fn_config_program wmic enable_wmic clean,install
19169 wine_fn_config_program wmplayer enable_wmplayer install
19170 wine_fn_config_program wordpad enable_wordpad clean,install
19171 wine_fn_config_program write enable_write clean,install
19172 wine_fn_config_program wscript enable_wscript clean,install
19173 wine_fn_config_test programs/wscript/tests wscript.exe_test
19174 wine_fn_config_program wusa enable_wusa install
19175 wine_fn_config_program xcopy enable_xcopy clean,install
19176 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19177 wine_fn_config_makefile server enable_server clean,install-lib
19178 wine_fn_config_tool tools clean
19179 wine_fn_config_tool tools/sfnt2fon clean
19180 wine_fn_config_tool tools/widl clean,install-dev
19181 wine_fn_config_tool tools/winebuild clean,install-dev
19182 wine_fn_config_tool tools/winedump clean,install-dev
19183 wine_fn_config_tool tools/winegcc clean,install-dev
19184 wine_fn_config_tool tools/winemaker clean,install-dev
19185 wine_fn_config_tool tools/wmc clean,install-dev
19186 wine_fn_config_tool tools/wrc clean,install-dev
19189 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19190 wine_fn_append_file CONFIGURE_TARGETS "tags"
19191 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19192 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19193 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19194 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19195 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19196 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19198 if test "x$enable_tools" != xno
19199 then
19200 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19201 ac_config_commands="$ac_config_commands tools/makedep"
19205 ac_config_commands="$ac_config_commands Makefile"
19208 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19212 if test "x$enable_maintainer_mode" = xyes
19213 then
19214 wine_fn_append_rule "configure: configure.ac aclocal.m4
19215 autoconf --warnings=all
19216 include/config.h.in: include/stamp-h.in
19217 include/stamp-h.in: configure.ac aclocal.m4
19218 autoheader --warnings=all
19219 @echo timestamp > \$@"
19222 if test "x$enable_tools" != xno
19223 then
19224 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19225 @./config.status tools/makedep
19226 Makefile: tools/makedep$ac_exeext"
19227 else
19228 wine_fn_append_rule "\$(MAKEDEP):
19229 @echo \"You need to run make in $TOOLSDIR first\" && false"
19232 if test -n "$with_wine64"
19233 then
19234 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19235 fonts server:
19236 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19237 $with_wine64/loader/wine:
19238 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19239 $with_wine64/loader/wine-preloader:
19240 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19241 clean::
19242 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19243 else
19244 WINELOADER_INSTALL="wine.inf"
19246 wine_fn_append_rule "install install-lib::
19247 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19248 .PHONY: l_intl.nls/uninstall
19249 l_intl.nls/uninstall::
19250 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19251 __uninstall__: l_intl.nls/uninstall"
19252 case $host_os in
19253 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19254 *) wine_fn_append_rule "install install-lib::
19255 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19256 uninstall::
19257 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19258 esac
19261 $as_echo " done" >&6
19262 cat >confcache <<\_ACEOF
19263 # This file is a shell script that caches the results of configure
19264 # tests run on this system so they can be shared between configure
19265 # scripts and configure runs, see configure's option --config-cache.
19266 # It is not useful on other systems. If it contains results you don't
19267 # want to keep, you may remove or edit it.
19269 # config.status only pays attention to the cache file if you give it
19270 # the --recheck option to rerun configure.
19272 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19273 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19274 # following values.
19276 _ACEOF
19278 # The following way of writing the cache mishandles newlines in values,
19279 # but we know of no workaround that is simple, portable, and efficient.
19280 # So, we kill variables containing newlines.
19281 # Ultrix sh set writes to stderr and can't be redirected directly,
19282 # and sets the high bit in the cache file unless we assign to the vars.
19284 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19285 eval ac_val=\$$ac_var
19286 case $ac_val in #(
19287 *${as_nl}*)
19288 case $ac_var in #(
19289 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19290 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19291 esac
19292 case $ac_var in #(
19293 _ | IFS | as_nl) ;; #(
19294 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19295 *) { eval $ac_var=; unset $ac_var;} ;;
19296 esac ;;
19297 esac
19298 done
19300 (set) 2>&1 |
19301 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19302 *${as_nl}ac_space=\ *)
19303 # `set' does not quote correctly, so add quotes: double-quote
19304 # substitution turns \\\\ into \\, and sed turns \\ into \.
19305 sed -n \
19306 "s/'/'\\\\''/g;
19307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19308 ;; #(
19310 # `set' quotes correctly as required by POSIX, so do not add quotes.
19311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19313 esac |
19314 sort
19316 sed '
19317 /^ac_cv_env_/b end
19318 t clear
19319 :clear
19320 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19321 t end
19322 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19323 :end' >>confcache
19324 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19325 if test -w "$cache_file"; then
19326 if test "x$cache_file" != "x/dev/null"; then
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19328 $as_echo "$as_me: updating cache $cache_file" >&6;}
19329 if test ! -f "$cache_file" || test -h "$cache_file"; then
19330 cat confcache >"$cache_file"
19331 else
19332 case $cache_file in #(
19333 */* | ?:*)
19334 mv -f confcache "$cache_file"$$ &&
19335 mv -f "$cache_file"$$ "$cache_file" ;; #(
19337 mv -f confcache "$cache_file" ;;
19338 esac
19341 else
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19343 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19346 rm -f confcache
19348 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19349 # Let make expand exec_prefix.
19350 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19352 DEFS=-DHAVE_CONFIG_H
19354 ac_libobjs=
19355 ac_ltlibobjs=
19357 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19358 # 1. Remove the extension, and $U if already installed.
19359 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19360 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19361 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19362 # will be set to the directory where LIBOBJS objects are built.
19363 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19364 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19365 done
19366 LIBOBJS=$ac_libobjs
19368 LTLIBOBJS=$ac_ltlibobjs
19372 : "${CONFIG_STATUS=./config.status}"
19373 ac_write_fail=0
19374 ac_clean_files_save=$ac_clean_files
19375 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19377 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19378 as_write_fail=0
19379 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19380 #! $SHELL
19381 # Generated by $as_me.
19382 # Run this file to recreate the current configuration.
19383 # Compiler output produced by configure, useful for debugging
19384 # configure, is in config.log if it exists.
19386 debug=false
19387 ac_cs_recheck=false
19388 ac_cs_silent=false
19390 SHELL=\${CONFIG_SHELL-$SHELL}
19391 export SHELL
19392 _ASEOF
19393 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19394 ## -------------------- ##
19395 ## M4sh Initialization. ##
19396 ## -------------------- ##
19398 # Be more Bourne compatible
19399 DUALCASE=1; export DUALCASE # for MKS sh
19400 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19401 emulate sh
19402 NULLCMD=:
19403 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19404 # is contrary to our usage. Disable this feature.
19405 alias -g '${1+"$@"}'='"$@"'
19406 setopt NO_GLOB_SUBST
19407 else
19408 case `(set -o) 2>/dev/null` in #(
19409 *posix*) :
19410 set -o posix ;; #(
19411 *) :
19413 esac
19417 as_nl='
19419 export as_nl
19420 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19421 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19422 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19423 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19424 # Prefer a ksh shell builtin over an external printf program on Solaris,
19425 # but without wasting forks for bash or zsh.
19426 if test -z "$BASH_VERSION$ZSH_VERSION" \
19427 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19428 as_echo='print -r --'
19429 as_echo_n='print -rn --'
19430 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19431 as_echo='printf %s\n'
19432 as_echo_n='printf %s'
19433 else
19434 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19435 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19436 as_echo_n='/usr/ucb/echo -n'
19437 else
19438 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19439 as_echo_n_body='eval
19440 arg=$1;
19441 case $arg in #(
19442 *"$as_nl"*)
19443 expr "X$arg" : "X\\(.*\\)$as_nl";
19444 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19445 esac;
19446 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19448 export as_echo_n_body
19449 as_echo_n='sh -c $as_echo_n_body as_echo'
19451 export as_echo_body
19452 as_echo='sh -c $as_echo_body as_echo'
19455 # The user is always right.
19456 if test "${PATH_SEPARATOR+set}" != set; then
19457 PATH_SEPARATOR=:
19458 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19459 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19460 PATH_SEPARATOR=';'
19465 # IFS
19466 # We need space, tab and new line, in precisely that order. Quoting is
19467 # there to prevent editors from complaining about space-tab.
19468 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19469 # splitting by setting IFS to empty value.)
19470 IFS=" "" $as_nl"
19472 # Find who we are. Look in the path if we contain no directory separator.
19473 as_myself=
19474 case $0 in #((
19475 *[\\/]* ) as_myself=$0 ;;
19476 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19477 for as_dir in $PATH
19479 IFS=$as_save_IFS
19480 test -z "$as_dir" && as_dir=.
19481 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19482 done
19483 IFS=$as_save_IFS
19486 esac
19487 # We did not find ourselves, most probably we were run as `sh COMMAND'
19488 # in which case we are not to be found in the path.
19489 if test "x$as_myself" = x; then
19490 as_myself=$0
19492 if test ! -f "$as_myself"; then
19493 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19494 exit 1
19497 # Unset variables that we do not need and which cause bugs (e.g. in
19498 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19499 # suppresses any "Segmentation fault" message there. '((' could
19500 # trigger a bug in pdksh 5.2.14.
19501 for as_var in BASH_ENV ENV MAIL MAILPATH
19502 do eval test x\${$as_var+set} = xset \
19503 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19504 done
19505 PS1='$ '
19506 PS2='> '
19507 PS4='+ '
19509 # NLS nuisances.
19510 LC_ALL=C
19511 export LC_ALL
19512 LANGUAGE=C
19513 export LANGUAGE
19515 # CDPATH.
19516 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19519 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19520 # ----------------------------------------
19521 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19522 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19523 # script with STATUS, using 1 if that was 0.
19524 as_fn_error ()
19526 as_status=$1; test $as_status -eq 0 && as_status=1
19527 if test "$4"; then
19528 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19529 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19531 $as_echo "$as_me: error: $2" >&2
19532 as_fn_exit $as_status
19533 } # as_fn_error
19536 # as_fn_set_status STATUS
19537 # -----------------------
19538 # Set $? to STATUS, without forking.
19539 as_fn_set_status ()
19541 return $1
19542 } # as_fn_set_status
19544 # as_fn_exit STATUS
19545 # -----------------
19546 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19547 as_fn_exit ()
19549 set +e
19550 as_fn_set_status $1
19551 exit $1
19552 } # as_fn_exit
19554 # as_fn_unset VAR
19555 # ---------------
19556 # Portably unset VAR.
19557 as_fn_unset ()
19559 { eval $1=; unset $1;}
19561 as_unset=as_fn_unset
19562 # as_fn_append VAR VALUE
19563 # ----------------------
19564 # Append the text in VALUE to the end of the definition contained in VAR. Take
19565 # advantage of any shell optimizations that allow amortized linear growth over
19566 # repeated appends, instead of the typical quadratic growth present in naive
19567 # implementations.
19568 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19569 eval 'as_fn_append ()
19571 eval $1+=\$2
19573 else
19574 as_fn_append ()
19576 eval $1=\$$1\$2
19578 fi # as_fn_append
19580 # as_fn_arith ARG...
19581 # ------------------
19582 # Perform arithmetic evaluation on the ARGs, and store the result in the
19583 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19584 # must be portable across $(()) and expr.
19585 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19586 eval 'as_fn_arith ()
19588 as_val=$(( $* ))
19590 else
19591 as_fn_arith ()
19593 as_val=`expr "$@" || test $? -eq 1`
19595 fi # as_fn_arith
19598 if expr a : '\(a\)' >/dev/null 2>&1 &&
19599 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19600 as_expr=expr
19601 else
19602 as_expr=false
19605 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19606 as_basename=basename
19607 else
19608 as_basename=false
19611 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19612 as_dirname=dirname
19613 else
19614 as_dirname=false
19617 as_me=`$as_basename -- "$0" ||
19618 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19619 X"$0" : 'X\(//\)$' \| \
19620 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19621 $as_echo X/"$0" |
19622 sed '/^.*\/\([^/][^/]*\)\/*$/{
19623 s//\1/
19626 /^X\/\(\/\/\)$/{
19627 s//\1/
19630 /^X\/\(\/\).*/{
19631 s//\1/
19634 s/.*/./; q'`
19636 # Avoid depending upon Character Ranges.
19637 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19638 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19639 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19640 as_cr_digits='0123456789'
19641 as_cr_alnum=$as_cr_Letters$as_cr_digits
19643 ECHO_C= ECHO_N= ECHO_T=
19644 case `echo -n x` in #(((((
19645 -n*)
19646 case `echo 'xy\c'` in
19647 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19648 xy) ECHO_C='\c';;
19649 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19650 ECHO_T=' ';;
19651 esac;;
19653 ECHO_N='-n';;
19654 esac
19656 rm -f conf$$ conf$$.exe conf$$.file
19657 if test -d conf$$.dir; then
19658 rm -f conf$$.dir/conf$$.file
19659 else
19660 rm -f conf$$.dir
19661 mkdir conf$$.dir 2>/dev/null
19663 if (echo >conf$$.file) 2>/dev/null; then
19664 if ln -s conf$$.file conf$$ 2>/dev/null; then
19665 as_ln_s='ln -s'
19666 # ... but there are two gotchas:
19667 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19668 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19669 # In both cases, we have to default to `cp -pR'.
19670 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19671 as_ln_s='cp -pR'
19672 elif ln conf$$.file conf$$ 2>/dev/null; then
19673 as_ln_s=ln
19674 else
19675 as_ln_s='cp -pR'
19677 else
19678 as_ln_s='cp -pR'
19680 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19681 rmdir conf$$.dir 2>/dev/null
19684 # as_fn_mkdir_p
19685 # -------------
19686 # Create "$as_dir" as a directory, including parents if necessary.
19687 as_fn_mkdir_p ()
19690 case $as_dir in #(
19691 -*) as_dir=./$as_dir;;
19692 esac
19693 test -d "$as_dir" || eval $as_mkdir_p || {
19694 as_dirs=
19695 while :; do
19696 case $as_dir in #(
19697 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19698 *) as_qdir=$as_dir;;
19699 esac
19700 as_dirs="'$as_qdir' $as_dirs"
19701 as_dir=`$as_dirname -- "$as_dir" ||
19702 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19703 X"$as_dir" : 'X\(//\)[^/]' \| \
19704 X"$as_dir" : 'X\(//\)$' \| \
19705 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19706 $as_echo X"$as_dir" |
19707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19708 s//\1/
19711 /^X\(\/\/\)[^/].*/{
19712 s//\1/
19715 /^X\(\/\/\)$/{
19716 s//\1/
19719 /^X\(\/\).*/{
19720 s//\1/
19723 s/.*/./; q'`
19724 test -d "$as_dir" && break
19725 done
19726 test -z "$as_dirs" || eval "mkdir $as_dirs"
19727 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19730 } # as_fn_mkdir_p
19731 if mkdir -p . 2>/dev/null; then
19732 as_mkdir_p='mkdir -p "$as_dir"'
19733 else
19734 test -d ./-p && rmdir ./-p
19735 as_mkdir_p=false
19739 # as_fn_executable_p FILE
19740 # -----------------------
19741 # Test if FILE is an executable regular file.
19742 as_fn_executable_p ()
19744 test -f "$1" && test -x "$1"
19745 } # as_fn_executable_p
19746 as_test_x='test -x'
19747 as_executable_p=as_fn_executable_p
19749 # Sed expression to map a string onto a valid CPP name.
19750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19752 # Sed expression to map a string onto a valid variable name.
19753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19756 exec 6>&1
19757 ## ----------------------------------- ##
19758 ## Main body of $CONFIG_STATUS script. ##
19759 ## ----------------------------------- ##
19760 _ASEOF
19761 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19764 # Save the log message, to keep $0 and so on meaningful, and to
19765 # report actual input values of CONFIG_FILES etc. instead of their
19766 # values after options handling.
19767 ac_log="
19768 This file was extended by Wine $as_me 2.22, which was
19769 generated by GNU Autoconf 2.69. Invocation command line was
19771 CONFIG_FILES = $CONFIG_FILES
19772 CONFIG_HEADERS = $CONFIG_HEADERS
19773 CONFIG_LINKS = $CONFIG_LINKS
19774 CONFIG_COMMANDS = $CONFIG_COMMANDS
19775 $ $0 $@
19777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19780 _ACEOF
19782 case $ac_config_files in *"
19783 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19784 esac
19786 case $ac_config_headers in *"
19787 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19788 esac
19791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19792 # Files that config.status was made for.
19793 config_files="$ac_config_files"
19794 config_headers="$ac_config_headers"
19795 config_links="$ac_config_links"
19796 config_commands="$ac_config_commands"
19798 _ACEOF
19800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19801 ac_cs_usage="\
19802 \`$as_me' instantiates files and other configuration actions
19803 from templates according to the current configuration. Unless the files
19804 and actions are specified as TAGs, all are instantiated by default.
19806 Usage: $0 [OPTION]... [TAG]...
19808 -h, --help print this help, then exit
19809 -V, --version print version number and configuration settings, then exit
19810 --config print configuration, then exit
19811 -q, --quiet, --silent
19812 do not print progress messages
19813 -d, --debug don't remove temporary files
19814 --recheck update $as_me by reconfiguring in the same conditions
19815 --file=FILE[:TEMPLATE]
19816 instantiate the configuration file FILE
19817 --header=FILE[:TEMPLATE]
19818 instantiate the configuration header FILE
19820 Configuration files:
19821 $config_files
19823 Configuration headers:
19824 $config_headers
19826 Configuration links:
19827 $config_links
19829 Configuration commands:
19830 $config_commands
19832 Report bugs to <wine-devel@winehq.org>.
19833 Wine home page: <https://www.winehq.org>."
19835 _ACEOF
19836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19837 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19838 ac_cs_version="\\
19839 Wine config.status 2.22
19840 configured by $0, generated by GNU Autoconf 2.69,
19841 with options \\"\$ac_cs_config\\"
19843 Copyright (C) 2012 Free Software Foundation, Inc.
19844 This config.status script is free software; the Free Software Foundation
19845 gives unlimited permission to copy, distribute and modify it."
19847 ac_pwd='$ac_pwd'
19848 srcdir='$srcdir'
19849 test -n "\$AWK" || AWK=awk
19850 _ACEOF
19852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19853 # The default lists apply if the user does not specify any file.
19854 ac_need_defaults=:
19855 while test $# != 0
19857 case $1 in
19858 --*=?*)
19859 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19860 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19861 ac_shift=:
19863 --*=)
19864 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19865 ac_optarg=
19866 ac_shift=:
19869 ac_option=$1
19870 ac_optarg=$2
19871 ac_shift=shift
19873 esac
19875 case $ac_option in
19876 # Handling of the options.
19877 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19878 ac_cs_recheck=: ;;
19879 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19880 $as_echo "$ac_cs_version"; exit ;;
19881 --config | --confi | --conf | --con | --co | --c )
19882 $as_echo "$ac_cs_config"; exit ;;
19883 --debug | --debu | --deb | --de | --d | -d )
19884 debug=: ;;
19885 --file | --fil | --fi | --f )
19886 $ac_shift
19887 case $ac_optarg in
19888 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19889 '') as_fn_error $? "missing file argument" ;;
19890 esac
19891 as_fn_append CONFIG_FILES " '$ac_optarg'"
19892 ac_need_defaults=false;;
19893 --header | --heade | --head | --hea )
19894 $ac_shift
19895 case $ac_optarg in
19896 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19897 esac
19898 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19899 ac_need_defaults=false;;
19900 --he | --h)
19901 # Conflict between --help and --header
19902 as_fn_error $? "ambiguous option: \`$1'
19903 Try \`$0 --help' for more information.";;
19904 --help | --hel | -h )
19905 $as_echo "$ac_cs_usage"; exit ;;
19906 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19907 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19908 ac_cs_silent=: ;;
19910 # This is an error.
19911 -*) as_fn_error $? "unrecognized option: \`$1'
19912 Try \`$0 --help' for more information." ;;
19914 *) as_fn_append ac_config_targets " $1"
19915 ac_need_defaults=false ;;
19917 esac
19918 shift
19919 done
19921 ac_configure_extra_args=
19923 if $ac_cs_silent; then
19924 exec 6>/dev/null
19925 ac_configure_extra_args="$ac_configure_extra_args --silent"
19928 _ACEOF
19929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19930 if \$ac_cs_recheck; then
19931 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19932 shift
19933 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19934 CONFIG_SHELL='$SHELL'
19935 export CONFIG_SHELL
19936 exec "\$@"
19939 _ACEOF
19940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19941 exec 5>>config.log
19943 echo
19944 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19945 ## Running $as_me. ##
19946 _ASBOX
19947 $as_echo "$ac_log"
19948 } >&5
19950 _ACEOF
19951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19953 # INIT-COMMANDS
19955 wine_fn_output_makedep ()
19957 as_dir=tools; as_fn_mkdir_p
19958 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19960 wine_fn_output_makefile ()
19962 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19963 `cat $wine_rules_file`
19964 _WINE_EOF
19965 as_fn_error $? "could not create Makefile" "$LINENO" 5
19968 _ACEOF
19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19972 # Handling of arguments.
19973 for ac_config_target in $ac_config_targets
19975 case $ac_config_target in
19976 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19977 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19978 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19979 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19980 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19981 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19982 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19983 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19984 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19985 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19986 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19987 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19988 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19990 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19991 esac
19992 done
19995 # If the user did not use the arguments to specify the items to instantiate,
19996 # then the envvar interface is used. Set only those that are not.
19997 # We use the long form for the default assignment because of an extremely
19998 # bizarre bug on SunOS 4.1.3.
19999 if $ac_need_defaults; then
20000 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20001 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20002 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20003 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20006 # Have a temporary directory for convenience. Make it in the build tree
20007 # simply because there is no reason against having it here, and in addition,
20008 # creating and moving files from /tmp can sometimes cause problems.
20009 # Hook for its removal unless debugging.
20010 # Note that there is a small window in which the directory will not be cleaned:
20011 # after its creation but before its name has been assigned to `$tmp'.
20012 $debug ||
20014 tmp= ac_tmp=
20015 trap 'exit_status=$?
20016 : "${ac_tmp:=$tmp}"
20017 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20019 trap 'as_fn_exit 1' 1 2 13 15
20021 # Create a (secure) tmp directory for tmp files.
20024 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20025 test -d "$tmp"
20026 } ||
20028 tmp=./conf$$-$RANDOM
20029 (umask 077 && mkdir "$tmp")
20030 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20031 ac_tmp=$tmp
20033 # Set up the scripts for CONFIG_FILES section.
20034 # No need to generate them if there are no CONFIG_FILES.
20035 # This happens for instance with `./config.status config.h'.
20036 if test -n "$CONFIG_FILES"; then
20039 ac_cr=`echo X | tr X '\015'`
20040 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20041 # But we know of no other shell where ac_cr would be empty at this
20042 # point, so we can use a bashism as a fallback.
20043 if test "x$ac_cr" = x; then
20044 eval ac_cr=\$\'\\r\'
20046 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20047 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20048 ac_cs_awk_cr='\\r'
20049 else
20050 ac_cs_awk_cr=$ac_cr
20053 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20054 _ACEOF
20058 echo "cat >conf$$subs.awk <<_ACEOF" &&
20059 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20060 echo "_ACEOF"
20061 } >conf$$subs.sh ||
20062 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20063 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20064 ac_delim='%!_!# '
20065 for ac_last_try in false false false false false :; do
20066 . ./conf$$subs.sh ||
20067 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20069 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20070 if test $ac_delim_n = $ac_delim_num; then
20071 break
20072 elif $ac_last_try; then
20073 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20074 else
20075 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20077 done
20078 rm -f conf$$subs.sh
20080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20081 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20082 _ACEOF
20083 sed -n '
20085 s/^/S["/; s/!.*/"]=/
20088 s/^[^!]*!//
20089 :repl
20090 t repl
20091 s/'"$ac_delim"'$//
20092 t delim
20095 s/\(.\{148\}\)..*/\1/
20096 t more1
20097 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20100 b repl
20101 :more1
20102 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20105 s/.\{148\}//
20106 t nl
20107 :delim
20109 s/\(.\{148\}\)..*/\1/
20110 t more2
20111 s/["\\]/\\&/g; s/^/"/; s/$/"/
20114 :more2
20115 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20118 s/.\{148\}//
20119 t delim
20120 ' <conf$$subs.awk | sed '
20121 /^[^""]/{
20123 s/\n//
20125 ' >>$CONFIG_STATUS || ac_write_fail=1
20126 rm -f conf$$subs.awk
20127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20128 _ACAWK
20129 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20130 for (key in S) S_is_set[key] = 1
20131 FS = "\a"
20135 line = $ 0
20136 nfields = split(line, field, "@")
20137 substed = 0
20138 len = length(field[1])
20139 for (i = 2; i < nfields; i++) {
20140 key = field[i]
20141 keylen = length(key)
20142 if (S_is_set[key]) {
20143 value = S[key]
20144 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20145 len += length(value) + length(field[++i])
20146 substed = 1
20147 } else
20148 len += 1 + keylen
20151 print line
20154 _ACAWK
20155 _ACEOF
20156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20157 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20158 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20159 else
20161 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20162 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20163 _ACEOF
20165 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20166 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20167 # trailing colons and then remove the whole line if VPATH becomes empty
20168 # (actually we leave an empty line to preserve line numbers).
20169 if test "x$srcdir" = x.; then
20170 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20172 s///
20173 s/^/:/
20174 s/[ ]*$/:/
20175 s/:\$(srcdir):/:/g
20176 s/:\${srcdir}:/:/g
20177 s/:@srcdir@:/:/g
20178 s/^:*//
20179 s/:*$//
20181 s/\(=[ ]*\).*/\1/
20183 s/\n//
20184 s/^[^=]*=[ ]*$//
20188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20189 fi # test -n "$CONFIG_FILES"
20191 # Set up the scripts for CONFIG_HEADERS section.
20192 # No need to generate them if there are no CONFIG_HEADERS.
20193 # This happens for instance with `./config.status Makefile'.
20194 if test -n "$CONFIG_HEADERS"; then
20195 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20196 BEGIN {
20197 _ACEOF
20199 # Transform confdefs.h into an awk script `defines.awk', embedded as
20200 # here-document in config.status, that substitutes the proper values into
20201 # config.h.in to produce config.h.
20203 # Create a delimiter string that does not exist in confdefs.h, to ease
20204 # handling of long lines.
20205 ac_delim='%!_!# '
20206 for ac_last_try in false false :; do
20207 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20208 if test -z "$ac_tt"; then
20209 break
20210 elif $ac_last_try; then
20211 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20212 else
20213 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20215 done
20217 # For the awk script, D is an array of macro values keyed by name,
20218 # likewise P contains macro parameters if any. Preserve backslash
20219 # newline sequences.
20221 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20222 sed -n '
20223 s/.\{148\}/&'"$ac_delim"'/g
20224 t rset
20225 :rset
20226 s/^[ ]*#[ ]*define[ ][ ]*/ /
20227 t def
20229 :def
20230 s/\\$//
20231 t bsnl
20232 s/["\\]/\\&/g
20233 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20234 D["\1"]=" \3"/p
20235 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20237 :bsnl
20238 s/["\\]/\\&/g
20239 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20240 D["\1"]=" \3\\\\\\n"\\/p
20241 t cont
20242 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20243 t cont
20245 :cont
20247 s/.\{148\}/&'"$ac_delim"'/g
20248 t clear
20249 :clear
20250 s/\\$//
20251 t bsnlc
20252 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20254 :bsnlc
20255 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20256 b cont
20257 ' <confdefs.h | sed '
20258 s/'"$ac_delim"'/"\\\
20259 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20262 for (key in D) D_is_set[key] = 1
20263 FS = "\a"
20265 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20266 line = \$ 0
20267 split(line, arg, " ")
20268 if (arg[1] == "#") {
20269 defundef = arg[2]
20270 mac1 = arg[3]
20271 } else {
20272 defundef = substr(arg[1], 2)
20273 mac1 = arg[2]
20275 split(mac1, mac2, "(") #)
20276 macro = mac2[1]
20277 prefix = substr(line, 1, index(line, defundef) - 1)
20278 if (D_is_set[macro]) {
20279 # Preserve the white space surrounding the "#".
20280 print prefix "define", macro P[macro] D[macro]
20281 next
20282 } else {
20283 # Replace #undef with comments. This is necessary, for example,
20284 # in the case of _POSIX_SOURCE, which is predefined and required
20285 # on some systems where configure will not decide to define it.
20286 if (defundef == "undef") {
20287 print "/*", prefix defundef, macro, "*/"
20288 next
20292 { print }
20293 _ACAWK
20294 _ACEOF
20295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20296 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20297 fi # test -n "$CONFIG_HEADERS"
20300 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20301 shift
20302 for ac_tag
20304 case $ac_tag in
20305 :[FHLC]) ac_mode=$ac_tag; continue;;
20306 esac
20307 case $ac_mode$ac_tag in
20308 :[FHL]*:*);;
20309 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20310 :[FH]-) ac_tag=-:-;;
20311 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20312 esac
20313 ac_save_IFS=$IFS
20314 IFS=:
20315 set x $ac_tag
20316 IFS=$ac_save_IFS
20317 shift
20318 ac_file=$1
20319 shift
20321 case $ac_mode in
20322 :L) ac_source=$1;;
20323 :[FH])
20324 ac_file_inputs=
20325 for ac_f
20327 case $ac_f in
20328 -) ac_f="$ac_tmp/stdin";;
20329 *) # Look for the file first in the build tree, then in the source tree
20330 # (if the path is not absolute). The absolute path cannot be DOS-style,
20331 # because $ac_f cannot contain `:'.
20332 test -f "$ac_f" ||
20333 case $ac_f in
20334 [\\/$]*) false;;
20335 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20336 esac ||
20337 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20338 esac
20339 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20340 as_fn_append ac_file_inputs " '$ac_f'"
20341 done
20343 # Let's still pretend it is `configure' which instantiates (i.e., don't
20344 # use $as_me), people would be surprised to read:
20345 # /* config.h. Generated by config.status. */
20346 configure_input='Generated from '`
20347 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20348 `' by configure.'
20349 if test x"$ac_file" != x-; then
20350 configure_input="$ac_file. $configure_input"
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20352 $as_echo "$as_me: creating $ac_file" >&6;}
20354 # Neutralize special characters interpreted by sed in replacement strings.
20355 case $configure_input in #(
20356 *\&* | *\|* | *\\* )
20357 ac_sed_conf_input=`$as_echo "$configure_input" |
20358 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20359 *) ac_sed_conf_input=$configure_input;;
20360 esac
20362 case $ac_tag in
20363 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20365 esac
20367 esac
20369 ac_dir=`$as_dirname -- "$ac_file" ||
20370 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20371 X"$ac_file" : 'X\(//\)[^/]' \| \
20372 X"$ac_file" : 'X\(//\)$' \| \
20373 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20374 $as_echo X"$ac_file" |
20375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20376 s//\1/
20379 /^X\(\/\/\)[^/].*/{
20380 s//\1/
20383 /^X\(\/\/\)$/{
20384 s//\1/
20387 /^X\(\/\).*/{
20388 s//\1/
20391 s/.*/./; q'`
20392 as_dir="$ac_dir"; as_fn_mkdir_p
20393 ac_builddir=.
20395 case "$ac_dir" in
20396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20398 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20399 # A ".." for each directory in $ac_dir_suffix.
20400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20401 case $ac_top_builddir_sub in
20402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20404 esac ;;
20405 esac
20406 ac_abs_top_builddir=$ac_pwd
20407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20408 # for backward compatibility:
20409 ac_top_builddir=$ac_top_build_prefix
20411 case $srcdir in
20412 .) # We are building in place.
20413 ac_srcdir=.
20414 ac_top_srcdir=$ac_top_builddir_sub
20415 ac_abs_top_srcdir=$ac_pwd ;;
20416 [\\/]* | ?:[\\/]* ) # Absolute name.
20417 ac_srcdir=$srcdir$ac_dir_suffix;
20418 ac_top_srcdir=$srcdir
20419 ac_abs_top_srcdir=$srcdir ;;
20420 *) # Relative name.
20421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20422 ac_top_srcdir=$ac_top_build_prefix$srcdir
20423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20424 esac
20425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20428 case $ac_mode in
20431 # CONFIG_FILE
20434 _ACEOF
20436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20437 # If the template does not know about datarootdir, expand it.
20438 # FIXME: This hack should be removed a few years after 2.60.
20439 ac_datarootdir_hack=; ac_datarootdir_seen=
20440 ac_sed_dataroot='
20441 /datarootdir/ {
20445 /@datadir@/p
20446 /@docdir@/p
20447 /@infodir@/p
20448 /@localedir@/p
20449 /@mandir@/p'
20450 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20451 *datarootdir*) ac_datarootdir_seen=yes;;
20452 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20454 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20455 _ACEOF
20456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20457 ac_datarootdir_hack='
20458 s&@datadir@&$datadir&g
20459 s&@docdir@&$docdir&g
20460 s&@infodir@&$infodir&g
20461 s&@localedir@&$localedir&g
20462 s&@mandir@&$mandir&g
20463 s&\\\${datarootdir}&$datarootdir&g' ;;
20464 esac
20465 _ACEOF
20467 # Neutralize VPATH when `$srcdir' = `.'.
20468 # Shell code in configure.ac might set extrasub.
20469 # FIXME: do we really want to maintain this feature?
20470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20471 ac_sed_extra="$ac_vpsub
20472 $extrasub
20473 _ACEOF
20474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20476 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20477 s|@configure_input@|$ac_sed_conf_input|;t t
20478 s&@top_builddir@&$ac_top_builddir_sub&;t t
20479 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20480 s&@srcdir@&$ac_srcdir&;t t
20481 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20482 s&@top_srcdir@&$ac_top_srcdir&;t t
20483 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20484 s&@builddir@&$ac_builddir&;t t
20485 s&@abs_builddir@&$ac_abs_builddir&;t t
20486 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20487 $ac_datarootdir_hack
20489 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20490 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20492 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20493 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20494 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20495 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20497 which seems to be undefined. Please make sure it is defined" >&5
20498 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20499 which seems to be undefined. Please make sure it is defined" >&2;}
20501 rm -f "$ac_tmp/stdin"
20502 case $ac_file in
20503 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20504 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20505 esac \
20506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20510 # CONFIG_HEADER
20512 if test x"$ac_file" != x-; then
20514 $as_echo "/* $configure_input */" \
20515 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20516 } >"$ac_tmp/config.h" \
20517 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20518 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20520 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20521 else
20522 rm -f "$ac_file"
20523 mv "$ac_tmp/config.h" "$ac_file" \
20524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20526 else
20527 $as_echo "/* $configure_input */" \
20528 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20529 || as_fn_error $? "could not create -" "$LINENO" 5
20534 # CONFIG_LINK
20537 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20539 else
20540 # Prefer the file from the source tree if names are identical.
20541 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20542 ac_source=$srcdir/$ac_source
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20546 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20548 if test ! -r "$ac_source"; then
20549 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20551 rm -f "$ac_file"
20553 # Try a relative symlink, then a hard link, then a copy.
20554 case $ac_source in
20555 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20556 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20557 esac
20558 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20559 ln "$ac_source" "$ac_file" 2>/dev/null ||
20560 cp -p "$ac_source" "$ac_file" ||
20561 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20564 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20565 $as_echo "$as_me: executing $ac_file commands" >&6;}
20567 esac
20570 case $ac_file$ac_mode in
20571 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20572 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20573 "Makefile":C) wine_fn_output_makefile Makefile ;;
20575 esac
20576 done # for ac_tag
20579 as_fn_exit 0
20580 _ACEOF
20581 ac_clean_files=$ac_clean_files_save
20583 test $ac_write_fail = 0 ||
20584 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20587 # configure is writing to config.log, and then calls config.status.
20588 # config.status does its own redirection, appending to config.log.
20589 # Unfortunately, on DOS this fails, as config.log is still kept open
20590 # by configure, so config.status won't be able to write to it; its
20591 # output is simply discarded. So we exec the FD to /dev/null,
20592 # effectively closing config.log, so it can be properly (re)opened and
20593 # appended to by config.status. When coming back to configure, we
20594 # need to make the FD available again.
20595 if test "$no_create" != yes; then
20596 ac_cs_success=:
20597 ac_config_status_args=
20598 test "$silent" = yes &&
20599 ac_config_status_args="$ac_config_status_args --quiet"
20600 exec 5>/dev/null
20601 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20602 exec 5>>config.log
20603 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20604 # would make configure fail if this is the last instruction.
20605 $ac_cs_success || as_fn_exit 1
20607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20609 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20613 if test "$no_create" = "yes"
20614 then
20615 exit 0
20618 ac_save_IFS="$IFS"
20619 if test "x$wine_notices" != x; then
20620 echo >&6
20621 IFS="|"
20622 for msg in $wine_notices; do
20623 IFS="$ac_save_IFS"
20624 if ${msg:+false} :; then :
20626 else
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20628 $as_echo "$as_me: $msg" >&6;}
20630 done
20632 IFS="|"
20633 for msg in $wine_warnings; do
20634 IFS="$ac_save_IFS"
20635 if ${msg:+false} :; then :
20637 else
20638 echo >&2
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20640 $as_echo "$as_me: WARNING: $msg" >&2;}
20642 done
20643 IFS="$ac_save_IFS"
20645 $as_echo "
20646 $as_me: Finished. Do '${ac_make}' to compile Wine.
20647 " >&6