secur32: Implement VerifySignature in the SSP/AP wrapper.
[wine.git] / configure
blob1eeb841b1c84637fea5333d59cfd48d6ec2fc832
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.0.
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='3.0'
584 PACKAGE_STRING='Wine 3.0'
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 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 UDEV_LIBS
662 UDEV_CFLAGS
663 OSS4_CFLAGS
664 ALSA_LIBS
665 GSTREAMER_LIBS
666 GSTREAMER_CFLAGS
667 PULSE_LIBS
668 PULSE_CFLAGS
669 GETTEXTPO_LIBS
670 Z_LIBS
671 FREETYPE_LIBS
672 FREETYPE_CFLAGS
673 LCMS2_LIBS
674 LCMS2_CFLAGS
675 RESOLV_LIBS
676 GPHOTO2_PORT_LIBS
677 GPHOTO2_PORT_CFLAGS
678 GPHOTO2_LIBS
679 GPHOTO2_CFLAGS
680 SANE_LIBS
681 SANE_CFLAGS
682 GNUTLS_LIBS
683 GNUTLS_CFLAGS
684 HAL_LIBS
685 HAL_CFLAGS
686 DBUS_LIBS
687 DBUS_CFLAGS
688 XSLT_LIBS
689 XSLT_CFLAGS
690 XML2_LIBS
691 XML2_CFLAGS
692 PCAP_LIBS
693 X_EXTRA_LIBS
694 X_LIBS
695 X_PRE_LIBS
696 X_CFLAGS
697 XMKMF
698 PTHREAD_LIBS
699 CROSSCFLAGS
700 CROSSCC
701 CROSSTARGET
702 PRELINK
703 WINELOADER_DEPENDS
704 CARBON_LIBS
705 QUICKTIME_LIBS
706 OPENCL_LIBS
707 OPENAL_LIBS
708 COREAUDIO_LIBS
709 SECURITY_LIBS
710 DISKARBITRATION_LIBS
711 APPKIT_LIBS
712 CORESERVICES_LIBS
713 APPLICATIONSERVICES_LIBS
714 FORCEFEEDBACK_LIBS
715 IOKIT_LIBS
716 COREFOUNDATION_LIBS
717 LIBWINE_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_INSTALL_DEV
720 LIBWINE_INSTALL_LIB
721 LIBWINE_IMPORTLIB
722 LIBWINE_SHAREDLIB
723 SOCKET_LIBS
724 DLLTOOL
725 WINELOADER_PROGRAMS
726 ALL_TEST_RESOURCES
727 CONFIGURE_TARGETS
728 DISABLED_SUBDIRS
729 SUBDIRS
730 READELF
731 OTOOL
733 WINELOADER_LDFLAGS
734 LDEXECFLAGS
735 LDRPATH_LOCAL
736 LDRPATH_INSTALL
737 DLLFLAGS
738 dlldir
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 TARGETFLAGS
761 CPPBIN
762 ac_ct_CXX
763 CXXFLAGS
765 OBJEXT
766 EXEEXT
767 ac_ct_CC
768 CPPFLAGS
769 LDFLAGS
770 CFLAGS
772 SET_MAKE
773 host_os
774 host_vendor
775 host_cpu
776 host
777 build_os
778 build_vendor
779 build_cpu
780 build
781 target_alias
782 host_alias
783 build_alias
784 LIBS
785 ECHO_T
786 ECHO_N
787 ECHO_C
788 DEFS
789 mandir
790 localedir
791 libdir
792 psdir
793 pdfdir
794 dvidir
795 htmldir
796 infodir
797 docdir
798 oldincludedir
799 includedir
800 runstatedir
801 localstatedir
802 sharedstatedir
803 sysconfdir
804 datadir
805 datarootdir
806 libexecdir
807 sbindir
808 bindir
809 program_transform_name
810 prefix
811 exec_prefix
812 PACKAGE_URL
813 PACKAGE_BUGREPORT
814 PACKAGE_STRING
815 PACKAGE_VERSION
816 PACKAGE_TARNAME
817 PACKAGE_NAME
818 PATH_SEPARATOR
819 SHELL'
820 ac_subst_files=''
821 ac_user_opts='
822 enable_option_checking
823 enable_win16
824 enable_win64
825 enable_tests
826 enable_maintainer_mode
827 with_alsa
828 with_capi
829 with_cms
830 with_coreaudio
831 with_cups
832 with_curses
833 with_dbus
834 with_float_abi
835 with_fontconfig
836 with_freetype
837 with_gettext
838 with_gettextpo
839 with_gphoto
840 with_glu
841 with_gnutls
842 with_gsm
843 with_gssapi
844 with_gstreamer
845 with_hal
846 with_jpeg
847 with_krb5
848 with_ldap
849 with_mpg123
850 with_netapi
851 with_openal
852 with_opencl
853 with_opengl
854 with_osmesa
855 with_oss
856 with_pcap
857 with_png
858 with_pthread
859 with_pulse
860 with_sane
861 with_tiff
862 with_udev
863 with_v4l
864 with_xcomposite
865 with_xcursor
866 with_xfixes
867 with_xinerama
868 with_xinput
869 with_xinput2
870 with_xml
871 with_xrandr
872 with_xrender
873 with_xshape
874 with_xshm
875 with_xslt
876 with_xxf86vm
877 with_zlib
878 with_wine_tools
879 with_wine64
880 enable_largefile
881 with_x
882 enable_acledit
883 enable_aclui
884 enable_activeds
885 enable_actxprxy
886 enable_adsldpc
887 enable_advapi32
888 enable_advpack
889 enable_amstream
890 enable_api_ms_win_appmodel_identity_l1_1_0
891 enable_api_ms_win_appmodel_runtime_l1_1_1
892 enable_api_ms_win_appmodel_runtime_l1_1_2
893 enable_api_ms_win_core_apiquery_l1_1_0
894 enable_api_ms_win_core_appcompat_l1_1_1
895 enable_api_ms_win_core_appinit_l1_1_0
896 enable_api_ms_win_core_atoms_l1_1_0
897 enable_api_ms_win_core_bem_l1_1_0
898 enable_api_ms_win_core_com_l1_1_0
899 enable_api_ms_win_core_com_l1_1_1
900 enable_api_ms_win_core_com_private_l1_1_0
901 enable_api_ms_win_core_console_l1_1_0
902 enable_api_ms_win_core_console_l2_1_0
903 enable_api_ms_win_core_crt_l1_1_0
904 enable_api_ms_win_core_crt_l2_1_0
905 enable_api_ms_win_core_datetime_l1_1_0
906 enable_api_ms_win_core_datetime_l1_1_1
907 enable_api_ms_win_core_debug_l1_1_0
908 enable_api_ms_win_core_debug_l1_1_1
909 enable_api_ms_win_core_delayload_l1_1_0
910 enable_api_ms_win_core_delayload_l1_1_1
911 enable_api_ms_win_core_errorhandling_l1_1_0
912 enable_api_ms_win_core_errorhandling_l1_1_1
913 enable_api_ms_win_core_errorhandling_l1_1_2
914 enable_api_ms_win_core_errorhandling_l1_1_3
915 enable_api_ms_win_core_fibers_l1_1_0
916 enable_api_ms_win_core_fibers_l1_1_1
917 enable_api_ms_win_core_file_l1_1_0
918 enable_api_ms_win_core_file_l1_2_0
919 enable_api_ms_win_core_file_l1_2_1
920 enable_api_ms_win_core_file_l1_2_2
921 enable_api_ms_win_core_file_l2_1_0
922 enable_api_ms_win_core_file_l2_1_1
923 enable_api_ms_win_core_file_l2_1_2
924 enable_api_ms_win_core_handle_l1_1_0
925 enable_api_ms_win_core_heap_l1_1_0
926 enable_api_ms_win_core_heap_l1_2_0
927 enable_api_ms_win_core_heap_l2_1_0
928 enable_api_ms_win_core_heap_obsolete_l1_1_0
929 enable_api_ms_win_core_interlocked_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_2_0
931 enable_api_ms_win_core_io_l1_1_0
932 enable_api_ms_win_core_io_l1_1_1
933 enable_api_ms_win_core_job_l1_1_0
934 enable_api_ms_win_core_job_l2_1_0
935 enable_api_ms_win_core_kernel32_legacy_l1_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_1
937 enable_api_ms_win_core_kernel32_private_l1_1_1
938 enable_api_ms_win_core_libraryloader_l1_1_0
939 enable_api_ms_win_core_libraryloader_l1_1_1
940 enable_api_ms_win_core_libraryloader_l1_2_0
941 enable_api_ms_win_core_libraryloader_l1_2_1
942 enable_api_ms_win_core_libraryloader_l1_2_2
943 enable_api_ms_win_core_localization_l1_1_0
944 enable_api_ms_win_core_localization_l1_2_0
945 enable_api_ms_win_core_localization_l1_2_1
946 enable_api_ms_win_core_localization_l2_1_0
947 enable_api_ms_win_core_localization_obsolete_l1_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_2_0
949 enable_api_ms_win_core_localization_obsolete_l1_3_0
950 enable_api_ms_win_core_localization_private_l1_1_0
951 enable_api_ms_win_core_localregistry_l1_1_0
952 enable_api_ms_win_core_memory_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_1
954 enable_api_ms_win_core_memory_l1_1_2
955 enable_api_ms_win_core_misc_l1_1_0
956 enable_api_ms_win_core_namedpipe_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_2_0
958 enable_api_ms_win_core_namespace_l1_1_0
959 enable_api_ms_win_core_normalization_l1_1_0
960 enable_api_ms_win_core_path_l1_1_0
961 enable_api_ms_win_core_privateprofile_l1_1_1
962 enable_api_ms_win_core_processenvironment_l1_1_0
963 enable_api_ms_win_core_processenvironment_l1_2_0
964 enable_api_ms_win_core_processthreads_l1_1_0
965 enable_api_ms_win_core_processthreads_l1_1_1
966 enable_api_ms_win_core_processthreads_l1_1_2
967 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
968 enable_api_ms_win_core_profile_l1_1_0
969 enable_api_ms_win_core_psapi_ansi_l1_1_0
970 enable_api_ms_win_core_psapi_l1_1_0
971 enable_api_ms_win_core_psapi_obsolete_l1_1_0
972 enable_api_ms_win_core_quirks_l1_1_0
973 enable_api_ms_win_core_realtime_l1_1_0
974 enable_api_ms_win_core_registry_l1_1_0
975 enable_api_ms_win_core_registry_l2_1_0
976 enable_api_ms_win_core_registryuserspecific_l1_1_0
977 enable_api_ms_win_core_rtlsupport_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_2_0
979 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
980 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
982 enable_api_ms_win_core_sidebyside_l1_1_0
983 enable_api_ms_win_core_string_l1_1_0
984 enable_api_ms_win_core_string_l2_1_0
985 enable_api_ms_win_core_string_obsolete_l1_1_0
986 enable_api_ms_win_core_stringansi_l1_1_0
987 enable_api_ms_win_core_synch_ansi_l1_1_0
988 enable_api_ms_win_core_synch_l1_1_0
989 enable_api_ms_win_core_synch_l1_2_0
990 enable_api_ms_win_core_synch_l1_2_1
991 enable_api_ms_win_core_sysinfo_l1_1_0
992 enable_api_ms_win_core_sysinfo_l1_2_0
993 enable_api_ms_win_core_sysinfo_l1_2_1
994 enable_api_ms_win_core_threadpool_l1_1_0
995 enable_api_ms_win_core_threadpool_l1_2_0
996 enable_api_ms_win_core_threadpool_legacy_l1_1_0
997 enable_api_ms_win_core_threadpool_private_l1_1_0
998 enable_api_ms_win_core_timezone_l1_1_0
999 enable_api_ms_win_core_toolhelp_l1_1_0
1000 enable_api_ms_win_core_url_l1_1_0
1001 enable_api_ms_win_core_util_l1_1_0
1002 enable_api_ms_win_core_version_l1_1_0
1003 enable_api_ms_win_core_version_l1_1_1
1004 enable_api_ms_win_core_version_private_l1_1_0
1005 enable_api_ms_win_core_versionansi_l1_1_0
1006 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1007 enable_api_ms_win_core_winrt_error_l1_1_0
1008 enable_api_ms_win_core_winrt_error_l1_1_1
1009 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1010 enable_api_ms_win_core_winrt_l1_1_0
1011 enable_api_ms_win_core_winrt_registration_l1_1_0
1012 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1013 enable_api_ms_win_core_winrt_string_l1_1_0
1014 enable_api_ms_win_core_wow64_l1_1_0
1015 enable_api_ms_win_core_wow64_l1_1_1
1016 enable_api_ms_win_core_xstate_l1_1_0
1017 enable_api_ms_win_core_xstate_l2_1_0
1018 enable_api_ms_win_crt_conio_l1_1_0
1019 enable_api_ms_win_crt_convert_l1_1_0
1020 enable_api_ms_win_crt_environment_l1_1_0
1021 enable_api_ms_win_crt_filesystem_l1_1_0
1022 enable_api_ms_win_crt_heap_l1_1_0
1023 enable_api_ms_win_crt_locale_l1_1_0
1024 enable_api_ms_win_crt_math_l1_1_0
1025 enable_api_ms_win_crt_multibyte_l1_1_0
1026 enable_api_ms_win_crt_private_l1_1_0
1027 enable_api_ms_win_crt_process_l1_1_0
1028 enable_api_ms_win_crt_runtime_l1_1_0
1029 enable_api_ms_win_crt_stdio_l1_1_0
1030 enable_api_ms_win_crt_string_l1_1_0
1031 enable_api_ms_win_crt_time_l1_1_0
1032 enable_api_ms_win_crt_utility_l1_1_0
1033 enable_api_ms_win_devices_config_l1_1_1
1034 enable_api_ms_win_devices_query_l1_1_1
1035 enable_api_ms_win_downlevel_advapi32_l1_1_0
1036 enable_api_ms_win_downlevel_advapi32_l2_1_0
1037 enable_api_ms_win_downlevel_normaliz_l1_1_0
1038 enable_api_ms_win_downlevel_ole32_l1_1_0
1039 enable_api_ms_win_downlevel_shell32_l1_1_0
1040 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1041 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1042 enable_api_ms_win_downlevel_user32_l1_1_0
1043 enable_api_ms_win_downlevel_version_l1_1_0
1044 enable_api_ms_win_dx_d3dkmt_l1_1_0
1045 enable_api_ms_win_eventing_classicprovider_l1_1_0
1046 enable_api_ms_win_eventing_consumer_l1_1_0
1047 enable_api_ms_win_eventing_controller_l1_1_0
1048 enable_api_ms_win_eventing_legacy_l1_1_0
1049 enable_api_ms_win_eventing_provider_l1_1_0
1050 enable_api_ms_win_eventlog_legacy_l1_1_0
1051 enable_api_ms_win_mm_joystick_l1_1_0
1052 enable_api_ms_win_mm_misc_l1_1_1
1053 enable_api_ms_win_mm_mme_l1_1_0
1054 enable_api_ms_win_mm_time_l1_1_0
1055 enable_api_ms_win_ntuser_dc_access_l1_1_0
1056 enable_api_ms_win_ntuser_rectangle_l1_1_0
1057 enable_api_ms_win_power_base_l1_1_0
1058 enable_api_ms_win_power_setting_l1_1_0
1059 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1060 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1061 enable_api_ms_win_security_audit_l1_1_1
1062 enable_api_ms_win_security_base_l1_1_0
1063 enable_api_ms_win_security_base_l1_2_0
1064 enable_api_ms_win_security_base_private_l1_1_1
1065 enable_api_ms_win_security_credentials_l1_1_0
1066 enable_api_ms_win_security_grouppolicy_l1_1_0
1067 enable_api_ms_win_security_lsalookup_l1_1_0
1068 enable_api_ms_win_security_lsalookup_l1_1_1
1069 enable_api_ms_win_security_lsalookup_l2_1_1
1070 enable_api_ms_win_security_lsapolicy_l1_1_0
1071 enable_api_ms_win_security_provider_l1_1_0
1072 enable_api_ms_win_security_sddl_l1_1_0
1073 enable_api_ms_win_security_systemfunctions_l1_1_0
1074 enable_api_ms_win_service_core_l1_1_0
1075 enable_api_ms_win_service_core_l1_1_1
1076 enable_api_ms_win_service_management_l1_1_0
1077 enable_api_ms_win_service_management_l2_1_0
1078 enable_api_ms_win_service_private_l1_1_1
1079 enable_api_ms_win_service_winsvc_l1_1_0
1080 enable_api_ms_win_service_winsvc_l1_2_0
1081 enable_api_ms_win_shcore_scaling_l1_1_1
1082 enable_api_ms_win_shell_shellcom_l1_1_0
1083 enable_api_ms_win_shell_shellfolders_l1_1_0
1084 enable_apphelp
1085 enable_appwiz_cpl
1086 enable_atl
1087 enable_atl100
1088 enable_atl110
1089 enable_atl80
1090 enable_atl90
1091 enable_authz
1092 enable_avicap32
1093 enable_avifil32
1094 enable_avrt
1095 enable_bcrypt
1096 enable_bluetoothapis
1097 enable_browseui
1098 enable_bthprops_cpl
1099 enable_cabinet
1100 enable_capi2032
1101 enable_cards
1102 enable_cfgmgr32
1103 enable_clusapi
1104 enable_combase
1105 enable_comcat
1106 enable_comctl32
1107 enable_comdlg32
1108 enable_compstui
1109 enable_comsvcs
1110 enable_concrt140
1111 enable_connect
1112 enable_credui
1113 enable_crtdll
1114 enable_crypt32
1115 enable_cryptdlg
1116 enable_cryptdll
1117 enable_cryptext
1118 enable_cryptnet
1119 enable_cryptui
1120 enable_ctapi32
1121 enable_ctl3d32
1122 enable_d2d1
1123 enable_d3d10
1124 enable_d3d10_1
1125 enable_d3d10core
1126 enable_d3d11
1127 enable_d3d8
1128 enable_d3d9
1129 enable_d3dcompiler_33
1130 enable_d3dcompiler_34
1131 enable_d3dcompiler_35
1132 enable_d3dcompiler_36
1133 enable_d3dcompiler_37
1134 enable_d3dcompiler_38
1135 enable_d3dcompiler_39
1136 enable_d3dcompiler_40
1137 enable_d3dcompiler_41
1138 enable_d3dcompiler_42
1139 enable_d3dcompiler_43
1140 enable_d3dcompiler_46
1141 enable_d3dcompiler_47
1142 enable_d3dim
1143 enable_d3drm
1144 enable_d3dx10_33
1145 enable_d3dx10_34
1146 enable_d3dx10_35
1147 enable_d3dx10_36
1148 enable_d3dx10_37
1149 enable_d3dx10_38
1150 enable_d3dx10_39
1151 enable_d3dx10_40
1152 enable_d3dx10_41
1153 enable_d3dx10_42
1154 enable_d3dx10_43
1155 enable_d3dx11_42
1156 enable_d3dx11_43
1157 enable_d3dx9_24
1158 enable_d3dx9_25
1159 enable_d3dx9_26
1160 enable_d3dx9_27
1161 enable_d3dx9_28
1162 enable_d3dx9_29
1163 enable_d3dx9_30
1164 enable_d3dx9_31
1165 enable_d3dx9_32
1166 enable_d3dx9_33
1167 enable_d3dx9_34
1168 enable_d3dx9_35
1169 enable_d3dx9_36
1170 enable_d3dx9_37
1171 enable_d3dx9_38
1172 enable_d3dx9_39
1173 enable_d3dx9_40
1174 enable_d3dx9_41
1175 enable_d3dx9_42
1176 enable_d3dx9_43
1177 enable_d3dxof
1178 enable_davclnt
1179 enable_dbgeng
1180 enable_dbghelp
1181 enable_dciman32
1182 enable_ddraw
1183 enable_ddrawex
1184 enable_devenum
1185 enable_dhcpcsvc
1186 enable_dhtmled_ocx
1187 enable_difxapi
1188 enable_dinput
1189 enable_dinput8
1190 enable_dispex
1191 enable_dmband
1192 enable_dmcompos
1193 enable_dmime
1194 enable_dmloader
1195 enable_dmscript
1196 enable_dmstyle
1197 enable_dmsynth
1198 enable_dmusic
1199 enable_dmusic32
1200 enable_dnsapi
1201 enable_dplay
1202 enable_dplayx
1203 enable_dpnaddr
1204 enable_dpnet
1205 enable_dpnhpast
1206 enable_dpnlobby
1207 enable_dpvoice
1208 enable_dpwsockx
1209 enable_drmclien
1210 enable_dsound
1211 enable_dsquery
1212 enable_dssenh
1213 enable_dswave
1214 enable_dwmapi
1215 enable_dwrite
1216 enable_dx8vb
1217 enable_dxdiagn
1218 enable_dxgi
1219 enable_dxva2
1220 enable_esent
1221 enable_evr
1222 enable_explorerframe
1223 enable_ext_ms_win_authz_context_l1_1_0
1224 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1225 enable_ext_ms_win_gdi_dc_create_l1_1_1
1226 enable_ext_ms_win_gdi_dc_l1_2_0
1227 enable_ext_ms_win_gdi_devcaps_l1_1_0
1228 enable_ext_ms_win_gdi_draw_l1_1_1
1229 enable_ext_ms_win_gdi_render_l1_1_0
1230 enable_ext_ms_win_kernel32_package_current_l1_1_0
1231 enable_ext_ms_win_kernel32_package_l1_1_1
1232 enable_ext_ms_win_ntuser_message_l1_1_1
1233 enable_ext_ms_win_ntuser_private_l1_1_1
1234 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1235 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1236 enable_ext_ms_win_ntuser_window_l1_1_1
1237 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1238 enable_ext_ms_win_ras_rasapi32_l1_1_0
1239 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1240 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1241 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1242 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1243 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1244 enable_ext_ms_win_security_credui_l1_1_0
1245 enable_ext_ms_win_security_cryptui_l1_1_0
1246 enable_faultrep
1247 enable_fltlib
1248 enable_fltmgr_sys
1249 enable_fntcache
1250 enable_fontsub
1251 enable_fusion
1252 enable_fwpuclnt
1253 enable_gameux
1254 enable_gdi32
1255 enable_gdiplus
1256 enable_glu32
1257 enable_gphoto2_ds
1258 enable_gpkcsp
1259 enable_hal
1260 enable_hhctrl_ocx
1261 enable_hid
1262 enable_hidclass_sys
1263 enable_hlink
1264 enable_hnetcfg
1265 enable_httpapi
1266 enable_iccvid
1267 enable_icmp
1268 enable_ieframe
1269 enable_ieproxy
1270 enable_imaadp32_acm
1271 enable_imagehlp
1272 enable_imm32
1273 enable_inetcomm
1274 enable_inetcpl_cpl
1275 enable_inetmib1
1276 enable_infosoft
1277 enable_initpki
1278 enable_inkobj
1279 enable_inseng
1280 enable_iphlpapi
1281 enable_iprop
1282 enable_irprops_cpl
1283 enable_itircl
1284 enable_itss
1285 enable_joy_cpl
1286 enable_jscript
1287 enable_jsproxy
1288 enable_kerberos
1289 enable_kernel32
1290 enable_kernelbase
1291 enable_ksuser
1292 enable_ktmw32
1293 enable_l3codeca_acm
1294 enable_loadperf
1295 enable_localspl
1296 enable_localui
1297 enable_lz32
1298 enable_mapi32
1299 enable_mapistub
1300 enable_mciavi32
1301 enable_mcicda
1302 enable_mciqtz32
1303 enable_mciseq
1304 enable_mciwave
1305 enable_mf
1306 enable_mf3216
1307 enable_mfplat
1308 enable_mfreadwrite
1309 enable_mgmtapi
1310 enable_midimap
1311 enable_mlang
1312 enable_mmcndmgr
1313 enable_mmdevapi
1314 enable_mountmgr_sys
1315 enable_mpr
1316 enable_mprapi
1317 enable_msacm32_drv
1318 enable_msacm32
1319 enable_msadp32_acm
1320 enable_msasn1
1321 enable_mscat32
1322 enable_mscms
1323 enable_mscoree
1324 enable_msctf
1325 enable_msctfp
1326 enable_msdaps
1327 enable_msdelta
1328 enable_msdmo
1329 enable_msdrm
1330 enable_msftedit
1331 enable_msg711_acm
1332 enable_msgsm32_acm
1333 enable_mshtml_tlb
1334 enable_mshtml
1335 enable_msi
1336 enable_msident
1337 enable_msimg32
1338 enable_msimsg
1339 enable_msimtf
1340 enable_msisip
1341 enable_msisys_ocx
1342 enable_msls31
1343 enable_msnet32
1344 enable_mspatcha
1345 enable_msports
1346 enable_msrle32
1347 enable_msscript_ocx
1348 enable_mssign32
1349 enable_mssip32
1350 enable_mstask
1351 enable_msvcirt
1352 enable_msvcm80
1353 enable_msvcm90
1354 enable_msvcp100
1355 enable_msvcp110
1356 enable_msvcp120
1357 enable_msvcp120_app
1358 enable_msvcp140
1359 enable_msvcp60
1360 enable_msvcp70
1361 enable_msvcp71
1362 enable_msvcp80
1363 enable_msvcp90
1364 enable_msvcr100
1365 enable_msvcr110
1366 enable_msvcr120
1367 enable_msvcr120_app
1368 enable_msvcr70
1369 enable_msvcr71
1370 enable_msvcr80
1371 enable_msvcr90
1372 enable_msvcrt
1373 enable_msvcrt20
1374 enable_msvcrt40
1375 enable_msvcrtd
1376 enable_msvfw32
1377 enable_msvidc32
1378 enable_mswsock
1379 enable_msxml
1380 enable_msxml2
1381 enable_msxml3
1382 enable_msxml4
1383 enable_msxml6
1384 enable_mtxdm
1385 enable_ncrypt
1386 enable_nddeapi
1387 enable_ndis_sys
1388 enable_netapi32
1389 enable_netcfgx
1390 enable_netprofm
1391 enable_newdev
1392 enable_normaliz
1393 enable_npmshtml
1394 enable_npptools
1395 enable_ntdll
1396 enable_ntdsapi
1397 enable_ntoskrnl_exe
1398 enable_ntprint
1399 enable_objsel
1400 enable_odbc32
1401 enable_odbccp32
1402 enable_odbccu32
1403 enable_ole32
1404 enable_oleacc
1405 enable_oleaut32
1406 enable_olecli32
1407 enable_oledb32
1408 enable_oledlg
1409 enable_olepro32
1410 enable_olesvr32
1411 enable_olethk32
1412 enable_openal32
1413 enable_opencl
1414 enable_opengl32
1415 enable_packager
1416 enable_pdh
1417 enable_photometadatahandler
1418 enable_pidgen
1419 enable_powrprof
1420 enable_printui
1421 enable_prntvpt
1422 enable_propsys
1423 enable_psapi
1424 enable_pstorec
1425 enable_qcap
1426 enable_qedit
1427 enable_qmgr
1428 enable_qmgrprxy
1429 enable_quartz
1430 enable_query
1431 enable_rasapi32
1432 enable_rasdlg
1433 enable_regapi
1434 enable_resutils
1435 enable_riched20
1436 enable_riched32
1437 enable_rpcrt4
1438 enable_rsabase
1439 enable_rsaenh
1440 enable_rstrtmgr
1441 enable_rtutils
1442 enable_samlib
1443 enable_sane_ds
1444 enable_sapi
1445 enable_scarddlg
1446 enable_sccbase
1447 enable_schannel
1448 enable_schedsvc
1449 enable_scrobj
1450 enable_scrrun
1451 enable_scsiport_sys
1452 enable_secur32
1453 enable_security
1454 enable_sensapi
1455 enable_serialui
1456 enable_setupapi
1457 enable_sfc
1458 enable_sfc_os
1459 enable_shcore
1460 enable_shdoclc
1461 enable_shdocvw
1462 enable_shell32
1463 enable_shfolder
1464 enable_shlwapi
1465 enable_slbcsp
1466 enable_slc
1467 enable_snmpapi
1468 enable_softpub
1469 enable_spoolss
1470 enable_sspicli
1471 enable_stdole2_tlb
1472 enable_stdole32_tlb
1473 enable_sti
1474 enable_svrapi
1475 enable_sxs
1476 enable_t2embed
1477 enable_tapi32
1478 enable_taskschd
1479 enable_tdh
1480 enable_tdi_sys
1481 enable_traffic
1482 enable_twain_32
1483 enable_ucrtbase
1484 enable_uiautomationcore
1485 enable_uiribbon
1486 enable_unicows
1487 enable_updspapi
1488 enable_url
1489 enable_urlmon
1490 enable_usbd_sys
1491 enable_user32
1492 enable_userenv
1493 enable_usp10
1494 enable_uxtheme
1495 enable_vbscript
1496 enable_vcomp
1497 enable_vcomp100
1498 enable_vcomp110
1499 enable_vcomp120
1500 enable_vcomp140
1501 enable_vcomp90
1502 enable_vcruntime140
1503 enable_vdmdbg
1504 enable_version
1505 enable_virtdisk
1506 enable_vssapi
1507 enable_wbemdisp
1508 enable_wbemprox
1509 enable_wdscore
1510 enable_webservices
1511 enable_wer
1512 enable_wevtapi
1513 enable_wiaservc
1514 enable_wimgapi
1515 enable_windowscodecs
1516 enable_windowscodecsext
1517 enable_winealsa_drv
1518 enable_wineandroid_drv
1519 enable_winebus_sys
1520 enable_winecoreaudio_drv
1521 enable_wined3d
1522 enable_winegstreamer
1523 enable_winehid_sys
1524 enable_winejoystick_drv
1525 enable_winemac_drv
1526 enable_winemapi
1527 enable_wineoss_drv
1528 enable_wineps_drv
1529 enable_winepulse_drv
1530 enable_wineqtdecoder
1531 enable_winex11_drv
1532 enable_wing32
1533 enable_winhttp
1534 enable_wininet
1535 enable_winmm
1536 enable_winnls32
1537 enable_winscard
1538 enable_winspool_drv
1539 enable_winsta
1540 enable_wintab32
1541 enable_wintrust
1542 enable_winusb
1543 enable_wlanapi
1544 enable_wldap32
1545 enable_wmasf
1546 enable_wmi
1547 enable_wmiutils
1548 enable_wmp
1549 enable_wmphoto
1550 enable_wmvcore
1551 enable_wnaspi32
1552 enable_wpc
1553 enable_wpcap
1554 enable_ws2_32
1555 enable_wsdapi
1556 enable_wshom_ocx
1557 enable_wsnmp32
1558 enable_wsock32
1559 enable_wtsapi32
1560 enable_wuapi
1561 enable_wuaueng
1562 enable_x3daudio1_0
1563 enable_x3daudio1_1
1564 enable_x3daudio1_2
1565 enable_x3daudio1_3
1566 enable_x3daudio1_4
1567 enable_x3daudio1_5
1568 enable_x3daudio1_6
1569 enable_x3daudio1_7
1570 enable_xapofx1_1
1571 enable_xapofx1_2
1572 enable_xapofx1_3
1573 enable_xapofx1_4
1574 enable_xapofx1_5
1575 enable_xaudio2_0
1576 enable_xaudio2_1
1577 enable_xaudio2_2
1578 enable_xaudio2_3
1579 enable_xaudio2_4
1580 enable_xaudio2_5
1581 enable_xaudio2_6
1582 enable_xaudio2_7
1583 enable_xaudio2_8
1584 enable_xaudio2_9
1585 enable_xinput1_1
1586 enable_xinput1_2
1587 enable_xinput1_3
1588 enable_xinput1_4
1589 enable_xinput9_1_0
1590 enable_xmllite
1591 enable_xolehlp
1592 enable_xpsprint
1593 enable_xpssvcs
1594 enable_fonts
1595 enable_include
1596 enable_libs_port
1597 enable_libs_wine
1598 enable_libs_wpp
1599 enable_loader
1600 enable_po
1601 enable_arp
1602 enable_aspnet_regiis
1603 enable_attrib
1604 enable_cabarc
1605 enable_cacls
1606 enable_clock
1607 enable_cmd
1608 enable_conhost
1609 enable_control
1610 enable_cscript
1611 enable_dpnsvr
1612 enable_dxdiag
1613 enable_eject
1614 enable_expand
1615 enable_explorer
1616 enable_extrac32
1617 enable_findstr
1618 enable_fsutil
1619 enable_hh
1620 enable_hostname
1621 enable_icacls
1622 enable_icinfo
1623 enable_iexplore
1624 enable_ipconfig
1625 enable_lodctr
1626 enable_mofcomp
1627 enable_mshta
1628 enable_msiexec
1629 enable_msinfo32
1630 enable_net
1631 enable_netsh
1632 enable_netstat
1633 enable_ngen
1634 enable_notepad
1635 enable_oleview
1636 enable_ping
1637 enable_plugplay
1638 enable_powershell
1639 enable_presentationfontcache
1640 enable_progman
1641 enable_reg
1642 enable_regasm
1643 enable_regedit
1644 enable_regsvcs
1645 enable_regsvr32
1646 enable_rpcss
1647 enable_rundll32
1648 enable_sc
1649 enable_schtasks
1650 enable_sdbinst
1651 enable_secedit
1652 enable_servicemodelreg
1653 enable_services
1654 enable_shutdown
1655 enable_spoolsv
1656 enable_start
1657 enable_subst
1658 enable_svchost
1659 enable_systeminfo
1660 enable_taskkill
1661 enable_tasklist
1662 enable_taskmgr
1663 enable_termsv
1664 enable_uninstaller
1665 enable_unlodctr
1666 enable_view
1667 enable_wevtutil
1668 enable_wineboot
1669 enable_winebrowser
1670 enable_winecfg
1671 enable_wineconsole
1672 enable_winedbg
1673 enable_winedevice
1674 enable_winefile
1675 enable_winemenubuilder
1676 enable_winemine
1677 enable_winemsibuilder
1678 enable_winepath
1679 enable_winetest
1680 enable_winhlp32
1681 enable_winver
1682 enable_wmic
1683 enable_wmplayer
1684 enable_wordpad
1685 enable_write
1686 enable_wscript
1687 enable_wusa
1688 enable_xcopy
1689 enable_server
1690 enable_tools
1692 ac_precious_vars='build_alias
1693 host_alias
1694 target_alias
1696 CFLAGS
1697 LDFLAGS
1698 LIBS
1699 CPPFLAGS
1701 CXXFLAGS
1704 XMKMF
1705 XML2_CFLAGS
1706 XML2_LIBS
1707 XSLT_CFLAGS
1708 XSLT_LIBS
1709 DBUS_CFLAGS
1710 DBUS_LIBS
1711 HAL_CFLAGS
1712 HAL_LIBS
1713 GNUTLS_CFLAGS
1714 GNUTLS_LIBS
1715 SANE_CFLAGS
1716 SANE_LIBS
1717 GPHOTO2_CFLAGS
1718 GPHOTO2_LIBS
1719 GPHOTO2_PORT_CFLAGS
1720 GPHOTO2_PORT_LIBS
1721 LCMS2_CFLAGS
1722 LCMS2_LIBS
1723 FREETYPE_CFLAGS
1724 FREETYPE_LIBS
1725 PULSE_CFLAGS
1726 PULSE_LIBS
1727 GSTREAMER_CFLAGS
1728 GSTREAMER_LIBS
1729 UDEV_CFLAGS
1730 UDEV_LIBS
1731 CAPI20_CFLAGS
1732 CAPI20_LIBS
1733 CUPS_CFLAGS
1734 CUPS_LIBS
1735 FONTCONFIG_CFLAGS
1736 FONTCONFIG_LIBS
1737 KRB5_CFLAGS
1738 KRB5_LIBS
1739 GSSAPI_CFLAGS
1740 GSSAPI_LIBS
1741 JPEG_CFLAGS
1742 JPEG_LIBS
1743 PNG_CFLAGS
1744 PNG_LIBS
1745 TIFF_CFLAGS
1746 TIFF_LIBS
1747 MPG123_CFLAGS
1748 MPG123_LIBS
1749 NETAPI_CFLAGS
1750 NETAPI_LIBS
1751 LDAP_CFLAGS
1752 LDAP_LIBS'
1755 # Initialize some variables set by options.
1756 ac_init_help=
1757 ac_init_version=false
1758 ac_unrecognized_opts=
1759 ac_unrecognized_sep=
1760 # The variables have the same names as the options, with
1761 # dashes changed to underlines.
1762 cache_file=/dev/null
1763 exec_prefix=NONE
1764 no_create=
1765 no_recursion=
1766 prefix=NONE
1767 program_prefix=NONE
1768 program_suffix=NONE
1769 program_transform_name=s,x,x,
1770 silent=
1771 site=
1772 srcdir=
1773 verbose=
1774 x_includes=NONE
1775 x_libraries=NONE
1777 # Installation directory options.
1778 # These are left unexpanded so users can "make install exec_prefix=/foo"
1779 # and all the variables that are supposed to be based on exec_prefix
1780 # by default will actually change.
1781 # Use braces instead of parens because sh, perl, etc. also accept them.
1782 # (The list follows the same order as the GNU Coding Standards.)
1783 bindir='${exec_prefix}/bin'
1784 sbindir='${exec_prefix}/sbin'
1785 libexecdir='${exec_prefix}/libexec'
1786 datarootdir='${prefix}/share'
1787 datadir='${datarootdir}'
1788 sysconfdir='${prefix}/etc'
1789 sharedstatedir='${prefix}/com'
1790 localstatedir='${prefix}/var'
1791 runstatedir='${localstatedir}/run'
1792 includedir='${prefix}/include'
1793 oldincludedir='/usr/include'
1794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1795 infodir='${datarootdir}/info'
1796 htmldir='${docdir}'
1797 dvidir='${docdir}'
1798 pdfdir='${docdir}'
1799 psdir='${docdir}'
1800 libdir='${exec_prefix}/lib'
1801 localedir='${datarootdir}/locale'
1802 mandir='${datarootdir}/man'
1804 ac_prev=
1805 ac_dashdash=
1806 for ac_option
1808 # If the previous option needs an argument, assign it.
1809 if test -n "$ac_prev"; then
1810 eval $ac_prev=\$ac_option
1811 ac_prev=
1812 continue
1815 case $ac_option in
1816 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1817 *=) ac_optarg= ;;
1818 *) ac_optarg=yes ;;
1819 esac
1821 # Accept the important Cygnus configure options, so we can diagnose typos.
1823 case $ac_dashdash$ac_option in
1825 ac_dashdash=yes ;;
1827 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1828 ac_prev=bindir ;;
1829 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1830 bindir=$ac_optarg ;;
1832 -build | --build | --buil | --bui | --bu)
1833 ac_prev=build_alias ;;
1834 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1835 build_alias=$ac_optarg ;;
1837 -cache-file | --cache-file | --cache-fil | --cache-fi \
1838 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1839 ac_prev=cache_file ;;
1840 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1841 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1842 cache_file=$ac_optarg ;;
1844 --config-cache | -C)
1845 cache_file=config.cache ;;
1847 -datadir | --datadir | --datadi | --datad)
1848 ac_prev=datadir ;;
1849 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1850 datadir=$ac_optarg ;;
1852 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1853 | --dataroo | --dataro | --datar)
1854 ac_prev=datarootdir ;;
1855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1857 datarootdir=$ac_optarg ;;
1859 -disable-* | --disable-*)
1860 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1861 # Reject names that are not valid shell variable names.
1862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1863 as_fn_error $? "invalid feature name: $ac_useropt"
1864 ac_useropt_orig=$ac_useropt
1865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1866 case $ac_user_opts in
1868 "enable_$ac_useropt"
1869 "*) ;;
1870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1871 ac_unrecognized_sep=', ';;
1872 esac
1873 eval enable_$ac_useropt=no ;;
1875 -docdir | --docdir | --docdi | --doc | --do)
1876 ac_prev=docdir ;;
1877 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1878 docdir=$ac_optarg ;;
1880 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1881 ac_prev=dvidir ;;
1882 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1883 dvidir=$ac_optarg ;;
1885 -enable-* | --enable-*)
1886 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1887 # Reject names that are not valid shell variable names.
1888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1889 as_fn_error $? "invalid feature name: $ac_useropt"
1890 ac_useropt_orig=$ac_useropt
1891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1892 case $ac_user_opts in
1894 "enable_$ac_useropt"
1895 "*) ;;
1896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1897 ac_unrecognized_sep=', ';;
1898 esac
1899 eval enable_$ac_useropt=\$ac_optarg ;;
1901 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1902 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1903 | --exec | --exe | --ex)
1904 ac_prev=exec_prefix ;;
1905 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1906 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1907 | --exec=* | --exe=* | --ex=*)
1908 exec_prefix=$ac_optarg ;;
1910 -gas | --gas | --ga | --g)
1911 # Obsolete; use --with-gas.
1912 with_gas=yes ;;
1914 -help | --help | --hel | --he | -h)
1915 ac_init_help=long ;;
1916 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1917 ac_init_help=recursive ;;
1918 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1919 ac_init_help=short ;;
1921 -host | --host | --hos | --ho)
1922 ac_prev=host_alias ;;
1923 -host=* | --host=* | --hos=* | --ho=*)
1924 host_alias=$ac_optarg ;;
1926 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1927 ac_prev=htmldir ;;
1928 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1929 | --ht=*)
1930 htmldir=$ac_optarg ;;
1932 -includedir | --includedir | --includedi | --included | --include \
1933 | --includ | --inclu | --incl | --inc)
1934 ac_prev=includedir ;;
1935 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1936 | --includ=* | --inclu=* | --incl=* | --inc=*)
1937 includedir=$ac_optarg ;;
1939 -infodir | --infodir | --infodi | --infod | --info | --inf)
1940 ac_prev=infodir ;;
1941 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1942 infodir=$ac_optarg ;;
1944 -libdir | --libdir | --libdi | --libd)
1945 ac_prev=libdir ;;
1946 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1947 libdir=$ac_optarg ;;
1949 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1950 | --libexe | --libex | --libe)
1951 ac_prev=libexecdir ;;
1952 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1953 | --libexe=* | --libex=* | --libe=*)
1954 libexecdir=$ac_optarg ;;
1956 -localedir | --localedir | --localedi | --localed | --locale)
1957 ac_prev=localedir ;;
1958 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1959 localedir=$ac_optarg ;;
1961 -localstatedir | --localstatedir | --localstatedi | --localstated \
1962 | --localstate | --localstat | --localsta | --localst | --locals)
1963 ac_prev=localstatedir ;;
1964 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1965 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1966 localstatedir=$ac_optarg ;;
1968 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1969 ac_prev=mandir ;;
1970 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1971 mandir=$ac_optarg ;;
1973 -nfp | --nfp | --nf)
1974 # Obsolete; use --without-fp.
1975 with_fp=no ;;
1977 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1978 | --no-cr | --no-c | -n)
1979 no_create=yes ;;
1981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1983 no_recursion=yes ;;
1985 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1986 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1987 | --oldin | --oldi | --old | --ol | --o)
1988 ac_prev=oldincludedir ;;
1989 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1990 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1991 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1992 oldincludedir=$ac_optarg ;;
1994 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1995 ac_prev=prefix ;;
1996 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1997 prefix=$ac_optarg ;;
1999 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2000 | --program-pre | --program-pr | --program-p)
2001 ac_prev=program_prefix ;;
2002 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2003 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2004 program_prefix=$ac_optarg ;;
2006 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2007 | --program-suf | --program-su | --program-s)
2008 ac_prev=program_suffix ;;
2009 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2010 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2011 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
2021 -program-transform-name=* | --program-transform-name=* \
2022 | --program-transform-nam=* | --program-transform-na=* \
2023 | --program-transform-n=* | --program-transform-=* \
2024 | --program-transform=* | --program-transfor=* \
2025 | --program-transfo=* | --program-transf=* \
2026 | --program-trans=* | --program-tran=* \
2027 | --progr-tra=* | --program-tr=* | --program-t=*)
2028 program_transform_name=$ac_optarg ;;
2030 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2031 ac_prev=pdfdir ;;
2032 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2033 pdfdir=$ac_optarg ;;
2035 -psdir | --psdir | --psdi | --psd | --ps)
2036 ac_prev=psdir ;;
2037 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2038 psdir=$ac_optarg ;;
2040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2041 | -silent | --silent | --silen | --sile | --sil)
2042 silent=yes ;;
2044 -runstatedir | --runstatedir | --runstatedi | --runstated \
2045 | --runstate | --runstat | --runsta | --runst | --runs \
2046 | --run | --ru | --r)
2047 ac_prev=runstatedir ;;
2048 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2049 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2050 | --run=* | --ru=* | --r=*)
2051 runstatedir=$ac_optarg ;;
2053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2054 ac_prev=sbindir ;;
2055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2056 | --sbi=* | --sb=*)
2057 sbindir=$ac_optarg ;;
2059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2061 | --sharedst | --shareds | --shared | --share | --shar \
2062 | --sha | --sh)
2063 ac_prev=sharedstatedir ;;
2064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2067 | --sha=* | --sh=*)
2068 sharedstatedir=$ac_optarg ;;
2070 -site | --site | --sit)
2071 ac_prev=site ;;
2072 -site=* | --site=* | --sit=*)
2073 site=$ac_optarg ;;
2075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2076 ac_prev=srcdir ;;
2077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2078 srcdir=$ac_optarg ;;
2080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2081 | --syscon | --sysco | --sysc | --sys | --sy)
2082 ac_prev=sysconfdir ;;
2083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2085 sysconfdir=$ac_optarg ;;
2087 -target | --target | --targe | --targ | --tar | --ta | --t)
2088 ac_prev=target_alias ;;
2089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2090 target_alias=$ac_optarg ;;
2092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2093 verbose=yes ;;
2095 -version | --version | --versio | --versi | --vers | -V)
2096 ac_init_version=: ;;
2098 -with-* | --with-*)
2099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2100 # Reject names that are not valid shell variable names.
2101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2102 as_fn_error $? "invalid package name: $ac_useropt"
2103 ac_useropt_orig=$ac_useropt
2104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2105 case $ac_user_opts in
2107 "with_$ac_useropt"
2108 "*) ;;
2109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2110 ac_unrecognized_sep=', ';;
2111 esac
2112 eval with_$ac_useropt=\$ac_optarg ;;
2114 -without-* | --without-*)
2115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2116 # Reject names that are not valid shell variable names.
2117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2118 as_fn_error $? "invalid package name: $ac_useropt"
2119 ac_useropt_orig=$ac_useropt
2120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2121 case $ac_user_opts in
2123 "with_$ac_useropt"
2124 "*) ;;
2125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2126 ac_unrecognized_sep=', ';;
2127 esac
2128 eval with_$ac_useropt=no ;;
2130 --x)
2131 # Obsolete; use --with-x.
2132 with_x=yes ;;
2134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2135 | --x-incl | --x-inc | --x-in | --x-i)
2136 ac_prev=x_includes ;;
2137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2139 x_includes=$ac_optarg ;;
2141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2143 ac_prev=x_libraries ;;
2144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2146 x_libraries=$ac_optarg ;;
2148 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2149 Try \`$0 --help' for more information"
2152 *=*)
2153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2154 # Reject names that are not valid shell variable names.
2155 case $ac_envvar in #(
2156 '' | [0-9]* | *[!_$as_cr_alnum]* )
2157 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2158 esac
2159 eval $ac_envvar=\$ac_optarg
2160 export $ac_envvar ;;
2163 # FIXME: should be removed in autoconf 3.0.
2164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2170 esac
2171 done
2173 if test -n "$ac_prev"; then
2174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2175 as_fn_error $? "missing argument to $ac_option"
2178 if test -n "$ac_unrecognized_opts"; then
2179 case $enable_option_checking in
2180 no) ;;
2181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2183 esac
2186 # Check all directory arguments for consistency.
2187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2188 datadir sysconfdir sharedstatedir localstatedir includedir \
2189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2190 libdir localedir mandir runstatedir
2192 eval ac_val=\$$ac_var
2193 # Remove trailing slashes.
2194 case $ac_val in
2195 */ )
2196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2197 eval $ac_var=\$ac_val;;
2198 esac
2199 # Be sure to have absolute directory names.
2200 case $ac_val in
2201 [\\/$]* | ?:[\\/]* ) continue;;
2202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2203 esac
2204 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2205 done
2207 # There might be people who depend on the old broken behavior: `$host'
2208 # used to hold the argument of --host etc.
2209 # FIXME: To remove some day.
2210 build=$build_alias
2211 host=$host_alias
2212 target=$target_alias
2214 # FIXME: To remove some day.
2215 if test "x$host_alias" != x; then
2216 if test "x$build_alias" = x; then
2217 cross_compiling=maybe
2218 elif test "x$build_alias" != "x$host_alias"; then
2219 cross_compiling=yes
2223 ac_tool_prefix=
2224 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2226 test "$silent" = yes && exec 6>/dev/null
2229 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2230 ac_ls_di=`ls -di .` &&
2231 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2232 as_fn_error $? "working directory cannot be determined"
2233 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2234 as_fn_error $? "pwd does not report name of working directory"
2237 # Find the source files, if location was not specified.
2238 if test -z "$srcdir"; then
2239 ac_srcdir_defaulted=yes
2240 # Try the directory containing this script, then the parent directory.
2241 ac_confdir=`$as_dirname -- "$as_myself" ||
2242 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2243 X"$as_myself" : 'X\(//\)[^/]' \| \
2244 X"$as_myself" : 'X\(//\)$' \| \
2245 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2246 $as_echo X"$as_myself" |
2247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2248 s//\1/
2251 /^X\(\/\/\)[^/].*/{
2252 s//\1/
2255 /^X\(\/\/\)$/{
2256 s//\1/
2259 /^X\(\/\).*/{
2260 s//\1/
2263 s/.*/./; q'`
2264 srcdir=$ac_confdir
2265 if test ! -r "$srcdir/$ac_unique_file"; then
2266 srcdir=..
2268 else
2269 ac_srcdir_defaulted=no
2271 if test ! -r "$srcdir/$ac_unique_file"; then
2272 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2273 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2275 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2276 ac_abs_confdir=`(
2277 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2278 pwd)`
2279 # When building in place, set srcdir=.
2280 if test "$ac_abs_confdir" = "$ac_pwd"; then
2281 srcdir=.
2283 # Remove unnecessary trailing slashes from srcdir.
2284 # Double slashes in file names in object file debugging info
2285 # mess up M-x gdb in Emacs.
2286 case $srcdir in
2287 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2288 esac
2289 for ac_var in $ac_precious_vars; do
2290 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2291 eval ac_env_${ac_var}_value=\$${ac_var}
2292 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2293 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2294 done
2297 # Report the --help message.
2299 if test "$ac_init_help" = "long"; then
2300 # Omit some internal or obsolete options to make the list less imposing.
2301 # This message is too long to be a string in the A/UX 3.1 sh.
2302 cat <<_ACEOF
2303 \`configure' configures Wine 3.0 to adapt to many kinds of systems.
2305 Usage: $0 [OPTION]... [VAR=VALUE]...
2307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2308 VAR=VALUE. See below for descriptions of some of the useful variables.
2310 Defaults for the options are specified in brackets.
2312 Configuration:
2313 -h, --help display this help and exit
2314 --help=short display options specific to this package
2315 --help=recursive display the short help of all the included packages
2316 -V, --version display version information and exit
2317 -q, --quiet, --silent do not print \`checking ...' messages
2318 --cache-file=FILE cache test results in FILE [disabled]
2319 -C, --config-cache alias for \`--cache-file=config.cache'
2320 -n, --no-create do not create output files
2321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2323 Installation directories:
2324 --prefix=PREFIX install architecture-independent files in PREFIX
2325 [$ac_default_prefix]
2326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2327 [PREFIX]
2329 By default, \`make install' will install all the files in
2330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2332 for instance \`--prefix=\$HOME'.
2334 For better control, use the options below.
2336 Fine tuning of the installation directories:
2337 --bindir=DIR user executables [EPREFIX/bin]
2338 --sbindir=DIR system admin executables [EPREFIX/sbin]
2339 --libexecdir=DIR program executables [EPREFIX/libexec]
2340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2343 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2344 --libdir=DIR object code libraries [EPREFIX/lib]
2345 --includedir=DIR C header files [PREFIX/include]
2346 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2349 --infodir=DIR info documentation [DATAROOTDIR/info]
2350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2351 --mandir=DIR man documentation [DATAROOTDIR/man]
2352 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2353 --htmldir=DIR html documentation [DOCDIR]
2354 --dvidir=DIR dvi documentation [DOCDIR]
2355 --pdfdir=DIR pdf documentation [DOCDIR]
2356 --psdir=DIR ps documentation [DOCDIR]
2357 _ACEOF
2359 cat <<\_ACEOF
2361 X features:
2362 --x-includes=DIR X include files are in DIR
2363 --x-libraries=DIR X library files are in DIR
2365 System types:
2366 --build=BUILD configure for building on BUILD [guessed]
2367 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2368 _ACEOF
2371 if test -n "$ac_init_help"; then
2372 case $ac_init_help in
2373 short | recursive ) echo "Configuration of Wine 3.0:";;
2374 esac
2375 cat <<\_ACEOF
2377 Optional Features:
2378 --disable-option-checking ignore unrecognized --enable/--with options
2379 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2380 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2381 --disable-win16 do not include Win16 support
2382 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2383 binaries)
2384 --disable-tests do not build the regression tests
2385 --enable-maintainer-mode
2386 enable maintainer-specific build rules
2387 --disable-largefile omit support for large files
2389 Optional Packages:
2390 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2391 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2392 --without-alsa do not use the Alsa sound support
2393 --without-capi do not use CAPI (ISDN support)
2394 --without-cms do not use CMS (color management support)
2395 --without-coreaudio do not use the CoreAudio sound support
2396 --without-cups do not use CUPS
2397 --without-curses do not use (n)curses
2398 --without-dbus do not use DBus (dynamic device support)
2399 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2400 --without-fontconfig do not use fontconfig
2401 --without-freetype do not use the FreeType library
2402 --without-gettext do not use gettext
2403 --with-gettextpo use the GetTextPO library to rebuild po files
2404 --without-gphoto do not use gphoto (Digital Camera support)
2405 --without-glu do not use the GLU library
2406 --without-gnutls do not use GnuTLS (schannel support)
2407 --without-gsm do not use libgsm (GSM 06.10 codec support)
2408 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2409 --without-gstreamer do not use GStreamer (codecs support)
2410 --without-hal do not use HAL (dynamic device support)
2411 --without-jpeg do not use JPEG
2412 --without-krb5 do not use krb5 (Kerberos)
2413 --without-ldap do not use LDAP
2414 --without-mpg123 do not use the mpg123 library
2415 --without-netapi do not use the Samba NetAPI library
2416 --without-openal do not use OpenAL
2417 --without-opencl do not use OpenCL
2418 --without-opengl do not use OpenGL
2419 --without-osmesa do not use the OSMesa library
2420 --without-oss do not use the OSS sound support
2421 --without-pcap do not use the Packet Capture library
2422 --without-png do not use PNG
2423 --without-pthread do not use the pthread library
2424 --without-pulse do not use PulseAudio sound support
2425 --without-sane do not use SANE (scanner support)
2426 --without-tiff do not use TIFF
2427 --without-udev do not use udev (plug and play support)
2428 --without-v4l do not use v4l1 (v4l support)
2429 --without-xcomposite do not use the Xcomposite extension
2430 --without-xcursor do not use the Xcursor extension
2431 --without-xfixes do not use Xfixes for clipboard change notifications
2432 --without-xinerama do not use Xinerama (multi-monitor support)
2433 --without-xinput do not use the Xinput extension
2434 --without-xinput2 do not use the Xinput 2 extension
2435 --without-xml do not use XML
2436 --without-xrandr do not use Xrandr (resolution changes)
2437 --without-xrender do not use the Xrender extension
2438 --without-xshape do not use the Xshape extension
2439 --without-xshm do not use XShm (shared memory extension)
2440 --without-xslt do not use XSLT
2441 --without-xxf86vm do not use XFree video mode extension
2442 --without-zlib do not use Zlib (data compression)
2443 --with-wine-tools=DIR use Wine tools from directory DIR
2444 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2445 --with-x use the X Window System
2447 Some influential environment variables:
2448 CC C compiler command
2449 CFLAGS C compiler flags
2450 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2451 nonstandard directory <lib dir>
2452 LIBS libraries to pass to the linker, e.g. -l<library>
2453 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2454 you have headers in a nonstandard directory <include dir>
2455 CXX C++ compiler command
2456 CXXFLAGS C++ compiler flags
2457 CPP C preprocessor
2458 XMKMF Path to xmkmf, Makefile generator for X Window System
2459 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2460 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2461 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2462 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2463 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2464 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2465 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2466 HAL_LIBS Linker flags for hal, overriding pkg-config
2467 GNUTLS_CFLAGS
2468 C compiler flags for gnutls, overriding pkg-config
2469 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2470 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2471 SANE_LIBS Linker flags for libsane, overriding pkg-config
2472 GPHOTO2_CFLAGS
2473 C compiler flags for libgphoto2, overriding pkg-config
2474 GPHOTO2_LIBS
2475 Linker flags for libgphoto2, overriding pkg-config
2476 GPHOTO2_PORT_CFLAGS
2477 C compiler flags for libgphoto2_port, overriding pkg-config
2478 GPHOTO2_PORT_LIBS
2479 Linker flags for libgphoto2_port, overriding pkg-config
2480 LCMS2_CFLAGS
2481 C compiler flags for lcms2, overriding pkg-config
2482 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2483 FREETYPE_CFLAGS
2484 C compiler flags for freetype2, overriding pkg-config
2485 FREETYPE_LIBS
2486 Linker flags for freetype2, overriding pkg-config
2487 PULSE_CFLAGS
2488 C compiler flags for libpulse, overriding pkg-config
2489 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2490 GSTREAMER_CFLAGS
2491 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2492 gstreamer-audio-1.0, overriding pkg-config
2493 GSTREAMER_LIBS
2494 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2495 gstreamer-audio-1.0, overriding pkg-config
2496 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2497 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2498 CAPI20_CFLAGS
2499 C compiler flags for capi20, overriding pkg-config
2500 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2501 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2502 CUPS_LIBS Linker flags for cups, overriding pkg-config
2503 FONTCONFIG_CFLAGS
2504 C compiler flags for fontconfig, overriding pkg-config
2505 FONTCONFIG_LIBS
2506 Linker flags for fontconfig, overriding pkg-config
2507 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2508 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2509 GSSAPI_CFLAGS
2510 C compiler flags for krb5-gssapi, overriding pkg-config
2511 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2512 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2513 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2514 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2515 PNG_LIBS Linker flags for libpng, overriding pkg-config
2516 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2517 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2518 MPG123_CFLAGS
2519 C compiler flags for libmpg123, overriding pkg-config
2520 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2521 NETAPI_CFLAGS
2522 C compiler flags for netapi, overriding pkg-config
2523 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2524 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2525 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2527 Use these variables to override the choices made by `configure' or to help
2528 it to find libraries and programs with nonstandard names/locations.
2530 Report bugs to <wine-devel@winehq.org>.
2531 Wine home page: <https://www.winehq.org>.
2532 _ACEOF
2533 ac_status=$?
2536 if test "$ac_init_help" = "recursive"; then
2537 # If there are subdirs, report their specific --help.
2538 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2539 test -d "$ac_dir" ||
2540 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2541 continue
2542 ac_builddir=.
2544 case "$ac_dir" in
2545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2547 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2548 # A ".." for each directory in $ac_dir_suffix.
2549 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2550 case $ac_top_builddir_sub in
2551 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2552 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2553 esac ;;
2554 esac
2555 ac_abs_top_builddir=$ac_pwd
2556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2557 # for backward compatibility:
2558 ac_top_builddir=$ac_top_build_prefix
2560 case $srcdir in
2561 .) # We are building in place.
2562 ac_srcdir=.
2563 ac_top_srcdir=$ac_top_builddir_sub
2564 ac_abs_top_srcdir=$ac_pwd ;;
2565 [\\/]* | ?:[\\/]* ) # Absolute name.
2566 ac_srcdir=$srcdir$ac_dir_suffix;
2567 ac_top_srcdir=$srcdir
2568 ac_abs_top_srcdir=$srcdir ;;
2569 *) # Relative name.
2570 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2571 ac_top_srcdir=$ac_top_build_prefix$srcdir
2572 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2573 esac
2574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2576 cd "$ac_dir" || { ac_status=$?; continue; }
2577 # Check for guested configure.
2578 if test -f "$ac_srcdir/configure.gnu"; then
2579 echo &&
2580 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2581 elif test -f "$ac_srcdir/configure"; then
2582 echo &&
2583 $SHELL "$ac_srcdir/configure" --help=recursive
2584 else
2585 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2586 fi || ac_status=$?
2587 cd "$ac_pwd" || { ac_status=$?; break; }
2588 done
2591 test -n "$ac_init_help" && exit $ac_status
2592 if $ac_init_version; then
2593 cat <<\_ACEOF
2594 Wine configure 3.0
2595 generated by GNU Autoconf 2.69
2597 Copyright (C) 2012 Free Software Foundation, Inc.
2598 This configure script is free software; the Free Software Foundation
2599 gives unlimited permission to copy, distribute and modify it.
2600 _ACEOF
2601 exit
2604 ## ------------------------ ##
2605 ## Autoconf initialization. ##
2606 ## ------------------------ ##
2608 # ac_fn_c_try_compile LINENO
2609 # --------------------------
2610 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2611 ac_fn_c_try_compile ()
2613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2614 rm -f conftest.$ac_objext
2615 if { { ac_try="$ac_compile"
2616 case "(($ac_try" in
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2619 esac
2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_compile") 2>conftest.err
2623 ac_status=$?
2624 if test -s conftest.err; then
2625 grep -v '^ *+' conftest.err >conftest.er1
2626 cat conftest.er1 >&5
2627 mv -f conftest.er1 conftest.err
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; } && {
2631 test -z "$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 } && test -s conftest.$ac_objext; then :
2634 ac_retval=0
2635 else
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2639 ac_retval=1
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642 as_fn_set_status $ac_retval
2644 } # ac_fn_c_try_compile
2646 # ac_fn_cxx_try_compile LINENO
2647 # ----------------------------
2648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2649 ac_fn_cxx_try_compile ()
2651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2652 rm -f conftest.$ac_objext
2653 if { { ac_try="$ac_compile"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2659 $as_echo "$ac_try_echo"; } >&5
2660 (eval "$ac_compile") 2>conftest.err
2661 ac_status=$?
2662 if test -s conftest.err; then
2663 grep -v '^ *+' conftest.err >conftest.er1
2664 cat conftest.er1 >&5
2665 mv -f conftest.er1 conftest.err
2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668 test $ac_status = 0; } && {
2669 test -z "$ac_cxx_werror_flag" ||
2670 test ! -s conftest.err
2671 } && test -s conftest.$ac_objext; then :
2672 ac_retval=0
2673 else
2674 $as_echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2677 ac_retval=1
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 as_fn_set_status $ac_retval
2682 } # ac_fn_cxx_try_compile
2684 # ac_fn_c_try_link LINENO
2685 # -----------------------
2686 # Try to link conftest.$ac_ext, and return whether this succeeded.
2687 ac_fn_c_try_link ()
2689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 rm -f conftest.$ac_objext conftest$ac_exeext
2691 if { { ac_try="$ac_link"
2692 case "(($ac_try" in
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2695 esac
2696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2697 $as_echo "$ac_try_echo"; } >&5
2698 (eval "$ac_link") 2>conftest.err
2699 ac_status=$?
2700 if test -s conftest.err; then
2701 grep -v '^ *+' conftest.err >conftest.er1
2702 cat conftest.er1 >&5
2703 mv -f conftest.er1 conftest.err
2705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2706 test $ac_status = 0; } && {
2707 test -z "$ac_c_werror_flag" ||
2708 test ! -s conftest.err
2709 } && test -s conftest$ac_exeext && {
2710 test "$cross_compiling" = yes ||
2711 test -x conftest$ac_exeext
2712 }; then :
2713 ac_retval=0
2714 else
2715 $as_echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2718 ac_retval=1
2720 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2721 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2722 # interfere with the next link command; also delete a directory that is
2723 # left behind by Apple's compiler. We do this before executing the actions.
2724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2726 as_fn_set_status $ac_retval
2728 } # ac_fn_c_try_link
2730 # ac_fn_c_try_cpp LINENO
2731 # ----------------------
2732 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2733 ac_fn_c_try_cpp ()
2735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2736 if { { ac_try="$ac_cpp conftest.$ac_ext"
2737 case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2742 $as_echo "$ac_try_echo"; } >&5
2743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2744 ac_status=$?
2745 if test -s conftest.err; then
2746 grep -v '^ *+' conftest.err >conftest.er1
2747 cat conftest.er1 >&5
2748 mv -f conftest.er1 conftest.err
2750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2751 test $ac_status = 0; } > conftest.i && {
2752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2753 test ! -s conftest.err
2754 }; then :
2755 ac_retval=0
2756 else
2757 $as_echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2760 ac_retval=1
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 as_fn_set_status $ac_retval
2765 } # ac_fn_c_try_cpp
2767 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2768 # -------------------------------------------------------
2769 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2770 # the include files in INCLUDES and setting the cache variable VAR
2771 # accordingly.
2772 ac_fn_c_check_header_mongrel ()
2774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775 if eval \${$3+:} false; then :
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 $as_echo_n "checking for $2... " >&6; }
2778 if eval \${$3+:} false; then :
2779 $as_echo_n "(cached) " >&6
2781 eval ac_res=\$$3
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2783 $as_echo "$ac_res" >&6; }
2784 else
2785 # Is the header compilable?
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2787 $as_echo_n "checking $2 usability... " >&6; }
2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2789 /* end confdefs.h. */
2791 #include <$2>
2792 _ACEOF
2793 if ac_fn_c_try_compile "$LINENO"; then :
2794 ac_header_compiler=yes
2795 else
2796 ac_header_compiler=no
2798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2800 $as_echo "$ac_header_compiler" >&6; }
2802 # Is the header present?
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2804 $as_echo_n "checking $2 presence... " >&6; }
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2807 #include <$2>
2808 _ACEOF
2809 if ac_fn_c_try_cpp "$LINENO"; then :
2810 ac_header_preproc=yes
2811 else
2812 ac_header_preproc=no
2814 rm -f conftest.err conftest.i conftest.$ac_ext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2816 $as_echo "$ac_header_preproc" >&6; }
2818 # So? What about this header?
2819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2820 yes:no: )
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2822 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2824 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2826 no:yes:* )
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2828 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2830 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2832 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2834 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2836 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2837 ( $as_echo "## ------------------------------------ ##
2838 ## Report this to wine-devel@winehq.org ##
2839 ## ------------------------------------ ##"
2840 ) | sed "s/^/$as_me: WARNING: /" >&2
2842 esac
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2844 $as_echo_n "checking for $2... " >&6; }
2845 if eval \${$3+:} false; then :
2846 $as_echo_n "(cached) " >&6
2847 else
2848 eval "$3=\$ac_header_compiler"
2850 eval ac_res=\$$3
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2852 $as_echo "$ac_res" >&6; }
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856 } # ac_fn_c_check_header_mongrel
2858 # ac_fn_c_try_run LINENO
2859 # ----------------------
2860 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2861 # that executables *can* be run.
2862 ac_fn_c_try_run ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 if { { ac_try="$ac_link"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_link") 2>&5
2873 ac_status=$?
2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2875 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2876 { { case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_try") 2>&5
2883 ac_status=$?
2884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2885 test $ac_status = 0; }; }; then :
2886 ac_retval=0
2887 else
2888 $as_echo "$as_me: program exited with status $ac_status" >&5
2889 $as_echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.$ac_ext >&5
2892 ac_retval=$ac_status
2894 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2896 as_fn_set_status $ac_retval
2898 } # ac_fn_c_try_run
2900 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2901 # -------------------------------------------------------
2902 # Tests whether HEADER exists and can be compiled using the include files in
2903 # INCLUDES, setting the cache variable VAR accordingly.
2904 ac_fn_c_check_header_compile ()
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2908 $as_echo_n "checking for $2... " >&6; }
2909 if eval \${$3+:} false; then :
2910 $as_echo_n "(cached) " >&6
2911 else
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2915 #include <$2>
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 eval "$3=yes"
2919 else
2920 eval "$3=no"
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 eval ac_res=\$$3
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 $as_echo "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_header_compile
2931 # ac_fn_c_check_func LINENO FUNC VAR
2932 # ----------------------------------
2933 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2934 ac_fn_c_check_func ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2938 $as_echo_n "checking for $2... " >&6; }
2939 if eval \${$3+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2944 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2946 #define $2 innocuous_$2
2948 /* System header to define __stub macros and hopefully few prototypes,
2949 which can conflict with char $2 (); below.
2950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2951 <limits.h> exists even on freestanding compilers. */
2953 #ifdef __STDC__
2954 # include <limits.h>
2955 #else
2956 # include <assert.h>
2957 #endif
2959 #undef $2
2961 /* Override any GCC internal prototype to avoid an error.
2962 Use char because int might match the return type of a GCC
2963 builtin and then its argument prototype would still apply. */
2964 #ifdef __cplusplus
2965 extern "C"
2966 #endif
2967 char $2 ();
2968 /* The GNU C library defines this for functions which it implements
2969 to always fail with ENOSYS. Some functions are actually named
2970 something starting with __ and the normal name is an alias. */
2971 #if defined __stub_$2 || defined __stub___$2
2972 choke me
2973 #endif
2976 main ()
2978 return $2 ();
2980 return 0;
2982 _ACEOF
2983 if ac_fn_c_try_link "$LINENO"; then :
2984 eval "$3=yes"
2985 else
2986 eval "$3=no"
2988 rm -f core conftest.err conftest.$ac_objext \
2989 conftest$ac_exeext conftest.$ac_ext
2991 eval ac_res=\$$3
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2993 $as_echo "$ac_res" >&6; }
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2996 } # ac_fn_c_check_func
2998 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2999 # ----------------------------------------------------
3000 # Tries to find if the field MEMBER exists in type AGGR, after including
3001 # INCLUDES, setting cache variable VAR accordingly.
3002 ac_fn_c_check_member ()
3004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3006 $as_echo_n "checking for $2.$3... " >&6; }
3007 if eval \${$4+:} false; then :
3008 $as_echo_n "(cached) " >&6
3009 else
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3014 main ()
3016 static $2 ac_aggr;
3017 if (ac_aggr.$3)
3018 return 0;
3020 return 0;
3022 _ACEOF
3023 if ac_fn_c_try_compile "$LINENO"; then :
3024 eval "$4=yes"
3025 else
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3030 main ()
3032 static $2 ac_aggr;
3033 if (sizeof ac_aggr.$3)
3034 return 0;
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 eval "$4=yes"
3041 else
3042 eval "$4=no"
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 eval ac_res=\$$4
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3050 $as_echo "$ac_res" >&6; }
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3053 } # ac_fn_c_check_member
3055 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3056 # -------------------------------------------
3057 # Tests whether TYPE exists after having included INCLUDES, setting cache
3058 # variable VAR accordingly.
3059 ac_fn_c_check_type ()
3061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3063 $as_echo_n "checking for $2... " >&6; }
3064 if eval \${$3+:} false; then :
3065 $as_echo_n "(cached) " >&6
3066 else
3067 eval "$3=no"
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 :
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3085 main ()
3087 if (sizeof (($2)))
3088 return 0;
3090 return 0;
3092 _ACEOF
3093 if ac_fn_c_try_compile "$LINENO"; then :
3095 else
3096 eval "$3=yes"
3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 eval ac_res=\$$3
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3104 $as_echo "$ac_res" >&6; }
3105 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3107 } # ac_fn_c_check_type
3108 cat >config.log <<_ACEOF
3109 This file contains any messages produced by compilers while
3110 running configure, to aid debugging if configure makes a mistake.
3112 It was created by Wine $as_me 3.0, which was
3113 generated by GNU Autoconf 2.69. Invocation command line was
3115 $ $0 $@
3117 _ACEOF
3118 exec 5>>config.log
3120 cat <<_ASUNAME
3121 ## --------- ##
3122 ## Platform. ##
3123 ## --------- ##
3125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3142 _ASUNAME
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3147 IFS=$as_save_IFS
3148 test -z "$as_dir" && as_dir=.
3149 $as_echo "PATH: $as_dir"
3150 done
3151 IFS=$as_save_IFS
3153 } >&5
3155 cat >&5 <<_ACEOF
3158 ## ----------- ##
3159 ## Core tests. ##
3160 ## ----------- ##
3162 _ACEOF
3165 # Keep a trace of the command line.
3166 # Strip out --no-create and --no-recursion so they do not pile up.
3167 # Strip out --silent because we don't want to record it for future runs.
3168 # Also quote any args containing shell meta-characters.
3169 # Make two passes to allow for proper duplicate-argument suppression.
3170 ac_configure_args=
3171 ac_configure_args0=
3172 ac_configure_args1=
3173 ac_must_keep_next=false
3174 for ac_pass in 1 2
3176 for ac_arg
3178 case $ac_arg in
3179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3181 | -silent | --silent | --silen | --sile | --sil)
3182 continue ;;
3183 *\'*)
3184 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3185 esac
3186 case $ac_pass in
3187 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3189 as_fn_append ac_configure_args1 " '$ac_arg'"
3190 if test $ac_must_keep_next = true; then
3191 ac_must_keep_next=false # Got value, back to normal.
3192 else
3193 case $ac_arg in
3194 *=* | --config-cache | -C | -disable-* | --disable-* \
3195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3197 | -with-* | --with-* | -without-* | --without-* | --x)
3198 case "$ac_configure_args0 " in
3199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3200 esac
3202 -* ) ac_must_keep_next=true ;;
3203 esac
3205 as_fn_append ac_configure_args " '$ac_arg'"
3207 esac
3208 done
3209 done
3210 { ac_configure_args0=; unset ac_configure_args0;}
3211 { ac_configure_args1=; unset ac_configure_args1;}
3213 # When interrupted or exit'd, cleanup temporary files, and complete
3214 # config.log. We remove comments because anyway the quotes in there
3215 # would cause problems or look ugly.
3216 # WARNING: Use '\'' to represent an apostrophe within the trap.
3217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3218 trap 'exit_status=$?
3219 # Save into config.log some information that might help in debugging.
3221 echo
3223 $as_echo "## ---------------- ##
3224 ## Cache variables. ##
3225 ## ---------------- ##"
3226 echo
3227 # The following way of writing the cache mishandles newlines in values,
3229 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3230 eval ac_val=\$$ac_var
3231 case $ac_val in #(
3232 *${as_nl}*)
3233 case $ac_var in #(
3234 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3236 esac
3237 case $ac_var in #(
3238 _ | IFS | as_nl) ;; #(
3239 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3240 *) { eval $ac_var=; unset $ac_var;} ;;
3241 esac ;;
3242 esac
3243 done
3244 (set) 2>&1 |
3245 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3246 *${as_nl}ac_space=\ *)
3247 sed -n \
3248 "s/'\''/'\''\\\\'\'''\''/g;
3249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3250 ;; #(
3252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3254 esac |
3255 sort
3257 echo
3259 $as_echo "## ----------------- ##
3260 ## Output variables. ##
3261 ## ----------------- ##"
3262 echo
3263 for ac_var in $ac_subst_vars
3265 eval ac_val=\$$ac_var
3266 case $ac_val in
3267 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3268 esac
3269 $as_echo "$ac_var='\''$ac_val'\''"
3270 done | sort
3271 echo
3273 if test -n "$ac_subst_files"; then
3274 $as_echo "## ------------------- ##
3275 ## File substitutions. ##
3276 ## ------------------- ##"
3277 echo
3278 for ac_var in $ac_subst_files
3280 eval ac_val=\$$ac_var
3281 case $ac_val in
3282 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3283 esac
3284 $as_echo "$ac_var='\''$ac_val'\''"
3285 done | sort
3286 echo
3289 if test -s confdefs.h; then
3290 $as_echo "## ----------- ##
3291 ## confdefs.h. ##
3292 ## ----------- ##"
3293 echo
3294 cat confdefs.h
3295 echo
3297 test "$ac_signal" != 0 &&
3298 $as_echo "$as_me: caught signal $ac_signal"
3299 $as_echo "$as_me: exit $exit_status"
3300 } >&5
3301 rm -f core *.core core.conftest.* &&
3302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3303 exit $exit_status
3305 for ac_signal in 1 2 13 15; do
3306 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3307 done
3308 ac_signal=0
3310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3311 rm -f -r conftest* confdefs.h
3313 $as_echo "/* confdefs.h */" > confdefs.h
3315 # Predefined preprocessor variables.
3317 cat >>confdefs.h <<_ACEOF
3318 #define PACKAGE_NAME "$PACKAGE_NAME"
3319 _ACEOF
3321 cat >>confdefs.h <<_ACEOF
3322 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3323 _ACEOF
3325 cat >>confdefs.h <<_ACEOF
3326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3327 _ACEOF
3329 cat >>confdefs.h <<_ACEOF
3330 #define PACKAGE_STRING "$PACKAGE_STRING"
3331 _ACEOF
3333 cat >>confdefs.h <<_ACEOF
3334 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3335 _ACEOF
3337 cat >>confdefs.h <<_ACEOF
3338 #define PACKAGE_URL "$PACKAGE_URL"
3339 _ACEOF
3342 # Let the site file select an alternate cache file if it wants to.
3343 # Prefer an explicitly selected file to automatically selected ones.
3344 ac_site_file1=NONE
3345 ac_site_file2=NONE
3346 if test -n "$CONFIG_SITE"; then
3347 # We do not want a PATH search for config.site.
3348 case $CONFIG_SITE in #((
3349 -*) ac_site_file1=./$CONFIG_SITE;;
3350 */*) ac_site_file1=$CONFIG_SITE;;
3351 *) ac_site_file1=./$CONFIG_SITE;;
3352 esac
3353 elif test "x$prefix" != xNONE; then
3354 ac_site_file1=$prefix/share/config.site
3355 ac_site_file2=$prefix/etc/config.site
3356 else
3357 ac_site_file1=$ac_default_prefix/share/config.site
3358 ac_site_file2=$ac_default_prefix/etc/config.site
3360 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3362 test "x$ac_site_file" = xNONE && continue
3363 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3365 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3366 sed 's/^/| /' "$ac_site_file" >&5
3367 . "$ac_site_file" \
3368 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 as_fn_error $? "failed to load site script $ac_site_file
3371 See \`config.log' for more details" "$LINENO" 5; }
3373 done
3375 if test -r "$cache_file"; then
3376 # Some versions of bash will fail to source /dev/null (special files
3377 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3378 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3380 $as_echo "$as_me: loading cache $cache_file" >&6;}
3381 case $cache_file in
3382 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3383 *) . "./$cache_file";;
3384 esac
3386 else
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3388 $as_echo "$as_me: creating cache $cache_file" >&6;}
3389 >$cache_file
3392 # Check that the precious variables saved in the cache have kept the same
3393 # value.
3394 ac_cache_corrupted=false
3395 for ac_var in $ac_precious_vars; do
3396 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3397 eval ac_new_set=\$ac_env_${ac_var}_set
3398 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3399 eval ac_new_val=\$ac_env_${ac_var}_value
3400 case $ac_old_set,$ac_new_set in
3401 set,)
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3403 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3404 ac_cache_corrupted=: ;;
3405 ,set)
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3407 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3408 ac_cache_corrupted=: ;;
3409 ,);;
3411 if test "x$ac_old_val" != "x$ac_new_val"; then
3412 # differences in whitespace do not lead to failure.
3413 ac_old_val_w=`echo x $ac_old_val`
3414 ac_new_val_w=`echo x $ac_new_val`
3415 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3417 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3418 ac_cache_corrupted=:
3419 else
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3421 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3422 eval $ac_var=\$ac_old_val
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3425 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3427 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3428 fi;;
3429 esac
3430 # Pass precious variables to config.status.
3431 if test "$ac_new_set" = set; then
3432 case $ac_new_val in
3433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3434 *) ac_arg=$ac_var=$ac_new_val ;;
3435 esac
3436 case " $ac_configure_args " in
3437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3439 esac
3441 done
3442 if $ac_cache_corrupted; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3446 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3447 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3449 ## -------------------- ##
3450 ## Main body of script. ##
3451 ## -------------------- ##
3453 ac_ext=c
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 ac_config_headers="$ac_config_headers include/config.h"
3463 ac_aux_dir=
3464 for ac_dir in tools "$srcdir"/tools; do
3465 if test -f "$ac_dir/install-sh"; then
3466 ac_aux_dir=$ac_dir
3467 ac_install_sh="$ac_aux_dir/install-sh -c"
3468 break
3469 elif test -f "$ac_dir/install.sh"; then
3470 ac_aux_dir=$ac_dir
3471 ac_install_sh="$ac_aux_dir/install.sh -c"
3472 break
3473 elif test -f "$ac_dir/shtool"; then
3474 ac_aux_dir=$ac_dir
3475 ac_install_sh="$ac_aux_dir/shtool install -c"
3476 break
3478 done
3479 if test -z "$ac_aux_dir"; then
3480 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3483 # These three variables are undocumented and unsupported,
3484 # and are intended to be withdrawn in a future Autoconf release.
3485 # They can cause serious problems if a builder's source tree is in a directory
3486 # whose full name contains unusual characters.
3487 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3488 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3489 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3493 libwine_version="1.0"
3497 # Check whether --enable-win16 was given.
3498 if test "${enable_win16+set}" = set; then :
3499 enableval=$enable_win16;
3502 # Check whether --enable-win64 was given.
3503 if test "${enable_win64+set}" = set; then :
3504 enableval=$enable_win64;
3507 # Check whether --enable-tests was given.
3508 if test "${enable_tests+set}" = set; then :
3509 enableval=$enable_tests;
3512 # Check whether --enable-maintainer-mode was given.
3513 if test "${enable_maintainer_mode+set}" = set; then :
3514 enableval=$enable_maintainer_mode;
3519 # Check whether --with-alsa was given.
3520 if test "${with_alsa+set}" = set; then :
3521 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3525 # Check whether --with-capi was given.
3526 if test "${with_capi+set}" = set; then :
3527 withval=$with_capi;
3531 # Check whether --with-cms was given.
3532 if test "${with_cms+set}" = set; then :
3533 withval=$with_cms;
3537 # Check whether --with-coreaudio was given.
3538 if test "${with_coreaudio+set}" = set; then :
3539 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3543 # Check whether --with-cups was given.
3544 if test "${with_cups+set}" = set; then :
3545 withval=$with_cups;
3549 # Check whether --with-curses was given.
3550 if test "${with_curses+set}" = set; then :
3551 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3555 # Check whether --with-dbus was given.
3556 if test "${with_dbus+set}" = set; then :
3557 withval=$with_dbus;
3561 # Check whether --with-float-abi was given.
3562 if test "${with_float_abi+set}" = set; then :
3563 withval=$with_float_abi;
3567 # Check whether --with-fontconfig was given.
3568 if test "${with_fontconfig+set}" = set; then :
3569 withval=$with_fontconfig;
3573 # Check whether --with-freetype was given.
3574 if test "${with_freetype+set}" = set; then :
3575 withval=$with_freetype;
3579 # Check whether --with-gettext was given.
3580 if test "${with_gettext+set}" = set; then :
3581 withval=$with_gettext;
3585 # Check whether --with-gettextpo was given.
3586 if test "${with_gettextpo+set}" = set; then :
3587 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3591 # Check whether --with-gphoto was given.
3592 if test "${with_gphoto+set}" = set; then :
3593 withval=$with_gphoto;
3597 # Check whether --with-glu was given.
3598 if test "${with_glu+set}" = set; then :
3599 withval=$with_glu;
3603 # Check whether --with-gnutls was given.
3604 if test "${with_gnutls+set}" = set; then :
3605 withval=$with_gnutls;
3609 # Check whether --with-gsm was given.
3610 if test "${with_gsm+set}" = set; then :
3611 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3615 # Check whether --with-gssapi was given.
3616 if test "${with_gssapi+set}" = set; then :
3617 withval=$with_gssapi;
3621 # Check whether --with-gstreamer was given.
3622 if test "${with_gstreamer+set}" = set; then :
3623 withval=$with_gstreamer;
3627 # Check whether --with-hal was given.
3628 if test "${with_hal+set}" = set; then :
3629 withval=$with_hal;
3633 # Check whether --with-jpeg was given.
3634 if test "${with_jpeg+set}" = set; then :
3635 withval=$with_jpeg;
3639 # Check whether --with-krb5 was given.
3640 if test "${with_krb5+set}" = set; then :
3641 withval=$with_krb5;
3645 # Check whether --with-ldap was given.
3646 if test "${with_ldap+set}" = set; then :
3647 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3651 # Check whether --with-mpg123 was given.
3652 if test "${with_mpg123+set}" = set; then :
3653 withval=$with_mpg123;
3657 # Check whether --with-netapi was given.
3658 if test "${with_netapi+set}" = set; then :
3659 withval=$with_netapi;
3663 # Check whether --with-openal was given.
3664 if test "${with_openal+set}" = set; then :
3665 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3669 # Check whether --with-opencl was given.
3670 if test "${with_opencl+set}" = set; then :
3671 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3675 # Check whether --with-opengl was given.
3676 if test "${with_opengl+set}" = set; then :
3677 withval=$with_opengl;
3681 # Check whether --with-osmesa was given.
3682 if test "${with_osmesa+set}" = set; then :
3683 withval=$with_osmesa;
3687 # Check whether --with-oss was given.
3688 if test "${with_oss+set}" = set; then :
3689 withval=$with_oss;
3693 # Check whether --with-pcap was given.
3694 if test "${with_pcap+set}" = set; then :
3695 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3699 # Check whether --with-png was given.
3700 if test "${with_png+set}" = set; then :
3701 withval=$with_png;
3705 # Check whether --with-pthread was given.
3706 if test "${with_pthread+set}" = set; then :
3707 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3711 # Check whether --with-pulse was given.
3712 if test "${with_pulse+set}" = set; then :
3713 withval=$with_pulse;
3717 # Check whether --with-sane was given.
3718 if test "${with_sane+set}" = set; then :
3719 withval=$with_sane;
3723 # Check whether --with-tiff was given.
3724 if test "${with_tiff+set}" = set; then :
3725 withval=$with_tiff;
3729 # Check whether --with-udev was given.
3730 if test "${with_udev+set}" = set; then :
3731 withval=$with_udev;
3735 # Check whether --with-v4l was given.
3736 if test "${with_v4l+set}" = set; then :
3737 withval=$with_v4l;
3741 # Check whether --with-xcomposite was given.
3742 if test "${with_xcomposite+set}" = set; then :
3743 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3747 # Check whether --with-xcursor was given.
3748 if test "${with_xcursor+set}" = set; then :
3749 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3753 # Check whether --with-xfixes was given.
3754 if test "${with_xfixes+set}" = set; then :
3755 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3759 # Check whether --with-xinerama was given.
3760 if test "${with_xinerama+set}" = set; then :
3761 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3765 # Check whether --with-xinput was given.
3766 if test "${with_xinput+set}" = set; then :
3767 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3771 # Check whether --with-xinput2 was given.
3772 if test "${with_xinput2+set}" = set; then :
3773 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3777 # Check whether --with-xml was given.
3778 if test "${with_xml+set}" = set; then :
3779 withval=$with_xml;
3783 # Check whether --with-xrandr was given.
3784 if test "${with_xrandr+set}" = set; then :
3785 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3789 # Check whether --with-xrender was given.
3790 if test "${with_xrender+set}" = set; then :
3791 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3795 # Check whether --with-xshape was given.
3796 if test "${with_xshape+set}" = set; then :
3797 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3801 # Check whether --with-xshm was given.
3802 if test "${with_xshm+set}" = set; then :
3803 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3807 # Check whether --with-xslt was given.
3808 if test "${with_xslt+set}" = set; then :
3809 withval=$with_xslt;
3813 # Check whether --with-xxf86vm was given.
3814 if test "${with_xxf86vm+set}" = set; then :
3815 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
3819 # Check whether --with-zlib was given.
3820 if test "${with_zlib+set}" = set; then :
3821 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3826 # Check whether --with-wine-tools was given.
3827 if test "${with_wine_tools+set}" = set; then :
3828 withval=$with_wine_tools;
3832 # Check whether --with-wine64 was given.
3833 if test "${with_wine64+set}" = set; then :
3834 withval=$with_wine64;
3838 # Make sure we can run config.sub.
3839 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3840 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3843 $as_echo_n "checking build system type... " >&6; }
3844 if ${ac_cv_build+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 ac_build_alias=$build_alias
3848 test "x$ac_build_alias" = x &&
3849 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3850 test "x$ac_build_alias" = x &&
3851 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3852 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3853 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3857 $as_echo "$ac_cv_build" >&6; }
3858 case $ac_cv_build in
3859 *-*-*) ;;
3860 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3861 esac
3862 build=$ac_cv_build
3863 ac_save_IFS=$IFS; IFS='-'
3864 set x $ac_cv_build
3865 shift
3866 build_cpu=$1
3867 build_vendor=$2
3868 shift; shift
3869 # Remember, the first character of IFS is used to create $*,
3870 # except with old shells:
3871 build_os=$*
3872 IFS=$ac_save_IFS
3873 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3877 $as_echo_n "checking host system type... " >&6; }
3878 if ${ac_cv_host+:} false; then :
3879 $as_echo_n "(cached) " >&6
3880 else
3881 if test "x$host_alias" = x; then
3882 ac_cv_host=$ac_cv_build
3883 else
3884 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3885 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3890 $as_echo "$ac_cv_host" >&6; }
3891 case $ac_cv_host in
3892 *-*-*) ;;
3893 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3894 esac
3895 host=$ac_cv_host
3896 ac_save_IFS=$IFS; IFS='-'
3897 set x $ac_cv_host
3898 shift
3899 host_cpu=$1
3900 host_vendor=$2
3901 shift; shift
3902 # Remember, the first character of IFS is used to create $*,
3903 # except with old shells:
3904 host_os=$*
3905 IFS=$ac_save_IFS
3906 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3910 case "$srcdir" in
3911 .) ;;
3912 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3913 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3914 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3915 fi ;;
3916 esac
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3920 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3921 set x ${MAKE-make}
3922 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3923 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 cat >conftest.make <<\_ACEOF
3927 SHELL = /bin/sh
3928 all:
3929 @echo '@@@%%%=$(MAKE)=@@@%%%'
3930 _ACEOF
3931 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3932 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3933 *@@@%%%=?*=@@@%%%*)
3934 eval ac_cv_prog_make_${ac_make}_set=yes;;
3936 eval ac_cv_prog_make_${ac_make}_set=no;;
3937 esac
3938 rm -f conftest.make
3940 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3942 $as_echo "yes" >&6; }
3943 SET_MAKE=
3944 else
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3947 SET_MAKE="MAKE=${MAKE-make}"
3950 ac_ext=c
3951 ac_cpp='$CPP $CPPFLAGS'
3952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3955 if test -n "$ac_tool_prefix"; then
3956 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3957 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 $as_echo_n "checking for $ac_word... " >&6; }
3960 if ${ac_cv_prog_CC+:} false; then :
3961 $as_echo_n "(cached) " >&6
3962 else
3963 if test -n "$CC"; then
3964 ac_cv_prog_CC="$CC" # Let the user override the test.
3965 else
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 for as_dir in $PATH
3969 IFS=$as_save_IFS
3970 test -z "$as_dir" && as_dir=.
3971 for ac_exec_ext in '' $ac_executable_extensions; do
3972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3973 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 break 2
3977 done
3978 done
3979 IFS=$as_save_IFS
3983 CC=$ac_cv_prog_CC
3984 if test -n "$CC"; then
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3986 $as_echo "$CC" >&6; }
3987 else
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3994 if test -z "$ac_cv_prog_CC"; then
3995 ac_ct_CC=$CC
3996 # Extract the first word of "gcc", so it can be a program name with args.
3997 set dummy gcc; ac_word=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4001 $as_echo_n "(cached) " >&6
4002 else
4003 if test -n "$ac_ct_CC"; then
4004 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4005 else
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4007 for as_dir in $PATH
4009 IFS=$as_save_IFS
4010 test -z "$as_dir" && as_dir=.
4011 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_ac_ct_CC="gcc"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 break 2
4017 done
4018 done
4019 IFS=$as_save_IFS
4023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4024 if test -n "$ac_ct_CC"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4026 $as_echo "$ac_ct_CC" >&6; }
4027 else
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 $as_echo "no" >&6; }
4032 if test "x$ac_ct_CC" = x; then
4033 CC=""
4034 else
4035 case $cross_compiling:$ac_tool_warned in
4036 yes:)
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4039 ac_tool_warned=yes ;;
4040 esac
4041 CC=$ac_ct_CC
4043 else
4044 CC="$ac_cv_prog_CC"
4047 if test -z "$CC"; then
4048 if test -n "$ac_tool_prefix"; then
4049 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4050 set dummy ${ac_tool_prefix}cc; ac_word=$2
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4052 $as_echo_n "checking for $ac_word... " >&6; }
4053 if ${ac_cv_prog_CC+:} false; then :
4054 $as_echo_n "(cached) " >&6
4055 else
4056 if test -n "$CC"; then
4057 ac_cv_prog_CC="$CC" # Let the user override the test.
4058 else
4059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4060 for as_dir in $PATH
4062 IFS=$as_save_IFS
4063 test -z "$as_dir" && as_dir=.
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4066 ac_cv_prog_CC="${ac_tool_prefix}cc"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 break 2
4070 done
4071 done
4072 IFS=$as_save_IFS
4076 CC=$ac_cv_prog_CC
4077 if test -n "$CC"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079 $as_echo "$CC" >&6; }
4080 else
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4088 if test -z "$CC"; then
4089 # Extract the first word of "cc", so it can be a program name with args.
4090 set dummy cc; ac_word=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_CC+:} false; then :
4094 $as_echo_n "(cached) " >&6
4095 else
4096 if test -n "$CC"; then
4097 ac_cv_prog_CC="$CC" # Let the user override the test.
4098 else
4099 ac_prog_rejected=no
4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 for as_dir in $PATH
4103 IFS=$as_save_IFS
4104 test -z "$as_dir" && as_dir=.
4105 for ac_exec_ext in '' $ac_executable_extensions; do
4106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4108 ac_prog_rejected=yes
4109 continue
4111 ac_cv_prog_CC="cc"
4112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113 break 2
4115 done
4116 done
4117 IFS=$as_save_IFS
4119 if test $ac_prog_rejected = yes; then
4120 # We found a bogon in the path, so make sure we never use it.
4121 set dummy $ac_cv_prog_CC
4122 shift
4123 if test $# != 0; then
4124 # We chose a different compiler from the bogus one.
4125 # However, it has the same basename, so the bogon will be chosen
4126 # first if we set CC to just the basename; use the full file name.
4127 shift
4128 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4133 CC=$ac_cv_prog_CC
4134 if test -n "$CC"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4136 $as_echo "$CC" >&6; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4144 if test -z "$CC"; then
4145 if test -n "$ac_tool_prefix"; then
4146 for ac_prog in cl.exe
4148 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4149 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4151 $as_echo_n "checking for $ac_word... " >&6; }
4152 if ${ac_cv_prog_CC+:} false; then :
4153 $as_echo_n "(cached) " >&6
4154 else
4155 if test -n "$CC"; then
4156 ac_cv_prog_CC="$CC" # Let the user override the test.
4157 else
4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4159 for as_dir in $PATH
4161 IFS=$as_save_IFS
4162 test -z "$as_dir" && as_dir=.
4163 for ac_exec_ext in '' $ac_executable_extensions; do
4164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4165 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 break 2
4169 done
4170 done
4171 IFS=$as_save_IFS
4175 CC=$ac_cv_prog_CC
4176 if test -n "$CC"; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4178 $as_echo "$CC" >&6; }
4179 else
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4185 test -n "$CC" && break
4186 done
4188 if test -z "$CC"; then
4189 ac_ct_CC=$CC
4190 for ac_prog in cl.exe
4192 # Extract the first word of "$ac_prog", so it can be a program name with args.
4193 set dummy $ac_prog; ac_word=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4197 $as_echo_n "(cached) " >&6
4198 else
4199 if test -n "$ac_ct_CC"; then
4200 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4201 else
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH
4205 IFS=$as_save_IFS
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209 ac_cv_prog_ac_ct_CC="$ac_prog"
4210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 break 2
4213 done
4214 done
4215 IFS=$as_save_IFS
4219 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4220 if test -n "$ac_ct_CC"; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4222 $as_echo "$ac_ct_CC" >&6; }
4223 else
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4229 test -n "$ac_ct_CC" && break
4230 done
4232 if test "x$ac_ct_CC" = x; then
4233 CC=""
4234 else
4235 case $cross_compiling:$ac_tool_warned in
4236 yes:)
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4239 ac_tool_warned=yes ;;
4240 esac
4241 CC=$ac_ct_CC
4248 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4250 as_fn_error $? "no acceptable C compiler found in \$PATH
4251 See \`config.log' for more details" "$LINENO" 5; }
4253 # Provide some information about the compiler.
4254 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4255 set X $ac_compile
4256 ac_compiler=$2
4257 for ac_option in --version -v -V -qversion; do
4258 { { ac_try="$ac_compiler $ac_option >&5"
4259 case "(($ac_try" in
4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4262 esac
4263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4264 $as_echo "$ac_try_echo"; } >&5
4265 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4266 ac_status=$?
4267 if test -s conftest.err; then
4268 sed '10a\
4269 ... rest of stderr output deleted ...
4270 10q' conftest.err >conftest.er1
4271 cat conftest.er1 >&5
4273 rm -f conftest.er1 conftest.err
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }
4276 done
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4282 main ()
4286 return 0;
4288 _ACEOF
4289 ac_clean_files_save=$ac_clean_files
4290 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4291 # Try to create an executable without -o first, disregard a.out.
4292 # It will help us diagnose broken compilers, and finding out an intuition
4293 # of exeext.
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4295 $as_echo_n "checking whether the C compiler works... " >&6; }
4296 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4298 # The possible output files:
4299 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4301 ac_rmfiles=
4302 for ac_file in $ac_files
4304 case $ac_file in
4305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4306 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4307 esac
4308 done
4309 rm -f $ac_rmfiles
4311 if { { ac_try="$ac_link_default"
4312 case "(($ac_try" in
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4315 esac
4316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4317 $as_echo "$ac_try_echo"; } >&5
4318 (eval "$ac_link_default") 2>&5
4319 ac_status=$?
4320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4321 test $ac_status = 0; }; then :
4322 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4323 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4324 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4325 # so that the user can short-circuit this test for compilers unknown to
4326 # Autoconf.
4327 for ac_file in $ac_files ''
4329 test -f "$ac_file" || continue
4330 case $ac_file in
4331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4333 [ab].out )
4334 # We found the default executable, but exeext='' is most
4335 # certainly right.
4336 break;;
4337 *.* )
4338 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4339 then :; else
4340 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4342 # We set ac_cv_exeext here because the later test for it is not
4343 # safe: cross compilers may not add the suffix if given an `-o'
4344 # argument, so we may need to know it at that point already.
4345 # Even if this section looks crufty: it has the advantage of
4346 # actually working.
4347 break;;
4349 break;;
4350 esac
4351 done
4352 test "$ac_cv_exeext" = no && ac_cv_exeext=
4354 else
4355 ac_file=''
4357 if test -z "$ac_file"; then :
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4360 $as_echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.$ac_ext >&5
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error 77 "C compiler cannot create executables
4366 See \`config.log' for more details" "$LINENO" 5; }
4367 else
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4369 $as_echo "yes" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4372 $as_echo_n "checking for C compiler default output file name... " >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4374 $as_echo "$ac_file" >&6; }
4375 ac_exeext=$ac_cv_exeext
4377 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4378 ac_clean_files=$ac_clean_files_save
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4380 $as_echo_n "checking for suffix of executables... " >&6; }
4381 if { { ac_try="$ac_link"
4382 case "(($ac_try" in
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4385 esac
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_link") 2>&5
4389 ac_status=$?
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; then :
4392 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4393 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4394 # work properly (i.e., refer to `conftest.exe'), while it won't with
4395 # `rm'.
4396 for ac_file in conftest.exe conftest conftest.*; do
4397 test -f "$ac_file" || continue
4398 case $ac_file in
4399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4400 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4401 break;;
4402 * ) break;;
4403 esac
4404 done
4405 else
4406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4408 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4409 See \`config.log' for more details" "$LINENO" 5; }
4411 rm -f conftest conftest$ac_cv_exeext
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4413 $as_echo "$ac_cv_exeext" >&6; }
4415 rm -f conftest.$ac_ext
4416 EXEEXT=$ac_cv_exeext
4417 ac_exeext=$EXEEXT
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4420 #include <stdio.h>
4422 main ()
4424 FILE *f = fopen ("conftest.out", "w");
4425 return ferror (f) || fclose (f) != 0;
4428 return 0;
4430 _ACEOF
4431 ac_clean_files="$ac_clean_files conftest.out"
4432 # Check that the compiler produces executables we can run. If not, either
4433 # the compiler is broken, or we cross compile.
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4435 $as_echo_n "checking whether we are cross compiling... " >&6; }
4436 if test "$cross_compiling" != yes; then
4437 { { ac_try="$ac_link"
4438 case "(($ac_try" in
4439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440 *) ac_try_echo=$ac_try;;
4441 esac
4442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4443 $as_echo "$ac_try_echo"; } >&5
4444 (eval "$ac_link") 2>&5
4445 ac_status=$?
4446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4447 test $ac_status = 0; }
4448 if { ac_try='./conftest$ac_cv_exeext'
4449 { { case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4452 esac
4453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454 $as_echo "$ac_try_echo"; } >&5
4455 (eval "$ac_try") 2>&5
4456 ac_status=$?
4457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4458 test $ac_status = 0; }; }; then
4459 cross_compiling=no
4460 else
4461 if test "$cross_compiling" = maybe; then
4462 cross_compiling=yes
4463 else
4464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4466 as_fn_error $? "cannot run C compiled programs.
4467 If you meant to cross compile, use \`--host'.
4468 See \`config.log' for more details" "$LINENO" 5; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4473 $as_echo "$cross_compiling" >&6; }
4475 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4476 ac_clean_files=$ac_clean_files_save
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4478 $as_echo_n "checking for suffix of object files... " >&6; }
4479 if ${ac_cv_objext+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4486 main ()
4490 return 0;
4492 _ACEOF
4493 rm -f conftest.o conftest.obj
4494 if { { ac_try="$ac_compile"
4495 case "(($ac_try" in
4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4498 esac
4499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4500 $as_echo "$ac_try_echo"; } >&5
4501 (eval "$ac_compile") 2>&5
4502 ac_status=$?
4503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4504 test $ac_status = 0; }; then :
4505 for ac_file in conftest.o conftest.obj conftest.*; do
4506 test -f "$ac_file" || continue;
4507 case $ac_file in
4508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4509 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4510 break;;
4511 esac
4512 done
4513 else
4514 $as_echo "$as_me: failed program was:" >&5
4515 sed 's/^/| /' conftest.$ac_ext >&5
4517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4519 as_fn_error $? "cannot compute suffix of object files: cannot compile
4520 See \`config.log' for more details" "$LINENO" 5; }
4522 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4525 $as_echo "$ac_cv_objext" >&6; }
4526 OBJEXT=$ac_cv_objext
4527 ac_objext=$OBJEXT
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4529 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4530 if ${ac_cv_c_compiler_gnu+:} false; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4537 main ()
4539 #ifndef __GNUC__
4540 choke me
4541 #endif
4544 return 0;
4546 _ACEOF
4547 if ac_fn_c_try_compile "$LINENO"; then :
4548 ac_compiler_gnu=yes
4549 else
4550 ac_compiler_gnu=no
4552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4553 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4558 if test $ac_compiler_gnu = yes; then
4559 GCC=yes
4560 else
4561 GCC=
4563 ac_test_CFLAGS=${CFLAGS+set}
4564 ac_save_CFLAGS=$CFLAGS
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4567 if ${ac_cv_prog_cc_g+:} false; then :
4568 $as_echo_n "(cached) " >&6
4569 else
4570 ac_save_c_werror_flag=$ac_c_werror_flag
4571 ac_c_werror_flag=yes
4572 ac_cv_prog_cc_g=no
4573 CFLAGS="-g"
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4578 main ()
4582 return 0;
4584 _ACEOF
4585 if ac_fn_c_try_compile "$LINENO"; then :
4586 ac_cv_prog_cc_g=yes
4587 else
4588 CFLAGS=""
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4593 main ()
4597 return 0;
4599 _ACEOF
4600 if ac_fn_c_try_compile "$LINENO"; then :
4602 else
4603 ac_c_werror_flag=$ac_save_c_werror_flag
4604 CFLAGS="-g"
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4609 main ()
4613 return 0;
4615 _ACEOF
4616 if ac_fn_c_try_compile "$LINENO"; then :
4617 ac_cv_prog_cc_g=yes
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 ac_c_werror_flag=$ac_save_c_werror_flag
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4627 $as_echo "$ac_cv_prog_cc_g" >&6; }
4628 if test "$ac_test_CFLAGS" = set; then
4629 CFLAGS=$ac_save_CFLAGS
4630 elif test $ac_cv_prog_cc_g = yes; then
4631 if test "$GCC" = yes; then
4632 CFLAGS="-g -O2"
4633 else
4634 CFLAGS="-g"
4636 else
4637 if test "$GCC" = yes; then
4638 CFLAGS="-O2"
4639 else
4640 CFLAGS=
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4645 if ${ac_cv_prog_cc_c89+:} false; then :
4646 $as_echo_n "(cached) " >&6
4647 else
4648 ac_cv_prog_cc_c89=no
4649 ac_save_CC=$CC
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4652 #include <stdarg.h>
4653 #include <stdio.h>
4654 struct stat;
4655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4656 struct buf { int x; };
4657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4658 static char *e (p, i)
4659 char **p;
4660 int i;
4662 return p[i];
4664 static char *f (char * (*g) (char **, int), char **p, ...)
4666 char *s;
4667 va_list v;
4668 va_start (v,p);
4669 s = g (p, va_arg (v,int));
4670 va_end (v);
4671 return s;
4674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4675 function prototypes and stuff, but not '\xHH' hex character constants.
4676 These don't provoke an error unfortunately, instead are silently treated
4677 as 'x'. The following induces an error, until -std is added to get
4678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4679 array size at least. It's necessary to write '\x00'==0 to get something
4680 that's true only with -std. */
4681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4684 inside strings and character constants. */
4685 #define FOO(x) 'x'
4686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4688 int test (int i, double x);
4689 struct s1 {int (*f) (int a);};
4690 struct s2 {int (*f) (double a);};
4691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4692 int argc;
4693 char **argv;
4695 main ()
4697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4699 return 0;
4701 _ACEOF
4702 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4705 CC="$ac_save_CC $ac_arg"
4706 if ac_fn_c_try_compile "$LINENO"; then :
4707 ac_cv_prog_cc_c89=$ac_arg
4709 rm -f core conftest.err conftest.$ac_objext
4710 test "x$ac_cv_prog_cc_c89" != "xno" && break
4711 done
4712 rm -f conftest.$ac_ext
4713 CC=$ac_save_CC
4716 # AC_CACHE_VAL
4717 case "x$ac_cv_prog_cc_c89" in
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4720 $as_echo "none needed" >&6; } ;;
4721 xno)
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4723 $as_echo "unsupported" >&6; } ;;
4725 CC="$CC $ac_cv_prog_cc_c89"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4727 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4728 esac
4729 if test "x$ac_cv_prog_cc_c89" != xno; then :
4733 ac_ext=c
4734 ac_cpp='$CPP $CPPFLAGS'
4735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4739 ac_ext=cpp
4740 ac_cpp='$CXXCPP $CPPFLAGS'
4741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4744 if test -z "$CXX"; then
4745 if test -n "$CCC"; then
4746 CXX=$CCC
4747 else
4748 if test -n "$ac_tool_prefix"; then
4749 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if ${ac_cv_prog_CXX+:} false; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 if test -n "$CXX"; then
4759 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4760 else
4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 for as_dir in $PATH
4764 IFS=$as_save_IFS
4765 test -z "$as_dir" && as_dir=.
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 break 2
4772 done
4773 done
4774 IFS=$as_save_IFS
4778 CXX=$ac_cv_prog_CXX
4779 if test -n "$CXX"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4781 $as_echo "$CXX" >&6; }
4782 else
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4788 test -n "$CXX" && break
4789 done
4791 if test -z "$CXX"; then
4792 ac_ct_CXX=$CXX
4793 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4795 # Extract the first word of "$ac_prog", so it can be a program name with args.
4796 set dummy $ac_prog; ac_word=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4800 $as_echo_n "(cached) " >&6
4801 else
4802 if test -n "$ac_ct_CXX"; then
4803 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4804 else
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH
4808 IFS=$as_save_IFS
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_prog_ac_ct_CXX="$ac_prog"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 break 2
4816 done
4817 done
4818 IFS=$as_save_IFS
4822 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4823 if test -n "$ac_ct_CXX"; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4825 $as_echo "$ac_ct_CXX" >&6; }
4826 else
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4832 test -n "$ac_ct_CXX" && break
4833 done
4835 if test "x$ac_ct_CXX" = x; then
4836 CXX="g++"
4837 else
4838 case $cross_compiling:$ac_tool_warned in
4839 yes:)
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4842 ac_tool_warned=yes ;;
4843 esac
4844 CXX=$ac_ct_CXX
4850 # Provide some information about the compiler.
4851 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4852 set X $ac_compile
4853 ac_compiler=$2
4854 for ac_option in --version -v -V -qversion; do
4855 { { ac_try="$ac_compiler $ac_option >&5"
4856 case "(($ac_try" in
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4859 esac
4860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4861 $as_echo "$ac_try_echo"; } >&5
4862 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4863 ac_status=$?
4864 if test -s conftest.err; then
4865 sed '10a\
4866 ... rest of stderr output deleted ...
4867 10q' conftest.err >conftest.er1
4868 cat conftest.er1 >&5
4870 rm -f conftest.er1 conftest.err
4871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4872 test $ac_status = 0; }
4873 done
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4876 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4877 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4878 $as_echo_n "(cached) " >&6
4879 else
4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4884 main ()
4886 #ifndef __GNUC__
4887 choke me
4888 #endif
4891 return 0;
4893 _ACEOF
4894 if ac_fn_cxx_try_compile "$LINENO"; then :
4895 ac_compiler_gnu=yes
4896 else
4897 ac_compiler_gnu=no
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4904 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4905 if test $ac_compiler_gnu = yes; then
4906 GXX=yes
4907 else
4908 GXX=
4910 ac_test_CXXFLAGS=${CXXFLAGS+set}
4911 ac_save_CXXFLAGS=$CXXFLAGS
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4913 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4914 if ${ac_cv_prog_cxx_g+:} false; then :
4915 $as_echo_n "(cached) " >&6
4916 else
4917 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4918 ac_cxx_werror_flag=yes
4919 ac_cv_prog_cxx_g=no
4920 CXXFLAGS="-g"
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4925 main ()
4929 return 0;
4931 _ACEOF
4932 if ac_fn_cxx_try_compile "$LINENO"; then :
4933 ac_cv_prog_cxx_g=yes
4934 else
4935 CXXFLAGS=""
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4940 main ()
4944 return 0;
4946 _ACEOF
4947 if ac_fn_cxx_try_compile "$LINENO"; then :
4949 else
4950 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4951 CXXFLAGS="-g"
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 main ()
4960 return 0;
4962 _ACEOF
4963 if ac_fn_cxx_try_compile "$LINENO"; then :
4964 ac_cv_prog_cxx_g=yes
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4974 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4975 if test "$ac_test_CXXFLAGS" = set; then
4976 CXXFLAGS=$ac_save_CXXFLAGS
4977 elif test $ac_cv_prog_cxx_g = yes; then
4978 if test "$GXX" = yes; then
4979 CXXFLAGS="-g -O2"
4980 else
4981 CXXFLAGS="-g"
4983 else
4984 if test "$GXX" = yes; then
4985 CXXFLAGS="-O2"
4986 else
4987 CXXFLAGS=
4990 ac_ext=c
4991 ac_cpp='$CPP $CPPFLAGS'
4992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4996 if test -n "$ac_tool_prefix"; then
4997 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4998 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5000 $as_echo_n "checking for $ac_word... " >&6; }
5001 if ${ac_cv_prog_CPPBIN+:} false; then :
5002 $as_echo_n "(cached) " >&6
5003 else
5004 if test -n "$CPPBIN"; then
5005 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 CPPBIN=$ac_cv_prog_CPPBIN
5025 if test -n "$CPPBIN"; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5027 $as_echo "$CPPBIN" >&6; }
5028 else
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5030 $as_echo "no" >&6; }
5035 if test -z "$ac_cv_prog_CPPBIN"; then
5036 ac_ct_CPPBIN=$CPPBIN
5037 # Extract the first word of "cpp", so it can be a program name with args.
5038 set dummy cpp; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 if test -n "$ac_ct_CPPBIN"; then
5045 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5046 else
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 for as_dir in $PATH
5050 IFS=$as_save_IFS
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_ac_ct_CPPBIN="cpp"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5065 if test -n "$ac_ct_CPPBIN"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5067 $as_echo "$ac_ct_CPPBIN" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5073 if test "x$ac_ct_CPPBIN" = x; then
5074 CPPBIN="cpp"
5075 else
5076 case $cross_compiling:$ac_tool_warned in
5077 yes:)
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5080 ac_tool_warned=yes ;;
5081 esac
5082 CPPBIN=$ac_ct_CPPBIN
5084 else
5085 CPPBIN="$ac_cv_prog_CPPBIN"
5089 cat >>confdefs.h <<_ACEOF
5090 #define EXEEXT "$ac_exeext"
5091 _ACEOF
5093 if test -n "$ac_tool_prefix"; then
5094 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5095 set dummy ${ac_tool_prefix}ld; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_LD+:} false; then :
5099 $as_echo_n "(cached) " >&6
5100 else
5101 if test -n "$LD"; then
5102 ac_cv_prog_LD="$LD" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5107 IFS=$as_save_IFS
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_LD="${ac_tool_prefix}ld"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 break 2
5115 done
5116 done
5117 IFS=$as_save_IFS
5121 LD=$ac_cv_prog_LD
5122 if test -n "$LD"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5124 $as_echo "$LD" >&6; }
5125 else
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5132 if test -z "$ac_cv_prog_LD"; then
5133 ac_ct_LD=$LD
5134 # Extract the first word of "ld", so it can be a program name with args.
5135 set dummy ld; ac_word=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 if test -n "$ac_ct_LD"; then
5142 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_LD="ld"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5157 IFS=$as_save_IFS
5161 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5162 if test -n "$ac_ct_LD"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5164 $as_echo "$ac_ct_LD" >&6; }
5165 else
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5170 if test "x$ac_ct_LD" = x; then
5171 LD=""
5172 else
5173 case $cross_compiling:$ac_tool_warned in
5174 yes:)
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5177 ac_tool_warned=yes ;;
5178 esac
5179 LD=$ac_ct_LD
5181 else
5182 LD="$ac_cv_prog_LD"
5186 case $host in
5187 *-darwin*)
5188 with_fontconfig=${with_fontconfig:-no}
5190 *-mingw32*|*-cygwin*)
5191 enable_win16=${enable_win16:-no}
5192 CFLAGS="$CFLAGS -D_WIN32"
5194 esac
5196 case $host in
5197 x86_64*|amd64*)
5198 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5199 then
5200 CC="$CC -m32"
5201 CXX="$CXX -m32"
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5203 $as_echo_n "checking whether $CC works... " >&6; }
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5209 main ()
5213 return 0;
5215 _ACEOF
5216 if ac_fn_c_try_link "$LINENO"; then :
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5218 $as_echo "yes" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5222 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5224 rm -f core conftest.err conftest.$ac_objext \
5225 conftest$ac_exeext conftest.$ac_ext
5226 host_cpu="i386"
5227 notice_platform="32-bit "
5228 TARGETFLAGS="-m32"
5230 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5231 export PKG_CONFIG_PATH
5232 enable_win16=${enable_win16:-yes}
5233 else
5234 if test "x${GCC}" = "xyes"
5235 then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5237 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5239 /* end confdefs.h. */
5240 #include <stdarg.h>
5242 main ()
5244 void func(__builtin_ms_va_list *args);
5246 return 0;
5248 _ACEOF
5249 if ac_fn_c_try_compile "$LINENO"; then :
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5251 $as_echo "yes" >&6; }
5252 else
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5255 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5259 CC="$CC -m64"
5260 CXX="$CXX -m64"
5261 host_cpu="x86_64"
5262 notice_platform="64-bit "
5263 TARGETFLAGS="-m64"
5267 arm*)
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5269 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5272 int ac_test(int i) { return i; }
5274 main ()
5276 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5278 return 0;
5280 _ACEOF
5281 if ac_fn_c_try_link "$LINENO"; then :
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5283 $as_echo "yes" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5287 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5289 rm -f core conftest.err conftest.$ac_objext \
5290 conftest$ac_exeext conftest.$ac_ext
5291 case $with_float_abi in
5292 soft|softfp|hard)
5293 float_abi=$with_float_abi ;;
5295 case $host_os in
5296 *eabihf)
5297 float_abi=hard ;;
5299 float_abi=softfp
5300 saved_CFLAGS=$CFLAGS
5301 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5303 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5308 main ()
5310 asm("vmrs r2,fpscr");
5312 return 0;
5314 _ACEOF
5315 if ac_fn_c_try_link "$LINENO"; then :
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5317 $as_echo "yes" >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5321 float_abi=soft
5322 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5324 rm -f core conftest.err conftest.$ac_objext \
5325 conftest$ac_exeext conftest.$ac_ext
5326 CFLAGS=$saved_CFLAGS
5327 esac
5329 esac
5330 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5331 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5334 i[3456789]86*)
5335 enable_win16=${enable_win16:-yes}
5337 esac
5339 enable_win16=${enable_win16:-no}
5340 enable_win64=${enable_win64:-no}
5342 enable_winetest=${enable_winetest:-$enable_tests}
5344 if test -n "$with_wine64"
5345 then
5346 if test "x$enable_win64" = "xyes"
5347 then
5348 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5349 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5351 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5352 You should create a separate build directory and run configure from there." "$LINENO" 5
5353 enable_fonts=${enable_fonts:-no}
5354 enable_server=${enable_server:-no}
5355 elif test "x$enable_win64" = "xyes"
5356 then
5357 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5361 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5362 if ${wine_cv_toolsdir+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 wine_cv_toolsdir="$with_wine_tools"
5366 if test -z "$with_wine_tools"; then
5367 if test "$cross_compiling" = "yes"; then
5368 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5369 elif test -n "$with_wine64"; then
5370 wine_cv_toolsdir="$with_wine64"
5373 if test -z "$wine_cv_toolsdir"; then
5374 wine_makedep=tools/makedep
5375 wine_cv_toolsdir="\$(top_builddir)"
5376 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5377 wine_makedep=$wine_cv_toolsdir/tools/makedep
5378 case "$wine_cv_toolsdir" in
5379 /*) ;;
5380 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5381 esac
5382 enable_tools=${enable_tools:-no}
5383 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5384 else
5385 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5389 $as_echo "$wine_cv_toolsdir" >&6; }
5390 TOOLSDIR=$wine_cv_toolsdir
5392 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5393 then
5394 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5398 for ac_prog in flex
5400 # Extract the first word of "$ac_prog", so it can be a program name with args.
5401 set dummy $ac_prog; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_FLEX+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$FLEX"; then
5408 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_FLEX="$ac_prog"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 FLEX=$ac_cv_prog_FLEX
5428 if test -n "$FLEX"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5430 $as_echo "$FLEX" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5437 test -n "$FLEX" && break
5438 done
5439 test -n "$FLEX" || FLEX="none"
5441 if test "$FLEX" = "none"
5442 then
5443 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5446 $as_echo_n "checking whether flex is recent enough... " >&6; }
5447 cat >conftest.l <<EOF
5448 %top{
5449 #include "prediluvian.h"
5453 if $FLEX -t conftest.l >/dev/null 2>&5
5454 then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5456 $as_echo "yes" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5460 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5463 for ac_prog in bison
5465 # Extract the first word of "$ac_prog", so it can be a program name with args.
5466 set dummy $ac_prog; ac_word=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_BISON+:} false; then :
5470 $as_echo_n "(cached) " >&6
5471 else
5472 if test -n "$BISON"; then
5473 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5474 else
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476 for as_dir in $PATH
5478 IFS=$as_save_IFS
5479 test -z "$as_dir" && as_dir=.
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_BISON="$ac_prog"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 break 2
5486 done
5487 done
5488 IFS=$as_save_IFS
5492 BISON=$ac_cv_prog_BISON
5493 if test -n "$BISON"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5495 $as_echo "$BISON" >&6; }
5496 else
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5502 test -n "$BISON" && break
5503 done
5504 test -n "$BISON" || BISON="none"
5506 if test "$BISON" = "none"
5507 then
5508 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5511 if test -n "$ac_tool_prefix"; then
5512 for ac_prog in ar gar
5514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_AR+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$AR"; then
5522 ac_cv_prog_AR="$AR" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 AR=$ac_cv_prog_AR
5542 if test -n "$AR"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5544 $as_echo "$AR" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5551 test -n "$AR" && break
5552 done
5554 if test -z "$AR"; then
5555 ac_ct_AR=$AR
5556 for ac_prog in ar gar
5558 # Extract the first word of "$ac_prog", so it can be a program name with args.
5559 set dummy $ac_prog; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if test -n "$ac_ct_AR"; then
5566 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5567 else
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_ac_ct_AR="$ac_prog"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5579 done
5580 done
5581 IFS=$as_save_IFS
5585 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5586 if test -n "$ac_ct_AR"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5588 $as_echo "$ac_ct_AR" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5595 test -n "$ac_ct_AR" && break
5596 done
5598 if test "x$ac_ct_AR" = x; then
5599 AR="ar"
5600 else
5601 case $cross_compiling:$ac_tool_warned in
5602 yes:)
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5605 ac_tool_warned=yes ;;
5606 esac
5607 AR=$ac_ct_AR
5611 if test -n "$ac_tool_prefix"; then
5612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5613 set dummy ${ac_tool_prefix}strip; ac_word=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615 $as_echo_n "checking for $ac_word... " >&6; }
5616 if ${ac_cv_prog_STRIP+:} false; then :
5617 $as_echo_n "(cached) " >&6
5618 else
5619 if test -n "$STRIP"; then
5620 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5621 else
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623 for as_dir in $PATH
5625 IFS=$as_save_IFS
5626 test -z "$as_dir" && as_dir=.
5627 for ac_exec_ext in '' $ac_executable_extensions; do
5628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5629 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 break 2
5633 done
5634 done
5635 IFS=$as_save_IFS
5639 STRIP=$ac_cv_prog_STRIP
5640 if test -n "$STRIP"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5642 $as_echo "$STRIP" >&6; }
5643 else
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5650 if test -z "$ac_cv_prog_STRIP"; then
5651 ac_ct_STRIP=$STRIP
5652 # Extract the first word of "strip", so it can be a program name with args.
5653 set dummy strip; ac_word=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$ac_ct_STRIP"; then
5660 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_ac_ct_STRIP="strip"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 break 2
5673 done
5674 done
5675 IFS=$as_save_IFS
5679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5680 if test -n "$ac_ct_STRIP"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5682 $as_echo "$ac_ct_STRIP" >&6; }
5683 else
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5688 if test "x$ac_ct_STRIP" = x; then
5689 STRIP="strip"
5690 else
5691 case $cross_compiling:$ac_tool_warned in
5692 yes:)
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5695 ac_tool_warned=yes ;;
5696 esac
5697 STRIP=$ac_ct_STRIP
5699 else
5700 STRIP="$ac_cv_prog_STRIP"
5703 ARFLAGS=rc
5705 if test -n "$ac_tool_prefix"; then
5706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5707 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_RANLIB+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 if test -n "$RANLIB"; then
5714 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5715 else
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 RANLIB=$ac_cv_prog_RANLIB
5734 if test -n "$RANLIB"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5736 $as_echo "$RANLIB" >&6; }
5737 else
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 if test -z "$ac_cv_prog_RANLIB"; then
5745 ac_ct_RANLIB=$RANLIB
5746 # Extract the first word of "ranlib", so it can be a program name with args.
5747 set dummy ranlib; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$ac_ct_RANLIB"; then
5754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_ac_ct_RANLIB="ranlib"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5774 if test -n "$ac_ct_RANLIB"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5776 $as_echo "$ac_ct_RANLIB" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5782 if test "x$ac_ct_RANLIB" = x; then
5783 RANLIB=":"
5784 else
5785 case $cross_compiling:$ac_tool_warned in
5786 yes:)
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5789 ac_tool_warned=yes ;;
5790 esac
5791 RANLIB=$ac_ct_RANLIB
5793 else
5794 RANLIB="$ac_cv_prog_RANLIB"
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5798 $as_echo_n "checking whether ln -s works... " >&6; }
5799 LN_S=$as_ln_s
5800 if test "$LN_S" = "ln -s"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5802 $as_echo "yes" >&6; }
5803 else
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5805 $as_echo "no, using $LN_S" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5809 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5810 if ${ac_cv_path_GREP+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -z "$GREP"; then
5814 ac_path_GREP_found=false
5815 # Loop through the user's path and test for each of PROGNAME-LIST
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_prog in grep ggrep; do
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5824 as_fn_executable_p "$ac_path_GREP" || continue
5825 # Check for GNU ac_path_GREP and select it if it is found.
5826 # Check for GNU $ac_path_GREP
5827 case `"$ac_path_GREP" --version 2>&1` in
5828 *GNU*)
5829 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5831 ac_count=0
5832 $as_echo_n 0123456789 >"conftest.in"
5833 while :
5835 cat "conftest.in" "conftest.in" >"conftest.tmp"
5836 mv "conftest.tmp" "conftest.in"
5837 cp "conftest.in" "conftest.nl"
5838 $as_echo 'GREP' >> "conftest.nl"
5839 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5840 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5841 as_fn_arith $ac_count + 1 && ac_count=$as_val
5842 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5843 # Best one so far, save it but keep looking for a better one
5844 ac_cv_path_GREP="$ac_path_GREP"
5845 ac_path_GREP_max=$ac_count
5847 # 10*(2^10) chars as input seems more than enough
5848 test $ac_count -gt 10 && break
5849 done
5850 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5851 esac
5853 $ac_path_GREP_found && break 3
5854 done
5855 done
5856 done
5857 IFS=$as_save_IFS
5858 if test -z "$ac_cv_path_GREP"; then
5859 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5861 else
5862 ac_cv_path_GREP=$GREP
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5867 $as_echo "$ac_cv_path_GREP" >&6; }
5868 GREP="$ac_cv_path_GREP"
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5872 $as_echo_n "checking for egrep... " >&6; }
5873 if ${ac_cv_path_EGREP+:} false; then :
5874 $as_echo_n "(cached) " >&6
5875 else
5876 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5877 then ac_cv_path_EGREP="$GREP -E"
5878 else
5879 if test -z "$EGREP"; then
5880 ac_path_EGREP_found=false
5881 # Loop through the user's path and test for each of PROGNAME-LIST
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5885 IFS=$as_save_IFS
5886 test -z "$as_dir" && as_dir=.
5887 for ac_prog in egrep; do
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5890 as_fn_executable_p "$ac_path_EGREP" || continue
5891 # Check for GNU ac_path_EGREP and select it if it is found.
5892 # Check for GNU $ac_path_EGREP
5893 case `"$ac_path_EGREP" --version 2>&1` in
5894 *GNU*)
5895 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5897 ac_count=0
5898 $as_echo_n 0123456789 >"conftest.in"
5899 while :
5901 cat "conftest.in" "conftest.in" >"conftest.tmp"
5902 mv "conftest.tmp" "conftest.in"
5903 cp "conftest.in" "conftest.nl"
5904 $as_echo 'EGREP' >> "conftest.nl"
5905 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5906 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5907 as_fn_arith $ac_count + 1 && ac_count=$as_val
5908 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5909 # Best one so far, save it but keep looking for a better one
5910 ac_cv_path_EGREP="$ac_path_EGREP"
5911 ac_path_EGREP_max=$ac_count
5913 # 10*(2^10) chars as input seems more than enough
5914 test $ac_count -gt 10 && break
5915 done
5916 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5917 esac
5919 $ac_path_EGREP_found && break 3
5920 done
5921 done
5922 done
5923 IFS=$as_save_IFS
5924 if test -z "$ac_cv_path_EGREP"; then
5925 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5927 else
5928 ac_cv_path_EGREP=$EGREP
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5934 $as_echo "$ac_cv_path_EGREP" >&6; }
5935 EGREP="$ac_cv_path_EGREP"
5938 # Extract the first word of "ldconfig", so it can be a program name with args.
5939 set dummy ldconfig; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if ${ac_cv_path_LDCONFIG+:} false; then :
5943 $as_echo_n "(cached) " >&6
5944 else
5945 case $LDCONFIG in
5946 [\\/]* | ?:[\\/]*)
5947 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 for as_dir in /sbin /usr/sbin $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_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
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
5965 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5967 esac
5969 LDCONFIG=$ac_cv_path_LDCONFIG
5970 if test -n "$LDCONFIG"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5972 $as_echo "$LDCONFIG" >&6; }
5973 else
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5979 for ac_prog in msgfmt
5981 # Extract the first word of "$ac_prog", so it can be a program name with args.
5982 set dummy $ac_prog; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 $as_echo_n "checking for $ac_word... " >&6; }
5985 if ${ac_cv_prog_MSGFMT+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 if test -n "$MSGFMT"; then
5989 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5990 else
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 for as_dir in $PATH
5994 IFS=$as_save_IFS
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5998 ac_cv_prog_MSGFMT="$ac_prog"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 break 2
6002 done
6003 done
6004 IFS=$as_save_IFS
6008 MSGFMT=$ac_cv_prog_MSGFMT
6009 if test -n "$MSGFMT"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6011 $as_echo "$MSGFMT" >&6; }
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6018 test -n "$MSGFMT" && break
6019 done
6020 test -n "$MSGFMT" || MSGFMT="false"
6022 if ${ac_tool_prefix+:} false; then :
6023 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6028 $as_echo_n "(cached) " >&6
6029 else
6030 if test -n "$PKG_CONFIG"; then
6031 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6036 IFS=$as_save_IFS
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 break 2
6044 done
6045 done
6046 IFS=$as_save_IFS
6050 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6051 if test -n "$PKG_CONFIG"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6053 $as_echo "$PKG_CONFIG" >&6; }
6054 else
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6061 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6062 if test "x$cross_compiling" = xyes; then :
6064 else
6065 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6066 # Extract the first word of "pkg-config", so it can be a program name with args.
6067 set dummy pkg-config; ac_word=$2
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 $as_echo_n "checking for $ac_word... " >&6; }
6070 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6071 $as_echo_n "(cached) " >&6
6072 else
6073 if test -n "$PKG_CONFIG"; then
6074 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_PKG_CONFIG="pkg-config"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6094 if test -n "$PKG_CONFIG"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6096 $as_echo "$PKG_CONFIG" >&6; }
6097 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6104 else
6105 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6108 if test "x$enable_maintainer_mode" != "xyes"
6109 then
6110 FONTFORGE=""
6111 RSVG=""
6112 CONVERT=""
6113 ICOTOOL=""
6114 else
6115 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6116 for ac_prog in fontforge
6118 # Extract the first word of "$ac_prog", so it can be a program name with args.
6119 set dummy $ac_prog; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 $as_echo_n "checking for $ac_word... " >&6; }
6122 if ${ac_cv_prog_FONTFORGE+:} false; then :
6123 $as_echo_n "(cached) " >&6
6124 else
6125 if test -n "$FONTFORGE"; then
6126 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6127 else
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 for as_dir in $PATH
6131 IFS=$as_save_IFS
6132 test -z "$as_dir" && as_dir=.
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135 ac_cv_prog_FONTFORGE="$ac_prog"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 break 2
6139 done
6140 done
6141 IFS=$as_save_IFS
6145 FONTFORGE=$ac_cv_prog_FONTFORGE
6146 if test -n "$FONTFORGE"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6148 $as_echo "$FONTFORGE" >&6; }
6149 else
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 $as_echo "no" >&6; }
6155 test -n "$FONTFORGE" && break
6156 done
6157 test -n "$FONTFORGE" || FONTFORGE="false"
6159 for ac_prog in rsvg-convert rsvg
6161 # Extract the first word of "$ac_prog", so it can be a program name with args.
6162 set dummy $ac_prog; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 $as_echo_n "checking for $ac_word... " >&6; }
6165 if ${ac_cv_prog_RSVG+:} false; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 if test -n "$RSVG"; then
6169 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6170 else
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 for as_dir in $PATH
6174 IFS=$as_save_IFS
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6178 ac_cv_prog_RSVG="$ac_prog"
6179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 break 2
6182 done
6183 done
6184 IFS=$as_save_IFS
6188 RSVG=$ac_cv_prog_RSVG
6189 if test -n "$RSVG"; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6191 $as_echo "$RSVG" >&6; }
6192 else
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194 $as_echo "no" >&6; }
6198 test -n "$RSVG" && break
6199 done
6200 test -n "$RSVG" || RSVG="false"
6202 for ac_prog in convert
6204 # Extract the first word of "$ac_prog", so it can be a program name with args.
6205 set dummy $ac_prog; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_CONVERT+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 if test -n "$CONVERT"; then
6212 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6217 IFS=$as_save_IFS
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221 ac_cv_prog_CONVERT="$ac_prog"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 break 2
6225 done
6226 done
6227 IFS=$as_save_IFS
6231 CONVERT=$ac_cv_prog_CONVERT
6232 if test -n "$CONVERT"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6234 $as_echo "$CONVERT" >&6; }
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6241 test -n "$CONVERT" && break
6242 done
6243 test -n "$CONVERT" || CONVERT="false"
6245 for ac_prog in icotool
6247 # Extract the first word of "$ac_prog", so it can be a program name with args.
6248 set dummy $ac_prog; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if ${ac_cv_prog_ICOTOOL+:} false; then :
6252 $as_echo_n "(cached) " >&6
6253 else
6254 if test -n "$ICOTOOL"; then
6255 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6256 else
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 for as_dir in $PATH
6260 IFS=$as_save_IFS
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6264 ac_cv_prog_ICOTOOL="$ac_prog"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6266 break 2
6268 done
6269 done
6270 IFS=$as_save_IFS
6274 ICOTOOL=$ac_cv_prog_ICOTOOL
6275 if test -n "$ICOTOOL"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6277 $as_echo "$ICOTOOL" >&6; }
6278 else
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6284 test -n "$ICOTOOL" && break
6285 done
6286 test -n "$ICOTOOL" || ICOTOOL="false"
6288 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6289 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6291 if test "$CONVERT" = false
6292 then
6293 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6294 else
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6296 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6297 convert_version=`convert --version | head -n1`
6298 if test "x$convert_version" != "x"
6299 then
6300 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6301 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6302 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6303 then
6304 CONVERT=false
6307 if test "$CONVERT" = false
6308 then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6310 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6311 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6314 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6318 if test "$ICOTOOL" = false
6319 then
6320 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6321 else
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6323 $as_echo_n "checking for recent enough icotool... " >&6; }
6324 icotool_version=`icotool --version | head -n1`
6325 if test "x$icotool_version" != "x"
6326 then
6327 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6328 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6329 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6330 then
6331 ICOTOOL=false
6332 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6335 if test "$ICOTOOL" = false
6336 then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6338 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6339 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6340 else
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6342 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6346 with_gettext=yes
6347 with_gettextpo=yes
6348 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6351 test "x$with_gettext" != xno || MSGFMT=false
6352 if test "$MSGFMT" != "false"
6353 then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6355 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6356 cat >conftest.po <<EOF
6357 # comment
6358 msgctxt "ctxt"
6359 msgid "id"
6360 msgstr "str"
6362 if $MSGFMT -o /dev/null conftest.po 2>&5
6363 then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6365 $as_echo "yes" >&6; }
6366 else
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368 $as_echo "no" >&6; }
6369 MSGFMT=false
6372 if test "$MSGFMT" = false; then :
6373 case "x$with_gettext" in
6374 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6375 xno) ;;
6376 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6377 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6378 esac
6379 enable_po=${enable_po:-no}
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6384 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6385 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6386 $as_echo_n "(cached) " >&6
6387 else
6388 ac_check_lib_save_LIBS=$LIBS
6389 LIBS="-li386 $LIBS"
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6393 /* Override any GCC internal prototype to avoid an error.
6394 Use char because int might match the return type of a GCC
6395 builtin and then its argument prototype would still apply. */
6396 #ifdef __cplusplus
6397 extern "C"
6398 #endif
6399 char i386_set_ldt ();
6401 main ()
6403 return i386_set_ldt ();
6405 return 0;
6407 _ACEOF
6408 if ac_fn_c_try_link "$LINENO"; then :
6409 ac_cv_lib_i386_i386_set_ldt=yes
6410 else
6411 ac_cv_lib_i386_i386_set_ldt=no
6413 rm -f core conftest.err conftest.$ac_objext \
6414 conftest$ac_exeext conftest.$ac_ext
6415 LIBS=$ac_check_lib_save_LIBS
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6418 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6419 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6420 cat >>confdefs.h <<_ACEOF
6421 #define HAVE_LIBI386 1
6422 _ACEOF
6424 LIBS="-li386 $LIBS"
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6429 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6430 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 ac_check_lib_save_LIBS=$LIBS
6434 LIBS="-lossaudio $LIBS"
6435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6438 /* Override any GCC internal prototype to avoid an error.
6439 Use char because int might match the return type of a GCC
6440 builtin and then its argument prototype would still apply. */
6441 #ifdef __cplusplus
6442 extern "C"
6443 #endif
6444 char _oss_ioctl ();
6446 main ()
6448 return _oss_ioctl ();
6450 return 0;
6452 _ACEOF
6453 if ac_fn_c_try_link "$LINENO"; then :
6454 ac_cv_lib_ossaudio__oss_ioctl=yes
6455 else
6456 ac_cv_lib_ossaudio__oss_ioctl=no
6458 rm -f core conftest.err conftest.$ac_objext \
6459 conftest$ac_exeext conftest.$ac_ext
6460 LIBS=$ac_check_lib_save_LIBS
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6463 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6464 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6465 cat >>confdefs.h <<_ACEOF
6466 #define HAVE_LIBOSSAUDIO 1
6467 _ACEOF
6469 LIBS="-lossaudio $LIBS"
6474 OPENGL_LIBS=""
6478 # Check whether --enable-largefile was given.
6479 if test "${enable_largefile+set}" = set; then :
6480 enableval=$enable_largefile;
6483 if test "$enable_largefile" != no; then
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6486 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6487 if ${ac_cv_sys_largefile_CC+:} false; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 ac_cv_sys_largefile_CC=no
6491 if test "$GCC" != yes; then
6492 ac_save_CC=$CC
6493 while :; do
6494 # IRIX 6.2 and later do not support large files by default,
6495 # so use the C compiler's -n32 option if that helps.
6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6498 #include <sys/types.h>
6499 /* Check that off_t can represent 2**63 - 1 correctly.
6500 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6501 since some C++ compilers masquerading as C compilers
6502 incorrectly reject 9223372036854775807. */
6503 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6504 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6505 && LARGE_OFF_T % 2147483647 == 1)
6506 ? 1 : -1];
6508 main ()
6512 return 0;
6514 _ACEOF
6515 if ac_fn_c_try_compile "$LINENO"; then :
6516 break
6518 rm -f core conftest.err conftest.$ac_objext
6519 CC="$CC -n32"
6520 if ac_fn_c_try_compile "$LINENO"; then :
6521 ac_cv_sys_largefile_CC=' -n32'; break
6523 rm -f core conftest.err conftest.$ac_objext
6524 break
6525 done
6526 CC=$ac_save_CC
6527 rm -f conftest.$ac_ext
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6531 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6532 if test "$ac_cv_sys_largefile_CC" != no; then
6533 CC=$CC$ac_cv_sys_largefile_CC
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6537 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6538 if ${ac_cv_sys_file_offset_bits+:} false; then :
6539 $as_echo_n "(cached) " >&6
6540 else
6541 while :; do
6542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h. */
6544 #include <sys/types.h>
6545 /* Check that off_t can represent 2**63 - 1 correctly.
6546 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6547 since some C++ compilers masquerading as C compilers
6548 incorrectly reject 9223372036854775807. */
6549 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6550 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6551 && LARGE_OFF_T % 2147483647 == 1)
6552 ? 1 : -1];
6554 main ()
6558 return 0;
6560 _ACEOF
6561 if ac_fn_c_try_compile "$LINENO"; then :
6562 ac_cv_sys_file_offset_bits=no; break
6564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6567 #define _FILE_OFFSET_BITS 64
6568 #include <sys/types.h>
6569 /* Check that off_t can represent 2**63 - 1 correctly.
6570 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6571 since some C++ compilers masquerading as C compilers
6572 incorrectly reject 9223372036854775807. */
6573 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6574 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6575 && LARGE_OFF_T % 2147483647 == 1)
6576 ? 1 : -1];
6578 main ()
6582 return 0;
6584 _ACEOF
6585 if ac_fn_c_try_compile "$LINENO"; then :
6586 ac_cv_sys_file_offset_bits=64; break
6588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6589 ac_cv_sys_file_offset_bits=unknown
6590 break
6591 done
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6594 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6595 case $ac_cv_sys_file_offset_bits in #(
6596 no | unknown) ;;
6598 cat >>confdefs.h <<_ACEOF
6599 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6600 _ACEOF
6602 esac
6603 rm -rf conftest*
6604 if test $ac_cv_sys_file_offset_bits = unknown; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6606 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6607 if ${ac_cv_sys_large_files+:} false; then :
6608 $as_echo_n "(cached) " >&6
6609 else
6610 while :; do
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <sys/types.h>
6614 /* Check that off_t can represent 2**63 - 1 correctly.
6615 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6616 since some C++ compilers masquerading as C compilers
6617 incorrectly reject 9223372036854775807. */
6618 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6619 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6620 && LARGE_OFF_T % 2147483647 == 1)
6621 ? 1 : -1];
6623 main ()
6627 return 0;
6629 _ACEOF
6630 if ac_fn_c_try_compile "$LINENO"; then :
6631 ac_cv_sys_large_files=no; break
6633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636 #define _LARGE_FILES 1
6637 #include <sys/types.h>
6638 /* Check that off_t can represent 2**63 - 1 correctly.
6639 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6640 since some C++ compilers masquerading as C compilers
6641 incorrectly reject 9223372036854775807. */
6642 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6643 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6644 && LARGE_OFF_T % 2147483647 == 1)
6645 ? 1 : -1];
6647 main ()
6651 return 0;
6653 _ACEOF
6654 if ac_fn_c_try_compile "$LINENO"; then :
6655 ac_cv_sys_large_files=1; break
6657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6658 ac_cv_sys_large_files=unknown
6659 break
6660 done
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6663 $as_echo "$ac_cv_sys_large_files" >&6; }
6664 case $ac_cv_sys_large_files in #(
6665 no | unknown) ;;
6667 cat >>confdefs.h <<_ACEOF
6668 #define _LARGE_FILES $ac_cv_sys_large_files
6669 _ACEOF
6671 esac
6672 rm -rf conftest*
6679 ac_ext=c
6680 ac_cpp='$CPP $CPPFLAGS'
6681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6685 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6686 # On Suns, sometimes $CPP names a directory.
6687 if test -n "$CPP" && test -d "$CPP"; then
6688 CPP=
6690 if test -z "$CPP"; then
6691 if ${ac_cv_prog_CPP+:} false; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 # Double quotes because CPP needs to be expanded
6695 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6697 ac_preproc_ok=false
6698 for ac_c_preproc_warn_flag in '' yes
6700 # Use a header file that comes with gcc, so configuring glibc
6701 # with a fresh cross-compiler works.
6702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6703 # <limits.h> exists even on freestanding compilers.
6704 # On the NeXT, cc -E runs the code through the compiler's parser,
6705 # not just through cpp. "Syntax error" is here to catch this case.
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6708 #ifdef __STDC__
6709 # include <limits.h>
6710 #else
6711 # include <assert.h>
6712 #endif
6713 Syntax error
6714 _ACEOF
6715 if ac_fn_c_try_cpp "$LINENO"; then :
6717 else
6718 # Broken: fails on valid input.
6719 continue
6721 rm -f conftest.err conftest.i conftest.$ac_ext
6723 # OK, works on sane cases. Now check whether nonexistent headers
6724 # can be detected and how.
6725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6726 /* end confdefs.h. */
6727 #include <ac_nonexistent.h>
6728 _ACEOF
6729 if ac_fn_c_try_cpp "$LINENO"; then :
6730 # Broken: success on invalid input.
6731 continue
6732 else
6733 # Passes both tests.
6734 ac_preproc_ok=:
6735 break
6737 rm -f conftest.err conftest.i conftest.$ac_ext
6739 done
6740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6741 rm -f conftest.i conftest.err conftest.$ac_ext
6742 if $ac_preproc_ok; then :
6743 break
6746 done
6747 ac_cv_prog_CPP=$CPP
6750 CPP=$ac_cv_prog_CPP
6751 else
6752 ac_cv_prog_CPP=$CPP
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6755 $as_echo "$CPP" >&6; }
6756 ac_preproc_ok=false
6757 for ac_c_preproc_warn_flag in '' yes
6759 # Use a header file that comes with gcc, so configuring glibc
6760 # with a fresh cross-compiler works.
6761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6762 # <limits.h> exists even on freestanding compilers.
6763 # On the NeXT, cc -E runs the code through the compiler's parser,
6764 # not just through cpp. "Syntax error" is here to catch this case.
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 #ifdef __STDC__
6768 # include <limits.h>
6769 #else
6770 # include <assert.h>
6771 #endif
6772 Syntax error
6773 _ACEOF
6774 if ac_fn_c_try_cpp "$LINENO"; then :
6776 else
6777 # Broken: fails on valid input.
6778 continue
6780 rm -f conftest.err conftest.i conftest.$ac_ext
6782 # OK, works on sane cases. Now check whether nonexistent headers
6783 # can be detected and how.
6784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h. */
6786 #include <ac_nonexistent.h>
6787 _ACEOF
6788 if ac_fn_c_try_cpp "$LINENO"; then :
6789 # Broken: success on invalid input.
6790 continue
6791 else
6792 # Passes both tests.
6793 ac_preproc_ok=:
6794 break
6796 rm -f conftest.err conftest.i conftest.$ac_ext
6798 done
6799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6800 rm -f conftest.i conftest.err conftest.$ac_ext
6801 if $ac_preproc_ok; then :
6803 else
6804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6806 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6807 See \`config.log' for more details" "$LINENO" 5; }
6810 ac_ext=c
6811 ac_cpp='$CPP $CPPFLAGS'
6812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6818 $as_echo_n "checking for ANSI C header files... " >&6; }
6819 if ${ac_cv_header_stdc+:} false; then :
6820 $as_echo_n "(cached) " >&6
6821 else
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6824 #include <stdlib.h>
6825 #include <stdarg.h>
6826 #include <string.h>
6827 #include <float.h>
6830 main ()
6834 return 0;
6836 _ACEOF
6837 if ac_fn_c_try_compile "$LINENO"; then :
6838 ac_cv_header_stdc=yes
6839 else
6840 ac_cv_header_stdc=no
6842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6844 if test $ac_cv_header_stdc = yes; then
6845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 #include <string.h>
6850 _ACEOF
6851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6852 $EGREP "memchr" >/dev/null 2>&1; then :
6854 else
6855 ac_cv_header_stdc=no
6857 rm -f conftest*
6861 if test $ac_cv_header_stdc = yes; then
6862 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6865 #include <stdlib.h>
6867 _ACEOF
6868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6869 $EGREP "free" >/dev/null 2>&1; then :
6871 else
6872 ac_cv_header_stdc=no
6874 rm -f conftest*
6878 if test $ac_cv_header_stdc = yes; then
6879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6880 if test "$cross_compiling" = yes; then :
6882 else
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6885 #include <ctype.h>
6886 #include <stdlib.h>
6887 #if ((' ' & 0x0FF) == 0x020)
6888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6890 #else
6891 # define ISLOWER(c) \
6892 (('a' <= (c) && (c) <= 'i') \
6893 || ('j' <= (c) && (c) <= 'r') \
6894 || ('s' <= (c) && (c) <= 'z'))
6895 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6896 #endif
6898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6900 main ()
6902 int i;
6903 for (i = 0; i < 256; i++)
6904 if (XOR (islower (i), ISLOWER (i))
6905 || toupper (i) != TOUPPER (i))
6906 return 2;
6907 return 0;
6909 _ACEOF
6910 if ac_fn_c_try_run "$LINENO"; then :
6912 else
6913 ac_cv_header_stdc=no
6915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6916 conftest.$ac_objext conftest.beam conftest.$ac_ext
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6922 $as_echo "$ac_cv_header_stdc" >&6; }
6923 if test $ac_cv_header_stdc = yes; then
6925 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6929 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6930 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6931 inttypes.h stdint.h unistd.h
6932 do :
6933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6934 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6939 _ACEOF
6943 done
6946 for ac_header in \
6947 AL/al.h \
6948 ApplicationServices/ApplicationServices.h \
6949 AudioToolbox/AudioConverter.h \
6950 AudioUnit/AudioUnit.h \
6951 AudioUnit/AudioComponent.h \
6952 CL/cl.h \
6953 Carbon/Carbon.h \
6954 CommonCrypto/CommonCryptor.h \
6955 CoreAudio/CoreAudio.h \
6956 CoreServices/CoreServices.h \
6957 DiskArbitration/DiskArbitration.h \
6958 EGL/egl.h \
6959 IOKit/IOKitLib.h \
6960 IOKit/hid/IOHIDLib.h \
6961 OpenAL/al.h \
6962 OpenCL/opencl.h \
6963 QuickTime/ImageCompression.h \
6964 Security/Security.h \
6965 alias.h \
6966 alsa/asoundlib.h \
6967 arpa/inet.h \
6968 arpa/nameser.h \
6969 asm/types.h \
6970 asm/user.h \
6971 curses.h \
6972 direct.h \
6973 dirent.h \
6974 dlfcn.h \
6975 elf.h \
6976 float.h \
6977 fnmatch.h \
6978 getopt.h \
6979 gettext-po.h \
6980 grp.h \
6981 gsm.h \
6982 gsm/gsm.h \
6983 ieeefp.h \
6984 inet/mib2.h \
6985 io.h \
6986 kstat.h \
6987 libproc.h \
6988 link.h \
6989 linux/cdrom.h \
6990 linux/compiler.h \
6991 linux/filter.h \
6992 linux/hdreg.h \
6993 linux/hidraw.h \
6994 linux/input.h \
6995 linux/ioctl.h \
6996 linux/joystick.h \
6997 linux/major.h \
6998 linux/param.h \
6999 linux/serial.h \
7000 linux/types.h \
7001 linux/ucdrom.h \
7002 lwp.h \
7003 mach-o/nlist.h \
7004 mach-o/loader.h \
7005 mach/mach.h \
7006 mach/machine.h \
7007 machine/cpu.h \
7008 machine/limits.h \
7009 machine/sysarch.h \
7010 mntent.h \
7011 ncurses.h \
7012 netdb.h \
7013 netinet/in.h \
7014 netinet/in_systm.h \
7015 netinet/tcp.h \
7016 netinet/tcp_fsm.h \
7017 pcap/pcap.h \
7018 poll.h \
7019 port.h \
7020 process.h \
7021 pthread.h \
7022 pwd.h \
7023 sched.h \
7024 scsi/scsi.h \
7025 scsi/scsi_ioctl.h \
7026 scsi/sg.h \
7027 stdbool.h \
7028 stdint.h \
7029 stropts.h \
7030 sys/asoundlib.h \
7031 sys/attr.h \
7032 sys/auxv.h \
7033 sys/cdio.h \
7034 sys/elf32.h \
7035 sys/epoll.h \
7036 sys/event.h \
7037 sys/exec_elf.h \
7038 sys/filio.h \
7039 sys/inotify.h \
7040 sys/ioctl.h \
7041 sys/ipc.h \
7042 sys/limits.h \
7043 sys/link.h \
7044 sys/mman.h \
7045 sys/modem.h \
7046 sys/msg.h \
7047 sys/mtio.h \
7048 sys/param.h \
7049 sys/poll.h \
7050 sys/prctl.h \
7051 sys/protosw.h \
7052 sys/ptrace.h \
7053 sys/queue.h \
7054 sys/resource.h \
7055 sys/scsiio.h \
7056 sys/shm.h \
7057 sys/signal.h \
7058 sys/socket.h \
7059 sys/socketvar.h \
7060 sys/sockio.h \
7061 sys/statvfs.h \
7062 sys/strtio.h \
7063 sys/syscall.h \
7064 sys/sysinfo.h \
7065 sys/tihdr.h \
7066 sys/time.h \
7067 sys/timeout.h \
7068 sys/times.h \
7069 sys/uio.h \
7070 sys/user.h \
7071 sys/utsname.h \
7072 sys/vm86.h \
7073 sys/vnode.h \
7074 sys/wait.h \
7075 syscall.h \
7076 termios.h \
7077 unistd.h \
7078 utime.h \
7079 valgrind/memcheck.h \
7080 valgrind/valgrind.h \
7081 zlib.h
7083 do :
7084 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7085 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7086 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7087 cat >>confdefs.h <<_ACEOF
7088 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7089 _ACEOF
7093 done
7095 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7096 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7098 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7103 if test $ac_cv_header_sys_mkdev_h = no; then
7104 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7105 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7107 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7114 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7115 if ${ac_cv_header_stat_broken+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7120 #include <sys/types.h>
7121 #include <sys/stat.h>
7123 #if defined S_ISBLK && defined S_IFDIR
7124 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7125 #endif
7127 #if defined S_ISBLK && defined S_IFCHR
7128 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7129 #endif
7131 #if defined S_ISLNK && defined S_IFREG
7132 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7133 #endif
7135 #if defined S_ISSOCK && defined S_IFREG
7136 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7137 #endif
7139 _ACEOF
7140 if ac_fn_c_try_compile "$LINENO"; then :
7141 ac_cv_header_stat_broken=no
7142 else
7143 ac_cv_header_stat_broken=yes
7145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7148 $as_echo "$ac_cv_header_stat_broken" >&6; }
7149 if test $ac_cv_header_stat_broken = yes; then
7151 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7157 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7158 do :
7159 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7160 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7161 #ifdef HAVE_SYS_PARAM_H
7162 # include <sys/param.h>
7163 #endif
7165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7166 cat >>confdefs.h <<_ACEOF
7167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7168 _ACEOF
7172 done
7175 for ac_header in \
7176 netinet/ip.h \
7177 net/if.h \
7178 net/if_arp.h \
7179 net/if_dl.h \
7180 net/if_types.h \
7181 net/route.h \
7182 netinet/if_ether.h \
7183 netinet/if_inarp.h \
7184 netinet/in_pcb.h \
7185 netinet/ip_icmp.h \
7186 netinet/ip_var.h \
7187 netinet/udp.h \
7188 netipx/ipx.h \
7189 sys/un.h \
7191 do :
7192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7193 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7194 #ifdef HAVE_SYS_SOCKET_H
7195 # include <sys/socket.h>
7196 #endif
7197 #ifdef HAVE_SYS_SOCKETVAR_H
7198 # include <sys/socketvar.h>
7199 #endif
7200 #ifdef HAVE_NET_ROUTE_H
7201 # include <net/route.h>
7202 #endif
7203 #ifdef HAVE_NETINET_IN_H
7204 # include <netinet/in.h>
7205 #endif
7206 #ifdef HAVE_NETINET_IN_SYSTM_H
7207 # include <netinet/in_systm.h>
7208 #endif
7209 #ifdef HAVE_NET_IF_H
7210 # include <net/if.h>
7211 #endif
7212 #ifdef HAVE_NETINET_IP_H
7213 # include <netinet/ip.h>
7214 #endif
7216 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7217 cat >>confdefs.h <<_ACEOF
7218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7219 _ACEOF
7223 done
7226 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7227 do :
7228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7229 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7230 #ifdef HAVE_ALIAS_H
7231 # include <alias.h>
7232 #endif
7233 #ifdef HAVE_SYS_SOCKET_H
7234 # include <sys/socket.h>
7235 #endif
7236 #ifdef HAVE_SYS_SOCKETVAR_H
7237 # include <sys/socketvar.h>
7238 #endif
7239 #ifdef HAVE_SYS_TIMEOUT_H
7240 # include <sys/timeout.h>
7241 #endif
7242 #ifdef HAVE_NETINET_IN_H
7243 # include <netinet/in.h>
7244 #endif
7245 #ifdef HAVE_NETINET_IN_SYSTM_H
7246 # include <netinet/in_systm.h>
7247 #endif
7248 #ifdef HAVE_NETINET_IP_H
7249 # include <netinet/ip.h>
7250 #endif
7251 #ifdef HAVE_NETINET_IP_VAR_H
7252 # include <netinet/ip_var.h>
7253 #endif
7254 #ifdef HAVE_NETINET_IP_ICMP_H
7255 # include <netinet/ip_icmp.h>
7256 #endif
7257 #ifdef HAVE_NETINET_UDP_H
7258 # include <netinet/udp.h>
7259 #endif
7260 #ifdef HAVE_NETINET_TCP_H
7261 # include <netinet/tcp.h>
7262 #endif
7263 #ifdef HAVE_NETINET_TCP_TIMER_H
7264 #include <netinet/tcp_timer.h>
7265 #endif
7267 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7268 cat >>confdefs.h <<_ACEOF
7269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7270 _ACEOF
7274 done
7277 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7278 do :
7279 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7280 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7281 #ifdef HAVE_ASM_TYPES_H
7282 # include <asm/types.h>
7283 #endif
7284 #ifdef HAVE_SYS_SOCKET_H
7285 # include <sys/socket.h>
7286 #endif
7287 #ifdef HAVE_LINUX_TYPES_H
7288 # include <linux/types.h>
7289 #endif
7291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7292 cat >>confdefs.h <<_ACEOF
7293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7294 _ACEOF
7298 done
7301 for ac_header in mach-o/dyld_images.h
7302 do :
7303 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7304 # include <stdbool.h>
7305 #endif
7306 #ifdef HAVE_STDINT_H
7307 # include <stdint.h>
7308 #endif
7310 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7311 cat >>confdefs.h <<_ACEOF
7312 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7313 _ACEOF
7317 done
7320 for ac_header in resolv.h
7321 do :
7322 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7323 #ifdef HAVE_SYS_SOCKET_H
7324 # include <sys/socket.h>
7325 #endif
7326 #ifdef HAVE_NETINET_IN_H
7327 # include <netinet/in.h>
7328 #endif
7329 #ifdef HAVE_ARPA_NAMESER_H
7330 # include <arpa/nameser.h>
7331 #endif
7333 if test "x$ac_cv_header_resolv_h" = xyes; then :
7334 cat >>confdefs.h <<_ACEOF
7335 #define HAVE_RESOLV_H 1
7336 _ACEOF
7340 done
7343 for ac_header in ifaddrs.h
7344 do :
7345 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7347 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7348 cat >>confdefs.h <<_ACEOF
7349 #define HAVE_IFADDRS_H 1
7350 _ACEOF
7354 done
7357 for ac_header in sys/ucontext.h
7358 do :
7359 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7361 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7362 cat >>confdefs.h <<_ACEOF
7363 #define HAVE_SYS_UCONTEXT_H 1
7364 _ACEOF
7368 done
7371 for ac_header in sys/thr.h
7372 do :
7373 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7374 #ifdef HAVE_SYS_UCONTEXT_H
7375 #include <sys/ucontext.h>
7376 #endif
7378 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7379 cat >>confdefs.h <<_ACEOF
7380 #define HAVE_SYS_THR_H 1
7381 _ACEOF
7385 done
7388 for ac_header in pthread_np.h
7389 do :
7390 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7391 #include <pthread.h>
7392 #endif
7394 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7395 cat >>confdefs.h <<_ACEOF
7396 #define HAVE_PTHREAD_NP_H 1
7397 _ACEOF
7401 done
7404 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7405 do :
7406 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7407 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7408 #include <sys/time.h>
7409 #endif
7410 #include <sys/types.h>
7411 #ifdef HAVE_ASM_TYPES_H
7412 #include <asm/types.h>
7413 #endif
7415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7416 cat >>confdefs.h <<_ACEOF
7417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7418 _ACEOF
7422 done
7425 for ac_header in libprocstat.h
7426 do :
7427 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7428 #include <sys/param.h>
7429 #endif
7430 #ifdef HAVE_SYS_QUEUE_H
7431 #include <sys/queue.h>
7432 #endif
7433 #ifdef HAVE_SYS_SOCKET_H
7434 #include <sys/socket.h>
7435 #endif
7437 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7438 cat >>confdefs.h <<_ACEOF
7439 #define HAVE_LIBPROCSTAT_H 1
7440 _ACEOF
7444 done
7448 dlldir="\${libdir}/wine"
7450 DLLFLAGS="-D_REENTRANT"
7452 LDRPATH_INSTALL=""
7454 LDRPATH_LOCAL=""
7456 LDEXECFLAGS=""
7458 WINELOADER_LDFLAGS=""
7460 LIBEXT="so"
7461 DLLEXT=".so"
7462 IMPLIBEXT="def"
7463 # Extract the first word of "ldd", so it can be a program name with args.
7464 set dummy ldd; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_path_LDD+:} false; then :
7468 $as_echo_n "(cached) " >&6
7469 else
7470 case $LDD in
7471 [\\/]* | ?:[\\/]*)
7472 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 as_dummy="/sbin:/usr/sbin:$PATH"
7477 for as_dir in $as_dummy
7479 IFS=$as_save_IFS
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7483 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485 break 2
7487 done
7488 done
7489 IFS=$as_save_IFS
7491 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7493 esac
7495 LDD=$ac_cv_path_LDD
7496 if test -n "$LDD"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7498 $as_echo "$LDD" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}otool; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_OTOOL+:} false; then :
7511 $as_echo_n "(cached) " >&6
7512 else
7513 if test -n "$OTOOL"; then
7514 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7515 else
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 for as_dir in $PATH
7519 IFS=$as_save_IFS
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 break 2
7527 done
7528 done
7529 IFS=$as_save_IFS
7533 OTOOL=$ac_cv_prog_OTOOL
7534 if test -n "$OTOOL"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7536 $as_echo "$OTOOL" >&6; }
7537 else
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7544 if test -z "$ac_cv_prog_OTOOL"; then
7545 ac_ct_OTOOL=$OTOOL
7546 # Extract the first word of "otool", so it can be a program name with args.
7547 set dummy otool; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 if test -n "$ac_ct_OTOOL"; then
7554 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7555 else
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH
7559 IFS=$as_save_IFS
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_ac_ct_OTOOL="otool"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 break 2
7567 done
7568 done
7569 IFS=$as_save_IFS
7573 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7574 if test -n "$ac_ct_OTOOL"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7576 $as_echo "$ac_ct_OTOOL" >&6; }
7577 else
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7582 if test "x$ac_ct_OTOOL" = x; then
7583 OTOOL="otool"
7584 else
7585 case $cross_compiling:$ac_tool_warned in
7586 yes:)
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7590 esac
7591 OTOOL=$ac_ct_OTOOL
7593 else
7594 OTOOL="$ac_cv_prog_OTOOL"
7597 if test -n "$ac_tool_prefix"; then
7598 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7599 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601 $as_echo_n "checking for $ac_word... " >&6; }
7602 if ${ac_cv_prog_READELF+:} false; then :
7603 $as_echo_n "(cached) " >&6
7604 else
7605 if test -n "$READELF"; then
7606 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7607 else
7608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609 for as_dir in $PATH
7611 IFS=$as_save_IFS
7612 test -z "$as_dir" && as_dir=.
7613 for ac_exec_ext in '' $ac_executable_extensions; do
7614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7615 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7617 break 2
7619 done
7620 done
7621 IFS=$as_save_IFS
7625 READELF=$ac_cv_prog_READELF
7626 if test -n "$READELF"; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7628 $as_echo "$READELF" >&6; }
7629 else
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7631 $as_echo "no" >&6; }
7636 if test -z "$ac_cv_prog_READELF"; then
7637 ac_ct_READELF=$READELF
7638 # Extract the first word of "readelf", so it can be a program name with args.
7639 set dummy readelf; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7641 $as_echo_n "checking for $ac_word... " >&6; }
7642 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7643 $as_echo_n "(cached) " >&6
7644 else
7645 if test -n "$ac_ct_READELF"; then
7646 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7647 else
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 for as_dir in $PATH
7651 IFS=$as_save_IFS
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655 ac_cv_prog_ac_ct_READELF="readelf"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7657 break 2
7659 done
7660 done
7661 IFS=$as_save_IFS
7665 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7666 if test -n "$ac_ct_READELF"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7668 $as_echo "$ac_ct_READELF" >&6; }
7669 else
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7674 if test "x$ac_ct_READELF" = x; then
7675 READELF="true"
7676 else
7677 case $cross_compiling:$ac_tool_warned in
7678 yes:)
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7681 ac_tool_warned=yes ;;
7682 esac
7683 READELF=$ac_ct_READELF
7685 else
7686 READELF="$ac_cv_prog_READELF"
7689 wine_rules_file=conf$$rules.make
7690 rm -f $wine_rules_file
7691 SUBDIRS=""
7693 DISABLED_SUBDIRS=""
7695 CONFIGURE_TARGETS=""
7697 ALL_TEST_RESOURCES=""
7700 wine_fn_append_file ()
7702 as_fn_append $1 " \\$as_nl $2"
7705 wine_fn_append_rule ()
7707 $as_echo "$1" >>$wine_rules_file
7710 wine_fn_has_flag ()
7712 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7715 wine_fn_all_rules ()
7717 wine_fn_append_file SUBDIRS $ac_dir
7718 wine_fn_append_rule \
7719 "all: $ac_dir
7720 .PHONY: $ac_dir
7721 $ac_dir: dummy
7722 @cd $ac_dir && \$(MAKE)"
7725 wine_fn_install_rules ()
7727 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7729 wine_fn_append_rule \
7730 ".PHONY: $ac_dir/install $ac_dir/uninstall
7731 $ac_dir/install:: $ac_dir
7732 @cd $ac_dir && \$(MAKE) install
7733 $ac_dir/uninstall::
7734 @cd $ac_dir && \$(MAKE) uninstall
7735 install:: $ac_dir/install
7736 __uninstall__: $ac_dir/uninstall"
7738 if wine_fn_has_flag install-lib
7739 then
7740 wine_fn_append_rule \
7741 ".PHONY: $ac_dir/install-lib
7742 $ac_dir/install-lib:: $ac_dir
7743 @cd $ac_dir && \$(MAKE) install-lib
7744 install-lib:: $ac_dir/install-lib"
7747 if wine_fn_has_flag install-dev
7748 then
7749 wine_fn_append_rule \
7750 ".PHONY: $ac_dir/install-dev
7751 $ac_dir/install-dev:: $ac_dir
7752 @cd $ac_dir && \$(MAKE) install-dev
7753 install-dev:: $ac_dir/install-dev"
7757 wine_fn_clean_rules ()
7759 ac_clean=$@
7761 if wine_fn_has_flag clean
7762 then
7763 wine_fn_append_rule \
7764 "$ac_dir/clean: dummy
7765 @cd $ac_dir && \$(MAKE) clean"
7766 else
7767 wine_fn_append_rule \
7768 "$ac_dir/clean: dummy
7769 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7771 wine_fn_append_rule \
7772 "__clean__: $ac_dir/clean
7773 .PHONY: $ac_dir/clean"
7776 wine_fn_disabled_rules ()
7778 ac_clean=$@
7780 wine_fn_append_file SUBDIRS $ac_dir
7781 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7782 wine_fn_append_rule \
7783 "__clean__: $ac_dir/clean
7784 .PHONY: $ac_dir/clean
7785 $ac_dir/clean: dummy
7786 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7789 wine_fn_config_makefile ()
7791 ac_dir=$1
7792 ac_enable=$2
7793 ac_flags=$3
7795 case $ac_dir in
7796 fonts|server) test -z "$with_wine64" || return ;;
7797 esac
7798 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7799 wine_fn_disabled_rules; return
7801 wine_fn_all_rules
7802 wine_fn_install_rules
7803 wine_fn_clean_rules
7806 wine_fn_config_lib ()
7808 ac_name=$1
7809 ac_flags=$2
7810 ac_dir=dlls/$ac_name
7811 ac_deps="include"
7813 if test "x$enable_tools" = xno; then :
7815 else
7816 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7818 wine_fn_all_rules
7819 wine_fn_clean_rules
7821 wine_fn_append_rule \
7822 ".PHONY: $ac_dir/install $ac_dir/uninstall
7823 $ac_dir/install:: $ac_dir
7824 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7825 $ac_dir/uninstall::
7826 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7827 install install-dev:: $ac_dir/install
7828 __uninstall__: $ac_dir/uninstall
7829 __builddeps__: $ac_dir
7830 $ac_dir: $ac_deps"
7833 wine_fn_config_dll ()
7835 ac_name=$1
7836 ac_dir=dlls/$ac_name
7837 ac_enable=$2
7838 ac_flags=$3
7839 ac_implib=${4:-$ac_name}
7840 ac_file=$ac_dir/lib$ac_implib
7841 ac_dll=$ac_name
7842 ac_deps="include"
7843 ac_implibflags=""
7845 if test "x$enable_tools" = xno; then :
7847 else
7848 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7850 case $ac_name in
7851 *.*16) ac_implibflags=" -m16" ;;
7852 *.*) ;;
7853 *) ac_dll=$ac_dll.dll ;;
7854 esac
7856 ac_clean=
7857 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7858 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7860 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7861 if test "$ac_enable" != enable_win16
7862 then
7863 wine_fn_clean_rules $ac_clean
7864 wine_fn_append_file SUBDIRS $ac_dir
7865 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7866 else
7867 wine_fn_disabled_rules $ac_clean
7868 return
7870 else
7871 wine_fn_all_rules
7872 wine_fn_clean_rules $ac_clean
7873 wine_fn_append_rule \
7874 "$ac_dir: __builddeps__
7875 manpages htmlpages sgmlpages xmlpages::
7876 @cd $ac_dir && \$(MAKE) \$@
7877 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7878 install install-lib:: $ac_dir/install-lib
7879 __uninstall__: $ac_dir/uninstall"
7880 if test -n "$DLLEXT"
7881 then
7882 wine_fn_append_rule \
7883 "$ac_dir/install-lib:: $ac_dir
7884 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7885 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7886 $ac_dir/uninstall::
7887 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7888 else
7889 wine_fn_append_rule \
7890 "$ac_dir/install-lib:: $ac_dir
7891 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7892 $ac_dir/uninstall::
7893 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7897 if wine_fn_has_flag staticimplib
7898 then
7899 wine_fn_append_rule \
7900 "__builddeps__: $ac_file.a
7901 $ac_file.a $ac_file.cross.a: $ac_deps
7902 $ac_file.a: dummy
7903 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7904 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7905 $ac_dir/install-dev:: $ac_file.a
7906 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7907 $ac_dir/uninstall::
7908 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7909 install install-dev:: $ac_dir/install-dev
7910 __uninstall__: $ac_dir/uninstall"
7912 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7913 then
7914 wine_fn_append_rule \
7915 "__builddeps__: $ac_file.cross.a
7916 $ac_file.cross.a: dummy
7917 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7920 elif wine_fn_has_flag implib
7921 then
7922 wine_fn_append_rule \
7923 "__builddeps__: $ac_file.$IMPLIBEXT
7924 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7925 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7926 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7927 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7928 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7929 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7930 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7931 $ac_dir/uninstall::
7932 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7933 install install-dev:: $ac_dir/install-dev
7934 __uninstall__: $ac_dir/uninstall"
7935 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7936 then
7937 wine_fn_append_rule \
7938 "__builddeps__: $ac_file.cross.a
7939 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7940 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7945 wine_fn_config_program ()
7947 ac_name=$1
7948 ac_dir=programs/$ac_name
7949 ac_enable=$2
7950 ac_flags=$3
7951 ac_program=$ac_name
7953 case $ac_name in
7954 *.*) ;;
7955 *) ac_program=$ac_program.exe ;;
7956 esac
7958 ac_clean=
7959 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7960 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7962 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7963 wine_fn_disabled_rules $ac_clean; return
7966 wine_fn_all_rules
7967 wine_fn_clean_rules $ac_clean
7968 wine_fn_append_rule "$ac_dir: __builddeps__"
7970 wine_fn_has_flag install || return
7971 wine_fn_append_rule \
7972 ".PHONY: $ac_dir/install $ac_dir/uninstall
7973 install install-lib:: $ac_dir/install
7974 __uninstall__: $ac_dir/uninstall"
7976 if test -n "$DLLEXT"
7977 then
7978 wine_fn_append_rule \
7979 "$ac_dir/install:: $ac_dir
7980 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7981 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7982 $ac_dir/uninstall::
7983 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7985 if test -z "$with_wine64" && wine_fn_has_flag installbin
7986 then
7987 wine_fn_append_rule \
7988 "$ac_dir/install:: __tooldeps__
7989 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7990 $ac_dir/uninstall::
7991 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7993 else
7994 wine_fn_append_rule \
7995 "$ac_dir/install:: $ac_dir
7996 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7997 $ac_dir/uninstall::
7998 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
8001 if test -z "$with_wine64" && wine_fn_has_flag manpage
8002 then
8003 wine_fn_append_rule \
8004 "$ac_dir/install:: $ac_dir
8005 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
8006 $ac_dir/uninstall::
8007 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8011 wine_fn_config_test ()
8013 ac_dir=$1
8014 ac_name=$2
8015 ac_flags=$3
8017 ac_clean=
8018 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8019 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8021 if test "x$enable_tests" = xno; then :
8022 wine_fn_disabled_rules $ac_clean; return
8025 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8026 wine_fn_all_rules
8027 wine_fn_clean_rules $ac_clean
8029 wine_fn_append_rule \
8030 "$ac_dir: __builddeps__
8031 programs/winetest: $ac_dir
8032 check test: $ac_dir/test
8033 .PHONY: $ac_dir/test
8034 $ac_dir/test: dummy
8035 @cd $ac_dir && \$(MAKE) test
8036 testclean::
8037 \$(RM) $ac_dir/*.ok"
8039 if test -n "$CROSSTARGET"
8040 then
8041 wine_fn_append_rule \
8042 "crosstest: $ac_dir/crosstest
8043 .PHONY: $ac_dir/crosstest
8044 $ac_dir/crosstest: __builddeps__ dummy
8045 @cd $ac_dir && \$(MAKE) crosstest"
8049 wine_fn_config_tool ()
8051 ac_dir=$1
8052 ac_flags=$2
8053 if test "x$enable_tools" = xno; then :
8054 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8057 wine_fn_all_rules
8058 wine_fn_install_rules
8059 wine_fn_clean_rules
8061 wine_fn_append_rule "__tooldeps__: $ac_dir"
8062 wine_fn_append_rule "$ac_dir: libs/port"
8063 case $ac_dir in
8064 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8065 esac
8068 wine_fn_config_symlink ()
8070 ac_linkdir=
8071 if test "x$1" = "x-d"
8072 then
8073 ac_linkdir=$2
8074 shift; shift
8076 ac_links=$@
8077 wine_fn_append_rule \
8078 "$ac_links:
8079 @./config.status \$@"
8080 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8081 test -n "$ac_linkdir" || return
8082 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8085 wine_binary="wine"
8086 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8087 WINELOADER_PROGRAMS="$wine_binary"
8089 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8091 case $host_os in
8092 cygwin*|mingw32*)
8093 if test -n "$ac_tool_prefix"; then
8094 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8095 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8097 $as_echo_n "checking for $ac_word... " >&6; }
8098 if ${ac_cv_prog_DLLTOOL+:} false; then :
8099 $as_echo_n "(cached) " >&6
8100 else
8101 if test -n "$DLLTOOL"; then
8102 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8103 else
8104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8105 for as_dir in $PATH
8107 IFS=$as_save_IFS
8108 test -z "$as_dir" && as_dir=.
8109 for ac_exec_ext in '' $ac_executable_extensions; do
8110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8111 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8113 break 2
8115 done
8116 done
8117 IFS=$as_save_IFS
8121 DLLTOOL=$ac_cv_prog_DLLTOOL
8122 if test -n "$DLLTOOL"; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8124 $as_echo "$DLLTOOL" >&6; }
8125 else
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127 $as_echo "no" >&6; }
8132 if test -z "$ac_cv_prog_DLLTOOL"; then
8133 ac_ct_DLLTOOL=$DLLTOOL
8134 # Extract the first word of "dlltool", so it can be a program name with args.
8135 set dummy dlltool; ac_word=$2
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8137 $as_echo_n "checking for $ac_word... " >&6; }
8138 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8139 $as_echo_n "(cached) " >&6
8140 else
8141 if test -n "$ac_ct_DLLTOOL"; then
8142 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8143 else
8144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 for as_dir in $PATH
8147 IFS=$as_save_IFS
8148 test -z "$as_dir" && as_dir=.
8149 for ac_exec_ext in '' $ac_executable_extensions; do
8150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8151 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8153 break 2
8155 done
8156 done
8157 IFS=$as_save_IFS
8161 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8162 if test -n "$ac_ct_DLLTOOL"; then
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8164 $as_echo "$ac_ct_DLLTOOL" >&6; }
8165 else
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8167 $as_echo "no" >&6; }
8170 if test "x$ac_ct_DLLTOOL" = x; then
8171 DLLTOOL="false"
8172 else
8173 case $cross_compiling:$ac_tool_warned in
8174 yes:)
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8177 ac_tool_warned=yes ;;
8178 esac
8179 DLLTOOL=$ac_ct_DLLTOOL
8181 else
8182 DLLTOOL="$ac_cv_prog_DLLTOOL"
8185 LIBEXT="dll"
8186 DLLEXT=""
8187 IMPLIBEXT="a"
8188 enable_iphlpapi=${enable_iphlpapi:-no}
8189 enable_kernel32=${enable_kernel32:-no}
8190 enable_msvcrt=${enable_msvcrt:-no}
8191 enable_ntdll=${enable_ntdll:-no}
8192 enable_ws2_32=${enable_ws2_32:-no}
8193 enable_loader=${enable_loader:-no}
8194 enable_server=${enable_server:-no}
8195 with_x=${with_x:-no}
8196 with_pthread=${with_pthread:-no}
8198 crtlibs=""
8199 case $host_os in
8200 mingw32*)
8201 crtlibs="-lmsvcrt"
8202 SOCKET_LIBS="-lws2_32"
8204 esac
8206 LIBWINE_SHAREDLIB="libwine.dll"
8208 LIBWINE_IMPORTLIB="libwine.a"
8210 LIBWINE_INSTALL_LIB="libwine.dll"
8212 LIBWINE_INSTALL_DEV="libwine.a"
8214 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8216 LIBWINE_DEPENDS="wine.def"
8220 darwin*|macosx*)
8221 for ac_header in libunwind.h
8222 do :
8223 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8225 cat >>confdefs.h <<_ACEOF
8226 #define HAVE_LIBUNWIND_H 1
8227 _ACEOF
8231 done
8233 LIBEXT="dylib"
8234 DLLFLAGS="$DLLFLAGS -fPIC"
8235 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8236 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8237 COREFOUNDATION_LIBS="-framework CoreFoundation"
8239 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8241 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8243 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8245 CORESERVICES_LIBS="-framework CoreServices"
8247 APPKIT_LIBS="-framework AppKit"
8249 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8251 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8252 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 ac_wine_try_cflags_saved=$CFLAGS
8256 CFLAGS="$CFLAGS -Wl,-no_pie"
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8259 int main(int argc, char **argv) { return 0; }
8260 _ACEOF
8261 if ac_fn_c_try_link "$LINENO"; then :
8262 ac_cv_cflags__Wl__no_pie=yes
8263 else
8264 ac_cv_cflags__Wl__no_pie=no
8266 rm -f core conftest.err conftest.$ac_objext \
8267 conftest$ac_exeext conftest.$ac_ext
8268 CFLAGS=$ac_wine_try_cflags_saved
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8271 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8272 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8273 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8275 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8276 then
8277 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8280 if test "$ac_cv_header_Security_Security_h" = "yes"
8281 then
8282 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8284 ac_save_LIBS="$LIBS"
8285 LIBS="$LIBS $SECURITY_LIBS"
8286 for ac_func in SSLCopyPeerCertificates
8287 do :
8288 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8289 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8290 cat >>confdefs.h <<_ACEOF
8291 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8292 _ACEOF
8295 done
8297 LIBS="$ac_save_LIBS"
8298 with_gnutls=${with_gnutls:-no}
8300 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8301 then
8302 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8303 then
8304 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8306 else
8307 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8310 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8311 ac_save_LIBS="$LIBS"
8312 LIBS="$LIBS $COREAUDIO_LIBS"
8313 for ac_func in AUGraphAddNode
8314 do :
8315 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8316 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8317 cat >>confdefs.h <<_ACEOF
8318 #define HAVE_AUGRAPHADDNODE 1
8319 _ACEOF
8322 done
8324 LIBS="$ac_save_LIBS"
8326 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8327 then
8328 OPENAL_LIBS="-framework OpenAL"
8331 cat >>confdefs.h <<_ACEOF
8332 #define HAVE_OPENAL 1
8333 _ACEOF
8335 ac_cv_lib_openal=yes
8337 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8338 then
8339 OPENCL_LIBS="-framework OpenCL"
8341 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8343 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8344 then
8345 ac_save_LIBS="$LIBS"
8346 LIBS="$LIBS $IOKIT_LIBS"
8347 for ac_func in IOHIDManagerCreate
8348 do :
8349 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8350 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8351 cat >>confdefs.h <<_ACEOF
8352 #define HAVE_IOHIDMANAGERCREATE 1
8353 _ACEOF
8356 done
8358 LIBS="$ac_save_LIBS"
8360 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8361 then
8362 ac_save_LIBS="$LIBS"
8363 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8365 $as_echo_n "checking for the QuickTime framework... " >&6; }
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 #include <QuickTime/ImageCompression.h>
8370 main ()
8372 CodecManagerVersion(NULL);
8374 return 0;
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8379 $as_echo "yes" >&6; }
8380 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8382 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8383 else
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385 $as_echo "no" >&6; }
8386 ac_cv_header_QuickTime_ImageCompression_h=no
8388 rm -f core conftest.err conftest.$ac_objext \
8389 conftest$ac_exeext conftest.$ac_ext
8390 LIBS="$ac_save_LIBS"
8392 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8393 then
8394 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8396 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8397 then
8398 CARBON_LIBS="-framework Carbon"
8402 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8403 then
8404 ac_save_LIBS="$LIBS"
8405 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8406 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8407 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8408 enable_winemac_drv=${enable_winemac_drv:-yes}
8411 LIBS="$ac_save_LIBS"
8414 if test "x$enable_win16" = "xyes"
8415 then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8417 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8418 if test "$cross_compiling" = yes; then :
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8420 $as_echo "cross-compiling, assuming yes" >&6; }
8421 else
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 asm(".text\n"
8425 "bad:\tnop;nop\n"
8426 "good:\tnop;nop\n\t"
8427 ".globl _testfunc\n"
8428 "_testfunc:\tcallw good");
8429 extern void testfunc();
8431 main ()
8433 unsigned short *p = (unsigned short *)testfunc;
8434 return p[0] != 0xe866 || p[1] != 0xfffa
8436 return 0;
8438 _ACEOF
8439 if ac_fn_c_try_run "$LINENO"; then :
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8441 $as_echo "yes" >&6; }
8442 else
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8445 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
8447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8448 conftest.$ac_objext conftest.beam conftest.$ac_ext
8453 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8455 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8457 LIBWINE_INSTALL_DEV="libwine.dylib"
8459 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8461 WINELOADER_DEPENDS="wine_info.plist"
8465 linux-android*)
8466 DLLFLAGS="$DLLFLAGS -fPIC"
8467 LDEXECFLAGS="-Wl,-pie"
8468 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8470 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8471 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8479 _ACEOF
8480 if ac_fn_c_try_link "$LINENO"; then :
8481 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8482 else
8483 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8485 rm -f core conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8490 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8491 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8492 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8494 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8496 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8497 if eval \${$as_ac_var+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 eval "$as_ac_var=yes"
8508 else
8509 eval "$as_ac_var=no"
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 eval ac_res=\$$as_ac_var
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8517 $as_echo "$ac_res" >&6; }
8518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8519 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8520 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8521 else
8522 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8525 if eval \${$as_ac_var+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8535 eval "$as_ac_var=yes"
8536 else
8537 eval "$as_ac_var=no"
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 CFLAGS=$ac_wine_try_cflags_saved
8543 eval ac_res=\$$as_ac_var
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8545 $as_echo "$ac_res" >&6; }
8546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8547 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8548 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8552 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8553 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 int main(int argc, char **argv) { return 0; }
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 ac_cv_cflags__Wl___enable_new_dtags=yes
8564 else
8565 ac_cv_cflags__Wl___enable_new_dtags=no
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8572 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8573 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8574 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8577 LIBWINE_SHAREDLIB="libwine.so"
8579 LIBWINE_INSTALL_LIB="libwine.so"
8581 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8585 $as_echo_n "checking for -lEGL... " >&6; }
8586 if ${ac_cv_lib_soname_EGL+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_check_soname_save_LIBS=$LIBS
8590 LIBS="-lEGL $LIBS"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8594 /* Override any GCC internal prototype to avoid an error.
8595 Use char because int might match the return type of a GCC
8596 builtin and then its argument prototype would still apply. */
8597 #ifdef __cplusplus
8598 extern "C"
8599 #endif
8600 char eglGetProcAddress ();
8602 main ()
8604 return eglGetProcAddress ();
8606 return 0;
8608 _ACEOF
8609 if ac_fn_c_try_link "$LINENO"; then :
8610 case "$LIBEXT" in
8611 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8612 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'` ;;
8613 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8614 if ${ac_cv_lib_soname_EGL:+false} :; then :
8615 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8616 fi ;;
8617 esac
8619 rm -f core conftest.err conftest.$ac_objext \
8620 conftest$ac_exeext conftest.$ac_ext
8621 LIBS=$ac_check_soname_save_LIBS
8623 if ${ac_cv_lib_soname_EGL:+false} :; then :
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8625 $as_echo "not found" >&6; }
8627 else
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8629 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8631 cat >>confdefs.h <<_ACEOF
8632 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8633 _ACEOF
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8638 $as_echo_n "checking for -lGLESv2... " >&6; }
8639 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 ac_check_soname_save_LIBS=$LIBS
8643 LIBS="-lGLESv2 $LIBS"
8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645 /* end confdefs.h. */
8647 /* Override any GCC internal prototype to avoid an error.
8648 Use char because int might match the return type of a GCC
8649 builtin and then its argument prototype would still apply. */
8650 #ifdef __cplusplus
8651 extern "C"
8652 #endif
8653 char glFlush ();
8655 main ()
8657 return glFlush ();
8659 return 0;
8661 _ACEOF
8662 if ac_fn_c_try_link "$LINENO"; then :
8663 case "$LIBEXT" in
8664 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8665 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'` ;;
8666 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8667 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8668 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8669 fi ;;
8670 esac
8672 rm -f core conftest.err conftest.$ac_objext \
8673 conftest$ac_exeext conftest.$ac_ext
8674 LIBS=$ac_check_soname_save_LIBS
8676 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8678 $as_echo "not found" >&6; }
8680 else
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8682 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8684 cat >>confdefs.h <<_ACEOF
8685 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8686 _ACEOF
8691 if test "x$exec_prefix" = xNONE
8692 then
8693 case $host_cpu in
8694 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8695 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8696 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8697 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8698 esac
8703 DLLFLAGS="$DLLFLAGS -fPIC"
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8705 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8706 if ${ac_cv_c_dll_gnuelf+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 ac_wine_try_cflags_saved=$CFLAGS
8710 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 void myfunc() {}
8714 _ACEOF
8715 if ac_fn_c_try_link "$LINENO"; then :
8716 ac_cv_c_dll_gnuelf="yes"
8717 else
8718 ac_cv_c_dll_gnuelf="no"
8720 rm -f core conftest.err conftest.$ac_objext \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8725 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8726 if test "$ac_cv_c_dll_gnuelf" = "yes"
8727 then
8728 LIBWINE_LDFLAGS="-shared"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8730 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8731 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 ac_wine_try_cflags_saved=$CFLAGS
8735 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8738 int main(int argc, char **argv) { return 0; }
8739 _ACEOF
8740 if ac_fn_c_try_link "$LINENO"; then :
8741 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8742 else
8743 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8745 rm -f core conftest.err conftest.$ac_objext \
8746 conftest$ac_exeext conftest.$ac_ext
8747 CFLAGS=$ac_wine_try_cflags_saved
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8750 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8751 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8752 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8753 else
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8755 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8756 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 ac_wine_try_cflags_saved=$CFLAGS
8760 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8763 int main(int argc, char **argv) { return 0; }
8764 _ACEOF
8765 if ac_fn_c_try_link "$LINENO"; then :
8766 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8767 else
8768 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8770 rm -f core conftest.err conftest.$ac_objext \
8771 conftest$ac_exeext conftest.$ac_ext
8772 CFLAGS=$ac_wine_try_cflags_saved
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8775 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8776 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8777 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8781 echo '{ global: *; };' >conftest.map
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8783 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8784 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 ac_wine_try_cflags_saved=$CFLAGS
8788 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8791 int main(int argc, char **argv) { return 0; }
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8795 else
8796 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 CFLAGS=$ac_wine_try_cflags_saved
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8803 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8804 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8805 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8807 rm -f conftest.map
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8810 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8811 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8822 else
8823 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8830 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8831 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8832 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8835 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8837 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8838 if eval \${$as_ac_var+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 eval "$as_ac_var=yes"
8849 else
8850 eval "$as_ac_var=no"
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 eval ac_res=\$$as_ac_var
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8858 $as_echo "$ac_res" >&6; }
8859 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8860 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8861 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8862 else
8863 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8865 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8866 if eval \${$as_ac_var+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 ac_wine_try_cflags_saved=$CFLAGS
8870 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8873 int main(int argc, char **argv) { return 0; }
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 eval "$as_ac_var=yes"
8877 else
8878 eval "$as_ac_var=no"
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 eval ac_res=\$$as_ac_var
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8886 $as_echo "$ac_res" >&6; }
8887 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8888 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8889 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8894 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8895 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8896 $as_echo_n "(cached) " >&6
8897 else
8898 ac_wine_try_cflags_saved=$CFLAGS
8899 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8902 int main(int argc, char **argv) { return 0; }
8903 _ACEOF
8904 if ac_fn_c_try_link "$LINENO"; then :
8905 ac_cv_cflags__Wl___enable_new_dtags=yes
8906 else
8907 ac_cv_cflags__Wl___enable_new_dtags=no
8909 rm -f core conftest.err conftest.$ac_objext \
8910 conftest$ac_exeext conftest.$ac_ext
8911 CFLAGS=$ac_wine_try_cflags_saved
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8914 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8915 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8916 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8919 case $host_cpu in
8920 *i[3456789]86* | x86_64 | *aarch64*)
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8922 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8923 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 ac_wine_try_cflags_saved=$CFLAGS
8927 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8930 int main(int argc, char **argv) { return 0; }
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8934 else
8935 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8937 rm -f core conftest.err conftest.$ac_objext \
8938 conftest$ac_exeext conftest.$ac_ext
8939 CFLAGS=$ac_wine_try_cflags_saved
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8942 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8943 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8944 case $host_os in
8945 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8946 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8947 esac
8948 else
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8950 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8951 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8952 $as_echo_n "(cached) " >&6
8953 else
8954 ac_wine_try_cflags_saved=$CFLAGS
8955 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h. */
8958 int main(int argc, char **argv) { return 0; }
8959 _ACEOF
8960 if ac_fn_c_try_link "$LINENO"; then :
8961 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8962 else
8963 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 CFLAGS=$ac_wine_try_cflags_saved
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8970 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8971 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8972 case $host_os in
8973 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8974 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8975 esac
8977 # Extract the first word of "prelink", so it can be a program name with args.
8978 set dummy prelink; ac_word=$2
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8980 $as_echo_n "checking for $ac_word... " >&6; }
8981 if ${ac_cv_path_PRELINK+:} false; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 case $PRELINK in
8985 [\\/]* | ?:[\\/]*)
8986 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8990 for as_dir in /sbin /usr/sbin $PATH
8992 IFS=$as_save_IFS
8993 test -z "$as_dir" && as_dir=.
8994 for ac_exec_ext in '' $ac_executable_extensions; do
8995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8996 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8998 break 2
9000 done
9001 done
9002 IFS=$as_save_IFS
9004 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9006 esac
9008 PRELINK=$ac_cv_path_PRELINK
9009 if test -n "$PRELINK"; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9011 $as_echo "$PRELINK" >&6; }
9012 else
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 $as_echo "no" >&6; }
9018 if test "x$PRELINK" = xfalse
9019 then
9020 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9024 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9025 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9026 $as_echo_n "(cached) " >&6
9027 else
9028 ac_wine_try_cflags_saved=$CFLAGS
9029 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9032 int main(int argc, char **argv) { return 0; }
9033 _ACEOF
9034 if ac_fn_c_try_link "$LINENO"; then :
9035 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9036 else
9037 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9039 rm -f core conftest.err conftest.$ac_objext \
9040 conftest$ac_exeext conftest.$ac_ext
9041 CFLAGS=$ac_wine_try_cflags_saved
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9044 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9045 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9046 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9049 esac
9051 else
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9053 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9054 if ${ac_cv_c_dll_unixware+:} false; then :
9055 $as_echo_n "(cached) " >&6
9056 else
9057 ac_wine_try_cflags_saved=$CFLAGS
9058 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9060 /* end confdefs.h. */
9061 void myfunc() {}
9062 _ACEOF
9063 if ac_fn_c_try_link "$LINENO"; then :
9064 ac_cv_c_dll_unixware="yes"
9065 else
9066 ac_cv_c_dll_unixware="no"
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9070 CFLAGS=$ac_wine_try_cflags_saved
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9073 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9074 if test "$ac_cv_c_dll_unixware" = "yes"
9075 then
9076 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9079 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9081 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9083 LIBWINE_INSTALL_DEV="libwine.so"
9085 LIBWINE_DEPENDS="wine.map"
9088 esac
9090 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9091 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9092 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9093 enable_winemac_drv=${enable_winemac_drv:-no}
9094 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9096 CROSSTARGET=""
9098 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9099 then
9100 case "$host_cpu" in
9101 arm*)
9102 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9103 i[3456789]86*)
9104 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
9105 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9106 mingw32-gcc" ;;
9107 x86_64)
9108 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
9109 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9111 ac_prefix_list="" ;;
9112 esac
9113 for ac_prog in $ac_prefix_list
9115 # Extract the first word of "$ac_prog", so it can be a program name with args.
9116 set dummy $ac_prog; ac_word=$2
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9118 $as_echo_n "checking for $ac_word... " >&6; }
9119 if ${ac_cv_prog_CROSSCC+:} false; then :
9120 $as_echo_n "(cached) " >&6
9121 else
9122 if test -n "$CROSSCC"; then
9123 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9124 else
9125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9126 for as_dir in $PATH
9128 IFS=$as_save_IFS
9129 test -z "$as_dir" && as_dir=.
9130 for ac_exec_ext in '' $ac_executable_extensions; do
9131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9132 ac_cv_prog_CROSSCC="$ac_prog"
9133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9134 break 2
9136 done
9137 done
9138 IFS=$as_save_IFS
9142 CROSSCC=$ac_cv_prog_CROSSCC
9143 if test -n "$CROSSCC"; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9145 $as_echo "$CROSSCC" >&6; }
9146 else
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9148 $as_echo "no" >&6; }
9152 test -n "$CROSSCC" && break
9153 done
9154 test -n "$CROSSCC" || CROSSCC="false"
9156 if test "$CROSSCC" != "false"
9157 then
9158 ac_save_CC="$CC"
9159 CC="$CROSSCC"
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9161 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9166 main ()
9170 return 0;
9172 _ACEOF
9173 if ac_fn_c_try_compile "$LINENO"; then :
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9175 $as_echo "yes" >&6; }
9176 set x $CROSSCC
9177 shift
9178 while test $# -ge 1
9180 case "$1" in
9181 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9182 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9183 esac
9184 shift
9185 done
9186 else
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9188 $as_echo "no" >&6; }
9190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9191 CC="$ac_save_CC"
9192 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9198 if test "$ac_cv_header_pthread_h" = "yes"
9199 then
9200 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9201 if test "x$ac_cv_func_pthread_create" = xyes; then :
9203 else
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9205 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9206 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9207 $as_echo_n "(cached) " >&6
9208 else
9209 ac_check_lib_save_LIBS=$LIBS
9210 LIBS="-lpthread $LIBS"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9214 /* Override any GCC internal prototype to avoid an error.
9215 Use char because int might match the return type of a GCC
9216 builtin and then its argument prototype would still apply. */
9217 #ifdef __cplusplus
9218 extern "C"
9219 #endif
9220 char pthread_create ();
9222 main ()
9224 return pthread_create ();
9226 return 0;
9228 _ACEOF
9229 if ac_fn_c_try_link "$LINENO"; then :
9230 ac_cv_lib_pthread_pthread_create=yes
9231 else
9232 ac_cv_lib_pthread_pthread_create=no
9234 rm -f core conftest.err conftest.$ac_objext \
9235 conftest$ac_exeext conftest.$ac_ext
9236 LIBS=$ac_check_lib_save_LIBS
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9239 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9240 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9241 PTHREAD_LIBS="-lpthread"
9248 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9249 case "x$with_pthread" in
9250 xno) ;;
9251 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9252 Wine cannot support threads without libpthread.
9253 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9254 esac
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9260 $as_echo_n "checking for X... " >&6; }
9263 # Check whether --with-x was given.
9264 if test "${with_x+set}" = set; then :
9265 withval=$with_x;
9268 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9269 if test "x$with_x" = xno; then
9270 # The user explicitly disabled X.
9271 have_x=disabled
9272 else
9273 case $x_includes,$x_libraries in #(
9274 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9275 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9276 $as_echo_n "(cached) " >&6
9277 else
9278 # One or both of the vars are not set, and there is no cached value.
9279 ac_x_includes=no ac_x_libraries=no
9280 rm -f -r conftest.dir
9281 if mkdir conftest.dir; then
9282 cd conftest.dir
9283 cat >Imakefile <<'_ACEOF'
9284 incroot:
9285 @echo incroot='${INCROOT}'
9286 usrlibdir:
9287 @echo usrlibdir='${USRLIBDIR}'
9288 libdir:
9289 @echo libdir='${LIBDIR}'
9290 _ACEOF
9291 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9292 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9293 for ac_var in incroot usrlibdir libdir; do
9294 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9295 done
9296 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9297 for ac_extension in a so sl dylib la dll; do
9298 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9299 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9300 ac_im_usrlibdir=$ac_im_libdir; break
9302 done
9303 # Screen out bogus values from the imake configuration. They are
9304 # bogus both because they are the default anyway, and because
9305 # using them would break gcc on systems where it needs fixed includes.
9306 case $ac_im_incroot in
9307 /usr/include) ac_x_includes= ;;
9308 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9309 esac
9310 case $ac_im_usrlibdir in
9311 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9312 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9313 esac
9315 cd ..
9316 rm -f -r conftest.dir
9319 # Standard set of common directories for X headers.
9320 # Check X11 before X11Rn because it is often a symlink to the current release.
9321 ac_x_header_dirs='
9322 /usr/X11/include
9323 /usr/X11R7/include
9324 /usr/X11R6/include
9325 /usr/X11R5/include
9326 /usr/X11R4/include
9328 /usr/include/X11
9329 /usr/include/X11R7
9330 /usr/include/X11R6
9331 /usr/include/X11R5
9332 /usr/include/X11R4
9334 /usr/local/X11/include
9335 /usr/local/X11R7/include
9336 /usr/local/X11R6/include
9337 /usr/local/X11R5/include
9338 /usr/local/X11R4/include
9340 /usr/local/include/X11
9341 /usr/local/include/X11R7
9342 /usr/local/include/X11R6
9343 /usr/local/include/X11R5
9344 /usr/local/include/X11R4
9346 /usr/X386/include
9347 /usr/x386/include
9348 /usr/XFree86/include/X11
9350 /usr/include
9351 /usr/local/include
9352 /usr/unsupported/include
9353 /usr/athena/include
9354 /usr/local/x11r5/include
9355 /usr/lpp/Xamples/include
9357 /usr/openwin/include
9358 /usr/openwin/share/include'
9360 if test "$ac_x_includes" = no; then
9361 # Guess where to find include files, by looking for Xlib.h.
9362 # First, try using that file with no special directory specified.
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 #include <X11/Xlib.h>
9366 _ACEOF
9367 if ac_fn_c_try_cpp "$LINENO"; then :
9368 # We can compile using X headers with no special include directory.
9369 ac_x_includes=
9370 else
9371 for ac_dir in $ac_x_header_dirs; do
9372 if test -r "$ac_dir/X11/Xlib.h"; then
9373 ac_x_includes=$ac_dir
9374 break
9376 done
9378 rm -f conftest.err conftest.i conftest.$ac_ext
9379 fi # $ac_x_includes = no
9381 if test "$ac_x_libraries" = no; then
9382 # Check for the libraries.
9383 # See if we find them without any special options.
9384 # Don't add to $LIBS permanently.
9385 ac_save_LIBS=$LIBS
9386 LIBS="-lX11 $LIBS"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 #include <X11/Xlib.h>
9391 main ()
9393 XrmInitialize ()
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 LIBS=$ac_save_LIBS
9400 # We can link X programs with no special library path.
9401 ac_x_libraries=
9402 else
9403 LIBS=$ac_save_LIBS
9404 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9406 # Don't even attempt the hair of trying to link an X program!
9407 for ac_extension in a so sl dylib la dll; do
9408 if test -r "$ac_dir/libX11.$ac_extension"; then
9409 ac_x_libraries=$ac_dir
9410 break 2
9412 done
9413 done
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 fi # $ac_x_libraries = no
9419 case $ac_x_includes,$ac_x_libraries in #(
9420 no,* | *,no | *\'*)
9421 # Didn't find X, or a directory has "'" in its name.
9422 ac_cv_have_x="have_x=no";; #(
9424 # Record where we found X for the cache.
9425 ac_cv_have_x="have_x=yes\
9426 ac_x_includes='$ac_x_includes'\
9427 ac_x_libraries='$ac_x_libraries'"
9428 esac
9430 ;; #(
9431 *) have_x=yes;;
9432 esac
9433 eval "$ac_cv_have_x"
9434 fi # $with_x != no
9436 if test "$have_x" != yes; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9438 $as_echo "$have_x" >&6; }
9439 no_x=yes
9440 else
9441 # If each of the values was on the command line, it overrides each guess.
9442 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9443 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9444 # Update the cache value to reflect the command line values.
9445 ac_cv_have_x="have_x=yes\
9446 ac_x_includes='$x_includes'\
9447 ac_x_libraries='$x_libraries'"
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9449 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9452 if test "$no_x" = yes; then
9453 # Not all programs may use this symbol, but it does not hurt to define it.
9455 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9457 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9458 else
9459 if test -n "$x_includes"; then
9460 X_CFLAGS="$X_CFLAGS -I$x_includes"
9463 # It would also be nice to do this for all -L options, not just this one.
9464 if test -n "$x_libraries"; then
9465 X_LIBS="$X_LIBS -L$x_libraries"
9466 # For Solaris; some versions of Sun CC require a space after -R and
9467 # others require no space. Words are not sufficient . . . .
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9469 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9470 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9471 ac_xsave_c_werror_flag=$ac_c_werror_flag
9472 ac_c_werror_flag=yes
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9477 main ()
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9486 $as_echo "no" >&6; }
9487 X_LIBS="$X_LIBS -R$x_libraries"
9488 else
9489 LIBS="$ac_xsave_LIBS -R $x_libraries"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9494 main ()
9498 return 0;
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9503 $as_echo "yes" >&6; }
9504 X_LIBS="$X_LIBS -R $x_libraries"
9505 else
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9507 $as_echo "neither works" >&6; }
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 ac_c_werror_flag=$ac_xsave_c_werror_flag
9515 LIBS=$ac_xsave_LIBS
9518 # Check for system-dependent libraries X programs must link with.
9519 # Do this before checking for the system-independent R6 libraries
9520 # (-lICE), since we may need -lsocket or whatever for X linking.
9522 if test "$ISC" = yes; then
9523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9524 else
9525 # Martyn Johnson says this is needed for Ultrix, if the X
9526 # libraries were built with DECnet support. And Karl Berry says
9527 # the Alpha needs dnet_stub (dnet does not exist).
9528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9535 #ifdef __cplusplus
9536 extern "C"
9537 #endif
9538 char XOpenDisplay ();
9540 main ()
9542 return XOpenDisplay ();
9544 return 0;
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9549 else
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9551 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9552 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 ac_check_lib_save_LIBS=$LIBS
9556 LIBS="-ldnet $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_dnet_ntoa=yes
9577 else
9578 ac_cv_lib_dnet_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_dnet_ntoa" >&5
9585 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9586 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9587 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9590 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9592 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9593 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_check_lib_save_LIBS=$LIBS
9597 LIBS="-ldnet_stub $LIBS"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9604 #ifdef __cplusplus
9605 extern "C"
9606 #endif
9607 char dnet_ntoa ();
9609 main ()
9611 return dnet_ntoa ();
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9618 else
9619 ac_cv_lib_dnet_stub_dnet_ntoa=no
9621 rm -f core conftest.err conftest.$ac_objext \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9626 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9627 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9628 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9633 rm -f core conftest.err conftest.$ac_objext \
9634 conftest$ac_exeext conftest.$ac_ext
9635 LIBS="$ac_xsave_LIBS"
9637 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9638 # to get the SysV transport functions.
9639 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9640 # needs -lnsl.
9641 # The nsl library prevents programs from opening the X display
9642 # on Irix 5.2, according to T.E. Dickey.
9643 # The functions gethostbyname, getservbyname, and inet_addr are
9644 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9645 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9646 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9650 if test $ac_cv_func_gethostbyname = no; then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9652 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9653 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 ac_check_lib_save_LIBS=$LIBS
9657 LIBS="-lnsl $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_nsl_gethostbyname=yes
9678 else
9679 ac_cv_lib_nsl_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_nsl_gethostbyname" >&5
9686 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9687 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9688 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9691 if test $ac_cv_lib_nsl_gethostbyname = no; then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9693 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9694 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_lib_save_LIBS=$LIBS
9698 LIBS="-lbsd $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char gethostbyname ();
9710 main ()
9712 return gethostbyname ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 ac_cv_lib_bsd_gethostbyname=yes
9719 else
9720 ac_cv_lib_bsd_gethostbyname=no
9722 rm -f core conftest.err conftest.$ac_objext \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9727 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9728 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9729 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9735 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9736 # socket/setsockopt and other routines are undefined under SCO ODT
9737 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9738 # on later versions), says Simon Leinen: it contains gethostby*
9739 # variants that don't use the name server (or something). -lsocket
9740 # must be given before -lnsl if both are needed. We assume that
9741 # if connect needs -lnsl, so does gethostbyname.
9742 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9743 if test "x$ac_cv_func_connect" = xyes; then :
9747 if test $ac_cv_func_connect = no; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9749 $as_echo_n "checking for connect in -lsocket... " >&6; }
9750 if ${ac_cv_lib_socket_connect+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_check_lib_save_LIBS=$LIBS
9754 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9761 #ifdef __cplusplus
9762 extern "C"
9763 #endif
9764 char connect ();
9766 main ()
9768 return connect ();
9770 return 0;
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774 ac_cv_lib_socket_connect=yes
9775 else
9776 ac_cv_lib_socket_connect=no
9778 rm -f core conftest.err conftest.$ac_objext \
9779 conftest$ac_exeext conftest.$ac_ext
9780 LIBS=$ac_check_lib_save_LIBS
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9783 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9784 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9785 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9790 # Guillermo Gomez says -lposix is necessary on A/UX.
9791 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9792 if test "x$ac_cv_func_remove" = xyes; then :
9796 if test $ac_cv_func_remove = no; then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9798 $as_echo_n "checking for remove in -lposix... " >&6; }
9799 if ${ac_cv_lib_posix_remove+:} false; then :
9800 $as_echo_n "(cached) " >&6
9801 else
9802 ac_check_lib_save_LIBS=$LIBS
9803 LIBS="-lposix $LIBS"
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 char remove ();
9815 main ()
9817 return remove ();
9819 return 0;
9821 _ACEOF
9822 if ac_fn_c_try_link "$LINENO"; then :
9823 ac_cv_lib_posix_remove=yes
9824 else
9825 ac_cv_lib_posix_remove=no
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 LIBS=$ac_check_lib_save_LIBS
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9832 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9833 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9834 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9839 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9840 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9841 if test "x$ac_cv_func_shmat" = xyes; then :
9845 if test $ac_cv_func_shmat = no; then
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9847 $as_echo_n "checking for shmat in -lipc... " >&6; }
9848 if ${ac_cv_lib_ipc_shmat+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850 else
9851 ac_check_lib_save_LIBS=$LIBS
9852 LIBS="-lipc $LIBS"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9859 #ifdef __cplusplus
9860 extern "C"
9861 #endif
9862 char shmat ();
9864 main ()
9866 return shmat ();
9868 return 0;
9870 _ACEOF
9871 if ac_fn_c_try_link "$LINENO"; then :
9872 ac_cv_lib_ipc_shmat=yes
9873 else
9874 ac_cv_lib_ipc_shmat=no
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_lib_save_LIBS
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9881 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9882 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9883 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9889 # Check for libraries that X11R6 Xt/Xaw programs need.
9890 ac_save_LDFLAGS=$LDFLAGS
9891 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9892 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9893 # check for ICE first), but we must link in the order -lSM -lICE or
9894 # we get undefined symbols. So assume we have SM if we have ICE.
9895 # These have to be linked with before -lX11, unlike the other
9896 # libraries we check for below, so use a different variable.
9897 # John Interrante, Karl Berry
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9899 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9900 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9901 $as_echo_n "(cached) " >&6
9902 else
9903 ac_check_lib_save_LIBS=$LIBS
9904 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9911 #ifdef __cplusplus
9912 extern "C"
9913 #endif
9914 char IceConnectionNumber ();
9916 main ()
9918 return IceConnectionNumber ();
9920 return 0;
9922 _ACEOF
9923 if ac_fn_c_try_link "$LINENO"; then :
9924 ac_cv_lib_ICE_IceConnectionNumber=yes
9925 else
9926 ac_cv_lib_ICE_IceConnectionNumber=no
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 LIBS=$ac_check_lib_save_LIBS
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9933 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9934 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9935 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9938 LDFLAGS=$ac_save_LDFLAGS
9943 if test "$have_x" = "yes"
9944 then
9945 ac_save_CPPFLAGS="$CPPFLAGS"
9946 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9949 $as_echo_n "checking for -lX11... " >&6; }
9950 if ${ac_cv_lib_soname_X11+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_check_soname_save_LIBS=$LIBS
9954 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9958 /* Override any GCC internal prototype to avoid an error.
9959 Use char because int might match the return type of a GCC
9960 builtin and then its argument prototype would still apply. */
9961 #ifdef __cplusplus
9962 extern "C"
9963 #endif
9964 char XCreateWindow ();
9966 main ()
9968 return XCreateWindow ();
9970 return 0;
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 case "$LIBEXT" in
9975 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9976 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'` ;;
9977 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9978 if ${ac_cv_lib_soname_X11:+false} :; then :
9979 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9980 fi ;;
9981 esac
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_soname_save_LIBS
9987 if ${ac_cv_lib_soname_X11:+false} :; then :
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9989 $as_echo "not found" >&6; }
9991 else
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9993 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9995 cat >>confdefs.h <<_ACEOF
9996 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9997 _ACEOF
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10002 $as_echo_n "checking for -lXext... " >&6; }
10003 if ${ac_cv_lib_soname_Xext+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_check_soname_save_LIBS=$LIBS
10007 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10014 #ifdef __cplusplus
10015 extern "C"
10016 #endif
10017 char XextCreateExtension ();
10019 main ()
10021 return XextCreateExtension ();
10023 return 0;
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"; then :
10027 case "$LIBEXT" in
10028 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10029 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'` ;;
10030 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10031 if ${ac_cv_lib_soname_Xext:+false} :; then :
10032 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10033 fi ;;
10034 esac
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_soname_save_LIBS
10040 if ${ac_cv_lib_soname_Xext:+false} :; then :
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10042 $as_echo "not found" >&6; }
10044 else
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10046 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10048 cat >>confdefs.h <<_ACEOF
10049 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10050 _ACEOF
10052 X_LIBS="$X_LIBS -lXext"
10054 X_LIBS="$X_LIBS -lX11"
10056 for ac_header in X11/Xlib.h \
10057 X11/XKBlib.h \
10058 X11/Xutil.h \
10059 X11/Xcursor/Xcursor.h \
10060 X11/extensions/shape.h \
10061 X11/extensions/XInput.h \
10062 X11/extensions/XInput2.h \
10063 X11/extensions/XShm.h \
10064 X11/extensions/Xcomposite.h \
10065 X11/extensions/Xfixes.h \
10066 X11/extensions/Xinerama.h \
10067 X11/extensions/Xrandr.h \
10068 X11/extensions/Xrender.h \
10069 X11/extensions/xf86vmode.h \
10070 X11/extensions/xf86vmproto.h
10071 do :
10072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10073 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10074 # include <X11/Xlib.h>
10075 #endif
10076 #ifdef HAVE_X11_XUTIL_H
10077 # include <X11/Xutil.h>
10078 #endif
10080 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10081 cat >>confdefs.h <<_ACEOF
10082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10083 _ACEOF
10087 done
10090 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10091 then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10093 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10094 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10095 $as_echo_n "(cached) " >&6
10096 else
10097 ac_check_lib_save_LIBS=$LIBS
10098 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10102 /* Override any GCC internal prototype to avoid an error.
10103 Use char because int might match the return type of a GCC
10104 builtin and then its argument prototype would still apply. */
10105 #ifdef __cplusplus
10106 extern "C"
10107 #endif
10108 char XkbQueryExtension ();
10110 main ()
10112 return XkbQueryExtension ();
10114 return 0;
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"; then :
10118 ac_cv_lib_X11_XkbQueryExtension=yes
10119 else
10120 ac_cv_lib_X11_XkbQueryExtension=no
10122 rm -f core conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10127 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10128 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10130 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10136 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10137 then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10139 $as_echo_n "checking for -lXcursor... " >&6; }
10140 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10141 $as_echo_n "(cached) " >&6
10142 else
10143 ac_check_soname_save_LIBS=$LIBS
10144 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char XcursorImageLoadCursor ();
10156 main ()
10158 return XcursorImageLoadCursor ();
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 case "$LIBEXT" in
10165 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10166 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'` ;;
10167 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10168 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10169 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10170 fi ;;
10171 esac
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_soname_save_LIBS
10177 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10179 $as_echo "not found" >&6; }
10181 else
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10183 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10185 cat >>confdefs.h <<_ACEOF
10186 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10187 _ACEOF
10192 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10193 case "x$with_xcursor" in
10194 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10195 xno) ;;
10196 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10197 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10198 esac
10202 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10203 then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10205 $as_echo_n "checking for -lXi... " >&6; }
10206 if ${ac_cv_lib_soname_Xi+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_check_soname_save_LIBS=$LIBS
10210 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10217 #ifdef __cplusplus
10218 extern "C"
10219 #endif
10220 char XOpenDevice ();
10222 main ()
10224 return XOpenDevice ();
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 case "$LIBEXT" in
10231 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10232 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'` ;;
10233 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10234 if ${ac_cv_lib_soname_Xi:+false} :; then :
10235 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10236 fi ;;
10237 esac
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 LIBS=$ac_check_soname_save_LIBS
10243 if ${ac_cv_lib_soname_Xi:+false} :; then :
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10245 $as_echo "not found" >&6; }
10247 else
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10249 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10251 cat >>confdefs.h <<_ACEOF
10252 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10253 _ACEOF
10258 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10259 case "x$with_xinput" in
10260 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10261 xno) ;;
10262 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10263 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10264 esac
10268 if test "x$ac_cv_lib_soname_Xi" != x
10269 then
10270 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10271 case "x$with_xinput2" in
10272 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10273 xno) ;;
10274 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10275 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10276 esac
10281 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10282 then
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10284 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10285 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10286 $as_echo_n "(cached) " >&6
10287 else
10288 ac_check_lib_save_LIBS=$LIBS
10289 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10296 #ifdef __cplusplus
10297 extern "C"
10298 #endif
10299 char XShmQueryExtension ();
10301 main ()
10303 return XShmQueryExtension ();
10305 return 0;
10307 _ACEOF
10308 if ac_fn_c_try_link "$LINENO"; then :
10309 ac_cv_lib_Xext_XShmQueryExtension=yes
10310 else
10311 ac_cv_lib_Xext_XShmQueryExtension=no
10313 rm -f core conftest.err conftest.$ac_objext \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_lib_save_LIBS
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10318 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10319 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10321 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10326 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10327 case "x$with_xshm" in
10328 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10329 xno) ;;
10330 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10331 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10332 esac
10336 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10337 then
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10339 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10340 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10341 $as_echo_n "(cached) " >&6
10342 else
10343 ac_check_lib_save_LIBS=$LIBS
10344 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10351 #ifdef __cplusplus
10352 extern "C"
10353 #endif
10354 char XShapeQueryExtension ();
10356 main ()
10358 return XShapeQueryExtension ();
10360 return 0;
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"; then :
10364 ac_cv_lib_Xext_XShapeQueryExtension=yes
10365 else
10366 ac_cv_lib_Xext_XShapeQueryExtension=no
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_lib_save_LIBS
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10373 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10374 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10376 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10381 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10382 case "x$with_xshape" in
10383 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10384 xno) ;;
10385 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10386 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10387 esac
10391 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10392 then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10394 $as_echo_n "checking for -lXxf86vm... " >&6; }
10395 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char XF86VidModeQueryExtension ();
10411 main ()
10413 return XF86VidModeQueryExtension ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10424 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10436 else
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10438 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10440 cat >>confdefs.h <<_ACEOF
10441 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10442 _ACEOF
10447 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10448 case "x$with_xxf86vm" in
10449 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10450 xno) ;;
10451 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10452 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10453 esac
10457 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10458 then
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10460 $as_echo_n "checking for -lXrender... " >&6; }
10461 if ${ac_cv_lib_soname_Xrender+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_check_soname_save_LIBS=$LIBS
10465 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10472 #ifdef __cplusplus
10473 extern "C"
10474 #endif
10475 char XRenderQueryExtension ();
10477 main ()
10479 return XRenderQueryExtension ();
10481 return 0;
10483 _ACEOF
10484 if ac_fn_c_try_link "$LINENO"; then :
10485 case "$LIBEXT" in
10486 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10487 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'` ;;
10488 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10489 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10490 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10491 fi ;;
10492 esac
10494 rm -f core conftest.err conftest.$ac_objext \
10495 conftest$ac_exeext conftest.$ac_ext
10496 LIBS=$ac_check_soname_save_LIBS
10498 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10500 $as_echo "not found" >&6; }
10502 else
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10504 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10506 cat >>confdefs.h <<_ACEOF
10507 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10508 _ACEOF
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10511 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10512 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 ac_check_lib_save_LIBS=$LIBS
10516 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10523 #ifdef __cplusplus
10524 extern "C"
10525 #endif
10526 char XRenderSetPictureTransform ();
10528 main ()
10530 return XRenderSetPictureTransform ();
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10537 else
10538 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 LIBS=$ac_check_lib_save_LIBS
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10545 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10546 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10548 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10553 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10554 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10555 $as_echo_n "(cached) " >&6
10556 else
10557 ac_check_lib_save_LIBS=$LIBS
10558 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10565 #ifdef __cplusplus
10566 extern "C"
10567 #endif
10568 char XRenderCreateLinearGradient ();
10570 main ()
10572 return XRenderCreateLinearGradient ();
10574 return 0;
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10579 else
10580 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_lib_save_LIBS
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10587 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10588 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10590 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10597 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10598 case "x$with_xrender" in
10599 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10600 xno) ;;
10601 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10602 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10603 esac
10607 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10608 then
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10611 #include <X11/Xlib.h>
10612 #include <X11/extensions/Xrandr.h>
10614 main ()
10616 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10618 return 0;
10620 _ACEOF
10621 if ac_fn_c_try_compile "$LINENO"; then :
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10623 $as_echo_n "checking for -lXrandr... " >&6; }
10624 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 ac_check_soname_save_LIBS=$LIBS
10628 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10635 #ifdef __cplusplus
10636 extern "C"
10637 #endif
10638 char XRRQueryExtension ();
10640 main ()
10642 return XRRQueryExtension ();
10644 return 0;
10646 _ACEOF
10647 if ac_fn_c_try_link "$LINENO"; then :
10648 case "$LIBEXT" in
10649 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10650 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'` ;;
10651 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10652 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10653 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10654 fi ;;
10655 esac
10657 rm -f core conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LIBS=$ac_check_soname_save_LIBS
10661 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10663 $as_echo "not found" >&6; }
10665 else
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10667 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10669 cat >>confdefs.h <<_ACEOF
10670 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10671 _ACEOF
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10675 #include <X11/Xlib.h>
10676 #include <X11/extensions/Xrandr.h>
10678 main ()
10680 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10682 return 0;
10684 _ACEOF
10685 if ac_fn_c_try_compile "$LINENO"; then :
10687 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10695 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10696 case "x$with_xrandr" in
10697 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10698 xno) ;;
10699 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10700 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10701 esac
10705 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10706 then
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10709 #include <X11/Xlib.h>
10710 #include <X11/extensions/Xfixes.h>
10712 main ()
10714 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10716 return 0;
10718 _ACEOF
10719 if ac_fn_c_try_compile "$LINENO"; then :
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10721 $as_echo_n "checking for -lXfixes... " >&6; }
10722 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10723 $as_echo_n "(cached) " >&6
10724 else
10725 ac_check_soname_save_LIBS=$LIBS
10726 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10730 /* Override any GCC internal prototype to avoid an error.
10731 Use char because int might match the return type of a GCC
10732 builtin and then its argument prototype would still apply. */
10733 #ifdef __cplusplus
10734 extern "C"
10735 #endif
10736 char XFixesQueryVersion ();
10738 main ()
10740 return XFixesQueryVersion ();
10742 return 0;
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 case "$LIBEXT" in
10747 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10748 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'` ;;
10749 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10750 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10751 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10752 fi ;;
10753 esac
10755 rm -f core conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_soname_save_LIBS
10759 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10761 $as_echo "not found" >&6; }
10763 else
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10765 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10767 cat >>confdefs.h <<_ACEOF
10768 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10769 _ACEOF
10774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10776 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10777 case "x$with_xfixes" in
10778 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10779 xno) ;;
10780 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10781 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10782 esac
10786 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10787 then
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10790 #include <X11/Xlib.h>
10791 #include <X11/extensions/Xinerama.h>
10793 main ()
10795 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10797 return 0;
10799 _ACEOF
10800 if ac_fn_c_try_compile "$LINENO"; then :
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10802 $as_echo_n "checking for -lXinerama... " >&6; }
10803 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10804 $as_echo_n "(cached) " >&6
10805 else
10806 ac_check_soname_save_LIBS=$LIBS
10807 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10814 #ifdef __cplusplus
10815 extern "C"
10816 #endif
10817 char XineramaQueryScreens ();
10819 main ()
10821 return XineramaQueryScreens ();
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 case "$LIBEXT" in
10828 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10829 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'` ;;
10830 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10831 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10832 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10833 fi ;;
10834 esac
10836 rm -f core conftest.err conftest.$ac_objext \
10837 conftest$ac_exeext conftest.$ac_ext
10838 LIBS=$ac_check_soname_save_LIBS
10840 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10842 $as_echo "not found" >&6; }
10844 else
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10846 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10848 cat >>confdefs.h <<_ACEOF
10849 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10850 _ACEOF
10855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10857 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10858 case "x$with_xinerama" in
10859 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10860 xno) ;;
10861 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10862 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10863 esac
10867 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10868 then
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10870 $as_echo_n "checking for -lXcomposite... " >&6; }
10871 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10872 $as_echo_n "(cached) " >&6
10873 else
10874 ac_check_soname_save_LIBS=$LIBS
10875 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10882 #ifdef __cplusplus
10883 extern "C"
10884 #endif
10885 char XCompositeRedirectWindow ();
10887 main ()
10889 return XCompositeRedirectWindow ();
10891 return 0;
10893 _ACEOF
10894 if ac_fn_c_try_link "$LINENO"; then :
10895 case "$LIBEXT" in
10896 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10897 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'` ;;
10898 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10899 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10900 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10901 fi ;;
10902 esac
10904 rm -f core conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_soname_save_LIBS
10908 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10910 $as_echo "not found" >&6; }
10912 else
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10914 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10916 cat >>confdefs.h <<_ACEOF
10917 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10918 _ACEOF
10923 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10924 case "x$with_xcomposite" in
10925 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10926 xno) ;;
10927 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10928 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10929 esac
10933 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10934 #include <X11/Xlib.h>
10935 #endif
10937 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10939 cat >>confdefs.h <<_ACEOF
10940 #define HAVE_XICCALLBACK_CALLBACK 1
10941 _ACEOF
10945 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10946 #include <X11/Xlib.h>
10947 #endif
10949 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10951 cat >>confdefs.h <<_ACEOF
10952 #define HAVE_XEVENT_XCOOKIE 1
10953 _ACEOF
10960 opengl_msg=""
10961 if test "x$with_opengl" != "xno"
10962 then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10964 $as_echo_n "checking for -lGL... " >&6; }
10965 if ${ac_cv_lib_soname_GL+:} false; then :
10966 $as_echo_n "(cached) " >&6
10967 else
10968 ac_check_soname_save_LIBS=$LIBS
10969 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10976 #ifdef __cplusplus
10977 extern "C"
10978 #endif
10979 char glXCreateContext ();
10981 main ()
10983 return glXCreateContext ();
10985 return 0;
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 case "$LIBEXT" in
10990 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10991 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'` ;;
10992 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10993 if ${ac_cv_lib_soname_GL:+false} :; then :
10994 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10995 fi ;;
10996 esac
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_soname_save_LIBS
11002 if ${ac_cv_lib_soname_GL:+false} :; then :
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11004 $as_echo "not found" >&6; }
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11006 $as_echo_n "checking for -lGL... " >&6; }
11007 if ${ac_cv_lib_soname_GL+:} false; then :
11008 $as_echo_n "(cached) " >&6
11009 else
11010 ac_check_soname_save_LIBS=$LIBS
11011 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"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 char glXCreateContext ();
11023 main ()
11025 return glXCreateContext ();
11027 return 0;
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"; then :
11031 case "$LIBEXT" in
11032 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11033 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'` ;;
11034 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11035 if ${ac_cv_lib_soname_GL:+false} :; then :
11036 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11037 fi ;;
11038 esac
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_soname_save_LIBS
11044 if ${ac_cv_lib_soname_GL:+false} :; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11046 $as_echo "not found" >&6; }
11047 if test -f /usr/X11R6/lib/libGL.a
11048 then
11049 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11050 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11051 else
11052 opengl_msg="No OpenGL library found on this system."
11054 else
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11056 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11058 cat >>confdefs.h <<_ACEOF
11059 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11060 _ACEOF
11062 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"
11064 else
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11066 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11068 cat >>confdefs.h <<_ACEOF
11069 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11070 _ACEOF
11072 OPENGL_LIBS="-lGL"
11074 if test "x$with_glu" != "xno"
11075 then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11077 $as_echo_n "checking for -lGLU... " >&6; }
11078 if ${ac_cv_lib_soname_GLU+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_soname_save_LIBS=$LIBS
11082 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char gluLookAt ();
11094 main ()
11096 return gluLookAt ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 case "$LIBEXT" in
11103 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11104 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'` ;;
11105 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11106 if ${ac_cv_lib_soname_GLU:+false} :; then :
11107 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11108 fi ;;
11109 esac
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 LIBS=$ac_check_soname_save_LIBS
11115 if ${ac_cv_lib_soname_GLU:+false} :; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11117 $as_echo "not found" >&6; }
11119 else
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11121 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11123 cat >>confdefs.h <<_ACEOF
11124 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11125 _ACEOF
11129 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11130 case "x$with_glu" in
11131 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11132 xno) ;;
11133 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11134 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11135 esac
11140 if test "x$with_osmesa" != "xno"
11141 then
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11143 $as_echo_n "checking for -lOSMesa... " >&6; }
11144 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_soname_save_LIBS=$LIBS
11148 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char OSMesaGetProcAddress ();
11160 main ()
11162 return OSMesaGetProcAddress ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 case "$LIBEXT" in
11169 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11170 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'` ;;
11171 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11172 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11173 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11174 fi ;;
11175 esac
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_soname_save_LIBS
11181 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11183 $as_echo "not found" >&6; }
11185 else
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11187 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11189 cat >>confdefs.h <<_ACEOF
11190 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11191 _ACEOF
11195 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11196 case "x$with_osmesa" in
11197 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11198 xno) ;;
11199 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11200 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11201 esac
11206 if test -n "$opengl_msg"; then :
11207 case "x$with_opengl" in
11208 x) as_fn_append wine_warnings "|$opengl_msg
11209 OpenGL and Direct3D won't be supported." ;;
11210 xno) ;;
11211 *) as_fn_error $? "$opengl_msg
11212 OpenGL and Direct3D won't be supported.
11213 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11214 esac
11218 CPPFLAGS="$ac_save_CPPFLAGS"
11219 else
11220 X_CFLAGS=""
11221 X_LIBS=""
11224 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11225 then
11226 if test "x$X_LIBS" = "x"; then :
11227 case "x$with_x" in
11228 xno) ;;
11229 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11230 without X support, which probably isn't what you want. You will need
11231 to install ${notice_platform}development packages of Xlib at the very least.
11232 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11233 esac
11234 enable_winex11_drv=${enable_winex11_drv:-no}
11236 else
11237 if test "x$X_LIBS" = "x"; then :
11238 case "x$with_x" in
11239 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11240 xno) ;;
11241 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11242 This is an error since --with-x was requested." "$LINENO" 5 ;;
11243 esac
11244 enable_winex11_drv=${enable_winex11_drv:-no}
11248 if test "$ac_cv_header_CL_cl_h" = "yes"
11249 then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11251 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11252 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-lOpenCL $LIBS"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char clGetPlatformInfo ();
11268 main ()
11270 return clGetPlatformInfo ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11277 else
11278 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11285 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11286 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11287 OPENCL_LIBS="-lOpenCL"
11292 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11293 case "x$with_opencl" in
11294 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11295 xno) ;;
11296 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11297 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11298 esac
11299 enable_opencl=${enable_opencl:-no}
11302 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11303 then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11305 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11306 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11307 $as_echo_n "(cached) " >&6
11308 else
11309 ac_check_lib_save_LIBS=$LIBS
11310 LIBS="-lpcap $LIBS"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11314 /* Override any GCC internal prototype to avoid an error.
11315 Use char because int might match the return type of a GCC
11316 builtin and then its argument prototype would still apply. */
11317 #ifdef __cplusplus
11318 extern "C"
11319 #endif
11320 char pcap_create ();
11322 main ()
11324 return pcap_create ();
11326 return 0;
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"; then :
11330 ac_cv_lib_pcap_pcap_create=yes
11331 else
11332 ac_cv_lib_pcap_pcap_create=no
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_lib_save_LIBS
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11339 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11340 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11341 PCAP_LIBS="-lpcap"
11346 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11347 case "x$with_pcap" in
11348 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11349 xno) ;;
11350 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11351 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11352 esac
11353 enable_wpcap=${enable_wpcap:-no}
11357 if test "x$with_xml" != "xno"
11358 then
11359 if ${XML2_CFLAGS:+false} :; then :
11360 if ${PKG_CONFIG+:} false; then :
11361 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11364 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11365 if ${XML2_LIBS:+false} :; then :
11366 if ${PKG_CONFIG+:} false; then :
11367 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11370 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11371 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11374 ac_save_CPPFLAGS=$CPPFLAGS
11375 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11376 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11377 do :
11378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11381 cat >>confdefs.h <<_ACEOF
11382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11383 _ACEOF
11387 done
11389 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"
11390 then
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11392 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11393 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-lxml2 $XML2_LIBS $LIBS"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11404 #ifdef __cplusplus
11405 extern "C"
11406 #endif
11407 char xmlParseMemory ();
11409 main ()
11411 return xmlParseMemory ();
11413 return 0;
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 ac_cv_lib_xml2_xmlParseMemory=yes
11418 else
11419 ac_cv_lib_xml2_xmlParseMemory=no
11421 rm -f core conftest.err conftest.$ac_objext \
11422 conftest$ac_exeext conftest.$ac_ext
11423 LIBS=$ac_check_lib_save_LIBS
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11426 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11427 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11429 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11431 else
11432 XML2_LIBS=""
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11436 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11437 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 ac_check_lib_save_LIBS=$LIBS
11441 LIBS="-lxml2 $XML2_LIBS $LIBS"
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11448 #ifdef __cplusplus
11449 extern "C"
11450 #endif
11451 char xmlReadMemory ();
11453 main ()
11455 return xmlReadMemory ();
11457 return 0;
11459 _ACEOF
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 ac_cv_lib_xml2_xmlReadMemory=yes
11462 else
11463 ac_cv_lib_xml2_xmlReadMemory=no
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11470 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11471 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11473 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11478 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11479 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_lib_save_LIBS=$LIBS
11483 LIBS="-lxml2 $XML2_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char xmlNewDocPI ();
11495 main ()
11497 return xmlNewDocPI ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 ac_cv_lib_xml2_xmlNewDocPI=yes
11504 else
11505 ac_cv_lib_xml2_xmlNewDocPI=no
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_lib_save_LIBS
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11512 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11513 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11515 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11520 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11521 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-lxml2 $XML2_LIBS $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char xmlSchemaSetParserStructuredErrors ();
11537 main ()
11539 return xmlSchemaSetParserStructuredErrors ();
11541 return 0;
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11546 else
11547 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11554 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11555 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11557 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11562 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11563 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11564 $as_echo_n "(cached) " >&6
11565 else
11566 ac_check_lib_save_LIBS=$LIBS
11567 LIBS="-lxml2 $XML2_LIBS $LIBS"
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11574 #ifdef __cplusplus
11575 extern "C"
11576 #endif
11577 char xmlSchemaSetValidStructuredErrors ();
11579 main ()
11581 return xmlSchemaSetValidStructuredErrors ();
11583 return 0;
11585 _ACEOF
11586 if ac_fn_c_try_link "$LINENO"; then :
11587 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11588 else
11589 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11591 rm -f core conftest.err conftest.$ac_objext \
11592 conftest$ac_exeext conftest.$ac_ext
11593 LIBS=$ac_check_lib_save_LIBS
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11596 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11597 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11599 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11604 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11605 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11606 $as_echo_n "(cached) " >&6
11607 else
11608 ac_check_lib_save_LIBS=$LIBS
11609 LIBS="-lxml2 $XML2_LIBS $LIBS"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11616 #ifdef __cplusplus
11617 extern "C"
11618 #endif
11619 char xmlFirstElementChild ();
11621 main ()
11623 return xmlFirstElementChild ();
11625 return 0;
11627 _ACEOF
11628 if ac_fn_c_try_link "$LINENO"; then :
11629 ac_cv_lib_xml2_xmlFirstElementChild=yes
11630 else
11631 ac_cv_lib_xml2_xmlFirstElementChild=no
11633 rm -f core conftest.err conftest.$ac_objext \
11634 conftest$ac_exeext conftest.$ac_ext
11635 LIBS=$ac_check_lib_save_LIBS
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11638 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11639 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11641 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11645 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11647 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11649 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11653 else
11654 XML2_CFLAGS=""
11655 XML2_LIBS=""
11657 CPPFLAGS=$ac_save_CPPFLAGS
11658 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11659 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11662 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11663 case "x$with_xml" in
11664 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11665 xno) ;;
11666 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11667 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11668 esac
11672 if test "x$with_xslt" != "xno"
11673 then
11674 if ${XSLT_CFLAGS:+false} :; then :
11675 if ${PKG_CONFIG+:} false; then :
11676 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11679 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11680 if ${XSLT_LIBS:+false} :; then :
11681 if ${PKG_CONFIG+:} false; then :
11682 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11685 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11686 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11687 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11688 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11689 ac_save_CPPFLAGS=$CPPFLAGS
11690 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11691 for ac_header in libxslt/pattern.h libxslt/transform.h
11692 do :
11693 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11694 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11695 # include <libxslt/pattern.h>
11696 #endif
11698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11699 cat >>confdefs.h <<_ACEOF
11700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11701 _ACEOF
11705 done
11707 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11708 then
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11710 $as_echo_n "checking for -lxslt... " >&6; }
11711 if ${ac_cv_lib_soname_xslt+:} false; then :
11712 $as_echo_n "(cached) " >&6
11713 else
11714 ac_check_soname_save_LIBS=$LIBS
11715 LIBS="-lxslt $XSLT_LIBS $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char xsltCompilePattern ();
11727 main ()
11729 return xsltCompilePattern ();
11731 return 0;
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 case "$LIBEXT" in
11736 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11737 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'` ;;
11738 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11739 if ${ac_cv_lib_soname_xslt:+false} :; then :
11740 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11741 fi ;;
11742 esac
11744 rm -f core conftest.err conftest.$ac_objext \
11745 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_soname_save_LIBS
11748 if ${ac_cv_lib_soname_xslt:+false} :; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11750 $as_echo "not found" >&6; }
11752 else
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11754 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11756 cat >>confdefs.h <<_ACEOF
11757 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11758 _ACEOF
11762 else
11763 XSLT_CFLAGS=""
11765 CPPFLAGS=$ac_save_CPPFLAGS
11766 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11767 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11770 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11771 case "x$with_xslt" in
11772 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11773 xno) ;;
11774 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11775 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11776 esac
11780 if test "x$with_dbus" != "xno"
11781 then
11782 if ${DBUS_CFLAGS:+false} :; then :
11783 if ${PKG_CONFIG+:} false; then :
11784 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11788 if ${DBUS_LIBS:+false} :; then :
11789 if ${PKG_CONFIG+:} false; then :
11790 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11795 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11796 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11797 ac_save_CPPFLAGS=$CPPFLAGS
11798 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11799 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11800 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11802 $as_echo_n "checking for -ldbus-1... " >&6; }
11803 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11804 $as_echo_n "(cached) " >&6
11805 else
11806 ac_check_soname_save_LIBS=$LIBS
11807 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11811 /* Override any GCC internal prototype to avoid an error.
11812 Use char because int might match the return type of a GCC
11813 builtin and then its argument prototype would still apply. */
11814 #ifdef __cplusplus
11815 extern "C"
11816 #endif
11817 char dbus_connection_close ();
11819 main ()
11821 return dbus_connection_close ();
11823 return 0;
11825 _ACEOF
11826 if ac_fn_c_try_link "$LINENO"; then :
11827 case "$LIBEXT" in
11828 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11829 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'` ;;
11830 *) 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'`
11831 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11832 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11833 fi ;;
11834 esac
11836 rm -f core conftest.err conftest.$ac_objext \
11837 conftest$ac_exeext conftest.$ac_ext
11838 LIBS=$ac_check_soname_save_LIBS
11840 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11842 $as_echo "not found" >&6; }
11843 DBUS_CFLAGS=""
11844 else
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11846 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11848 cat >>confdefs.h <<_ACEOF
11849 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11850 _ACEOF
11854 else
11855 DBUS_CFLAGS=""
11859 CPPFLAGS=$ac_save_CPPFLAGS
11860 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11861 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11864 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11865 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11866 case "x$with_dbus" in
11867 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11868 xno) ;;
11869 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11870 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11871 esac
11875 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11876 then
11877 if ${HAL_CFLAGS:+false} :; then :
11878 if ${PKG_CONFIG+:} false; then :
11879 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11883 if ${HAL_LIBS:+false} :; then :
11884 if ${PKG_CONFIG+:} false; then :
11885 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11889 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11890 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11891 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11892 ac_save_CPPFLAGS=$CPPFLAGS
11893 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11894 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11895 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11897 $as_echo_n "checking for -lhal... " >&6; }
11898 if ${ac_cv_lib_soname_hal+:} false; then :
11899 $as_echo_n "(cached) " >&6
11900 else
11901 ac_check_soname_save_LIBS=$LIBS
11902 LIBS="-lhal $HAL_LIBS $LIBS"
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11909 #ifdef __cplusplus
11910 extern "C"
11911 #endif
11912 char libhal_ctx_new ();
11914 main ()
11916 return libhal_ctx_new ();
11918 return 0;
11920 _ACEOF
11921 if ac_fn_c_try_link "$LINENO"; then :
11922 case "$LIBEXT" in
11923 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11924 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'` ;;
11925 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11926 if ${ac_cv_lib_soname_hal:+false} :; then :
11927 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11928 fi ;;
11929 esac
11931 rm -f core conftest.err conftest.$ac_objext \
11932 conftest$ac_exeext conftest.$ac_ext
11933 LIBS=$ac_check_soname_save_LIBS
11935 if ${ac_cv_lib_soname_hal:+false} :; then :
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11937 $as_echo "not found" >&6; }
11938 HAL_CFLAGS=""
11939 else
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11941 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11943 cat >>confdefs.h <<_ACEOF
11944 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11945 _ACEOF
11949 else
11950 HAL_CFLAGS=""
11954 CPPFLAGS=$ac_save_CPPFLAGS
11955 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11956 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11958 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11959 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11960 case "x$with_hal" in
11961 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11962 xno) ;;
11963 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11964 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11965 esac
11970 if test "x$with_gnutls" != "xno"
11971 then
11972 if ${GNUTLS_CFLAGS:+false} :; then :
11973 if ${PKG_CONFIG+:} false; then :
11974 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11978 if ${GNUTLS_LIBS:+false} :; then :
11979 if ${PKG_CONFIG+:} false; then :
11980 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11985 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11986 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11987 ac_save_CPPFLAGS=$CPPFLAGS
11988 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11989 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11990 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11993 #include <gnutls/gnutls.h>
11994 #include <gnutls/crypto.h>
11996 main ()
11998 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_compile "$LINENO"; then :
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12005 $as_echo_n "checking for -lgnutls... " >&6; }
12006 if ${ac_cv_lib_soname_gnutls+:} false; then :
12007 $as_echo_n "(cached) " >&6
12008 else
12009 ac_check_soname_save_LIBS=$LIBS
12010 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12014 /* Override any GCC internal prototype to avoid an error.
12015 Use char because int might match the return type of a GCC
12016 builtin and then its argument prototype would still apply. */
12017 #ifdef __cplusplus
12018 extern "C"
12019 #endif
12020 char gnutls_global_init ();
12022 main ()
12024 return gnutls_global_init ();
12026 return 0;
12028 _ACEOF
12029 if ac_fn_c_try_link "$LINENO"; then :
12030 case "$LIBEXT" in
12031 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12032 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'` ;;
12033 *) 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'`
12034 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12035 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'`
12036 fi ;;
12037 esac
12039 rm -f core conftest.err conftest.$ac_objext \
12040 conftest$ac_exeext conftest.$ac_ext
12041 LIBS=$ac_check_soname_save_LIBS
12043 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12045 $as_echo "not found" >&6; }
12046 GNUTLS_CFLAGS=""
12047 else
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12049 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12051 cat >>confdefs.h <<_ACEOF
12052 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12053 _ACEOF
12057 ac_wine_check_funcs_save_LIBS="$LIBS"
12058 LIBS="$LIBS $GNUTLS_LIBS"
12059 for ac_func in gnutls_cipher_init
12060 do :
12061 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12062 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12063 cat >>confdefs.h <<_ACEOF
12064 #define HAVE_GNUTLS_CIPHER_INIT 1
12065 _ACEOF
12067 else
12068 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12070 done
12072 LIBS="$ac_wine_check_funcs_save_LIBS"
12074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12075 else
12076 GNUTLS_CFLAGS=""
12080 CPPFLAGS=$ac_save_CPPFLAGS
12081 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12082 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12085 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12086 case "x$with_gnutls" in
12087 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12088 xno) ;;
12089 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12090 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12091 esac
12095 CURSES_LIBS=""
12096 if test "$ac_cv_header_ncurses_h" = "yes"
12097 then
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12099 $as_echo_n "checking for -lncurses... " >&6; }
12100 if ${ac_cv_lib_soname_ncurses+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_soname_save_LIBS=$LIBS
12104 LIBS="-lncurses $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char waddch ();
12116 main ()
12118 return waddch ();
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 case "$LIBEXT" in
12125 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12126 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'` ;;
12127 *) 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'`
12128 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12129 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12130 fi ;;
12131 esac
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_soname_save_LIBS
12137 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12139 $as_echo "not found" >&6; }
12141 else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12143 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12145 cat >>confdefs.h <<_ACEOF
12146 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12147 _ACEOF
12149 CURSES_LIBS="-lncurses"
12151 elif test "$ac_cv_header_curses_h" = "yes"
12152 then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12154 $as_echo_n "checking for -lcurses... " >&6; }
12155 if ${ac_cv_lib_soname_curses+:} false; then :
12156 $as_echo_n "(cached) " >&6
12157 else
12158 ac_check_soname_save_LIBS=$LIBS
12159 LIBS="-lcurses $LIBS"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char waddch ();
12171 main ()
12173 return waddch ();
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179 case "$LIBEXT" in
12180 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12181 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'` ;;
12182 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12183 if ${ac_cv_lib_soname_curses:+false} :; then :
12184 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12185 fi ;;
12186 esac
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_soname_save_LIBS
12192 if ${ac_cv_lib_soname_curses:+false} :; then :
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12194 $as_echo "not found" >&6; }
12196 else
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12198 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12200 cat >>confdefs.h <<_ACEOF
12201 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12202 _ACEOF
12204 CURSES_LIBS="-lcurses"
12207 ac_save_LIBS="$LIBS"
12208 LIBS="$LIBS $CURSES_LIBS"
12209 for ac_func in mousemask
12210 do :
12211 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12212 if test "x$ac_cv_func_mousemask" = xyes; then :
12213 cat >>confdefs.h <<_ACEOF
12214 #define HAVE_MOUSEMASK 1
12215 _ACEOF
12218 done
12220 LIBS="$ac_save_LIBS"
12221 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12222 case "x$with_curses" in
12223 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12224 xno) ;;
12225 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12226 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12227 esac
12231 if test "x$with_sane" != "xno"
12232 then
12233 if ${SANE_CFLAGS:+false} :; then :
12234 if ${PKG_CONFIG+:} false; then :
12235 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12238 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12239 if ${SANE_LIBS:+false} :; then :
12240 if ${PKG_CONFIG+:} false; then :
12241 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12244 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12246 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12247 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12248 ac_save_CPPFLAGS=$CPPFLAGS
12249 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12250 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12251 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12253 $as_echo_n "checking for -lsane... " >&6; }
12254 if ${ac_cv_lib_soname_sane+:} false; then :
12255 $as_echo_n "(cached) " >&6
12256 else
12257 ac_check_soname_save_LIBS=$LIBS
12258 LIBS="-lsane $SANE_LIBS $LIBS"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 /* Override any GCC internal prototype to avoid an error.
12263 Use char because int might match the return type of a GCC
12264 builtin and then its argument prototype would still apply. */
12265 #ifdef __cplusplus
12266 extern "C"
12267 #endif
12268 char sane_init ();
12270 main ()
12272 return sane_init ();
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_link "$LINENO"; then :
12278 case "$LIBEXT" in
12279 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12280 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'` ;;
12281 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12282 if ${ac_cv_lib_soname_sane:+false} :; then :
12283 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12284 fi ;;
12285 esac
12287 rm -f core conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 LIBS=$ac_check_soname_save_LIBS
12291 if ${ac_cv_lib_soname_sane:+false} :; then :
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12293 $as_echo "not found" >&6; }
12294 SANE_CFLAGS=""
12295 else
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12297 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12299 cat >>confdefs.h <<_ACEOF
12300 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12301 _ACEOF
12305 else
12306 SANE_CFLAGS=""
12310 CPPFLAGS=$ac_save_CPPFLAGS
12311 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12312 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12315 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12316 case "x$with_sane" in
12317 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12318 xno) ;;
12319 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12320 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12321 esac
12325 if test "x$with_v4l" != "xno"
12326 then
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12328 $as_echo_n "checking for -lv4l1... " >&6; }
12329 if ${ac_cv_lib_soname_v4l1+:} false; then :
12330 $as_echo_n "(cached) " >&6
12331 else
12332 ac_check_soname_save_LIBS=$LIBS
12333 LIBS="-lv4l1 $LIBS"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12337 /* Override any GCC internal prototype to avoid an error.
12338 Use char because int might match the return type of a GCC
12339 builtin and then its argument prototype would still apply. */
12340 #ifdef __cplusplus
12341 extern "C"
12342 #endif
12343 char v4l1_open ();
12345 main ()
12347 return v4l1_open ();
12349 return 0;
12351 _ACEOF
12352 if ac_fn_c_try_link "$LINENO"; then :
12353 case "$LIBEXT" in
12354 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12355 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'` ;;
12356 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12357 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12358 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12359 fi ;;
12360 esac
12362 rm -f core conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 LIBS=$ac_check_soname_save_LIBS
12366 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12368 $as_echo "not found" >&6; }
12370 else
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12372 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12374 cat >>confdefs.h <<_ACEOF
12375 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12376 _ACEOF
12381 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12382 case "x$with_v4l" in
12383 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12384 xno) ;;
12385 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12386 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12387 esac
12391 if test "x$with_gphoto" != "xno"
12392 then
12393 if ${GPHOTO2_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false; then :
12395 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12398 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12399 if ${GPHOTO2_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12404 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12405 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12406 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12408 ac_save_CPPFLAGS=$CPPFLAGS
12409 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12410 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12411 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12413 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12414 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_lib_save_LIBS=$LIBS
12418 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char gp_camera_new ();
12430 main ()
12432 return gp_camera_new ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"; then :
12438 ac_cv_lib_gphoto2_gp_camera_new=yes
12439 else
12440 ac_cv_lib_gphoto2_gp_camera_new=no
12442 rm -f core conftest.err conftest.$ac_objext \
12443 conftest$ac_exeext conftest.$ac_ext
12444 LIBS=$ac_check_lib_save_LIBS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12447 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12448 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12450 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12452 else
12453 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12456 else
12457 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12461 CPPFLAGS=$ac_save_CPPFLAGS
12462 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12463 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12465 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12466 if ${PKG_CONFIG+:} false; then :
12467 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12470 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12471 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12472 if ${PKG_CONFIG+:} false; then :
12473 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12476 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12477 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12478 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12479 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12480 ac_save_CPPFLAGS=$CPPFLAGS
12481 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12482 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12483 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12485 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12486 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_lib_save_LIBS=$LIBS
12490 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char gp_port_info_list_new ();
12502 main ()
12504 return gp_port_info_list_new ();
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12511 else
12512 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 LIBS=$ac_check_lib_save_LIBS
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12519 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12520 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12522 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12524 else
12525 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12528 else
12529 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12533 CPPFLAGS=$ac_save_CPPFLAGS
12534 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12535 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12538 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12539 case "x$with_gphoto" in
12540 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12541 xno) ;;
12542 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12543 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12544 esac
12547 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12548 case "x$with_gphoto" in
12549 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12550 xno) ;;
12551 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12552 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12553 esac
12558 if test "$ac_cv_header_resolv_h" = "yes"
12559 then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12561 $as_echo_n "checking for resolver library... " >&6; }
12562 if ${ac_cv_have_resolv+:} false; then :
12563 $as_echo_n "(cached) " >&6
12564 else
12565 ac_save_LIBS="$LIBS"
12566 for lib in '' -lresolv
12568 LIBS="$lib $ac_save_LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12571 #ifdef HAVE_NETINET_IN_H
12572 #include <netinet/in.h>
12573 #endif
12574 #include <resolv.h>
12576 main ()
12578 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12580 return 0;
12582 _ACEOF
12583 if ac_fn_c_try_link "$LINENO"; then :
12584 ac_cv_have_resolv=${lib:-"none required"}
12585 else
12586 ac_cv_have_resolv="not found"
12588 rm -f core conftest.err conftest.$ac_objext \
12589 conftest$ac_exeext conftest.$ac_ext
12590 test "x$ac_cv_have_resolv" = "xnot found" || break
12591 done
12592 LIBS="$ac_save_LIBS"
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12595 $as_echo "$ac_cv_have_resolv" >&6; }
12597 case "$ac_cv_have_resolv" in
12598 "not found") ;;
12599 "none required")
12601 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12604 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12606 RESOLV_LIBS=$ac_cv_have_resolv
12608 esac
12611 if test "x$with_cms" != "xno"
12612 then
12613 if ${LCMS2_CFLAGS:+false} :; then :
12614 if ${PKG_CONFIG+:} false; then :
12615 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12619 if ${LCMS2_LIBS:+false} :; then :
12620 if ${PKG_CONFIG+:} false; then :
12621 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12625 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12626 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12627 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12628 ac_save_CPPFLAGS=$CPPFLAGS
12629 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12630 for ac_header in lcms2.h
12631 do :
12632 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12633 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12634 cat >>confdefs.h <<_ACEOF
12635 #define HAVE_LCMS2_H 1
12636 _ACEOF
12640 done
12642 if test "$ac_cv_header_lcms2_h" = "yes"
12643 then
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12645 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12646 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12647 $as_echo_n "(cached) " >&6
12648 else
12649 ac_check_lib_save_LIBS=$LIBS
12650 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 #ifdef __cplusplus
12658 extern "C"
12659 #endif
12660 char cmsOpenProfileFromFile ();
12662 main ()
12664 return cmsOpenProfileFromFile ();
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"; then :
12670 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12671 else
12672 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12674 rm -f core conftest.err conftest.$ac_objext \
12675 conftest$ac_exeext conftest.$ac_ext
12676 LIBS=$ac_check_lib_save_LIBS
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12679 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12680 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12682 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12684 else
12685 LCMS2_LIBS=""
12688 else
12689 LCMS2_CFLAGS=""
12690 LCMS2_LIBS=""
12692 CPPFLAGS=$ac_save_CPPFLAGS
12693 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12694 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12697 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12698 case "x$with_cms" in
12699 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12700 xno) ;;
12701 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12702 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12703 esac
12707 if test "x$with_freetype" != "xno"
12708 then
12709 if ${FREETYPE_CFLAGS:+false} :; then :
12710 if ${PKG_CONFIG+:} false; then :
12711 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12714 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12715 if ${FREETYPE_LIBS:+false} :; then :
12716 if ${PKG_CONFIG+:} false; then :
12717 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12720 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12721 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12722 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12723 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12724 ac_save_CPPFLAGS=$CPPFLAGS
12725 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12726 for ac_header in ft2build.h
12727 do :
12728 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12729 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12730 cat >>confdefs.h <<_ACEOF
12731 #define HAVE_FT2BUILD_H 1
12732 _ACEOF
12736 done
12738 if test "$ac_cv_header_ft2build_h" = "yes"
12739 then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12741 $as_echo_n "checking for -lfreetype... " >&6; }
12742 if ${ac_cv_lib_soname_freetype+:} false; then :
12743 $as_echo_n "(cached) " >&6
12744 else
12745 ac_check_soname_save_LIBS=$LIBS
12746 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12753 #ifdef __cplusplus
12754 extern "C"
12755 #endif
12756 char FT_Init_FreeType ();
12758 main ()
12760 return FT_Init_FreeType ();
12762 return 0;
12764 _ACEOF
12765 if ac_fn_c_try_link "$LINENO"; then :
12766 case "$LIBEXT" in
12767 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12768 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'` ;;
12769 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12770 if ${ac_cv_lib_soname_freetype:+false} :; then :
12771 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12772 fi ;;
12773 esac
12775 rm -f core conftest.err conftest.$ac_objext \
12776 conftest$ac_exeext conftest.$ac_ext
12777 LIBS=$ac_check_soname_save_LIBS
12779 if ${ac_cv_lib_soname_freetype:+false} :; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12781 $as_echo "not found" >&6; }
12782 FREETYPE_LIBS=""
12783 else
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12785 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12787 cat >>confdefs.h <<_ACEOF
12788 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12789 _ACEOF
12792 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12794 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12795 #include FT_MODULE_H
12797 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12799 cat >>confdefs.h <<_ACEOF
12800 #define HAVE_FT_TRUETYPEENGINETYPE 1
12801 _ACEOF
12807 else
12808 FREETYPE_CFLAGS=""
12809 FREETYPE_LIBS=""
12811 CPPFLAGS=$ac_save_CPPFLAGS
12812 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12813 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12816 if test "x$ac_cv_lib_soname_freetype" = x; then :
12817 case "x$with_freetype" in
12818 xno) ;;
12819 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12820 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12821 esac
12822 enable_fonts=${enable_fonts:-no}
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12826 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12827 if ${ac_cv_c_ppdev+:} false; then :
12828 $as_echo_n "(cached) " >&6
12829 else
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12832 #ifdef HAVE_SYS_IOCTL_H
12833 # include <sys/ioctl.h>
12834 #endif
12835 #include <linux/ppdev.h>
12837 main ()
12839 ioctl (1,PPCLAIM,0)
12841 return 0;
12843 _ACEOF
12844 if ac_fn_c_try_compile "$LINENO"; then :
12845 ac_cv_c_ppdev="yes"
12846 else
12847 ac_cv_c_ppdev="no"
12849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12852 $as_echo "$ac_cv_c_ppdev" >&6; }
12853 if test "$ac_cv_c_ppdev" = "yes"
12854 then
12856 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12860 ac_wine_check_funcs_save_LIBS="$LIBS"
12861 LIBS="$LIBS $PTHREAD_LIBS"
12862 for ac_func in \
12863 pthread_attr_get_np \
12864 pthread_getattr_np \
12865 pthread_getthreadid_np \
12866 pthread_get_stackaddr_np \
12867 pthread_get_stacksize_np
12868 do :
12869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12871 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12872 cat >>confdefs.h <<_ACEOF
12873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12874 _ACEOF
12877 done
12879 LIBS="$ac_wine_check_funcs_save_LIBS"
12881 if test "$ac_cv_header_zlib_h" = "yes"
12882 then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12884 $as_echo_n "checking for inflate in -lz... " >&6; }
12885 if ${ac_cv_lib_z_inflate+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_lib_save_LIBS=$LIBS
12889 LIBS="-lz $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char inflate ();
12901 main ()
12903 return inflate ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 ac_cv_lib_z_inflate=yes
12910 else
12911 ac_cv_lib_z_inflate=no
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12918 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12919 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12921 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12923 Z_LIBS="-lz"
12928 if test "x$Z_LIBS" = "x"; then :
12929 case "x$with_zlib" in
12930 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12931 xno) ;;
12932 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12933 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12934 esac
12938 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12939 then
12940 if test "$ac_cv_header_gettext_po_h" = "yes"
12941 then
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12943 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12944 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12945 $as_echo_n "(cached) " >&6
12946 else
12947 ac_check_lib_save_LIBS=$LIBS
12948 LIBS="-lgettextpo $LIBS"
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12955 #ifdef __cplusplus
12956 extern "C"
12957 #endif
12958 char po_message_msgctxt ();
12960 main ()
12962 return po_message_msgctxt ();
12964 return 0;
12966 _ACEOF
12967 if ac_fn_c_try_link "$LINENO"; then :
12968 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12969 else
12970 ac_cv_lib_gettextpo_po_message_msgctxt=no
12972 rm -f core conftest.err conftest.$ac_objext \
12973 conftest$ac_exeext conftest.$ac_ext
12974 LIBS=$ac_check_lib_save_LIBS
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12977 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12978 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12980 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12982 GETTEXTPO_LIBS="-lgettextpo"
12987 if test "x$GETTEXTPO_LIBS" = "x"; then :
12988 case "x$with_gettextpo" in
12989 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12990 xno) ;;
12991 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12992 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12993 esac
12996 if test "$srcdir" != .; then :
12997 case "x$with_gettextpo" in
12998 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12999 xno) ;;
13000 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13001 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13002 esac
13007 if test "x$with_pulse" != "xno";
13008 then
13009 if ${PULSE_CFLAGS:+false} :; then :
13010 if ${PKG_CONFIG+:} false; then :
13011 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13015 if ${PULSE_LIBS:+false} :; then :
13016 if ${PKG_CONFIG+:} false; then :
13017 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13022 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13023 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13024 ac_save_CPPFLAGS=$CPPFLAGS
13025 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13026 for ac_header in pulse/pulseaudio.h
13027 do :
13028 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13029 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13030 cat >>confdefs.h <<_ACEOF
13031 #define HAVE_PULSE_PULSEAUDIO_H 1
13032 _ACEOF
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13034 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13035 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13036 $as_echo_n "(cached) " >&6
13037 else
13038 ac_check_lib_save_LIBS=$LIBS
13039 LIBS="-lpulse $PULSE_LIBS $LIBS"
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13046 #ifdef __cplusplus
13047 extern "C"
13048 #endif
13049 char pa_stream_is_corked ();
13051 main ()
13053 return pa_stream_is_corked ();
13055 return 0;
13057 _ACEOF
13058 if ac_fn_c_try_link "$LINENO"; then :
13059 ac_cv_lib_pulse_pa_stream_is_corked=yes
13060 else
13061 ac_cv_lib_pulse_pa_stream_is_corked=no
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 LIBS=$ac_check_lib_save_LIBS
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13068 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13069 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13071 else
13072 PULSE_LIBS=""
13075 else
13076 PULSE_LIBS=""
13079 done
13081 CPPFLAGS=$ac_save_CPPFLAGS
13082 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13083 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13086 if test -z "$PULSE_LIBS"; then :
13087 case "x$with_pulse" in
13088 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13089 xno) ;;
13090 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13091 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13092 esac
13093 enable_winepulse_drv=${enable_winepulse_drv:-no}
13096 if test "x$with_gstreamer" != "xno"
13097 then
13098 if ${GSTREAMER_CFLAGS:+false} :; then :
13099 if ${PKG_CONFIG+:} false; then :
13100 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13104 if ${GSTREAMER_LIBS:+false} :; then :
13105 if ${PKG_CONFIG+:} false; then :
13106 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13111 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13112 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13113 ac_save_CPPFLAGS=$CPPFLAGS
13114 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13115 ac_gst_incl=""
13116 for i in $GSTREAMER_CFLAGS
13118 case "$i" in
13119 -I*) ac_gst_incl="$ac_gst_incl $i";;
13120 esac
13121 done
13122 GSTREAMER_CFLAGS=$ac_gst_incl
13123 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13124 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13125 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13127 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13130 #include <gst/gst.h>
13132 main ()
13134 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13136 return 0;
13138 _ACEOF
13139 if ac_fn_c_try_compile "$LINENO"; then :
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13141 $as_echo "yes" >&6; }
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13143 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13144 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13145 $as_echo_n "(cached) " >&6
13146 else
13147 ac_check_lib_save_LIBS=$LIBS
13148 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13150 /* end confdefs.h. */
13152 /* Override any GCC internal prototype to avoid an error.
13153 Use char because int might match the return type of a GCC
13154 builtin and then its argument prototype would still apply. */
13155 #ifdef __cplusplus
13156 extern "C"
13157 #endif
13158 char gst_pad_new ();
13160 main ()
13162 return gst_pad_new ();
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"; then :
13168 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13169 else
13170 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13172 rm -f core conftest.err conftest.$ac_objext \
13173 conftest$ac_exeext conftest.$ac_ext
13174 LIBS=$ac_check_lib_save_LIBS
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13177 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13178 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13182 else
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13184 $as_echo "no" >&6; }
13185 ac_glib2_broken=yes
13186 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13192 CPPFLAGS=$ac_save_CPPFLAGS
13193 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13194 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13197 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 :
13198 case "x$with_gstreamer" in
13199 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13200 xno) ;;
13201 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13202 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13203 esac
13206 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13208 ALSA_LIBS=""
13210 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13211 then
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13213 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13214 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13215 $as_echo_n "(cached) " >&6
13216 else
13217 ac_check_lib_save_LIBS=$LIBS
13218 LIBS="-lasound $LIBS"
13219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220 /* end confdefs.h. */
13222 /* Override any GCC internal prototype to avoid an error.
13223 Use char because int might match the return type of a GCC
13224 builtin and then its argument prototype would still apply. */
13225 #ifdef __cplusplus
13226 extern "C"
13227 #endif
13228 char snd_pcm_hw_params_get_access_mask ();
13230 main ()
13232 return snd_pcm_hw_params_get_access_mask ();
13234 return 0;
13236 _ACEOF
13237 if ac_fn_c_try_link "$LINENO"; then :
13238 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13239 else
13240 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13242 rm -f core conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13244 LIBS=$ac_check_lib_save_LIBS
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13247 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13248 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13251 #ifdef HAVE_ALSA_ASOUNDLIB_H
13252 #include <alsa/asoundlib.h>
13253 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13254 #include <sys/asoundlib.h>
13255 #endif
13257 main ()
13259 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13261 return 0;
13263 _ACEOF
13264 if ac_fn_c_try_compile "$LINENO"; then :
13265 ALSA_LIBS="-lasound"
13267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13271 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13273 if test "x$with_oss" != xno
13274 then
13275 ac_save_CPPFLAGS="$CPPFLAGS"
13276 if test -f /etc/oss.conf
13277 then
13278 . /etc/oss.conf
13280 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13281 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13282 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13283 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13284 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13286 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13288 cat >>confdefs.h <<_ACEOF
13289 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13290 _ACEOF
13292 OSS4_CFLAGS="$ac_oss_incl"
13299 CPPFLAGS="$ac_save_CPPFLAGS"
13301 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13302 case "x$with_oss" in
13303 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13304 xno) ;;
13305 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13306 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13307 esac
13308 enable_wineoss_drv=${enable_wineoss_drv:-no}
13311 if test "x$with_udev" != "xno"
13312 then
13313 if ${UDEV_CFLAGS:+false} :; then :
13314 if ${PKG_CONFIG+:} false; then :
13315 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13319 if ${UDEV_LIBS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13325 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13326 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13327 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13328 ac_save_CPPFLAGS=$CPPFLAGS
13329 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13330 for ac_header in libudev.h
13331 do :
13332 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13333 if test "x$ac_cv_header_libudev_h" = xyes; then :
13334 cat >>confdefs.h <<_ACEOF
13335 #define HAVE_LIBUDEV_H 1
13336 _ACEOF
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13338 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13339 if ${ac_cv_lib_udev_udev_new+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 ac_check_lib_save_LIBS=$LIBS
13343 LIBS="-ludev $UDEV_LIBS $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 #ifdef __cplusplus
13351 extern "C"
13352 #endif
13353 char udev_new ();
13355 main ()
13357 return udev_new ();
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_link "$LINENO"; then :
13363 ac_cv_lib_udev_udev_new=yes
13364 else
13365 ac_cv_lib_udev_udev_new=no
13367 rm -f core conftest.err conftest.$ac_objext \
13368 conftest$ac_exeext conftest.$ac_ext
13369 LIBS=$ac_check_lib_save_LIBS
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13372 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13373 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13375 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13377 else
13378 UDEV_LIBS=""
13381 else
13382 UDEV_LIBS=""
13385 done
13387 CPPFLAGS=$ac_save_CPPFLAGS
13388 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13389 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13392 if test "x$UDEV_LIBS" = "x"; then :
13393 case "x$with_udev" in
13394 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13395 xno) ;;
13396 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13397 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13398 esac
13402 if test "x$with_capi" != "xno"
13403 then
13404 if ${CAPI20_CFLAGS:+false} :; then :
13405 if ${PKG_CONFIG+:} false; then :
13406 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13410 if ${CAPI20_LIBS:+false} :; then :
13411 if ${PKG_CONFIG+:} false; then :
13412 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13417 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13418 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13419 ac_save_CPPFLAGS=$CPPFLAGS
13420 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13421 for ac_header in capi20.h linux/capi.h
13422 do :
13423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13424 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13426 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13427 cat >>confdefs.h <<_ACEOF
13428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13429 _ACEOF
13433 done
13435 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13436 then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13438 $as_echo_n "checking for -lcapi20... " >&6; }
13439 if ${ac_cv_lib_soname_capi20+:} false; then :
13440 $as_echo_n "(cached) " >&6
13441 else
13442 ac_check_soname_save_LIBS=$LIBS
13443 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13447 /* Override any GCC internal prototype to avoid an error.
13448 Use char because int might match the return type of a GCC
13449 builtin and then its argument prototype would still apply. */
13450 #ifdef __cplusplus
13451 extern "C"
13452 #endif
13453 char capi20_register ();
13455 main ()
13457 return capi20_register ();
13459 return 0;
13461 _ACEOF
13462 if ac_fn_c_try_link "$LINENO"; then :
13463 case "$LIBEXT" in
13464 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13465 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'` ;;
13466 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13467 if ${ac_cv_lib_soname_capi20:+false} :; then :
13468 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13469 fi ;;
13470 esac
13472 rm -f core conftest.err conftest.$ac_objext \
13473 conftest$ac_exeext conftest.$ac_ext
13474 LIBS=$ac_check_soname_save_LIBS
13476 if ${ac_cv_lib_soname_capi20:+false} :; then :
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13478 $as_echo "not found" >&6; }
13480 else
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13482 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13484 cat >>confdefs.h <<_ACEOF
13485 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13486 _ACEOF
13491 CPPFLAGS=$ac_save_CPPFLAGS
13492 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13493 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13496 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13497 case "x$with_capi" in
13498 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13499 xno) ;;
13500 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13501 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13502 esac
13506 if test "x$with_cups" != "xno"
13507 then
13508 if ${CUPS_CFLAGS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13513 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13514 if ${CUPS_LIBS:+false} :; then :
13515 if ${PKG_CONFIG+:} false; then :
13516 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13519 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13520 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13521 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13522 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13523 ac_save_CPPFLAGS=$CPPFLAGS
13524 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13525 for ac_header in cups/cups.h cups/ppd.h
13526 do :
13527 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13528 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13529 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13530 cat >>confdefs.h <<_ACEOF
13531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13532 _ACEOF
13536 done
13538 if test "$ac_cv_header_cups_cups_h" = "yes"
13539 then
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13541 $as_echo_n "checking for -lcups... " >&6; }
13542 if ${ac_cv_lib_soname_cups+:} false; then :
13543 $as_echo_n "(cached) " >&6
13544 else
13545 ac_check_soname_save_LIBS=$LIBS
13546 LIBS="-lcups $CUPS_LIBS $LIBS"
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13550 /* Override any GCC internal prototype to avoid an error.
13551 Use char because int might match the return type of a GCC
13552 builtin and then its argument prototype would still apply. */
13553 #ifdef __cplusplus
13554 extern "C"
13555 #endif
13556 char cupsGetDefault ();
13558 main ()
13560 return cupsGetDefault ();
13562 return 0;
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 case "$LIBEXT" in
13567 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13568 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'` ;;
13569 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13570 if ${ac_cv_lib_soname_cups:+false} :; then :
13571 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13572 fi ;;
13573 esac
13575 rm -f core conftest.err conftest.$ac_objext \
13576 conftest$ac_exeext conftest.$ac_ext
13577 LIBS=$ac_check_soname_save_LIBS
13579 if ${ac_cv_lib_soname_cups:+false} :; then :
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13581 $as_echo "not found" >&6; }
13582 CUPS_LIBS=""
13583 else
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13585 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13587 cat >>confdefs.h <<_ACEOF
13588 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13589 _ACEOF
13593 else
13594 CUPS_CFLAGS=""
13595 CUPS_LIBS=""
13597 CPPFLAGS=$ac_save_CPPFLAGS
13598 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13599 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13602 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13603 case "x$with_cups" in
13604 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13605 xno) ;;
13606 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13607 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13608 esac
13612 if test "x$with_fontconfig" != "xno"
13613 then
13614 if ${FONTCONFIG_CFLAGS:+false} :; then :
13615 if ${PKG_CONFIG+:} false; then :
13616 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13619 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13620 if ${FONTCONFIG_LIBS:+false} :; then :
13621 if ${PKG_CONFIG+:} false; then :
13622 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13625 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13627 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13628 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13629 ac_save_CPPFLAGS=$CPPFLAGS
13630 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13631 for ac_header in fontconfig/fontconfig.h
13632 do :
13633 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13634 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13635 cat >>confdefs.h <<_ACEOF
13636 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13637 _ACEOF
13641 done
13643 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13644 then
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13646 $as_echo_n "checking for -lfontconfig... " >&6; }
13647 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13648 $as_echo_n "(cached) " >&6
13649 else
13650 ac_check_soname_save_LIBS=$LIBS
13651 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13655 /* Override any GCC internal prototype to avoid an error.
13656 Use char because int might match the return type of a GCC
13657 builtin and then its argument prototype would still apply. */
13658 #ifdef __cplusplus
13659 extern "C"
13660 #endif
13661 char FcInit ();
13663 main ()
13665 return FcInit ();
13667 return 0;
13669 _ACEOF
13670 if ac_fn_c_try_link "$LINENO"; then :
13671 case "$LIBEXT" in
13672 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13673 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'` ;;
13674 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13675 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13676 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13677 fi ;;
13678 esac
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 LIBS=$ac_check_soname_save_LIBS
13684 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13686 $as_echo "not found" >&6; }
13687 FONTCONFIG_CFLAGS=""
13688 else
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13690 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13692 cat >>confdefs.h <<_ACEOF
13693 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13694 _ACEOF
13698 else
13699 FONTCONFIG_CFLAGS=""
13701 CPPFLAGS=$ac_save_CPPFLAGS
13702 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13703 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13706 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13707 case "x$with_fontconfig" in
13708 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13709 xno) ;;
13710 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13711 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13712 esac
13716 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13717 then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13719 $as_echo_n "checking for -lgsm... " >&6; }
13720 if ${ac_cv_lib_soname_gsm+:} false; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 ac_check_soname_save_LIBS=$LIBS
13724 LIBS="-lgsm $LIBS"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13728 /* Override any GCC internal prototype to avoid an error.
13729 Use char because int might match the return type of a GCC
13730 builtin and then its argument prototype would still apply. */
13731 #ifdef __cplusplus
13732 extern "C"
13733 #endif
13734 char gsm_create ();
13736 main ()
13738 return gsm_create ();
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"; then :
13744 case "$LIBEXT" in
13745 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13746 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'` ;;
13747 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13748 if ${ac_cv_lib_soname_gsm:+false} :; then :
13749 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13750 fi ;;
13751 esac
13753 rm -f core conftest.err conftest.$ac_objext \
13754 conftest$ac_exeext conftest.$ac_ext
13755 LIBS=$ac_check_soname_save_LIBS
13757 if ${ac_cv_lib_soname_gsm:+false} :; then :
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13759 $as_echo "not found" >&6; }
13761 else
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13763 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13765 cat >>confdefs.h <<_ACEOF
13766 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13767 _ACEOF
13772 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13773 case "x$with_gsm" in
13774 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13775 xno) ;;
13776 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13777 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13778 esac
13782 if test "x$with_krb5" != "xno"
13783 then
13784 if ${KRB5_CFLAGS:+false} :; then :
13785 if ${PKG_CONFIG+:} false; then :
13786 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13789 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13790 if ${KRB5_LIBS:+false} :; then :
13791 if ${PKG_CONFIG+:} false; then :
13792 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13795 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13797 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13798 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13799 ac_save_CPPFLAGS=$CPPFLAGS
13800 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13801 for ac_header in krb5/krb5.h
13802 do :
13803 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13804 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13805 cat >>confdefs.h <<_ACEOF
13806 #define HAVE_KRB5_KRB5_H 1
13807 _ACEOF
13811 done
13813 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13814 then
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13816 $as_echo_n "checking for -lkrb5... " >&6; }
13817 if ${ac_cv_lib_soname_krb5+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_check_soname_save_LIBS=$LIBS
13821 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13828 #ifdef __cplusplus
13829 extern "C"
13830 #endif
13831 char krb5_init_context ();
13833 main ()
13835 return krb5_init_context ();
13837 return 0;
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 case "$LIBEXT" in
13842 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13843 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'` ;;
13844 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13845 if ${ac_cv_lib_soname_krb5:+false} :; then :
13846 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13847 fi ;;
13848 esac
13850 rm -f core conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13852 LIBS=$ac_check_soname_save_LIBS
13854 if ${ac_cv_lib_soname_krb5:+false} :; then :
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13856 $as_echo "not found" >&6; }
13857 KRB5_CFLAGS=""
13858 else
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13860 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13862 cat >>confdefs.h <<_ACEOF
13863 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13864 _ACEOF
13868 else
13869 KRB5_CFLAGS=""
13871 CPPFLAGS=$ac_save_CPPFLAGS
13872 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13873 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13876 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13877 case "x$with_krb5" in
13878 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13879 xno) ;;
13880 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13881 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13882 esac
13886 if test "x$with_gssapi" != "xno"
13887 then
13888 if ${GSSAPI_CFLAGS:+false} :; then :
13889 if ${PKG_CONFIG+:} false; then :
13890 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13893 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13894 if ${GSSAPI_LIBS:+false} :; then :
13895 if ${PKG_CONFIG+:} false; then :
13896 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13899 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13901 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13902 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13903 ac_save_CPPFLAGS=$CPPFLAGS
13904 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13905 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13906 do :
13907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13908 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13910 cat >>confdefs.h <<_ACEOF
13911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13912 _ACEOF
13916 done
13918 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13919 then
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13921 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13922 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13923 $as_echo_n "(cached) " >&6
13924 else
13925 ac_check_soname_save_LIBS=$LIBS
13926 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13930 /* Override any GCC internal prototype to avoid an error.
13931 Use char because int might match the return type of a GCC
13932 builtin and then its argument prototype would still apply. */
13933 #ifdef __cplusplus
13934 extern "C"
13935 #endif
13936 char gss_init_sec_context ();
13938 main ()
13940 return gss_init_sec_context ();
13942 return 0;
13944 _ACEOF
13945 if ac_fn_c_try_link "$LINENO"; then :
13946 case "$LIBEXT" in
13947 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13948 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13949 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13950 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13951 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13952 fi ;;
13953 esac
13955 rm -f core conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957 LIBS=$ac_check_soname_save_LIBS
13959 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13961 $as_echo "not found" >&6; }
13962 GSSAPI_CFLAGS=""
13963 else
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13965 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13967 cat >>confdefs.h <<_ACEOF
13968 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13969 _ACEOF
13973 else
13974 GSSAPI_CFLAGS=""
13976 CPPFLAGS=$ac_save_CPPFLAGS
13977 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13978 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13981 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13982 case "x$with_gssapi" in
13983 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13984 xno) ;;
13985 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13986 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13987 esac
13991 if test "x$with_jpeg" != "xno"
13992 then
13993 if ${JPEG_CFLAGS:+false} :; then :
13994 if ${PKG_CONFIG+:} false; then :
13995 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13999 if ${JPEG_LIBS:+false} :; then :
14000 if ${PKG_CONFIG+:} false; then :
14001 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14006 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14007 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14008 ac_save_CPPFLAGS=$CPPFLAGS
14009 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14010 for ac_header in jpeglib.h
14011 do :
14012 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14013 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14014 cat >>confdefs.h <<_ACEOF
14015 #define HAVE_JPEGLIB_H 1
14016 _ACEOF
14020 done
14022 if test "$ac_cv_header_jpeglib_h" = "yes"
14023 then
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14025 $as_echo_n "checking for -ljpeg... " >&6; }
14026 if ${ac_cv_lib_soname_jpeg+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_check_soname_save_LIBS=$LIBS
14030 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14034 /* Override any GCC internal prototype to avoid an error.
14035 Use char because int might match the return type of a GCC
14036 builtin and then its argument prototype would still apply. */
14037 #ifdef __cplusplus
14038 extern "C"
14039 #endif
14040 char jpeg_start_decompress ();
14042 main ()
14044 return jpeg_start_decompress ();
14046 return 0;
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"; then :
14050 case "$LIBEXT" in
14051 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14052 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'` ;;
14053 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14054 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14055 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14056 fi ;;
14057 esac
14059 rm -f core conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14061 LIBS=$ac_check_soname_save_LIBS
14063 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14065 $as_echo "not found" >&6; }
14066 JPEG_CFLAGS=""
14067 else
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14069 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14071 cat >>confdefs.h <<_ACEOF
14072 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14073 _ACEOF
14077 else
14078 JPEG_CFLAGS=""
14080 CPPFLAGS=$ac_save_CPPFLAGS
14081 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14082 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14085 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14086 case "x$with_jpeg" in
14087 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14088 xno) ;;
14089 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14090 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14091 esac
14095 if test "x$with_png" != "xno"
14096 then
14097 if ${PNG_CFLAGS:+false} :; then :
14098 if ${PKG_CONFIG+:} false; then :
14099 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14102 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14103 if ${PNG_LIBS:+false} :; then :
14104 if ${PKG_CONFIG+:} false; then :
14105 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14108 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14110 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14111 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14112 ac_save_CPPFLAGS=$CPPFLAGS
14113 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14114 for ac_header in png.h
14115 do :
14116 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14117 if test "x$ac_cv_header_png_h" = xyes; then :
14118 cat >>confdefs.h <<_ACEOF
14119 #define HAVE_PNG_H 1
14120 _ACEOF
14124 done
14126 if test "$ac_cv_header_png_h" = "yes"
14127 then
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14129 $as_echo_n "checking for -lpng... " >&6; }
14130 if ${ac_cv_lib_soname_png+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_check_soname_save_LIBS=$LIBS
14134 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 #ifdef __cplusplus
14142 extern "C"
14143 #endif
14144 char png_create_read_struct ();
14146 main ()
14148 return png_create_read_struct ();
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 case "$LIBEXT" in
14155 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14156 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'` ;;
14157 *) 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'`
14158 if ${ac_cv_lib_soname_png:+false} :; then :
14159 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14160 fi ;;
14161 esac
14163 rm -f core conftest.err conftest.$ac_objext \
14164 conftest$ac_exeext conftest.$ac_ext
14165 LIBS=$ac_check_soname_save_LIBS
14167 if ${ac_cv_lib_soname_png:+false} :; then :
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14169 $as_echo "not found" >&6; }
14170 PNG_CFLAGS=""
14171 else
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14173 $as_echo "$ac_cv_lib_soname_png" >&6; }
14175 cat >>confdefs.h <<_ACEOF
14176 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14177 _ACEOF
14181 else
14182 PNG_CFLAGS=""
14184 CPPFLAGS=$ac_save_CPPFLAGS
14185 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14186 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14189 if test "x$ac_cv_lib_soname_png" = "x"; then :
14190 case "x$with_png" in
14191 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14192 xno) ;;
14193 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14194 This is an error since --with-png was requested." "$LINENO" 5 ;;
14195 esac
14199 if test "x$with_tiff" != "xno"
14200 then
14201 if ${TIFF_CFLAGS:+false} :; then :
14202 if ${PKG_CONFIG+:} false; then :
14203 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14207 if ${TIFF_LIBS:+false} :; then :
14208 if ${PKG_CONFIG+:} false; then :
14209 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14214 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14215 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14216 ac_save_CPPFLAGS=$CPPFLAGS
14217 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14218 for ac_header in tiffio.h
14219 do :
14220 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14221 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14222 cat >>confdefs.h <<_ACEOF
14223 #define HAVE_TIFFIO_H 1
14224 _ACEOF
14228 done
14230 if test "$ac_cv_header_tiffio_h" = "yes"
14231 then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14233 $as_echo_n "checking for -ltiff... " >&6; }
14234 if ${ac_cv_lib_soname_tiff+:} false; then :
14235 $as_echo_n "(cached) " >&6
14236 else
14237 ac_check_soname_save_LIBS=$LIBS
14238 LIBS="-ltiff $TIFF_LIBS $LIBS"
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14242 /* Override any GCC internal prototype to avoid an error.
14243 Use char because int might match the return type of a GCC
14244 builtin and then its argument prototype would still apply. */
14245 #ifdef __cplusplus
14246 extern "C"
14247 #endif
14248 char TIFFClientOpen ();
14250 main ()
14252 return TIFFClientOpen ();
14254 return 0;
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"; then :
14258 case "$LIBEXT" in
14259 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14260 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'` ;;
14261 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14262 if ${ac_cv_lib_soname_tiff:+false} :; then :
14263 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14264 fi ;;
14265 esac
14267 rm -f core conftest.err conftest.$ac_objext \
14268 conftest$ac_exeext conftest.$ac_ext
14269 LIBS=$ac_check_soname_save_LIBS
14271 if ${ac_cv_lib_soname_tiff:+false} :; then :
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14273 $as_echo "not found" >&6; }
14275 else
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14277 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14279 cat >>confdefs.h <<_ACEOF
14280 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14281 _ACEOF
14286 CPPFLAGS=$ac_save_CPPFLAGS
14287 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14288 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14291 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14292 case "x$with_tiff" in
14293 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14294 xno) ;;
14295 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14296 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14297 esac
14301 if test "x$with_mpg123" != "xno"
14302 then
14303 if ${MPG123_CFLAGS:+false} :; then :
14304 if ${PKG_CONFIG+:} false; then :
14305 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14309 if ${MPG123_LIBS:+false} :; then :
14310 if ${PKG_CONFIG+:} false; then :
14311 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14315 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14316 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14317 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14318 ac_save_CPPFLAGS=$CPPFLAGS
14319 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14320 for ac_header in mpg123.h
14321 do :
14322 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14323 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14324 cat >>confdefs.h <<_ACEOF
14325 #define HAVE_MPG123_H 1
14326 _ACEOF
14330 done
14332 if test "$ac_cv_header_mpg123_h" = "yes"
14333 then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14335 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14336 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 ac_check_lib_save_LIBS=$LIBS
14340 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14347 #ifdef __cplusplus
14348 extern "C"
14349 #endif
14350 char mpg123_feed ();
14352 main ()
14354 return mpg123_feed ();
14356 return 0;
14358 _ACEOF
14359 if ac_fn_c_try_link "$LINENO"; then :
14360 ac_cv_lib_mpg123_mpg123_feed=yes
14361 else
14362 ac_cv_lib_mpg123_mpg123_feed=no
14364 rm -f core conftest.err conftest.$ac_objext \
14365 conftest$ac_exeext conftest.$ac_ext
14366 LIBS=$ac_check_lib_save_LIBS
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14369 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14370 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14372 else
14373 MPG123_LIBS=""
14376 else
14377 MPG123_CFLAGS=""
14378 MPG123_LIBS=""
14380 CPPFLAGS=$ac_save_CPPFLAGS
14381 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14382 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14385 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14386 case "x$with_mpg123" in
14387 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14388 xno) ;;
14389 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14390 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14391 esac
14392 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14395 if test "$ac_cv_header_AL_al_h" = "yes"
14396 then
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14398 $as_echo_n "checking for -lopenal... " >&6; }
14399 if ${ac_cv_lib_soname_openal+:} false; then :
14400 $as_echo_n "(cached) " >&6
14401 else
14402 ac_check_soname_save_LIBS=$LIBS
14403 LIBS="-lopenal $LIBS"
14404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14407 /* Override any GCC internal prototype to avoid an error.
14408 Use char because int might match the return type of a GCC
14409 builtin and then its argument prototype would still apply. */
14410 #ifdef __cplusplus
14411 extern "C"
14412 #endif
14413 char alGetSource3i ();
14415 main ()
14417 return alGetSource3i ();
14419 return 0;
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 case "$LIBEXT" in
14424 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14425 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'` ;;
14426 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14427 if ${ac_cv_lib_soname_openal:+false} :; then :
14428 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14429 fi ;;
14430 esac
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14434 LIBS=$ac_check_soname_save_LIBS
14436 if ${ac_cv_lib_soname_openal:+false} :; then :
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14438 $as_echo "not found" >&6; }
14440 else
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14442 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14444 cat >>confdefs.h <<_ACEOF
14445 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14446 _ACEOF
14448 OPENAL_LIBS="-lopenal"
14450 ac_cv_lib_openal=yes
14452 cat >>confdefs.h <<_ACEOF
14453 #define HAVE_OPENAL 1
14454 _ACEOF
14458 if test "x$ac_cv_lib_openal" != xyes; then :
14459 case "x$with_openal" in
14460 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14461 xno) ;;
14462 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14463 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14464 esac
14465 enable_openal32=${enable_openal32:-no}
14468 if test "x$ac_cv_lib_openal" = xyes
14469 then
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14471 $as_echo_n "checking for openal-soft... " >&6; }
14472 if ${ac_cv_have_openalsoft+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14477 #include <AL/al.h>
14478 #include <AL/alc.h>
14479 #include <AL/alext.h>
14480 LPALCRENDERSAMPLESSOFT x;
14482 main ()
14486 return 0;
14488 _ACEOF
14489 if ac_fn_c_try_compile "$LINENO"; then :
14490 ac_cv_have_openalsoft=yes
14491 else
14492 ac_cv_have_openalsoft=no
14494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14497 $as_echo "$ac_cv_have_openalsoft" >&6; }
14499 if test "x$ac_cv_have_openalsoft" != xyes
14500 then
14501 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14502 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14503 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14504 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14505 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14506 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14507 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14508 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14509 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14510 enable_xapofx1_1=${enable_xapofx1_1:-no}
14511 enable_xapofx1_2=${enable_xapofx1_2:-no}
14512 enable_xapofx1_3=${enable_xapofx1_3:-no}
14513 enable_xapofx1_4=${enable_xapofx1_4:-no}
14514 enable_xapofx1_5=${enable_xapofx1_5:-no}
14515 enable_xaudio2_0=${enable_xaudio2_0:-no}
14516 enable_xaudio2_1=${enable_xaudio2_1:-no}
14517 enable_xaudio2_2=${enable_xaudio2_2:-no}
14518 enable_xaudio2_3=${enable_xaudio2_3:-no}
14519 enable_xaudio2_4=${enable_xaudio2_4:-no}
14520 enable_xaudio2_5=${enable_xaudio2_5:-no}
14521 enable_xaudio2_6=${enable_xaudio2_6:-no}
14522 enable_xaudio2_7=${enable_xaudio2_7:-no}
14523 enable_xaudio2_8=${enable_xaudio2_8:-no}
14524 enable_xaudio2_9=${enable_xaudio2_9:-no}
14527 if test "$ac_cv_header_kstat_h" = "yes"
14528 then
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14530 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14531 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14532 $as_echo_n "(cached) " >&6
14533 else
14534 ac_check_lib_save_LIBS=$LIBS
14535 LIBS="-lkstat $LIBS"
14536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14537 /* end confdefs.h. */
14539 /* Override any GCC internal prototype to avoid an error.
14540 Use char because int might match the return type of a GCC
14541 builtin and then its argument prototype would still apply. */
14542 #ifdef __cplusplus
14543 extern "C"
14544 #endif
14545 char kstat_open ();
14547 main ()
14549 return kstat_open ();
14551 return 0;
14553 _ACEOF
14554 if ac_fn_c_try_link "$LINENO"; then :
14555 ac_cv_lib_kstat_kstat_open=yes
14556 else
14557 ac_cv_lib_kstat_kstat_open=no
14559 rm -f core conftest.err conftest.$ac_objext \
14560 conftest$ac_exeext conftest.$ac_ext
14561 LIBS=$ac_check_lib_save_LIBS
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14564 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14565 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14567 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14569 KSTAT_LIBS="-lkstat"
14575 if test "$ac_cv_header_libprocstat_h" = "yes"
14576 then
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14578 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14579 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14580 $as_echo_n "(cached) " >&6
14581 else
14582 ac_check_lib_save_LIBS=$LIBS
14583 LIBS="-lprocstat $LIBS"
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14590 #ifdef __cplusplus
14591 extern "C"
14592 #endif
14593 char procstat_open_sysctl ();
14595 main ()
14597 return procstat_open_sysctl ();
14599 return 0;
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"; then :
14603 ac_cv_lib_procstat_procstat_open_sysctl=yes
14604 else
14605 ac_cv_lib_procstat_procstat_open_sysctl=no
14607 rm -f core conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14609 LIBS=$ac_check_lib_save_LIBS
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14612 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14613 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14615 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14617 PROCSTAT_LIBS="-lprocstat"
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14624 $as_echo_n "checking for -lodbc... " >&6; }
14625 if ${ac_cv_lib_soname_odbc+:} false; then :
14626 $as_echo_n "(cached) " >&6
14627 else
14628 ac_check_soname_save_LIBS=$LIBS
14629 LIBS="-lodbc $LIBS"
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14633 /* Override any GCC internal prototype to avoid an error.
14634 Use char because int might match the return type of a GCC
14635 builtin and then its argument prototype would still apply. */
14636 #ifdef __cplusplus
14637 extern "C"
14638 #endif
14639 char SQLConnect ();
14641 main ()
14643 return SQLConnect ();
14645 return 0;
14647 _ACEOF
14648 if ac_fn_c_try_link "$LINENO"; then :
14649 case "$LIBEXT" in
14650 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14651 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'` ;;
14652 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14653 if ${ac_cv_lib_soname_odbc:+false} :; then :
14654 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14655 fi ;;
14656 esac
14658 rm -f core conftest.err conftest.$ac_objext \
14659 conftest$ac_exeext conftest.$ac_ext
14660 LIBS=$ac_check_soname_save_LIBS
14662 if ${ac_cv_lib_soname_odbc:+false} :; then :
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14664 $as_echo "not found" >&6; }
14665 cat >>confdefs.h <<_ACEOF
14666 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14667 _ACEOF
14669 else
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14671 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14673 cat >>confdefs.h <<_ACEOF
14674 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14675 _ACEOF
14680 if test "x$with_netapi" != "xno"
14681 then
14682 if ${NETAPI_CFLAGS:+false} :; then :
14683 if ${PKG_CONFIG+:} false; then :
14684 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14688 if ${NETAPI_LIBS:+false} :; then :
14689 if ${PKG_CONFIG+:} false; then :
14690 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14695 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14696 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14697 ac_save_CPPFLAGS=$CPPFLAGS
14698 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14700 $as_echo_n "checking for -lnetapi... " >&6; }
14701 if ${ac_cv_lib_soname_netapi+:} false; then :
14702 $as_echo_n "(cached) " >&6
14703 else
14704 ac_check_soname_save_LIBS=$LIBS
14705 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14709 /* Override any GCC internal prototype to avoid an error.
14710 Use char because int might match the return type of a GCC
14711 builtin and then its argument prototype would still apply. */
14712 #ifdef __cplusplus
14713 extern "C"
14714 #endif
14715 char libnetapi_init ();
14717 main ()
14719 return libnetapi_init ();
14721 return 0;
14723 _ACEOF
14724 if ac_fn_c_try_link "$LINENO"; then :
14725 case "$LIBEXT" in
14726 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14727 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'` ;;
14728 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14729 if ${ac_cv_lib_soname_netapi:+false} :; then :
14730 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14731 fi ;;
14732 esac
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 LIBS=$ac_check_soname_save_LIBS
14738 if ${ac_cv_lib_soname_netapi:+false} :; then :
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14740 $as_echo "not found" >&6; }
14741 cat >>confdefs.h <<_ACEOF
14742 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14743 _ACEOF
14745 else
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14747 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14749 cat >>confdefs.h <<_ACEOF
14750 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14751 _ACEOF
14755 CPPFLAGS=$ac_save_CPPFLAGS
14756 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14757 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14761 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14762 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14763 then
14764 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14768 EXTRACFLAGS=""
14770 if test "x${GCC}" = "xyes"
14771 then
14772 EXTRACFLAGS="-Wall -pipe"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14775 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14776 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14777 $as_echo_n "(cached) " >&6
14778 else
14779 if test "$cross_compiling" = yes; then :
14780 ac_cv_c_gcc_strength_bug="no"
14781 else
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14784 int L[4] = {0,1,2,3};
14786 main ()
14788 static int Array[3];
14789 unsigned int B = 3;
14790 int i;
14791 for(i=0; i<B; i++) Array[i] = i - 3;
14792 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14793 L[i] = 4;
14794 return (Array[1] != -2 || L[2] != 3)
14796 return 0;
14798 _ACEOF
14799 if ac_fn_c_try_run "$LINENO"; then :
14800 ac_cv_c_gcc_strength_bug="no"
14801 else
14802 ac_cv_c_gcc_strength_bug="yes"
14804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14805 conftest.$ac_objext conftest.beam conftest.$ac_ext
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14810 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14811 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14812 then
14813 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14817 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14818 if ${ac_cv_cflags__fno_builtin+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 ac_wine_try_cflags_saved=$CFLAGS
14822 CFLAGS="$CFLAGS -fno-builtin"
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 int main(int argc, char **argv) { return 0; }
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_cflags__fno_builtin=yes
14829 else
14830 ac_cv_cflags__fno_builtin=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 CFLAGS=$ac_wine_try_cflags_saved
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14837 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14838 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14839 BUILTINFLAG="-fno-builtin"
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14843 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14844 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_wine_try_cflags_saved=$CFLAGS
14848 CFLAGS="$CFLAGS -fno-strict-aliasing"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14851 int main(int argc, char **argv) { return 0; }
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_cflags__fno_strict_aliasing=yes
14855 else
14856 ac_cv_cflags__fno_strict_aliasing=no
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 CFLAGS=$ac_wine_try_cflags_saved
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14863 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14864 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14865 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14868 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14869 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 ac_wine_try_cflags_saved=$CFLAGS
14873 CFLAGS="$CFLAGS -fexcess-precision=standard"
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 int main(int argc, char **argv) { return 0; }
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 ac_cv_cflags__fexcess_precision_standard=yes
14880 else
14881 ac_cv_cflags__fexcess_precision_standard=no
14883 rm -f core conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext conftest.$ac_ext
14885 CFLAGS=$ac_wine_try_cflags_saved
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14888 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14889 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14890 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14893 saved_CFLAGS=$CFLAGS
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14895 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14896 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14897 $as_echo_n "(cached) " >&6
14898 else
14899 ac_wine_try_cflags_saved=$CFLAGS
14900 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 int main(int argc, char **argv) { return 0; }
14904 _ACEOF
14905 if ac_fn_c_try_link "$LINENO"; then :
14906 ac_cv_cflags__Werror_unknown_warning_option=yes
14907 else
14908 ac_cv_cflags__Werror_unknown_warning_option=no
14910 rm -f core conftest.err conftest.$ac_objext \
14911 conftest$ac_exeext conftest.$ac_ext
14912 CFLAGS=$ac_wine_try_cflags_saved
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14915 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14916 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14917 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14920 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14921 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14922 $as_echo_n "(cached) " >&6
14923 else
14924 ac_wine_try_cflags_saved=$CFLAGS
14925 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14928 int main(int argc, char **argv) { return 0; }
14929 _ACEOF
14930 if ac_fn_c_try_link "$LINENO"; then :
14931 ac_cv_cflags__Wdeclaration_after_statement=yes
14932 else
14933 ac_cv_cflags__Wdeclaration_after_statement=no
14935 rm -f core conftest.err conftest.$ac_objext \
14936 conftest$ac_exeext conftest.$ac_ext
14937 CFLAGS=$ac_wine_try_cflags_saved
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14940 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14941 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14942 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14945 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14946 if ${ac_cv_cflags__Wempty_body+:} false; then :
14947 $as_echo_n "(cached) " >&6
14948 else
14949 ac_wine_try_cflags_saved=$CFLAGS
14950 CFLAGS="$CFLAGS -Wempty-body"
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14953 int main(int argc, char **argv) { return 0; }
14954 _ACEOF
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_cflags__Wempty_body=yes
14957 else
14958 ac_cv_cflags__Wempty_body=no
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14962 CFLAGS=$ac_wine_try_cflags_saved
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14965 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14966 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14967 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14970 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14971 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 ac_wine_try_cflags_saved=$CFLAGS
14975 CFLAGS="$CFLAGS -Wignored-qualifiers"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 int main(int argc, char **argv) { return 0; }
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_cflags__Wignored_qualifiers=yes
14982 else
14983 ac_cv_cflags__Wignored_qualifiers=no
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 CFLAGS=$ac_wine_try_cflags_saved
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14990 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14991 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14992 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14995 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14996 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 ac_wine_try_cflags_saved=$CFLAGS
15000 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15003 int main(int argc, char **argv) { return 0; }
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 ac_cv_cflags__Wpacked_not_aligned=yes
15007 else
15008 ac_cv_cflags__Wpacked_not_aligned=no
15010 rm -f core conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15012 CFLAGS=$ac_wine_try_cflags_saved
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15015 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15016 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15017 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15020 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15021 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15022 $as_echo_n "(cached) " >&6
15023 else
15024 ac_wine_try_cflags_saved=$CFLAGS
15025 CFLAGS="$CFLAGS -Wpragma-pack"
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15028 int main(int argc, char **argv) { return 0; }
15029 _ACEOF
15030 if ac_fn_c_try_link "$LINENO"; then :
15031 ac_cv_cflags__Wpragma_pack=yes
15032 else
15033 ac_cv_cflags__Wpragma_pack=no
15035 rm -f core conftest.err conftest.$ac_objext \
15036 conftest$ac_exeext conftest.$ac_ext
15037 CFLAGS=$ac_wine_try_cflags_saved
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15040 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15041 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15042 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15045 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15046 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15047 $as_echo_n "(cached) " >&6
15048 else
15049 ac_wine_try_cflags_saved=$CFLAGS
15050 CFLAGS="$CFLAGS -Wshift-overflow=2"
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15053 int main(int argc, char **argv) { return 0; }
15054 _ACEOF
15055 if ac_fn_c_try_link "$LINENO"; then :
15056 ac_cv_cflags__Wshift_overflow_2=yes
15057 else
15058 ac_cv_cflags__Wshift_overflow_2=no
15060 rm -f core conftest.err conftest.$ac_objext \
15061 conftest$ac_exeext conftest.$ac_ext
15062 CFLAGS=$ac_wine_try_cflags_saved
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15065 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15066 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15067 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15070 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15071 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 ac_wine_try_cflags_saved=$CFLAGS
15075 CFLAGS="$CFLAGS -Wstrict-prototypes"
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15078 int main(int argc, char **argv) { return 0; }
15079 _ACEOF
15080 if ac_fn_c_try_link "$LINENO"; then :
15081 ac_cv_cflags__Wstrict_prototypes=yes
15082 else
15083 ac_cv_cflags__Wstrict_prototypes=no
15085 rm -f core conftest.err conftest.$ac_objext \
15086 conftest$ac_exeext conftest.$ac_ext
15087 CFLAGS=$ac_wine_try_cflags_saved
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15090 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15091 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15092 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15095 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15096 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15097 $as_echo_n "(cached) " >&6
15098 else
15099 ac_wine_try_cflags_saved=$CFLAGS
15100 CFLAGS="$CFLAGS -Wtype-limits"
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 int main(int argc, char **argv) { return 0; }
15104 _ACEOF
15105 if ac_fn_c_try_link "$LINENO"; then :
15106 ac_cv_cflags__Wtype_limits=yes
15107 else
15108 ac_cv_cflags__Wtype_limits=no
15110 rm -f core conftest.err conftest.$ac_objext \
15111 conftest$ac_exeext conftest.$ac_ext
15112 CFLAGS=$ac_wine_try_cflags_saved
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15115 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15116 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15117 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15120 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15121 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 ac_wine_try_cflags_saved=$CFLAGS
15125 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 int main(int argc, char **argv) { return 0; }
15129 _ACEOF
15130 if ac_fn_c_try_link "$LINENO"; then :
15131 ac_cv_cflags__Wunused_but_set_parameter=yes
15132 else
15133 ac_cv_cflags__Wunused_but_set_parameter=no
15135 rm -f core conftest.err conftest.$ac_objext \
15136 conftest$ac_exeext conftest.$ac_ext
15137 CFLAGS=$ac_wine_try_cflags_saved
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15140 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15141 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15142 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15145 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15146 if ${ac_cv_cflags__Wvla+:} false; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15149 ac_wine_try_cflags_saved=$CFLAGS
15150 CFLAGS="$CFLAGS -Wvla"
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 int main(int argc, char **argv) { return 0; }
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"; then :
15156 ac_cv_cflags__Wvla=yes
15157 else
15158 ac_cv_cflags__Wvla=no
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext conftest.$ac_ext
15162 CFLAGS=$ac_wine_try_cflags_saved
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15165 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15166 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15167 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15170 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15171 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 ac_wine_try_cflags_saved=$CFLAGS
15175 CFLAGS="$CFLAGS -Wwrite-strings"
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 int main(int argc, char **argv) { return 0; }
15179 _ACEOF
15180 if ac_fn_c_try_link "$LINENO"; then :
15181 ac_cv_cflags__Wwrite_strings=yes
15182 else
15183 ac_cv_cflags__Wwrite_strings=no
15185 rm -f core conftest.err conftest.$ac_objext \
15186 conftest$ac_exeext conftest.$ac_ext
15187 CFLAGS=$ac_wine_try_cflags_saved
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15190 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15191 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15192 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15196 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15197 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15198 $as_echo_n "(cached) " >&6
15199 else
15200 ac_wine_try_cflags_saved=$CFLAGS
15201 CFLAGS="$CFLAGS -Wpointer-arith"
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15204 int main(int argc, char **argv) { return 0; }
15205 _ACEOF
15206 if ac_fn_c_try_link "$LINENO"; then :
15207 ac_cv_cflags__Wpointer_arith=yes
15208 else
15209 ac_cv_cflags__Wpointer_arith=no
15211 rm -f core conftest.err conftest.$ac_objext \
15212 conftest$ac_exeext conftest.$ac_ext
15213 CFLAGS=$ac_wine_try_cflags_saved
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15216 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15217 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15218 saved_string_h_CFLAGS=$CFLAGS
15219 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15221 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15222 if ${ac_cv_c_string_h_warnings+:} false; then :
15223 $as_echo_n "(cached) " >&6
15224 else
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15227 #include <string.h>
15229 main ()
15233 return 0;
15235 _ACEOF
15236 if ac_fn_c_try_compile "$LINENO"; then :
15237 ac_cv_c_string_h_warnings=no
15238 else
15239 ac_cv_c_string_h_warnings=yes
15241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15244 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15245 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15246 CFLAGS=$saved_string_h_CFLAGS
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15250 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15251 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15252 $as_echo_n "(cached) " >&6
15253 else
15254 ac_wine_try_cflags_saved=$CFLAGS
15255 CFLAGS="$CFLAGS -Wlogical-op"
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15258 int main(int argc, char **argv) { return 0; }
15259 _ACEOF
15260 if ac_fn_c_try_link "$LINENO"; then :
15261 ac_cv_cflags__Wlogical_op=yes
15262 else
15263 ac_cv_cflags__Wlogical_op=no
15265 rm -f core conftest.err conftest.$ac_objext \
15266 conftest$ac_exeext conftest.$ac_ext
15267 CFLAGS=$ac_wine_try_cflags_saved
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15270 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15271 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15272 saved_string_h_CFLAGS=$CFLAGS
15273 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15275 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15276 if ${ac_cv_c_logicalop_noisy+:} false; then :
15277 $as_echo_n "(cached) " >&6
15278 else
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15281 #include <string.h>
15282 char*f(const char *h,char n) {return strchr(h,n);}
15284 main ()
15288 return 0;
15290 _ACEOF
15291 if ac_fn_c_try_compile "$LINENO"; then :
15292 ac_cv_c_logicalop_noisy=no
15293 else
15294 ac_cv_c_logicalop_noisy=yes
15296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15299 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15300 CFLAGS=$saved_string_h_CFLAGS
15301 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15304 CFLAGS=$saved_CFLAGS
15306 for ac_flag in $CFLAGS; do
15307 case $ac_flag in
15308 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15309 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15310 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313 ac_wine_try_cflags_saved=$CFLAGS
15314 CFLAGS="$CFLAGS -gdwarf-2"
15315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15317 int main(int argc, char **argv) { return 0; }
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"; then :
15320 ac_cv_cflags__gdwarf_2=yes
15321 else
15322 ac_cv_cflags__gdwarf_2=no
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
15326 CFLAGS=$ac_wine_try_cflags_saved
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15329 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15330 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15331 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15334 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15335 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15336 $as_echo_n "(cached) " >&6
15337 else
15338 ac_wine_try_cflags_saved=$CFLAGS
15339 CFLAGS="$CFLAGS -gstrict-dwarf"
15340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15342 int main(int argc, char **argv) { return 0; }
15343 _ACEOF
15344 if ac_fn_c_try_link "$LINENO"; then :
15345 ac_cv_cflags__gstrict_dwarf=yes
15346 else
15347 ac_cv_cflags__gstrict_dwarf=no
15349 rm -f core conftest.err conftest.$ac_objext \
15350 conftest$ac_exeext conftest.$ac_ext
15351 CFLAGS=$ac_wine_try_cflags_saved
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15354 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15355 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15356 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15357 fi ;;
15358 esac
15359 done
15361 case $host_cpu in
15362 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15363 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15364 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15365 $as_echo_n "(cached) " >&6
15366 else
15367 ac_wine_try_cflags_saved=$CFLAGS
15368 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15371 int main(int argc, char **argv) { return 0; }
15372 _ACEOF
15373 if ac_fn_c_try_link "$LINENO"; then :
15374 ac_cv_cflags__fno_omit_frame_pointer=yes
15375 else
15376 ac_cv_cflags__fno_omit_frame_pointer=no
15378 rm -f core conftest.err conftest.$ac_objext \
15379 conftest$ac_exeext conftest.$ac_ext
15380 CFLAGS=$ac_wine_try_cflags_saved
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15383 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15384 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15385 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15386 fi ;;
15387 esac
15389 case $host in
15390 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15391 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15392 if ${ac_cv_cflags__Wno_format+:} false; then :
15393 $as_echo_n "(cached) " >&6
15394 else
15395 ac_wine_try_cflags_saved=$CFLAGS
15396 CFLAGS="$CFLAGS -Wno-format"
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15399 int main(int argc, char **argv) { return 0; }
15400 _ACEOF
15401 if ac_fn_c_try_link "$LINENO"; then :
15402 ac_cv_cflags__Wno_format=yes
15403 else
15404 ac_cv_cflags__Wno_format=no
15406 rm -f core conftest.err conftest.$ac_objext \
15407 conftest$ac_exeext conftest.$ac_ext
15408 CFLAGS=$ac_wine_try_cflags_saved
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15411 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15412 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15413 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15414 fi ;;
15415 esac
15417 if test "x$enable_maintainer_mode" = "xyes"
15418 then
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15420 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15421 if ${ac_cv_cflags__Werror+:} false; then :
15422 $as_echo_n "(cached) " >&6
15423 else
15424 ac_wine_try_cflags_saved=$CFLAGS
15425 CFLAGS="$CFLAGS -Werror"
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15428 int main(int argc, char **argv) { return 0; }
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 ac_cv_cflags__Werror=yes
15432 else
15433 ac_cv_cflags__Werror=no
15435 rm -f core conftest.err conftest.$ac_objext \
15436 conftest$ac_exeext conftest.$ac_ext
15437 CFLAGS=$ac_wine_try_cflags_saved
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15440 $as_echo "$ac_cv_cflags__Werror" >&6; }
15441 if test "x$ac_cv_cflags__Werror" = xyes; then :
15442 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15446 saved_CFLAGS="$CFLAGS"
15447 CFLAGS="$CFLAGS -Werror"
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15449 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15450 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15455 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15457 main ()
15461 return 0;
15463 _ACEOF
15464 if ac_fn_c_try_compile "$LINENO"; then :
15465 ac_cv_have_ms_hook_prologue="yes"
15466 else
15467 ac_cv_have_ms_hook_prologue="no"
15469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15472 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15473 CFLAGS="$saved_CFLAGS"
15474 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15475 then
15477 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15479 else
15480 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15487 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15488 if ${ac_cv_c_fortify_enabled+:} false; then :
15489 $as_echo_n "(cached) " >&6
15490 else
15491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15493 #include <string.h>
15495 main ()
15497 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15498 #error Fortify enabled
15499 #endif
15501 return 0;
15503 _ACEOF
15504 if ac_fn_c_try_compile "$LINENO"; then :
15505 ac_cv_c_fortify_enabled=no
15506 else
15507 ac_cv_c_fortify_enabled=yes
15509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15512 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15513 if test "$ac_cv_c_fortify_enabled" = yes
15514 then
15515 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15520 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15521 if ${ac_cv_c_extern_prefix+:} false; then :
15522 $as_echo_n "(cached) " >&6
15523 else
15524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15525 /* end confdefs.h. */
15526 extern int ac_test;
15528 main ()
15530 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15532 return 0;
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 ac_cv_c_extern_prefix="yes"
15537 else
15538 ac_cv_c_extern_prefix="no"
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15544 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15546 case $host_cpu in
15547 *i[3456789]86*)
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15549 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15550 if ${ac_cv_c_stdcall_suffix+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15554 /* end confdefs.h. */
15555 #ifndef _MSC_VER
15556 #define __stdcall __attribute__((__stdcall__))
15557 #endif
15558 int __stdcall ac_test(int i) { return i; }
15560 main ()
15562 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15564 return 0;
15566 _ACEOF
15567 if ac_fn_c_try_link "$LINENO"; then :
15568 ac_cv_c_stdcall_suffix="yes"
15569 else
15570 ac_cv_c_stdcall_suffix="no"
15572 rm -f core conftest.err conftest.$ac_objext \
15573 conftest$ac_exeext conftest.$ac_ext
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15576 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15577 *) ac_cv_c_stdcall_suffix="no" ;;
15578 esac
15581 if test "$ac_cv_c_extern_prefix" = "yes"
15582 then
15583 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15585 asm_name_prefix="_"
15586 else
15587 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15589 asm_name_prefix=""
15593 if test "$ac_cv_c_stdcall_suffix" = "yes"
15594 then
15595 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15597 else
15598 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15604 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15605 if ${ac_cv_asm_func_def+:} false; then :
15606 $as_echo_n "(cached) " >&6
15607 else
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15612 main ()
15614 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15616 return 0;
15618 _ACEOF
15619 if ac_fn_c_try_link "$LINENO"; then :
15620 ac_cv_asm_func_def=".def"
15621 else
15622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15623 /* end confdefs.h. */
15626 main ()
15628 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15630 return 0;
15632 _ACEOF
15633 if ac_fn_c_try_link "$LINENO"; then :
15634 ac_cv_asm_func_def=".type @function"
15635 else
15636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15640 main ()
15642 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15644 return 0;
15646 _ACEOF
15647 if ac_fn_c_try_link "$LINENO"; then :
15648 ac_cv_asm_func_def=".type 2"
15649 else
15650 ac_cv_asm_func_def="unknown"
15652 rm -f core conftest.err conftest.$ac_objext \
15653 conftest$ac_exeext conftest.$ac_ext
15655 rm -f core conftest.err conftest.$ac_objext \
15656 conftest$ac_exeext conftest.$ac_ext
15658 rm -f core conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext conftest.$ac_ext
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15662 $as_echo "$ac_cv_asm_func_def" >&6; }
15665 case "$ac_cv_asm_func_def" in
15666 ".def")
15667 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15669 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15670 ".type @function")
15671 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15673 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15674 ".type 2")
15675 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15677 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15679 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15681 asm_func_header="" ;;
15682 esac
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15685 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15686 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15687 $as_echo_n "(cached) " >&6
15688 else
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15691 asm(".text\n\t.long 0");
15693 main ()
15697 return 0;
15699 _ACEOF
15700 if ac_fn_c_try_compile "$LINENO"; then :
15701 ac_cv_c_asm_outside_funcs="yes"
15702 else
15703 ac_cv_c_asm_outside_funcs="no"
15705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15708 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15711 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15712 if ${ac_cv_c_dot_previous+:} false; then :
15713 $as_echo_n "(cached) " >&6
15714 else
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15719 main ()
15721 asm(".text\nac_test:\t.long 0\n\t.previous");
15723 return 0;
15725 _ACEOF
15726 if ac_fn_c_try_link "$LINENO"; then :
15727 ac_cv_c_dot_previous="yes"
15728 else
15729 ac_cv_c_dot_previous="no"
15731 rm -f core conftest.err conftest.$ac_objext \
15732 conftest$ac_exeext conftest.$ac_ext
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15735 $as_echo "$ac_cv_c_dot_previous" >&6; }
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15738 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15739 if ${ac_cv_c_cfi_support+:} false; then :
15740 $as_echo_n "(cached) " >&6
15741 else
15742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15743 /* end confdefs.h. */
15744 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15746 main ()
15750 return 0;
15752 _ACEOF
15753 if ac_fn_c_try_compile "$LINENO"; then :
15754 ac_cv_c_cfi_support="yes"
15755 else
15756 ac_cv_c_cfi_support="no"
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15761 $as_echo "$ac_cv_c_cfi_support" >&6; }
15763 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15764 asm_func_trailer=""
15765 if test "$ac_cv_c_dot_previous" = "yes"
15766 then
15767 asm_func_trailer="\\n\\t.previous"
15769 if test "$ac_cv_c_cfi_support" = "yes"
15770 then
15771 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15772 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15774 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15776 UNWINDFLAGS=-fasynchronous-unwind-tables
15778 else
15779 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15781 if test "x$enable_win64" = "xyes"
15782 then
15783 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15787 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15790 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15791 then
15792 cat >>confdefs.h <<_ACEOF
15793 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15794 _ACEOF
15796 else
15797 cat >>confdefs.h <<_ACEOF
15798 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15799 _ACEOF
15803 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15806 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15810 case $build_os in
15811 cygwin*|mingw32*) TOOLSEXT=".exe"
15813 esac
15815 case $host_os in
15816 linux*)
15817 case $host_cpu in
15818 *i[3456789]86*|x86_64*|*aarch64*)
15819 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15820 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15822 esac
15824 esac
15827 ac_save_CFLAGS="$CFLAGS"
15828 CFLAGS="$CFLAGS $BUILTINFLAG"
15829 for ac_func in \
15830 __res_get_state \
15831 __res_getservers \
15832 _finite \
15833 _isnan \
15834 _pclose \
15835 _popen \
15836 _snprintf \
15837 _spawnvp \
15838 _strdup \
15839 _stricmp \
15840 _strnicmp \
15841 _strtoi64 \
15842 _strtoui64 \
15843 _vsnprintf \
15844 asctime_r \
15845 chsize \
15846 dlopen \
15847 epoll_create \
15848 ffs \
15849 finitef \
15850 fnmatch \
15851 fork \
15852 fpclass \
15853 fstatfs \
15854 fstatvfs \
15855 ftruncate \
15856 futimens \
15857 futimes \
15858 futimesat \
15859 getattrlist \
15860 getauxval \
15861 getifaddrs \
15862 getopt_long_only \
15863 getpwuid \
15864 gettimeofday \
15865 getuid \
15866 isnanf \
15867 kqueue \
15868 lstat \
15869 memmove \
15870 mmap \
15871 pclose \
15872 pipe2 \
15873 poll \
15874 popen \
15875 port_create \
15876 prctl \
15877 pread \
15878 proc_pidinfo \
15879 pwrite \
15880 readdir \
15881 readlink \
15882 sched_yield \
15883 select \
15884 setproctitle \
15885 setprogname \
15886 setrlimit \
15887 settimeofday \
15888 sigaltstack \
15889 sigprocmask \
15890 snprintf \
15891 statfs \
15892 statvfs \
15893 strcasecmp \
15894 strdup \
15895 strerror \
15896 strncasecmp \
15897 strnlen \
15898 strtold \
15899 strtoll \
15900 strtoull \
15901 symlink \
15902 sysinfo \
15903 tcdrain \
15904 thr_kill2 \
15905 timegm \
15906 usleep \
15907 vsnprintf
15909 do :
15910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15912 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15913 cat >>confdefs.h <<_ACEOF
15914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15915 _ACEOF
15918 done
15920 CFLAGS="$ac_save_CFLAGS"
15922 if test "$ac_cv_func_dlopen" = no
15923 then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15925 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15926 if ${ac_cv_lib_dl_dlopen+:} false; then :
15927 $as_echo_n "(cached) " >&6
15928 else
15929 ac_check_lib_save_LIBS=$LIBS
15930 LIBS="-ldl $LIBS"
15931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15934 /* Override any GCC internal prototype to avoid an error.
15935 Use char because int might match the return type of a GCC
15936 builtin and then its argument prototype would still apply. */
15937 #ifdef __cplusplus
15938 extern "C"
15939 #endif
15940 char dlopen ();
15942 main ()
15944 return dlopen ();
15946 return 0;
15948 _ACEOF
15949 if ac_fn_c_try_link "$LINENO"; then :
15950 ac_cv_lib_dl_dlopen=yes
15951 else
15952 ac_cv_lib_dl_dlopen=no
15954 rm -f core conftest.err conftest.$ac_objext \
15955 conftest$ac_exeext conftest.$ac_ext
15956 LIBS=$ac_check_lib_save_LIBS
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15959 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15960 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15961 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15962 DL_LIBS="-ldl"
15967 ac_wine_check_funcs_save_LIBS="$LIBS"
15968 LIBS="$LIBS $DL_LIBS"
15969 for ac_func in dladdr
15970 do :
15971 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15972 if test "x$ac_cv_func_dladdr" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_DLADDR 1
15975 _ACEOF
15978 done
15980 LIBS="$ac_wine_check_funcs_save_LIBS"
15982 if test "$ac_cv_func_poll" = no
15983 then
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15985 $as_echo_n "checking for poll in -lpoll... " >&6; }
15986 if ${ac_cv_lib_poll_poll+:} false; then :
15987 $as_echo_n "(cached) " >&6
15988 else
15989 ac_check_lib_save_LIBS=$LIBS
15990 LIBS="-lpoll $LIBS"
15991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15994 /* Override any GCC internal prototype to avoid an error.
15995 Use char because int might match the return type of a GCC
15996 builtin and then its argument prototype would still apply. */
15997 #ifdef __cplusplus
15998 extern "C"
15999 #endif
16000 char poll ();
16002 main ()
16004 return poll ();
16006 return 0;
16008 _ACEOF
16009 if ac_fn_c_try_link "$LINENO"; then :
16010 ac_cv_lib_poll_poll=yes
16011 else
16012 ac_cv_lib_poll_poll=no
16014 rm -f core conftest.err conftest.$ac_objext \
16015 conftest$ac_exeext conftest.$ac_ext
16016 LIBS=$ac_check_lib_save_LIBS
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16019 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16020 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16021 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16022 POLL_LIBS="-lpoll"
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16029 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16030 if ${ac_cv_search_gethostbyname+:} false; then :
16031 $as_echo_n "(cached) " >&6
16032 else
16033 ac_func_search_save_LIBS=$LIBS
16034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16035 /* end confdefs.h. */
16037 /* Override any GCC internal prototype to avoid an error.
16038 Use char because int might match the return type of a GCC
16039 builtin and then its argument prototype would still apply. */
16040 #ifdef __cplusplus
16041 extern "C"
16042 #endif
16043 char gethostbyname ();
16045 main ()
16047 return gethostbyname ();
16049 return 0;
16051 _ACEOF
16052 for ac_lib in '' nsl; do
16053 if test -z "$ac_lib"; then
16054 ac_res="none required"
16055 else
16056 ac_res=-l$ac_lib
16057 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16059 if ac_fn_c_try_link "$LINENO"; then :
16060 ac_cv_search_gethostbyname=$ac_res
16062 rm -f core conftest.err conftest.$ac_objext \
16063 conftest$ac_exeext
16064 if ${ac_cv_search_gethostbyname+:} false; then :
16065 break
16067 done
16068 if ${ac_cv_search_gethostbyname+:} false; then :
16070 else
16071 ac_cv_search_gethostbyname=no
16073 rm conftest.$ac_ext
16074 LIBS=$ac_func_search_save_LIBS
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16077 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16078 ac_res=$ac_cv_search_gethostbyname
16079 if test "$ac_res" != no; then :
16080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16086 $as_echo_n "checking for library containing connect... " >&6; }
16087 if ${ac_cv_search_connect+:} false; then :
16088 $as_echo_n "(cached) " >&6
16089 else
16090 ac_func_search_save_LIBS=$LIBS
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16094 /* Override any GCC internal prototype to avoid an error.
16095 Use char because int might match the return type of a GCC
16096 builtin and then its argument prototype would still apply. */
16097 #ifdef __cplusplus
16098 extern "C"
16099 #endif
16100 char connect ();
16102 main ()
16104 return connect ();
16106 return 0;
16108 _ACEOF
16109 for ac_lib in '' socket; do
16110 if test -z "$ac_lib"; then
16111 ac_res="none required"
16112 else
16113 ac_res=-l$ac_lib
16114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16116 if ac_fn_c_try_link "$LINENO"; then :
16117 ac_cv_search_connect=$ac_res
16119 rm -f core conftest.err conftest.$ac_objext \
16120 conftest$ac_exeext
16121 if ${ac_cv_search_connect+:} false; then :
16122 break
16124 done
16125 if ${ac_cv_search_connect+:} false; then :
16127 else
16128 ac_cv_search_connect=no
16130 rm conftest.$ac_ext
16131 LIBS=$ac_func_search_save_LIBS
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16134 $as_echo "$ac_cv_search_connect" >&6; }
16135 ac_res=$ac_cv_search_connect
16136 if test "$ac_res" != no; then :
16137 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16143 $as_echo_n "checking for library containing inet_aton... " >&6; }
16144 if ${ac_cv_search_inet_aton+:} false; then :
16145 $as_echo_n "(cached) " >&6
16146 else
16147 ac_func_search_save_LIBS=$LIBS
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16154 #ifdef __cplusplus
16155 extern "C"
16156 #endif
16157 char inet_aton ();
16159 main ()
16161 return inet_aton ();
16163 return 0;
16165 _ACEOF
16166 for ac_lib in '' resolv; do
16167 if test -z "$ac_lib"; then
16168 ac_res="none required"
16169 else
16170 ac_res=-l$ac_lib
16171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16173 if ac_fn_c_try_link "$LINENO"; then :
16174 ac_cv_search_inet_aton=$ac_res
16176 rm -f core conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext
16178 if ${ac_cv_search_inet_aton+:} false; then :
16179 break
16181 done
16182 if ${ac_cv_search_inet_aton+:} false; then :
16184 else
16185 ac_cv_search_inet_aton=no
16187 rm conftest.$ac_ext
16188 LIBS=$ac_func_search_save_LIBS
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16191 $as_echo "$ac_cv_search_inet_aton" >&6; }
16192 ac_res=$ac_cv_search_inet_aton
16193 if test "$ac_res" != no; then :
16194 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16199 for ac_func in \
16200 getaddrinfo \
16201 getnameinfo \
16202 getnetbyname \
16203 getprotobyname \
16204 getprotobynumber \
16205 getservbyport \
16206 inet_addr \
16207 inet_network \
16208 inet_ntop \
16209 inet_pton \
16210 sendmsg \
16211 socketpair \
16213 do :
16214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16215 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16216 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16219 _ACEOF
16222 done
16225 ac_save_LIBS=$LIBS
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16227 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16228 if ${ac_cv_search_clock_gettime+:} false; then :
16229 $as_echo_n "(cached) " >&6
16230 else
16231 ac_func_search_save_LIBS=$LIBS
16232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16233 /* end confdefs.h. */
16235 /* Override any GCC internal prototype to avoid an error.
16236 Use char because int might match the return type of a GCC
16237 builtin and then its argument prototype would still apply. */
16238 #ifdef __cplusplus
16239 extern "C"
16240 #endif
16241 char clock_gettime ();
16243 main ()
16245 return clock_gettime ();
16247 return 0;
16249 _ACEOF
16250 for ac_lib in '' rt; do
16251 if test -z "$ac_lib"; then
16252 ac_res="none required"
16253 else
16254 ac_res=-l$ac_lib
16255 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16257 if ac_fn_c_try_link "$LINENO"; then :
16258 ac_cv_search_clock_gettime=$ac_res
16260 rm -f core conftest.err conftest.$ac_objext \
16261 conftest$ac_exeext
16262 if ${ac_cv_search_clock_gettime+:} false; then :
16263 break
16265 done
16266 if ${ac_cv_search_clock_gettime+:} false; then :
16268 else
16269 ac_cv_search_clock_gettime=no
16271 rm conftest.$ac_ext
16272 LIBS=$ac_func_search_save_LIBS
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16275 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16276 ac_res=$ac_cv_search_clock_gettime
16277 if test "$ac_res" != no; then :
16278 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16280 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16282 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16286 LIBS=$ac_save_LIBS
16288 if test "x$with_ldap" != "xno"
16289 then
16290 if ${LDAP_CFLAGS:+false} :; then :
16291 if ${PKG_CONFIG+:} false; then :
16292 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16296 if ${LDAP_LIBS:+false} :; then :
16297 if ${PKG_CONFIG+:} false; then :
16298 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16302 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16303 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16304 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16305 ac_save_CPPFLAGS=$CPPFLAGS
16306 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16307 for ac_header in ldap.h lber.h
16308 do :
16309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16310 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16311 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16314 _ACEOF
16318 done
16320 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16321 then
16322 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16324 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16326 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16327 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16328 $as_echo_n "(cached) " >&6
16329 else
16330 ac_check_lib_save_LIBS=$LIBS
16331 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16333 /* end confdefs.h. */
16335 /* Override any GCC internal prototype to avoid an error.
16336 Use char because int might match the return type of a GCC
16337 builtin and then its argument prototype would still apply. */
16338 #ifdef __cplusplus
16339 extern "C"
16340 #endif
16341 char ldap_initialize ();
16343 main ()
16345 return ldap_initialize ();
16347 return 0;
16349 _ACEOF
16350 if ac_fn_c_try_link "$LINENO"; then :
16351 ac_cv_lib_ldap_r_ldap_initialize=yes
16352 else
16353 ac_cv_lib_ldap_r_ldap_initialize=no
16355 rm -f core conftest.err conftest.$ac_objext \
16356 conftest$ac_exeext conftest.$ac_ext
16357 LIBS=$ac_check_lib_save_LIBS
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16360 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16361 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16363 $as_echo_n "checking for ber_init in -llber... " >&6; }
16364 if ${ac_cv_lib_lber_ber_init+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 ac_check_lib_save_LIBS=$LIBS
16368 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16375 #ifdef __cplusplus
16376 extern "C"
16377 #endif
16378 char ber_init ();
16380 main ()
16382 return ber_init ();
16384 return 0;
16386 _ACEOF
16387 if ac_fn_c_try_link "$LINENO"; then :
16388 ac_cv_lib_lber_ber_init=yes
16389 else
16390 ac_cv_lib_lber_ber_init=no
16392 rm -f core conftest.err conftest.$ac_objext \
16393 conftest$ac_exeext conftest.$ac_ext
16394 LIBS=$ac_check_lib_save_LIBS
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16397 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16398 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16400 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16402 else
16403 LDAP_LIBS=""
16406 else
16407 LDAP_LIBS=""
16410 else
16411 LDAP_LIBS=""
16414 ac_wine_check_funcs_save_LIBS="$LIBS"
16415 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16416 for ac_func in \
16417 ldap_count_references \
16418 ldap_first_reference \
16419 ldap_next_reference \
16420 ldap_parse_reference \
16421 ldap_parse_sort_control \
16422 ldap_parse_sortresponse_control \
16423 ldap_parse_vlv_control \
16424 ldap_parse_vlvresponse_control
16425 do :
16426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16428 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16431 _ACEOF
16434 done
16436 LIBS="$ac_wine_check_funcs_save_LIBS"
16437 else
16438 LDAP_LIBS=""
16440 CPPFLAGS=$ac_save_CPPFLAGS
16441 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16442 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16445 if test "x$LDAP_LIBS" = "x"; then :
16446 case "x$with_ldap" in
16447 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16448 xno) ;;
16449 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16450 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16451 esac
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16456 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16457 if ${wine_cv_one_arg_mkdir+:} false; then :
16458 $as_echo_n "(cached) " >&6
16459 else
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #include <sys/stat.h>
16464 main ()
16466 mkdir("foo");
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_compile "$LINENO"; then :
16472 wine_cv_one_arg_mkdir=yes
16473 else
16474 wine_cv_one_arg_mkdir=no
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16479 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16480 if test "$wine_cv_one_arg_mkdir" = "yes"
16481 then
16483 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16488 $as_echo_n "checking for sched_setaffinity... " >&6; }
16489 if ${wine_cv_have_sched_setaffinity+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #define _GNU_SOURCE
16495 #include <sched.h>
16497 main ()
16499 sched_setaffinity(0, 0, 0);
16501 return 0;
16503 _ACEOF
16504 if ac_fn_c_try_link "$LINENO"; then :
16505 wine_cv_have_sched_setaffinity=yes
16506 else
16507 wine_cv_have_sched_setaffinity=no
16509 rm -f core conftest.err conftest.$ac_objext \
16510 conftest$ac_exeext conftest.$ac_ext
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16513 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16514 if test "$wine_cv_have_sched_setaffinity" = "yes"
16515 then
16517 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16522 $as_echo_n "checking for fallocate... " >&6; }
16523 if ${wine_cv_have_fallocate+:} false; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16528 #define _GNU_SOURCE
16529 #include <fcntl.h>
16531 main ()
16533 fallocate(-1, 0, 0, 0);
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"; then :
16539 wine_cv_have_fallocate=yes
16540 else
16541 wine_cv_have_fallocate=no
16543 rm -f core conftest.err conftest.$ac_objext \
16544 conftest$ac_exeext conftest.$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16547 $as_echo "$wine_cv_have_fallocate" >&6; }
16548 if test "$wine_cv_have_fallocate" = "yes"
16549 then
16551 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16557 $as_echo_n "checking for inline... " >&6; }
16558 if ${ac_cv_c_inline+:} false; then :
16559 $as_echo_n "(cached) " >&6
16560 else
16561 ac_cv_c_inline=no
16562 for ac_kw in inline __inline__ __inline; do
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565 #ifndef __cplusplus
16566 typedef int foo_t;
16567 static $ac_kw foo_t static_foo () {return 0; }
16568 $ac_kw foo_t foo () {return 0; }
16569 #endif
16571 _ACEOF
16572 if ac_fn_c_try_compile "$LINENO"; then :
16573 ac_cv_c_inline=$ac_kw
16575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 test "$ac_cv_c_inline" != no && break
16577 done
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16581 $as_echo "$ac_cv_c_inline" >&6; }
16583 case $ac_cv_c_inline in
16584 inline | yes) ;;
16586 case $ac_cv_c_inline in
16587 no) ac_val=;;
16588 *) ac_val=$ac_cv_c_inline;;
16589 esac
16590 cat >>confdefs.h <<_ACEOF
16591 #ifndef __cplusplus
16592 #define inline $ac_val
16593 #endif
16594 _ACEOF
16596 esac
16598 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16599 if test "x$ac_cv_type_mode_t" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_MODE_T 1
16603 _ACEOF
16607 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16608 if test "x$ac_cv_type_off_t" = xyes; then :
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_OFF_T 1
16612 _ACEOF
16616 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16617 if test "x$ac_cv_type_pid_t" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_PID_T 1
16621 _ACEOF
16625 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16626 if test "x$ac_cv_type_size_t" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_SIZE_T 1
16630 _ACEOF
16634 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16635 if test "x$ac_cv_type_ssize_t" = xyes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_SSIZE_T 1
16639 _ACEOF
16643 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16644 if test "x$ac_cv_type_long_long" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_LONG_LONG 1
16648 _ACEOF
16652 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16653 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_FSBLKCNT_T 1
16657 _ACEOF
16661 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16662 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_FSFILCNT_T 1
16666 _ACEOF
16671 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16672 #include <signal.h>
16674 if test "x$ac_cv_type_sigset_t" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_SIGSET_T 1
16678 _ACEOF
16683 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16685 if test "x$ac_cv_type_request_sense" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_REQUEST_SENSE 1
16689 _ACEOF
16695 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16696 #ifdef HAVE_SYS_SOCKET_H
16697 #include <sys/socket.h>
16698 #endif
16699 #ifdef HAVE_SYS_SOCKETVAR_H
16700 #include <sys/socketvar.h>
16701 #endif
16702 #ifdef HAVE_NET_ROUTE_H
16703 #include <net/route.h>
16704 #endif
16705 #ifdef HAVE_NETINET_IN_H
16706 #include <netinet/in.h>
16707 #endif
16708 #ifdef HAVE_NETINET_IN_SYSTM_H
16709 #include <netinet/in_systm.h>
16710 #endif
16711 #ifdef HAVE_NETINET_IP_H
16712 #include <netinet/ip.h>
16713 #endif
16714 #ifdef HAVE_NETINET_IN_PCB_H
16715 #include <netinet/in_pcb.h>
16716 #endif
16718 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16720 cat >>confdefs.h <<_ACEOF
16721 #define HAVE_STRUCT_XINPGEN 1
16722 _ACEOF
16728 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16729 #include <link.h>
16730 #endif
16731 #ifdef HAVE_SYS_LINK_H
16732 #include <sys/link.h>
16733 #endif
16735 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16737 cat >>confdefs.h <<_ACEOF
16738 #define HAVE_STRUCT_R_DEBUG 1
16739 _ACEOF
16743 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16744 #include <link.h>
16745 #endif
16746 #ifdef HAVE_SYS_LINK_H
16747 #include <sys/link.h>
16748 #endif
16750 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_STRUCT_LINK_MAP 1
16754 _ACEOF
16760 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16761 #include <linux/input.h>
16762 #endif
16764 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16766 cat >>confdefs.h <<_ACEOF
16767 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16768 _ACEOF
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16775 $as_echo_n "checking for if_nameindex... " >&6; }
16776 if ${wine_cv_have_if_nameindex+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16781 #ifdef HAVE_SYS_TYPES_H
16782 #include <sys/types.h>
16783 #endif
16784 #ifdef HAVE_SYS_SOCKET_H
16785 #include <sys/socket.h>
16786 #endif
16787 #ifdef HAVE_NET_IF_H
16788 # include <net/if.h>
16789 #endif
16791 main ()
16793 struct if_nameindex *p = if_nameindex(); return p->if_index;
16795 return 0;
16797 _ACEOF
16798 if ac_fn_c_try_link "$LINENO"; then :
16799 wine_cv_have_if_nameindex=yes
16800 else
16801 wine_cv_have_if_nameindex=no
16803 rm -f core conftest.err conftest.$ac_objext \
16804 conftest$ac_exeext conftest.$ac_ext
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16807 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16808 if test "$wine_cv_have_if_nameindex" = "yes"
16809 then
16811 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16816 $as_echo_n "checking for sigaddset... " >&6; }
16817 if ${wine_cv_have_sigaddset+:} false; then :
16818 $as_echo_n "(cached) " >&6
16819 else
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16822 #include <signal.h>
16824 main ()
16826 sigset_t set; sigaddset(&set,SIGTERM);
16828 return 0;
16830 _ACEOF
16831 if ac_fn_c_try_link "$LINENO"; then :
16832 wine_cv_have_sigaddset=yes
16833 else
16834 wine_cv_have_sigaddset=no
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16840 $as_echo "$wine_cv_have_sigaddset" >&6; }
16841 if test "$wine_cv_have_sigaddset" = "yes"
16842 then
16844 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16850 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16851 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 #include <netdb.h>
16858 main ()
16861 char *name=0;
16862 struct hostent he;
16863 struct hostent *result;
16864 char *buf=0;
16865 int bufsize=0;
16866 int errnr;
16867 char *addr=0;
16868 int addrlen=0;
16869 int addrtype=0;
16870 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16871 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16874 return 0;
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 wine_cv_linux_gethostbyname_r_6=yes
16879 else
16880 wine_cv_linux_gethostbyname_r_6=no
16883 rm -f core conftest.err conftest.$ac_objext \
16884 conftest$ac_exeext conftest.$ac_ext
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16888 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16889 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16890 then
16892 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16896 if test "$ac_cv_header_linux_joystick_h" = "yes"
16897 then
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16899 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16900 if ${wine_cv_linux_joystick_22_api+:} false; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16906 #include <sys/ioctl.h>
16907 #include <sys/types.h>
16908 #include <linux/joystick.h>
16910 struct js_event blub;
16911 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16912 #error "no 2.2 header"
16913 #endif
16916 main ()
16918 /*empty*/
16920 return 0;
16922 _ACEOF
16923 if ac_fn_c_try_compile "$LINENO"; then :
16924 wine_cv_linux_joystick_22_api=yes
16925 else
16926 wine_cv_linux_joystick_22_api=no
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16932 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16933 if test "$wine_cv_linux_joystick_22_api" = "yes"
16934 then
16936 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16942 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16943 #ifdef HAVE_SYS_PARAM_H
16944 # include <sys/param.h>
16945 #endif
16946 #ifdef HAVE_SYS_MOUNT_H
16947 # include <sys/mount.h>
16948 #endif
16949 #ifdef HAVE_SYS_VFS_H
16950 # include <sys/vfs.h>
16951 #endif
16952 #ifdef HAVE_SYS_STATFS_H
16953 # include <sys/statfs.h>
16954 #endif
16956 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_STRUCT_STATFS_F_BFREE 1
16960 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16965 #ifdef HAVE_SYS_PARAM_H
16966 # include <sys/param.h>
16967 #endif
16968 #ifdef HAVE_SYS_MOUNT_H
16969 # include <sys/mount.h>
16970 #endif
16971 #ifdef HAVE_SYS_VFS_H
16972 # include <sys/vfs.h>
16973 #endif
16974 #ifdef HAVE_SYS_STATFS_H
16975 # include <sys/statfs.h>
16976 #endif
16978 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16980 cat >>confdefs.h <<_ACEOF
16981 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16982 _ACEOF
16986 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16987 #ifdef HAVE_SYS_PARAM_H
16988 # include <sys/param.h>
16989 #endif
16990 #ifdef HAVE_SYS_MOUNT_H
16991 # include <sys/mount.h>
16992 #endif
16993 #ifdef HAVE_SYS_VFS_H
16994 # include <sys/vfs.h>
16995 #endif
16996 #ifdef HAVE_SYS_STATFS_H
16997 # include <sys/statfs.h>
16998 #endif
17000 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17002 cat >>confdefs.h <<_ACEOF
17003 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17004 _ACEOF
17008 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17009 #ifdef HAVE_SYS_PARAM_H
17010 # include <sys/param.h>
17011 #endif
17012 #ifdef HAVE_SYS_MOUNT_H
17013 # include <sys/mount.h>
17014 #endif
17015 #ifdef HAVE_SYS_VFS_H
17016 # include <sys/vfs.h>
17017 #endif
17018 #ifdef HAVE_SYS_STATFS_H
17019 # include <sys/statfs.h>
17020 #endif
17022 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_STRUCT_STATFS_F_FFREE 1
17026 _ACEOF
17030 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17031 #ifdef HAVE_SYS_PARAM_H
17032 # include <sys/param.h>
17033 #endif
17034 #ifdef HAVE_SYS_MOUNT_H
17035 # include <sys/mount.h>
17036 #endif
17037 #ifdef HAVE_SYS_VFS_H
17038 # include <sys/vfs.h>
17039 #endif
17040 #ifdef HAVE_SYS_STATFS_H
17041 # include <sys/statfs.h>
17042 #endif
17044 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17046 cat >>confdefs.h <<_ACEOF
17047 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17048 _ACEOF
17052 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17053 #ifdef HAVE_SYS_PARAM_H
17054 # include <sys/param.h>
17055 #endif
17056 #ifdef HAVE_SYS_MOUNT_H
17057 # include <sys/mount.h>
17058 #endif
17059 #ifdef HAVE_SYS_VFS_H
17060 # include <sys/vfs.h>
17061 #endif
17062 #ifdef HAVE_SYS_STATFS_H
17063 # include <sys/statfs.h>
17064 #endif
17066 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17068 cat >>confdefs.h <<_ACEOF
17069 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17070 _ACEOF
17076 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17077 #include <sys/statvfs.h>
17078 #endif
17080 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17082 cat >>confdefs.h <<_ACEOF
17083 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17084 _ACEOF
17090 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17091 #include <dirent.h>
17092 #endif
17094 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17096 cat >>confdefs.h <<_ACEOF
17097 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17098 _ACEOF
17104 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17105 #ifdef HAVE_SYS_SOCKET_H
17106 # include <sys/socket.h>
17107 #endif
17108 #ifdef HAVE_SYS_UN_H
17109 # include <sys/un.h>
17110 #endif
17112 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17114 cat >>confdefs.h <<_ACEOF
17115 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17116 _ACEOF
17120 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17121 #ifdef HAVE_SYS_SOCKET_H
17122 # include <sys/socket.h>
17123 #endif
17124 #ifdef HAVE_SYS_UN_H
17125 # include <sys/un.h>
17126 #endif
17128 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17130 cat >>confdefs.h <<_ACEOF
17131 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17132 _ACEOF
17136 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17137 #ifdef HAVE_SYS_SOCKET_H
17138 # include <sys/socket.h>
17139 #endif
17140 #ifdef HAVE_SYS_UN_H
17141 # include <sys/un.h>
17142 #endif
17144 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17146 cat >>confdefs.h <<_ACEOF
17147 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17148 _ACEOF
17154 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17155 #ifdef HAVE_SCSI_SG_H
17156 #include <scsi/sg.h>
17157 #endif
17159 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17161 cat >>confdefs.h <<_ACEOF
17162 #define HAVE_SCSIREQ_T_CMD 1
17163 _ACEOF
17167 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>
17168 #ifdef HAVE_SCSI_SG_H
17169 #include <scsi/sg.h>
17170 #endif
17172 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17174 cat >>confdefs.h <<_ACEOF
17175 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17176 _ACEOF
17182 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17184 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17186 cat >>confdefs.h <<_ACEOF
17187 #define HAVE_SIGINFO_T_SI_FD 1
17188 _ACEOF
17194 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17195 #ifdef HAVE_SYS_MTIO_H
17196 #include <sys/mtio.h>
17197 #endif
17199 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17201 cat >>confdefs.h <<_ACEOF
17202 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17203 _ACEOF
17207 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17208 #ifdef HAVE_SYS_MTIO_H
17209 #include <sys/mtio.h>
17210 #endif
17212 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17214 cat >>confdefs.h <<_ACEOF
17215 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17216 _ACEOF
17220 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17221 #ifdef HAVE_SYS_MTIO_H
17222 #include <sys/mtio.h>
17223 #endif
17225 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17229 _ACEOF
17235 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17236 #include <getopt.h>
17237 #endif
17239 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_STRUCT_OPTION_NAME 1
17243 _ACEOF
17249 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17250 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17252 cat >>confdefs.h <<_ACEOF
17253 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17254 _ACEOF
17258 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17259 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17261 cat >>confdefs.h <<_ACEOF
17262 #define HAVE_STRUCT_STAT_ST_MTIM 1
17263 _ACEOF
17267 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17268 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17270 cat >>confdefs.h <<_ACEOF
17271 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17272 _ACEOF
17276 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17277 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17279 cat >>confdefs.h <<_ACEOF
17280 #define HAVE_STRUCT_STAT_ST_CTIM 1
17281 _ACEOF
17285 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17286 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17288 cat >>confdefs.h <<_ACEOF
17289 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17290 _ACEOF
17294 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17295 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17297 cat >>confdefs.h <<_ACEOF
17298 #define HAVE_STRUCT_STAT_ST_ATIM 1
17299 _ACEOF
17303 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17304 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17306 cat >>confdefs.h <<_ACEOF
17307 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17308 _ACEOF
17312 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17313 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17315 cat >>confdefs.h <<_ACEOF
17316 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17317 _ACEOF
17321 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17322 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17324 cat >>confdefs.h <<_ACEOF
17325 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17326 _ACEOF
17330 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17331 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17333 cat >>confdefs.h <<_ACEOF
17334 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17335 _ACEOF
17339 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17340 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17342 cat >>confdefs.h <<_ACEOF
17343 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17344 _ACEOF
17348 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17349 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17353 _ACEOF
17359 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
17360 #include <sys/types.h>
17361 #endif
17362 #ifdef HAVE_NETINET_IN_H
17363 #include <netinet/in.h>
17364 #endif
17366 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17370 _ACEOF
17376 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17377 #include <sys/types.h>
17378 #endif
17379 #ifdef HAVE_NETINET_IN_H
17380 #include <netinet/in.h>
17381 #endif
17382 #ifdef HAVE_RESOLV_H
17383 #include <resolv.h>
17384 #endif
17386 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17388 cat >>confdefs.h <<_ACEOF
17389 #define HAVE_STRUCT___RES_STATE 1
17390 _ACEOF
17396 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
17397 #include <resolv.h>
17398 #endif
17400 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17402 cat >>confdefs.h <<_ACEOF
17403 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17404 _ACEOF
17410 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17411 #include <sys/types.h>
17412 #endif
17413 #ifdef HAVE_NETINET_IN_H
17414 # include <netinet/in.h>
17415 #endif
17416 #ifdef HAVE_ARPA_NAMESER_H
17417 # include <arpa/nameser.h>
17418 #endif
17420 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_NS_MSG__MSG_PTR 1
17424 _ACEOF
17430 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17431 #include <sys/types.h>
17432 #endif
17433 #ifdef HAVE_NETINET_IN_H
17434 #include <netinet/in.h>
17435 #endif
17436 #ifdef HAVE_NETINET_IP_H
17437 #include <netinet/ip.h>
17438 #endif
17439 #ifdef HAVE_NETINET_IP_ICMP_H
17440 #include <netinet/ip_icmp.h>
17441 #endif
17442 #ifdef HAVE_NETINET_ICMP_VAR_H
17443 #include <netinet/icmp_var.h>
17444 #endif
17446 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17448 cat >>confdefs.h <<_ACEOF
17449 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17450 _ACEOF
17456 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17457 #include <sys/types.h>
17458 #endif
17459 #ifdef HAVE_ALIAS_H
17460 #include <alias.h>
17461 #endif
17462 #ifdef HAVE_SYS_SOCKET_H
17463 #include <sys/socket.h>
17464 #endif
17465 #ifdef HAVE_SYS_SOCKETVAR_H
17466 #include <sys/socketvar.h>
17467 #endif
17468 #ifdef HAVE_SYS_TIMEOUT_H
17469 #include <sys/timeout.h>
17470 #endif
17471 #ifdef HAVE_NETINET_IN_H
17472 #include <netinet/in.h>
17473 #endif
17474 #ifdef HAVE_NETINET_IN_SYSTM_H
17475 #include <netinet/in_systm.h>
17476 #endif
17477 #ifdef HAVE_NETINET_IP_H
17478 #include <netinet/ip.h>
17479 #endif
17480 #ifdef HAVE_NETINET_IP_VAR_H
17481 #include <netinet/ip_var.h>
17482 #endif
17483 #ifdef HAVE_NETINET_IP_ICMP_H
17484 #include <netinet/ip_icmp.h>
17485 #endif
17486 #ifdef HAVE_NETINET_ICMP_VAR_H
17487 #include <netinet/icmp_var.h>
17488 #endif
17490 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17492 cat >>confdefs.h <<_ACEOF
17493 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17494 _ACEOF
17500 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17501 #include <sys/types.h>
17502 #endif
17503 #ifdef HAVE_SYS_SOCKETVAR_H
17504 #include <sys/socketvar.h>
17505 #endif
17506 #ifdef HAVE_NETINET_IN_H
17507 #include <netinet/in.h>
17508 #endif
17509 #ifdef HAVE_NETINET_IP_VAR_H
17510 #include <netinet/ip_var.h>
17511 #endif
17513 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17515 cat >>confdefs.h <<_ACEOF
17516 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17517 _ACEOF
17523 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
17524 #include <netinet/ip_var.h>
17525 #endif
17527 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17529 cat >>confdefs.h <<_ACEOF
17530 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17531 _ACEOF
17537 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17538 #include <sys/types.h>
17539 #endif
17540 #ifdef HAVE_SYS_SOCKETVAR_H
17541 #include <sys/socketvar.h>
17542 #endif
17543 #ifdef HAVE_NETINET_IN_H
17544 #include <netinet/in.h>
17545 #endif
17546 #ifdef HAVE_NETINET_TCP_H
17547 #include <netinet/tcp.h>
17548 #endif
17549 #ifdef HAVE_NETINET_TCP_VAR_H
17550 #include <netinet/tcp_var.h>
17551 #endif
17553 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17555 cat >>confdefs.h <<_ACEOF
17556 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17557 _ACEOF
17563 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
17564 #include <netinet/tcp_var.h>
17565 #endif
17567 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17569 cat >>confdefs.h <<_ACEOF
17570 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17571 _ACEOF
17577 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17578 #include <sys/types.h>
17579 #endif
17580 #ifdef HAVE_NETINET_IN_H
17581 #include <netinet/in.h>
17582 #endif
17583 #ifdef HAVE_NETINET_IP_VAR_H
17584 #include <netinet/ip_var.h>
17585 #endif
17586 #ifdef HAVE_NETINET_UDP_H
17587 #include <netinet/udp.h>
17588 #endif
17589 #ifdef HAVE_NETINET_UDP_VAR_H
17590 #include <netinet/udp_var.h>
17591 #endif
17593 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17595 cat >>confdefs.h <<_ACEOF
17596 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17597 _ACEOF
17603 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17604 #include <sys/types.h>
17605 #endif
17606 #ifdef HAVE_NET_IF_H
17607 # include <net/if.h>
17608 #endif
17610 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17612 cat >>confdefs.h <<_ACEOF
17613 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17614 _ACEOF
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17621 $as_echo_n "checking for timezone variable... " >&6; }
17622 if ${ac_cv_have_timezone+:} false; then :
17623 $as_echo_n "(cached) " >&6
17624 else
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #include <time.h>
17629 main ()
17631 timezone = 1
17633 return 0;
17635 _ACEOF
17636 if ac_fn_c_try_link "$LINENO"; then :
17637 ac_cv_have_timezone="yes"
17638 else
17639 ac_cv_have_timezone="no"
17641 rm -f core conftest.err conftest.$ac_objext \
17642 conftest$ac_exeext conftest.$ac_ext
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17645 $as_echo "$ac_cv_have_timezone" >&6; }
17646 if test "$ac_cv_have_timezone" = "yes"
17647 then
17649 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17653 $as_echo_n "checking for daylight variable... " >&6; }
17654 if ${ac_cv_have_daylight+:} false; then :
17655 $as_echo_n "(cached) " >&6
17656 else
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17659 #include <time.h>
17661 main ()
17663 daylight = 1
17665 return 0;
17667 _ACEOF
17668 if ac_fn_c_try_link "$LINENO"; then :
17669 ac_cv_have_daylight="yes"
17670 else
17671 ac_cv_have_daylight="no"
17673 rm -f core conftest.err conftest.$ac_objext \
17674 conftest$ac_exeext conftest.$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17677 $as_echo "$ac_cv_have_daylight" >&6; }
17678 if test "$ac_cv_have_daylight" = "yes"
17679 then
17681 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17685 ac_save_LIBS="$LIBS"
17686 LIBS="$LIBS -lm"
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17688 $as_echo_n "checking for isfinite... " >&6; }
17689 if ${ac_cv_have_isfinite+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #define _GNU_SOURCE
17695 #include <math.h>
17697 main ()
17699 float f = 0.0; return isfinite(f)
17701 return 0;
17703 _ACEOF
17704 if ac_fn_c_try_link "$LINENO"; then :
17705 ac_cv_have_isfinite="yes"
17706 else
17707 ac_cv_have_isfinite="no"
17709 rm -f core conftest.err conftest.$ac_objext \
17710 conftest$ac_exeext conftest.$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17713 $as_echo "$ac_cv_have_isfinite" >&6; }
17714 if test "$ac_cv_have_isfinite" = "yes"
17715 then
17717 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17722 $as_echo_n "checking for isinf... " >&6; }
17723 if ${ac_cv_have_isinf+:} false; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #include <math.h>
17730 main ()
17732 float f = 0.0; return isinf(f)
17734 return 0;
17736 _ACEOF
17737 if ac_fn_c_try_link "$LINENO"; then :
17738 ac_cv_have_isinf="yes"
17739 else
17740 ac_cv_have_isinf="no"
17742 rm -f core conftest.err conftest.$ac_objext \
17743 conftest$ac_exeext conftest.$ac_ext
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17746 $as_echo "$ac_cv_have_isinf" >&6; }
17747 if test "$ac_cv_have_isinf" = "yes"
17748 then
17750 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17755 $as_echo_n "checking for isnan... " >&6; }
17756 if ${ac_cv_have_isnan+:} false; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 #include <math.h>
17763 main ()
17765 float f = 0.0; return isnan(f)
17767 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_link "$LINENO"; then :
17771 ac_cv_have_isnan="yes"
17772 else
17773 ac_cv_have_isnan="no"
17775 rm -f core conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17779 $as_echo "$ac_cv_have_isnan" >&6; }
17780 if test "$ac_cv_have_isnan" = "yes"
17781 then
17783 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17787 for ac_func in \
17788 acosh \
17789 acoshf \
17790 asinh \
17791 asinhf \
17792 atanh \
17793 atanhf \
17794 cbrt \
17795 cbrtf \
17796 erf \
17797 erfc \
17798 erfcf \
17799 erff \
17800 exp2 \
17801 exp2f \
17802 expm1 \
17803 expm1f \
17804 lgamma \
17805 lgammaf \
17806 llrint \
17807 llrintf \
17808 llround \
17809 llroundf \
17810 log1p \
17811 log1pf \
17812 log2 \
17813 log2f \
17814 lrint \
17815 lrintf \
17816 lround \
17817 lroundf \
17818 nearbyint \
17819 nearbyintf \
17820 powl \
17821 remainder \
17822 remainderf \
17823 rint \
17824 rintf \
17825 round \
17826 roundf \
17827 trunc \
17828 truncf
17830 do :
17831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17833 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17834 cat >>confdefs.h <<_ACEOF
17835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17836 _ACEOF
17839 done
17841 LIBS="$ac_save_LIBS"
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17844 $as_echo_n "checking for __builtin_clz... " >&6; }
17845 if ${ac_cv_have___builtin_clz+:} false; then :
17846 $as_echo_n "(cached) " >&6
17847 else
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17852 main ()
17854 return __builtin_clz(1)
17856 return 0;
17858 _ACEOF
17859 if ac_fn_c_try_link "$LINENO"; then :
17860 ac_cv_have___builtin_clz="yes"
17861 else
17862 ac_cv_have___builtin_clz="no"
17864 rm -f core conftest.err conftest.$ac_objext \
17865 conftest$ac_exeext conftest.$ac_ext
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17868 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17869 if test "$ac_cv_have___builtin_clz" = "yes"
17870 then
17872 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17877 $as_echo_n "checking for __builtin_popcount... " >&6; }
17878 if ${ac_cv_have___builtin_popcount+:} false; then :
17879 $as_echo_n "(cached) " >&6
17880 else
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17885 main ()
17887 return __builtin_popcount(1)
17889 return 0;
17891 _ACEOF
17892 if ac_fn_c_try_link "$LINENO"; then :
17893 ac_cv_have___builtin_popcount="yes"
17894 else
17895 ac_cv_have___builtin_popcount="no"
17897 rm -f core conftest.err conftest.$ac_objext \
17898 conftest$ac_exeext conftest.$ac_ext
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17901 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17902 if test "$ac_cv_have___builtin_popcount" = "yes"
17903 then
17905 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17910 $as_echo_n "checking for __clear_cache... " >&6; }
17911 if ${ac_cv_have___clear_cache+:} false; then :
17912 $as_echo_n "(cached) " >&6
17913 else
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17918 main ()
17920 __clear_cache((void*)0, (void*)0); return 0;
17922 return 0;
17924 _ACEOF
17925 if ac_fn_c_try_link "$LINENO"; then :
17926 ac_cv_have___clear_cache="yes"
17927 else
17928 ac_cv_have___clear_cache="no"
17930 rm -f core conftest.err conftest.$ac_objext \
17931 conftest$ac_exeext conftest.$ac_ext
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17934 $as_echo "$ac_cv_have___clear_cache" >&6; }
17935 if test "$ac_cv_have___clear_cache" = "yes"
17936 then
17938 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17943 case $host_cpu in
17944 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17945 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17946 if ${ac_cv_cpp_def___i386__+:} false; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950 /* end confdefs.h. */
17951 #ifndef __i386__
17953 #endif
17954 _ACEOF
17955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17956 $EGREP "yes" >/dev/null 2>&1; then :
17957 ac_cv_cpp_def___i386__=yes
17958 else
17959 ac_cv_cpp_def___i386__=no
17961 rm -f conftest*
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17965 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17966 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17967 CFLAGS="$CFLAGS -D__i386__"
17968 LINTFLAGS="$LINTFLAGS -D__i386__"
17969 fi ;;
17970 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17971 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17972 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17973 $as_echo_n "(cached) " >&6
17974 else
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #ifndef __x86_64__
17979 #endif
17980 _ACEOF
17981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17982 $EGREP "yes" >/dev/null 2>&1; then :
17983 ac_cv_cpp_def___x86_64__=yes
17984 else
17985 ac_cv_cpp_def___x86_64__=no
17987 rm -f conftest*
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17991 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17992 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17993 CFLAGS="$CFLAGS -D__x86_64__"
17994 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17995 fi ;;
17996 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17997 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17998 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #ifndef __sparc64__
18005 #endif
18006 _ACEOF
18007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18008 $EGREP "yes" >/dev/null 2>&1; then :
18009 ac_cv_cpp_def___sparc64__=yes
18010 else
18011 ac_cv_cpp_def___sparc64__=no
18013 rm -f conftest*
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18017 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18018 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18019 CFLAGS="$CFLAGS -D__sparc64__"
18020 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18021 fi ;;
18022 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18023 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18024 if ${ac_cv_cpp_def___sparc__+:} false; then :
18025 $as_echo_n "(cached) " >&6
18026 else
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #ifndef __sparc__
18031 #endif
18032 _ACEOF
18033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18034 $EGREP "yes" >/dev/null 2>&1; then :
18035 ac_cv_cpp_def___sparc__=yes
18036 else
18037 ac_cv_cpp_def___sparc__=no
18039 rm -f conftest*
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18043 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18044 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18045 CFLAGS="$CFLAGS -D__sparc__"
18046 LINTFLAGS="$LINTFLAGS -D__sparc__"
18047 fi ;;
18048 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18049 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18050 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18051 $as_echo_n "(cached) " >&6
18052 else
18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18055 #ifndef __powerpc64__
18057 #endif
18058 _ACEOF
18059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18060 $EGREP "yes" >/dev/null 2>&1; then :
18061 ac_cv_cpp_def___powerpc64__=yes
18062 else
18063 ac_cv_cpp_def___powerpc64__=no
18065 rm -f conftest*
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18069 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18070 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18071 CFLAGS="$CFLAGS -D__powerpc64__"
18072 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18073 fi ;;
18074 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18075 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18076 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18077 $as_echo_n "(cached) " >&6
18078 else
18079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18081 #ifndef __powerpc__
18083 #endif
18084 _ACEOF
18085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18086 $EGREP "yes" >/dev/null 2>&1; then :
18087 ac_cv_cpp_def___powerpc__=yes
18088 else
18089 ac_cv_cpp_def___powerpc__=no
18091 rm -f conftest*
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18095 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18096 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18097 CFLAGS="$CFLAGS -D__powerpc__"
18098 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18099 fi ;;
18100 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18101 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18102 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18103 $as_echo_n "(cached) " >&6
18104 else
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h. */
18107 #ifndef __aarch64__
18109 #endif
18110 _ACEOF
18111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18112 $EGREP "yes" >/dev/null 2>&1; then :
18113 ac_cv_cpp_def___aarch64__=yes
18114 else
18115 ac_cv_cpp_def___aarch64__=no
18117 rm -f conftest*
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18121 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18122 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18123 CFLAGS="$CFLAGS -D__aarch64__"
18124 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18125 fi ;;
18126 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18127 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18128 if ${ac_cv_cpp_def___arm__+:} false; then :
18129 $as_echo_n "(cached) " >&6
18130 else
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #ifndef __arm__
18135 #endif
18136 _ACEOF
18137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18138 $EGREP "yes" >/dev/null 2>&1; then :
18139 ac_cv_cpp_def___arm__=yes
18140 else
18141 ac_cv_cpp_def___arm__=no
18143 rm -f conftest*
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18147 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18148 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18149 CFLAGS="$CFLAGS -D__arm__"
18150 LINTFLAGS="$LINTFLAGS -D__arm__"
18151 fi ;;
18152 esac
18154 case $host_vendor in
18155 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18156 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18157 if ${ac_cv_cpp_def___sun__+:} false; then :
18158 $as_echo_n "(cached) " >&6
18159 else
18160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18161 /* end confdefs.h. */
18162 #ifndef __sun__
18164 #endif
18165 _ACEOF
18166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18167 $EGREP "yes" >/dev/null 2>&1; then :
18168 ac_cv_cpp_def___sun__=yes
18169 else
18170 ac_cv_cpp_def___sun__=no
18172 rm -f conftest*
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18176 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18177 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18178 CFLAGS="$CFLAGS -D__sun__"
18179 LINTFLAGS="$LINTFLAGS -D__sun__"
18180 fi ;;
18181 esac
18187 ac_config_commands="$ac_config_commands include/stamp-h"
18189 $as_echo_n "creating Makefile rules..." >&6
18191 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18192 SOCKET_LIBS = $SOCKET_LIBS
18193 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18194 IOKIT_LIBS = $IOKIT_LIBS
18195 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18196 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18197 CORESERVICES_LIBS = $CORESERVICES_LIBS
18198 APPKIT_LIBS = $APPKIT_LIBS
18199 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18200 SECURITY_LIBS = $SECURITY_LIBS
18201 COREAUDIO_LIBS = $COREAUDIO_LIBS
18202 OPENAL_LIBS = $OPENAL_LIBS
18203 OPENCL_LIBS = $OPENCL_LIBS
18204 QUICKTIME_LIBS = $QUICKTIME_LIBS
18205 CARBON_LIBS = $CARBON_LIBS
18206 PTHREAD_LIBS = $PTHREAD_LIBS
18207 X_CFLAGS = $X_CFLAGS
18208 X_PRE_LIBS = $X_PRE_LIBS
18209 X_LIBS = $X_LIBS
18210 X_EXTRA_LIBS = $X_EXTRA_LIBS
18211 PCAP_LIBS = $PCAP_LIBS
18212 XML2_CFLAGS = $XML2_CFLAGS
18213 XML2_LIBS = $XML2_LIBS
18214 XSLT_CFLAGS = $XSLT_CFLAGS
18215 XSLT_LIBS = $XSLT_LIBS
18216 DBUS_CFLAGS = $DBUS_CFLAGS
18217 DBUS_LIBS = $DBUS_LIBS
18218 HAL_CFLAGS = $HAL_CFLAGS
18219 HAL_LIBS = $HAL_LIBS
18220 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18221 GNUTLS_LIBS = $GNUTLS_LIBS
18222 SANE_CFLAGS = $SANE_CFLAGS
18223 SANE_LIBS = $SANE_LIBS
18224 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18225 GPHOTO2_LIBS = $GPHOTO2_LIBS
18226 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18227 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18228 RESOLV_LIBS = $RESOLV_LIBS
18229 LCMS2_CFLAGS = $LCMS2_CFLAGS
18230 LCMS2_LIBS = $LCMS2_LIBS
18231 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18232 FREETYPE_LIBS = $FREETYPE_LIBS
18233 Z_LIBS = $Z_LIBS
18234 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18235 PULSE_CFLAGS = $PULSE_CFLAGS
18236 PULSE_LIBS = $PULSE_LIBS
18237 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18238 GSTREAMER_LIBS = $GSTREAMER_LIBS
18239 ALSA_LIBS = $ALSA_LIBS
18240 OSS4_CFLAGS = $OSS4_CFLAGS
18241 UDEV_CFLAGS = $UDEV_CFLAGS
18242 UDEV_LIBS = $UDEV_LIBS
18243 CAPI20_CFLAGS = $CAPI20_CFLAGS
18244 CAPI20_LIBS = $CAPI20_LIBS
18245 CUPS_CFLAGS = $CUPS_CFLAGS
18246 CUPS_LIBS = $CUPS_LIBS
18247 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18248 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18249 KRB5_CFLAGS = $KRB5_CFLAGS
18250 KRB5_LIBS = $KRB5_LIBS
18251 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18252 GSSAPI_LIBS = $GSSAPI_LIBS
18253 JPEG_CFLAGS = $JPEG_CFLAGS
18254 JPEG_LIBS = $JPEG_LIBS
18255 PNG_CFLAGS = $PNG_CFLAGS
18256 PNG_LIBS = $PNG_LIBS
18257 TIFF_CFLAGS = $TIFF_CFLAGS
18258 TIFF_LIBS = $TIFF_LIBS
18259 MPG123_CFLAGS = $MPG123_CFLAGS
18260 MPG123_LIBS = $MPG123_LIBS
18261 KSTAT_LIBS = $KSTAT_LIBS
18262 PROCSTAT_LIBS = $PROCSTAT_LIBS
18263 NETAPI_CFLAGS = $NETAPI_CFLAGS
18264 NETAPI_LIBS = $NETAPI_LIBS
18265 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18266 DL_LIBS = $DL_LIBS
18267 POLL_LIBS = $POLL_LIBS
18268 RT_LIBS = $RT_LIBS
18269 LDAP_CFLAGS = $LDAP_CFLAGS
18270 LDAP_LIBS = $LDAP_LIBS
18275 wine_fn_append_rule "
18276 # Rules automatically generated by configure
18278 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18280 .INIT: Makefile
18281 .MAKEFILEDEPS:
18282 all: Makefile
18283 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18284 @./config.status Make.tmp Makefile
18285 depend: \$(MAKEDEP) dummy
18286 \$(MAKEDEP)"
18288 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18289 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18291 if test "x$enable_fonts" != xno; then
18292 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18293 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18294 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18295 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18296 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18297 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18299 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18300 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18301 ac_config_links="$ac_config_links wine:tools/winewrapper"
18302 wine_fn_config_symlink wine
18303 if test "x$enable_win64" != xno; then
18304 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18305 wine_fn_config_symlink wine64
18308 wine_fn_config_dll acledit enable_acledit
18309 wine_fn_config_dll aclui enable_aclui implib
18310 wine_fn_config_dll activeds enable_activeds implib
18311 wine_fn_config_dll actxprxy enable_actxprxy clean
18312 wine_fn_config_lib adsiid
18313 wine_fn_config_dll adsldpc enable_adsldpc
18314 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18315 wine_fn_config_test dlls/advapi32/tests advapi32_test
18316 wine_fn_config_dll advpack enable_advpack implib
18317 wine_fn_config_test dlls/advpack/tests advpack_test
18318 wine_fn_config_dll amstream enable_amstream clean
18319 wine_fn_config_test dlls/amstream/tests amstream_test
18320 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18321 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18322 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18323 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18324 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18325 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18326 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18327 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18329 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18330 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18333 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18334 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18335 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18336 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18337 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18339 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18341 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18342 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18343 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18344 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18345 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18347 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18349 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18350 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18351 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18352 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18353 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18354 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18355 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18356 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18357 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18358 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18360 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18361 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18362 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18363 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18364 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18365 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18366 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18367 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18368 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18369 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18370 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18371 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18372 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18373 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18374 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18375 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18376 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18377 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18378 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18379 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18380 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18381 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18382 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18383 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18384 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18385 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18386 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18387 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18388 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18390 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18391 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18392 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18393 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18394 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18395 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18396 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18397 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18398 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18399 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18400 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18406 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18407 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18408 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18409 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18410 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18411 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18412 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18413 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18414 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18415 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18416 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18417 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18418 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18419 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18420 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18421 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18422 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18423 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18424 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18425 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18426 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18427 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18428 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18429 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18430 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18431 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18433 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18434 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18435 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18436 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18437 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18438 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18439 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18440 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18441 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18442 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18443 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18444 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18445 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18446 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18447 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18448 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18449 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18450 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18451 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18452 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18453 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18454 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18455 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18456 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18457 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18458 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18459 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18460 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18461 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18462 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18463 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18464 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18465 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18466 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18467 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18468 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18469 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18470 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18471 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18472 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18473 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18474 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18475 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18476 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18477 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18478 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18479 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18480 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18481 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18482 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18483 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18484 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18485 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18486 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18487 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18488 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18489 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18490 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18491 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18492 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18493 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18494 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18495 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18496 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18497 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18498 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18499 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18500 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18501 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18502 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18503 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18504 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18505 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18506 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18507 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18508 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18509 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18510 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18511 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18512 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18513 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18514 wine_fn_config_dll apphelp enable_apphelp
18515 wine_fn_config_test dlls/apphelp/tests apphelp_test
18516 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18517 wine_fn_config_dll atl enable_atl clean,implib
18518 wine_fn_config_test dlls/atl/tests atl_test
18519 wine_fn_config_dll atl100 enable_atl100 clean,implib
18520 wine_fn_config_test dlls/atl100/tests atl100_test
18521 wine_fn_config_dll atl110 enable_atl110 clean
18522 wine_fn_config_dll atl80 enable_atl80 clean,implib
18523 wine_fn_config_test dlls/atl80/tests atl80_test
18524 wine_fn_config_dll atl90 enable_atl90 clean
18525 wine_fn_config_dll authz enable_authz
18526 wine_fn_config_dll avicap32 enable_avicap32 implib
18527 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18528 wine_fn_config_test dlls/avifil32/tests avifil32_test
18529 wine_fn_config_dll avifile.dll16 enable_win16
18530 wine_fn_config_dll avrt enable_avrt implib
18531 wine_fn_config_dll bcrypt enable_bcrypt implib
18532 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18533 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18534 wine_fn_config_dll browseui enable_browseui clean
18535 wine_fn_config_test dlls/browseui/tests browseui_test
18536 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18537 wine_fn_config_dll cabinet enable_cabinet implib
18538 wine_fn_config_test dlls/cabinet/tests cabinet_test
18539 wine_fn_config_dll capi2032 enable_capi2032 implib
18540 wine_fn_config_dll cards enable_cards implib
18541 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18542 wine_fn_config_dll clusapi enable_clusapi implib
18543 wine_fn_config_dll combase enable_combase
18544 wine_fn_config_test dlls/combase/tests combase_test
18545 wine_fn_config_dll comcat enable_comcat
18546 wine_fn_config_test dlls/comcat/tests comcat_test
18547 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18548 wine_fn_config_test dlls/comctl32/tests comctl32_test
18549 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18550 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18551 wine_fn_config_dll comm.drv16 enable_win16
18552 wine_fn_config_dll commdlg.dll16 enable_win16
18553 wine_fn_config_dll compobj.dll16 enable_win16
18554 wine_fn_config_dll compstui enable_compstui implib
18555 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18556 wine_fn_config_dll concrt140 enable_concrt140
18557 wine_fn_config_dll connect enable_connect
18558 wine_fn_config_dll credui enable_credui clean,implib
18559 wine_fn_config_test dlls/credui/tests credui_test
18560 wine_fn_config_dll crtdll enable_crtdll
18561 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18562 wine_fn_config_test dlls/crypt32/tests crypt32_test
18563 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18564 wine_fn_config_dll cryptdll enable_cryptdll implib
18565 wine_fn_config_dll cryptext enable_cryptext
18566 wine_fn_config_dll cryptnet enable_cryptnet implib
18567 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18568 wine_fn_config_dll cryptui enable_cryptui clean,implib
18569 wine_fn_config_test dlls/cryptui/tests cryptui_test
18570 wine_fn_config_dll ctapi32 enable_ctapi32
18571 wine_fn_config_dll ctl3d.dll16 enable_win16
18572 wine_fn_config_dll ctl3d32 enable_ctl3d32
18573 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18574 wine_fn_config_dll d2d1 enable_d2d1 implib
18575 wine_fn_config_test dlls/d2d1/tests d2d1_test
18576 wine_fn_config_dll d3d10 enable_d3d10 implib
18577 wine_fn_config_test dlls/d3d10/tests d3d10_test
18578 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18579 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18580 wine_fn_config_dll d3d10core enable_d3d10core implib
18581 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18582 wine_fn_config_dll d3d11 enable_d3d11 implib
18583 wine_fn_config_test dlls/d3d11/tests d3d11_test
18584 wine_fn_config_dll d3d8 enable_d3d8 implib
18585 wine_fn_config_test dlls/d3d8/tests d3d8_test
18586 wine_fn_config_dll d3d9 enable_d3d9 implib
18587 wine_fn_config_test dlls/d3d9/tests d3d9_test
18588 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18589 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18590 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18591 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18592 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18593 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18594 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18595 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18596 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18597 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18598 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18599 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18600 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18601 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18602 wine_fn_config_dll d3dim enable_d3dim
18603 wine_fn_config_dll d3drm enable_d3drm implib
18604 wine_fn_config_test dlls/d3drm/tests d3drm_test
18605 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18606 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18607 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18608 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18609 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18610 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18611 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18612 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18613 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18614 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18615 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18616 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18617 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18618 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18619 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18620 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18621 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18622 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18623 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18624 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18625 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18626 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18627 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18628 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18629 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18630 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18631 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18632 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18633 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18634 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18635 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18636 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18637 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18638 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18639 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18640 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18641 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18642 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18643 wine_fn_config_dll davclnt enable_davclnt
18644 wine_fn_config_dll dbgeng enable_dbgeng implib
18645 wine_fn_config_dll dbghelp enable_dbghelp implib
18646 wine_fn_config_dll dciman32 enable_dciman32 implib
18647 wine_fn_config_dll ddeml.dll16 enable_win16
18648 wine_fn_config_dll ddraw enable_ddraw clean,implib
18649 wine_fn_config_test dlls/ddraw/tests ddraw_test
18650 wine_fn_config_dll ddrawex enable_ddrawex clean
18651 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18652 wine_fn_config_dll devenum enable_devenum clean
18653 wine_fn_config_test dlls/devenum/tests devenum_test
18654 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18655 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx clean
18656 wine_fn_config_dll difxapi enable_difxapi
18657 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18658 wine_fn_config_test dlls/dinput/tests dinput_test
18659 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18660 wine_fn_config_test dlls/dinput8/tests dinput8_test
18661 wine_fn_config_dll dispdib.dll16 enable_win16
18662 wine_fn_config_dll dispex enable_dispex clean
18663 wine_fn_config_test dlls/dispex/tests dispex_test
18664 wine_fn_config_dll display.drv16 enable_win16
18665 wine_fn_config_dll dmband enable_dmband clean
18666 wine_fn_config_test dlls/dmband/tests dmband_test
18667 wine_fn_config_dll dmcompos enable_dmcompos clean
18668 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18669 wine_fn_config_dll dmime enable_dmime clean
18670 wine_fn_config_test dlls/dmime/tests dmime_test
18671 wine_fn_config_dll dmloader enable_dmloader clean
18672 wine_fn_config_test dlls/dmloader/tests dmloader_test
18673 wine_fn_config_dll dmscript enable_dmscript clean
18674 wine_fn_config_test dlls/dmscript/tests dmscript_test
18675 wine_fn_config_dll dmstyle enable_dmstyle clean
18676 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18677 wine_fn_config_dll dmsynth enable_dmsynth clean
18678 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18679 wine_fn_config_dll dmusic enable_dmusic clean
18680 wine_fn_config_test dlls/dmusic/tests dmusic_test
18681 wine_fn_config_dll dmusic32 enable_dmusic32
18682 wine_fn_config_dll dnsapi enable_dnsapi implib
18683 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18684 wine_fn_config_dll dplay enable_dplay
18685 wine_fn_config_dll dplayx enable_dplayx clean,implib
18686 wine_fn_config_test dlls/dplayx/tests dplayx_test
18687 wine_fn_config_dll dpnaddr enable_dpnaddr
18688 wine_fn_config_dll dpnet enable_dpnet clean,implib
18689 wine_fn_config_test dlls/dpnet/tests dpnet_test
18690 wine_fn_config_dll dpnhpast enable_dpnhpast
18691 wine_fn_config_dll dpnlobby enable_dpnlobby
18692 wine_fn_config_dll dpvoice enable_dpvoice clean
18693 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18694 wine_fn_config_dll dpwsockx enable_dpwsockx
18695 wine_fn_config_dll drmclien enable_drmclien
18696 wine_fn_config_dll dsound enable_dsound clean,implib
18697 wine_fn_config_test dlls/dsound/tests dsound_test
18698 wine_fn_config_dll dsquery enable_dsquery clean
18699 wine_fn_config_dll dssenh enable_dssenh
18700 wine_fn_config_test dlls/dssenh/tests dssenh_test
18701 wine_fn_config_dll dswave enable_dswave clean
18702 wine_fn_config_test dlls/dswave/tests dswave_test
18703 wine_fn_config_dll dwmapi enable_dwmapi implib
18704 wine_fn_config_dll dwrite enable_dwrite implib
18705 wine_fn_config_test dlls/dwrite/tests dwrite_test
18706 wine_fn_config_dll dx8vb enable_dx8vb clean
18707 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18708 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18709 wine_fn_config_lib dxerr8
18710 wine_fn_config_lib dxerr9
18711 wine_fn_config_dll dxgi enable_dxgi implib
18712 wine_fn_config_test dlls/dxgi/tests dxgi_test
18713 wine_fn_config_lib dxguid
18714 wine_fn_config_dll dxva2 enable_dxva2
18715 wine_fn_config_dll esent enable_esent
18716 wine_fn_config_dll evr enable_evr clean
18717 wine_fn_config_test dlls/evr/tests evr_test
18718 wine_fn_config_dll explorerframe enable_explorerframe clean
18719 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18720 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18721 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18722 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18723 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18724 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18725 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18726 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18727 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18728 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18729 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18730 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18731 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18732 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18733 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18734 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18735 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18736 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18737 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18738 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
18739 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18740 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18741 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18742 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18743 wine_fn_config_dll faultrep enable_faultrep implib
18744 wine_fn_config_test dlls/faultrep/tests faultrep_test
18745 wine_fn_config_dll fltlib enable_fltlib
18746 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18747 wine_fn_config_dll fntcache enable_fntcache
18748 wine_fn_config_dll fontsub enable_fontsub
18749 wine_fn_config_dll fusion enable_fusion
18750 wine_fn_config_test dlls/fusion/tests fusion_test
18751 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18752 wine_fn_config_dll gameux enable_gameux clean
18753 wine_fn_config_test dlls/gameux/tests gameux_test
18754 wine_fn_config_dll gdi.exe16 enable_win16
18755 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18756 wine_fn_config_test dlls/gdi32/tests gdi32_test
18757 wine_fn_config_dll gdiplus enable_gdiplus implib
18758 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18759 wine_fn_config_dll glu32 enable_glu32 implib
18760 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18761 wine_fn_config_dll gpkcsp enable_gpkcsp
18762 wine_fn_config_dll hal enable_hal
18763 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18764 wine_fn_config_dll hid enable_hid implib
18765 wine_fn_config_test dlls/hid/tests hid_test
18766 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18767 wine_fn_config_dll hlink enable_hlink clean,implib
18768 wine_fn_config_test dlls/hlink/tests hlink_test
18769 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18770 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18771 wine_fn_config_dll httpapi enable_httpapi implib
18772 wine_fn_config_test dlls/httpapi/tests httpapi_test
18773 wine_fn_config_dll iccvid enable_iccvid clean
18774 wine_fn_config_dll icmp enable_icmp
18775 wine_fn_config_dll ieframe enable_ieframe clean,implib
18776 wine_fn_config_test dlls/ieframe/tests ieframe_test
18777 wine_fn_config_dll ieproxy enable_ieproxy clean
18778 wine_fn_config_dll ifsmgr.vxd enable_win16
18779 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18780 wine_fn_config_dll imagehlp enable_imagehlp implib
18781 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18782 wine_fn_config_dll imm.dll16 enable_win16
18783 wine_fn_config_dll imm32 enable_imm32 implib
18784 wine_fn_config_test dlls/imm32/tests imm32_test
18785 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18786 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18787 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18788 wine_fn_config_dll inetmib1 enable_inetmib1
18789 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18790 wine_fn_config_dll infosoft enable_infosoft clean
18791 wine_fn_config_test dlls/infosoft/tests infosoft_test
18792 wine_fn_config_dll initpki enable_initpki
18793 wine_fn_config_dll inkobj enable_inkobj
18794 wine_fn_config_dll inseng enable_inseng clean
18795 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18796 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18797 wine_fn_config_dll iprop enable_iprop
18798 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18799 wine_fn_config_dll itircl enable_itircl
18800 wine_fn_config_dll itss enable_itss clean
18801 wine_fn_config_test dlls/itss/tests itss_test
18802 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18803 wine_fn_config_dll jscript enable_jscript clean
18804 wine_fn_config_test dlls/jscript/tests jscript_test
18805 wine_fn_config_dll jsproxy enable_jsproxy implib
18806 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18807 wine_fn_config_dll kerberos enable_kerberos
18808 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18809 wine_fn_config_test dlls/kernel32/tests kernel32_test
18810 wine_fn_config_dll kernelbase enable_kernelbase
18811 wine_fn_config_dll keyboard.drv16 enable_win16
18812 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18813 wine_fn_config_dll ksuser enable_ksuser
18814 wine_fn_config_dll ktmw32 enable_ktmw32
18815 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18816 wine_fn_config_dll loadperf enable_loadperf implib
18817 wine_fn_config_dll localspl enable_localspl clean
18818 wine_fn_config_test dlls/localspl/tests localspl_test
18819 wine_fn_config_dll localui enable_localui clean
18820 wine_fn_config_test dlls/localui/tests localui_test
18821 wine_fn_config_dll lz32 enable_lz32 implib
18822 wine_fn_config_test dlls/lz32/tests lz32_test
18823 wine_fn_config_dll lzexpand.dll16 enable_win16
18824 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18825 wine_fn_config_test dlls/mapi32/tests mapi32_test
18826 wine_fn_config_dll mapistub enable_mapistub
18827 wine_fn_config_dll mciavi32 enable_mciavi32
18828 wine_fn_config_dll mcicda enable_mcicda
18829 wine_fn_config_dll mciqtz32 enable_mciqtz32
18830 wine_fn_config_dll mciseq enable_mciseq
18831 wine_fn_config_dll mciwave enable_mciwave
18832 wine_fn_config_dll mf enable_mf implib
18833 wine_fn_config_test dlls/mf/tests mf_test
18834 wine_fn_config_dll mf3216 enable_mf3216
18835 wine_fn_config_dll mfplat enable_mfplat implib
18836 wine_fn_config_test dlls/mfplat/tests mfplat_test
18837 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18838 wine_fn_config_lib mfuuid
18839 wine_fn_config_dll mgmtapi enable_mgmtapi
18840 wine_fn_config_dll midimap enable_midimap
18841 wine_fn_config_dll mlang enable_mlang clean,implib
18842 wine_fn_config_test dlls/mlang/tests mlang_test
18843 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18844 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18845 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18846 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18847 wine_fn_config_dll mmdevldr.vxd enable_win16
18848 wine_fn_config_dll mmsystem.dll16 enable_win16
18849 wine_fn_config_dll monodebg.vxd enable_win16
18850 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18851 wine_fn_config_dll mouse.drv16 enable_win16
18852 wine_fn_config_dll mpr enable_mpr clean,implib
18853 wine_fn_config_test dlls/mpr/tests mpr_test
18854 wine_fn_config_dll mprapi enable_mprapi implib
18855 wine_fn_config_dll msacm.dll16 enable_win16
18856 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18857 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18858 wine_fn_config_test dlls/msacm32/tests msacm32_test
18859 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18860 wine_fn_config_dll msasn1 enable_msasn1 implib
18861 wine_fn_config_dll mscat32 enable_mscat32
18862 wine_fn_config_dll mscms enable_mscms implib
18863 wine_fn_config_test dlls/mscms/tests mscms_test
18864 wine_fn_config_dll mscoree enable_mscoree clean
18865 wine_fn_config_test dlls/mscoree/tests mscoree_test
18866 wine_fn_config_dll msctf enable_msctf clean
18867 wine_fn_config_test dlls/msctf/tests msctf_test
18868 wine_fn_config_dll msctfp enable_msctfp clean
18869 wine_fn_config_dll msdaps enable_msdaps clean
18870 wine_fn_config_dll msdelta enable_msdelta
18871 wine_fn_config_dll msdmo enable_msdmo implib
18872 wine_fn_config_test dlls/msdmo/tests msdmo_test
18873 wine_fn_config_dll msdrm enable_msdrm
18874 wine_fn_config_dll msftedit enable_msftedit
18875 wine_fn_config_dll msg711.acm enable_msg711_acm
18876 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18877 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18878 wine_fn_config_dll mshtml enable_mshtml clean,implib
18879 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18880 wine_fn_config_dll msi enable_msi clean,implib
18881 wine_fn_config_test dlls/msi/tests msi_test
18882 wine_fn_config_dll msident enable_msident clean
18883 wine_fn_config_dll msimg32 enable_msimg32 implib
18884 wine_fn_config_dll msimsg enable_msimsg
18885 wine_fn_config_dll msimtf enable_msimtf clean
18886 wine_fn_config_dll msisip enable_msisip
18887 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18888 wine_fn_config_dll msls31 enable_msls31
18889 wine_fn_config_dll msnet32 enable_msnet32
18890 wine_fn_config_dll mspatcha enable_mspatcha implib
18891 wine_fn_config_dll msports enable_msports
18892 wine_fn_config_dll msrle32 enable_msrle32 clean
18893 wine_fn_config_test dlls/msrle32/tests msrle32_test
18894 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18895 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18896 wine_fn_config_dll mssign32 enable_mssign32
18897 wine_fn_config_dll mssip32 enable_mssip32
18898 wine_fn_config_dll mstask enable_mstask clean
18899 wine_fn_config_test dlls/mstask/tests mstask_test
18900 wine_fn_config_dll msvcirt enable_msvcirt
18901 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18902 wine_fn_config_dll msvcm80 enable_msvcm80
18903 wine_fn_config_dll msvcm90 enable_msvcm90
18904 wine_fn_config_dll msvcp100 enable_msvcp100
18905 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18906 wine_fn_config_dll msvcp110 enable_msvcp110
18907 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18908 wine_fn_config_dll msvcp120 enable_msvcp120
18909 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18910 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18911 wine_fn_config_dll msvcp140 enable_msvcp140
18912 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18913 wine_fn_config_dll msvcp60 enable_msvcp60
18914 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18915 wine_fn_config_dll msvcp70 enable_msvcp70
18916 wine_fn_config_dll msvcp71 enable_msvcp71
18917 wine_fn_config_dll msvcp80 enable_msvcp80
18918 wine_fn_config_dll msvcp90 enable_msvcp90
18919 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18920 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18921 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18922 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18923 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18924 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18925 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18926 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18927 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18928 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18929 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18930 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18931 wine_fn_config_dll msvcrt enable_msvcrt implib
18932 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18933 wine_fn_config_dll msvcrt20 enable_msvcrt20
18934 wine_fn_config_dll msvcrt40 enable_msvcrt40
18935 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18936 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18937 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18938 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18939 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18940 wine_fn_config_dll msvideo.dll16 enable_win16
18941 wine_fn_config_dll mswsock enable_mswsock implib
18942 wine_fn_config_dll msxml enable_msxml clean
18943 wine_fn_config_dll msxml2 enable_msxml2 clean
18944 wine_fn_config_dll msxml3 enable_msxml3 clean
18945 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18946 wine_fn_config_dll msxml4 enable_msxml4 clean
18947 wine_fn_config_dll msxml6 enable_msxml6 clean
18948 wine_fn_config_dll mtxdm enable_mtxdm
18949 wine_fn_config_dll ncrypt enable_ncrypt
18950 wine_fn_config_dll nddeapi enable_nddeapi implib
18951 wine_fn_config_dll ndis.sys enable_ndis_sys
18952 wine_fn_config_dll netapi32 enable_netapi32 implib
18953 wine_fn_config_test dlls/netapi32/tests netapi32_test
18954 wine_fn_config_dll netcfgx enable_netcfgx clean
18955 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18956 wine_fn_config_dll netprofm enable_netprofm clean
18957 wine_fn_config_test dlls/netprofm/tests netprofm_test
18958 wine_fn_config_dll newdev enable_newdev implib
18959 wine_fn_config_dll normaliz enable_normaliz implib
18960 wine_fn_config_dll npmshtml enable_npmshtml
18961 wine_fn_config_dll npptools enable_npptools
18962 wine_fn_config_dll ntdll enable_ntdll implib
18963 wine_fn_config_test dlls/ntdll/tests ntdll_test
18964 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18965 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18966 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18967 wine_fn_config_dll ntprint enable_ntprint
18968 wine_fn_config_test dlls/ntprint/tests ntprint_test
18969 wine_fn_config_dll objsel enable_objsel clean
18970 wine_fn_config_dll odbc32 enable_odbc32 implib
18971 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18972 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18973 wine_fn_config_dll odbccu32 enable_odbccu32
18974 wine_fn_config_dll ole2.dll16 enable_win16
18975 wine_fn_config_dll ole2conv.dll16 enable_win16
18976 wine_fn_config_dll ole2disp.dll16 enable_win16
18977 wine_fn_config_dll ole2nls.dll16 enable_win16
18978 wine_fn_config_dll ole2prox.dll16 enable_win16
18979 wine_fn_config_dll ole2thk.dll16 enable_win16
18980 wine_fn_config_dll ole32 enable_ole32 clean,implib
18981 wine_fn_config_test dlls/ole32/tests ole32_test
18982 wine_fn_config_dll oleacc enable_oleacc clean,implib
18983 wine_fn_config_test dlls/oleacc/tests oleacc_test
18984 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18985 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18986 wine_fn_config_dll olecli.dll16 enable_win16
18987 wine_fn_config_dll olecli32 enable_olecli32 implib
18988 wine_fn_config_dll oledb32 enable_oledb32 clean
18989 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18990 wine_fn_config_dll oledlg enable_oledlg clean,implib
18991 wine_fn_config_test dlls/oledlg/tests oledlg_test
18992 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18993 wine_fn_config_dll olesvr.dll16 enable_win16
18994 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18995 wine_fn_config_dll olethk32 enable_olethk32
18996 wine_fn_config_dll openal32 enable_openal32
18997 wine_fn_config_dll opencl enable_opencl
18998 wine_fn_config_dll opengl32 enable_opengl32 implib
18999 wine_fn_config_test dlls/opengl32/tests opengl32_test
19000 wine_fn_config_dll packager enable_packager clean
19001 wine_fn_config_test dlls/packager/tests packager_test
19002 wine_fn_config_dll pdh enable_pdh implib
19003 wine_fn_config_test dlls/pdh/tests pdh_test
19004 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19005 wine_fn_config_dll pidgen enable_pidgen
19006 wine_fn_config_dll powrprof enable_powrprof implib
19007 wine_fn_config_dll printui enable_printui
19008 wine_fn_config_dll prntvpt enable_prntvpt
19009 wine_fn_config_dll propsys enable_propsys clean,implib
19010 wine_fn_config_test dlls/propsys/tests propsys_test
19011 wine_fn_config_dll psapi enable_psapi implib
19012 wine_fn_config_test dlls/psapi/tests psapi_test
19013 wine_fn_config_dll pstorec enable_pstorec clean
19014 wine_fn_config_test dlls/pstorec/tests pstorec_test
19015 wine_fn_config_dll qcap enable_qcap
19016 wine_fn_config_test dlls/qcap/tests qcap_test
19017 wine_fn_config_dll qedit enable_qedit clean
19018 wine_fn_config_test dlls/qedit/tests qedit_test
19019 wine_fn_config_dll qmgr enable_qmgr clean
19020 wine_fn_config_test dlls/qmgr/tests qmgr_test
19021 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
19022 wine_fn_config_dll quartz enable_quartz clean,implib
19023 wine_fn_config_test dlls/quartz/tests quartz_test clean
19024 wine_fn_config_dll query enable_query
19025 wine_fn_config_dll rasapi16.dll16 enable_win16
19026 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19027 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19028 wine_fn_config_dll rasdlg enable_rasdlg implib
19029 wine_fn_config_dll regapi enable_regapi
19030 wine_fn_config_dll resutils enable_resutils implib
19031 wine_fn_config_dll riched20 enable_riched20 clean,implib
19032 wine_fn_config_test dlls/riched20/tests riched20_test
19033 wine_fn_config_dll riched32 enable_riched32
19034 wine_fn_config_test dlls/riched32/tests riched32_test
19035 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
19036 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
19037 wine_fn_config_dll rsabase enable_rsabase
19038 wine_fn_config_dll rsaenh enable_rsaenh implib
19039 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19040 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19041 wine_fn_config_dll rtutils enable_rtutils implib
19042 wine_fn_config_dll samlib enable_samlib
19043 wine_fn_config_dll sane.ds enable_sane_ds clean
19044 wine_fn_config_dll sapi enable_sapi clean
19045 wine_fn_config_test dlls/sapi/tests sapi_test
19046 wine_fn_config_dll scarddlg enable_scarddlg
19047 wine_fn_config_dll sccbase enable_sccbase
19048 wine_fn_config_dll schannel enable_schannel
19049 wine_fn_config_test dlls/schannel/tests schannel_test
19050 wine_fn_config_dll schedsvc enable_schedsvc clean
19051 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
19052 wine_fn_config_dll scrobj enable_scrobj clean
19053 wine_fn_config_dll scrrun enable_scrrun clean
19054 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
19055 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19056 wine_fn_config_dll secur32 enable_secur32 implib
19057 wine_fn_config_test dlls/secur32/tests secur32_test
19058 wine_fn_config_dll security enable_security
19059 wine_fn_config_dll sensapi enable_sensapi implib
19060 wine_fn_config_dll serialui enable_serialui clean
19061 wine_fn_config_test dlls/serialui/tests serialui_test
19062 wine_fn_config_dll setupapi enable_setupapi clean,implib
19063 wine_fn_config_test dlls/setupapi/tests setupapi_test
19064 wine_fn_config_dll setupx.dll16 enable_win16
19065 wine_fn_config_dll sfc enable_sfc implib
19066 wine_fn_config_dll sfc_os enable_sfc_os implib
19067 wine_fn_config_dll shcore enable_shcore
19068 wine_fn_config_dll shdoclc enable_shdoclc clean
19069 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
19070 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19071 wine_fn_config_dll shell.dll16 enable_win16
19072 wine_fn_config_dll shell32 enable_shell32 clean,implib
19073 wine_fn_config_test dlls/shell32/tests shell32_test
19074 wine_fn_config_dll shfolder enable_shfolder implib
19075 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
19076 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19077 wine_fn_config_dll slbcsp enable_slbcsp
19078 wine_fn_config_dll slc enable_slc implib
19079 wine_fn_config_test dlls/slc/tests slc_test
19080 wine_fn_config_dll snmpapi enable_snmpapi implib
19081 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19082 wine_fn_config_dll softpub enable_softpub
19083 wine_fn_config_dll sound.drv16 enable_win16
19084 wine_fn_config_dll spoolss enable_spoolss implib
19085 wine_fn_config_test dlls/spoolss/tests spoolss_test
19086 wine_fn_config_dll sspicli enable_sspicli
19087 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
19088 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
19089 wine_fn_config_dll sti enable_sti clean,implib
19090 wine_fn_config_test dlls/sti/tests sti_test
19091 wine_fn_config_dll storage.dll16 enable_win16
19092 wine_fn_config_dll stress.dll16 enable_win16
19093 wine_fn_config_lib strmbase
19094 wine_fn_config_lib strmiids
19095 wine_fn_config_dll svrapi enable_svrapi
19096 wine_fn_config_dll sxs enable_sxs implib
19097 wine_fn_config_test dlls/sxs/tests sxs_test
19098 wine_fn_config_dll system.drv16 enable_win16
19099 wine_fn_config_dll t2embed enable_t2embed implib
19100 wine_fn_config_test dlls/t2embed/tests t2embed_test
19101 wine_fn_config_dll tapi32 enable_tapi32 implib
19102 wine_fn_config_dll taskschd enable_taskschd clean
19103 wine_fn_config_test dlls/taskschd/tests taskschd_test
19104 wine_fn_config_dll tdh enable_tdh
19105 wine_fn_config_dll tdi.sys enable_tdi_sys
19106 wine_fn_config_dll toolhelp.dll16 enable_win16
19107 wine_fn_config_dll traffic enable_traffic
19108 wine_fn_config_dll twain.dll16 enable_win16
19109 wine_fn_config_dll twain_32 enable_twain_32 clean
19110 wine_fn_config_test dlls/twain_32/tests twain_32_test
19111 wine_fn_config_dll typelib.dll16 enable_win16
19112 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19113 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19114 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19115 wine_fn_config_dll uiribbon enable_uiribbon clean
19116 wine_fn_config_dll unicows enable_unicows implib
19117 wine_fn_config_dll updspapi enable_updspapi
19118 wine_fn_config_dll url enable_url implib
19119 wine_fn_config_dll urlmon enable_urlmon clean,implib
19120 wine_fn_config_test dlls/urlmon/tests urlmon_test
19121 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19122 wine_fn_config_dll user.exe16 enable_win16
19123 wine_fn_config_dll user32 enable_user32 clean,implib
19124 wine_fn_config_test dlls/user32/tests user32_test
19125 wine_fn_config_dll userenv enable_userenv implib
19126 wine_fn_config_test dlls/userenv/tests userenv_test
19127 wine_fn_config_dll usp10 enable_usp10 implib
19128 wine_fn_config_test dlls/usp10/tests usp10_test
19129 wine_fn_config_lib uuid
19130 wine_fn_config_dll uxtheme enable_uxtheme implib
19131 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19132 wine_fn_config_dll vbscript enable_vbscript clean
19133 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
19134 wine_fn_config_dll vcomp enable_vcomp
19135 wine_fn_config_test dlls/vcomp/tests vcomp_test
19136 wine_fn_config_dll vcomp100 enable_vcomp100
19137 wine_fn_config_dll vcomp110 enable_vcomp110
19138 wine_fn_config_dll vcomp120 enable_vcomp120
19139 wine_fn_config_dll vcomp140 enable_vcomp140
19140 wine_fn_config_dll vcomp90 enable_vcomp90
19141 wine_fn_config_dll vcruntime140 enable_vcruntime140
19142 wine_fn_config_dll vdhcp.vxd enable_win16
19143 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19144 wine_fn_config_dll ver.dll16 enable_win16
19145 wine_fn_config_dll version enable_version implib
19146 wine_fn_config_test dlls/version/tests version_test
19147 wine_fn_config_dll virtdisk enable_virtdisk
19148 wine_fn_config_dll vmm.vxd enable_win16
19149 wine_fn_config_dll vnbt.vxd enable_win16
19150 wine_fn_config_dll vnetbios.vxd enable_win16
19151 wine_fn_config_dll vssapi enable_vssapi
19152 wine_fn_config_dll vtdapi.vxd enable_win16
19153 wine_fn_config_dll vwin32.vxd enable_win16
19154 wine_fn_config_dll w32skrnl enable_win16
19155 wine_fn_config_dll w32sys.dll16 enable_win16
19156 wine_fn_config_dll wbemdisp enable_wbemdisp clean
19157 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19158 wine_fn_config_dll wbemprox enable_wbemprox clean
19159 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19160 wine_fn_config_dll wdscore enable_wdscore
19161 wine_fn_config_dll webservices enable_webservices implib
19162 wine_fn_config_test dlls/webservices/tests webservices_test
19163 wine_fn_config_dll wer enable_wer implib
19164 wine_fn_config_test dlls/wer/tests wer_test
19165 wine_fn_config_dll wevtapi enable_wevtapi
19166 wine_fn_config_dll wiaservc enable_wiaservc clean
19167 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19168 wine_fn_config_dll wimgapi enable_wimgapi
19169 wine_fn_config_dll win32s16.dll16 enable_win16
19170 wine_fn_config_dll win87em.dll16 enable_win16
19171 wine_fn_config_dll winaspi.dll16 enable_win16
19172 wine_fn_config_dll windebug.dll16 enable_win16
19173 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
19174 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19175 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19176 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19177 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19178 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19179 wine_fn_config_dll winebus.sys enable_winebus_sys
19180 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19181 wine_fn_config_lib winecrt0
19182 wine_fn_config_dll wined3d enable_wined3d implib
19183 wine_fn_config_dll winegstreamer enable_winegstreamer
19184 wine_fn_config_dll winehid.sys enable_winehid_sys
19185 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19186 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19187 wine_fn_config_dll winemapi enable_winemapi
19188 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19189 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19190 wine_fn_config_dll wineps16.drv16 enable_win16
19191 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19192 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19193 wine_fn_config_dll winex11.drv enable_winex11_drv
19194 wine_fn_config_dll wing.dll16 enable_win16
19195 wine_fn_config_dll wing32 enable_wing32
19196 wine_fn_config_dll winhttp enable_winhttp clean,implib
19197 wine_fn_config_test dlls/winhttp/tests winhttp_test
19198 wine_fn_config_dll wininet enable_wininet clean,implib
19199 wine_fn_config_test dlls/wininet/tests wininet_test
19200 wine_fn_config_dll winmm enable_winmm clean,implib
19201 wine_fn_config_test dlls/winmm/tests winmm_test
19202 wine_fn_config_dll winnls.dll16 enable_win16
19203 wine_fn_config_dll winnls32 enable_winnls32 implib
19204 wine_fn_config_dll winscard enable_winscard implib
19205 wine_fn_config_dll winsock.dll16 enable_win16
19206 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19207 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19208 wine_fn_config_dll winsta enable_winsta
19209 wine_fn_config_dll wintab.dll16 enable_win16
19210 wine_fn_config_dll wintab32 enable_wintab32 implib
19211 wine_fn_config_test dlls/wintab32/tests wintab32_test
19212 wine_fn_config_dll wintrust enable_wintrust implib
19213 wine_fn_config_test dlls/wintrust/tests wintrust_test
19214 wine_fn_config_dll winusb enable_winusb
19215 wine_fn_config_dll wlanapi enable_wlanapi implib
19216 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19217 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19218 wine_fn_config_test dlls/wldap32/tests wldap32_test
19219 wine_fn_config_dll wmasf enable_wmasf
19220 wine_fn_config_dll wmi enable_wmi
19221 wine_fn_config_dll wmiutils enable_wmiutils clean
19222 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19223 wine_fn_config_dll wmp enable_wmp clean
19224 wine_fn_config_test dlls/wmp/tests wmp_test
19225 wine_fn_config_dll wmphoto enable_wmphoto clean
19226 wine_fn_config_dll wmvcore enable_wmvcore implib
19227 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19228 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19229 wine_fn_config_dll wow32 enable_win16 implib
19230 wine_fn_config_dll wpc enable_wpc clean
19231 wine_fn_config_test dlls/wpc/tests wpc_test
19232 wine_fn_config_dll wpcap enable_wpcap
19233 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19234 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19235 wine_fn_config_dll wsdapi enable_wsdapi implib
19236 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19237 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19238 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19239 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19240 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19241 wine_fn_config_dll wsock32 enable_wsock32 implib
19242 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19243 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19244 wine_fn_config_dll wuapi enable_wuapi clean
19245 wine_fn_config_dll wuaueng enable_wuaueng
19246 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19247 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19248 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19249 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19250 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19251 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19252 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19253 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19254 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19255 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19256 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19257 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19258 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19259 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19260 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19261 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19262 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19263 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19264 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19265 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19266 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19267 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19268 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19269 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19270 wine_fn_config_dll xinput1_1 enable_xinput1_1
19271 wine_fn_config_dll xinput1_2 enable_xinput1_2
19272 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19273 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19274 wine_fn_config_dll xinput1_4 enable_xinput1_4
19275 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19276 wine_fn_config_dll xmllite enable_xmllite implib
19277 wine_fn_config_test dlls/xmllite/tests xmllite_test
19278 wine_fn_config_dll xolehlp enable_xolehlp
19279 wine_fn_config_dll xpsprint enable_xpsprint
19280 wine_fn_config_dll xpssvcs enable_xpssvcs
19281 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19282 wine_fn_config_makefile include enable_include clean,install-dev
19283 wine_fn_config_makefile libs/port enable_libs_port
19284 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19285 wine_fn_config_makefile libs/wpp enable_libs_wpp
19286 wine_fn_config_makefile loader enable_loader clean,install-lib
19287 wine_fn_config_makefile po enable_po clean
19288 wine_fn_config_program arp enable_arp install
19289 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19290 wine_fn_config_program attrib enable_attrib clean,install
19291 wine_fn_config_program cabarc enable_cabarc install
19292 wine_fn_config_program cacls enable_cacls install
19293 wine_fn_config_program clock enable_clock clean,install
19294 wine_fn_config_program cmd enable_cmd clean,install
19295 wine_fn_config_test programs/cmd/tests cmd.exe_test
19296 wine_fn_config_program conhost enable_conhost install
19297 wine_fn_config_program control enable_control install
19298 wine_fn_config_program cscript enable_cscript clean,install
19299 wine_fn_config_program dpnsvr enable_dpnsvr install
19300 wine_fn_config_program dxdiag enable_dxdiag clean,install
19301 wine_fn_config_program eject enable_eject install
19302 wine_fn_config_program expand enable_expand install
19303 wine_fn_config_program explorer enable_explorer clean,install
19304 wine_fn_config_program extrac32 enable_extrac32 install
19305 wine_fn_config_program findstr enable_findstr install
19306 wine_fn_config_program fsutil enable_fsutil install
19307 wine_fn_config_program hh enable_hh install
19308 wine_fn_config_program hostname enable_hostname clean,install
19309 wine_fn_config_program icacls enable_icacls install
19310 wine_fn_config_program icinfo enable_icinfo install
19311 wine_fn_config_program iexplore enable_iexplore install
19312 wine_fn_config_program ipconfig enable_ipconfig clean,install
19313 wine_fn_config_program lodctr enable_lodctr install
19314 wine_fn_config_program mofcomp enable_mofcomp install
19315 wine_fn_config_program mshta enable_mshta install
19316 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19317 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19318 wine_fn_config_program net enable_net clean,install
19319 wine_fn_config_program netsh enable_netsh install
19320 wine_fn_config_program netstat enable_netstat clean,install
19321 wine_fn_config_program ngen enable_ngen install
19322 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19323 wine_fn_config_program oleview enable_oleview clean,install
19324 wine_fn_config_program ping enable_ping install
19325 wine_fn_config_program plugplay enable_plugplay install
19326 wine_fn_config_program powershell enable_powershell install
19327 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19328 wine_fn_config_program progman enable_progman clean,install
19329 wine_fn_config_program reg enable_reg clean,install
19330 wine_fn_config_test programs/reg/tests reg.exe_test
19331 wine_fn_config_program regasm enable_regasm install
19332 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19333 wine_fn_config_test programs/regedit/tests regedit.exe_test
19334 wine_fn_config_program regsvcs enable_regsvcs install
19335 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19336 wine_fn_config_program rpcss enable_rpcss clean,install
19337 wine_fn_config_program rundll.exe16 enable_win16 install
19338 wine_fn_config_program rundll32 enable_rundll32 install
19339 wine_fn_config_program sc enable_sc install
19340 wine_fn_config_program schtasks enable_schtasks install
19341 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19342 wine_fn_config_program sdbinst enable_sdbinst install
19343 wine_fn_config_program secedit enable_secedit install
19344 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19345 wine_fn_config_program services enable_services clean,install
19346 wine_fn_config_test programs/services/tests services.exe_test
19347 wine_fn_config_program shutdown enable_shutdown install
19348 wine_fn_config_program spoolsv enable_spoolsv install
19349 wine_fn_config_program start enable_start clean,install
19350 wine_fn_config_program subst enable_subst install
19351 wine_fn_config_program svchost enable_svchost install
19352 wine_fn_config_program systeminfo enable_systeminfo install
19353 wine_fn_config_program taskkill enable_taskkill clean,install
19354 wine_fn_config_program tasklist enable_tasklist install
19355 wine_fn_config_program taskmgr enable_taskmgr clean,install
19356 wine_fn_config_program termsv enable_termsv install
19357 wine_fn_config_program uninstaller enable_uninstaller clean,install
19358 wine_fn_config_program unlodctr enable_unlodctr install
19359 wine_fn_config_program view enable_view clean,install
19360 wine_fn_config_program wevtutil enable_wevtutil install
19361 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19362 wine_fn_config_program winebrowser enable_winebrowser install
19363 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19364 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19365 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19366 wine_fn_config_program winedevice enable_winedevice install
19367 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19368 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19369 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19370 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19371 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19372 wine_fn_config_program winetest enable_winetest clean
19373 wine_fn_config_program winevdm enable_win16 install
19374 wine_fn_config_program winhelp.exe16 enable_win16 install
19375 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19376 wine_fn_config_program winoldap.mod16 enable_win16 install
19377 wine_fn_config_program winver enable_winver install
19378 wine_fn_config_program wmic enable_wmic clean,install
19379 wine_fn_config_program wmplayer enable_wmplayer install
19380 wine_fn_config_program wordpad enable_wordpad clean,install
19381 wine_fn_config_program write enable_write clean,install
19382 wine_fn_config_program wscript enable_wscript clean,install
19383 wine_fn_config_test programs/wscript/tests wscript.exe_test
19384 wine_fn_config_program wusa enable_wusa install
19385 wine_fn_config_program xcopy enable_xcopy clean,install
19386 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19387 wine_fn_config_makefile server enable_server clean,install-lib
19388 wine_fn_config_tool tools clean
19389 wine_fn_config_tool tools/sfnt2fon clean
19390 wine_fn_config_tool tools/widl clean,install-dev
19391 wine_fn_config_tool tools/winebuild clean,install-dev
19392 wine_fn_config_tool tools/winedump clean,install-dev
19393 wine_fn_config_tool tools/winegcc clean,install-dev
19394 wine_fn_config_tool tools/winemaker clean,install-dev
19395 wine_fn_config_tool tools/wmc clean,install-dev
19396 wine_fn_config_tool tools/wrc clean,install-dev
19399 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19400 wine_fn_append_file CONFIGURE_TARGETS "tags"
19401 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19402 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19403 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19404 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19405 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19406 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19408 if test "x$enable_tools" != xno
19409 then
19410 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19411 ac_config_commands="$ac_config_commands tools/makedep"
19415 ac_config_commands="$ac_config_commands Makefile"
19418 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19422 if test "x$enable_maintainer_mode" = xyes
19423 then
19424 wine_fn_append_rule "configure: configure.ac aclocal.m4
19425 autoconf --warnings=all
19426 include/config.h.in: include/stamp-h.in
19427 include/stamp-h.in: configure.ac aclocal.m4
19428 autoheader --warnings=all
19429 @echo timestamp > \$@"
19432 if test "x$enable_tools" != xno
19433 then
19434 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19435 @./config.status tools/makedep
19436 Makefile: tools/makedep$ac_exeext"
19437 else
19438 wine_fn_append_rule "\$(MAKEDEP):
19439 @echo \"You need to run make in $TOOLSDIR first\" && false"
19442 if test -n "$with_wine64"
19443 then
19444 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19445 fonts server:
19446 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19447 $with_wine64/loader/wine:
19448 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19449 $with_wine64/loader/wine-preloader:
19450 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19451 clean::
19452 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19453 else
19454 WINELOADER_INSTALL="wine.inf"
19456 wine_fn_append_rule "install install-lib::
19457 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19458 .PHONY: l_intl.nls/uninstall
19459 l_intl.nls/uninstall::
19460 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19461 __uninstall__: l_intl.nls/uninstall"
19462 case $host_os in
19463 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19464 *) wine_fn_append_rule "install install-lib::
19465 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19466 uninstall::
19467 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19468 esac
19471 $as_echo " done" >&6
19472 cat >confcache <<\_ACEOF
19473 # This file is a shell script that caches the results of configure
19474 # tests run on this system so they can be shared between configure
19475 # scripts and configure runs, see configure's option --config-cache.
19476 # It is not useful on other systems. If it contains results you don't
19477 # want to keep, you may remove or edit it.
19479 # config.status only pays attention to the cache file if you give it
19480 # the --recheck option to rerun configure.
19482 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19483 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19484 # following values.
19486 _ACEOF
19488 # The following way of writing the cache mishandles newlines in values,
19489 # but we know of no workaround that is simple, portable, and efficient.
19490 # So, we kill variables containing newlines.
19491 # Ultrix sh set writes to stderr and can't be redirected directly,
19492 # and sets the high bit in the cache file unless we assign to the vars.
19494 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19495 eval ac_val=\$$ac_var
19496 case $ac_val in #(
19497 *${as_nl}*)
19498 case $ac_var in #(
19499 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19500 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19501 esac
19502 case $ac_var in #(
19503 _ | IFS | as_nl) ;; #(
19504 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19505 *) { eval $ac_var=; unset $ac_var;} ;;
19506 esac ;;
19507 esac
19508 done
19510 (set) 2>&1 |
19511 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19512 *${as_nl}ac_space=\ *)
19513 # `set' does not quote correctly, so add quotes: double-quote
19514 # substitution turns \\\\ into \\, and sed turns \\ into \.
19515 sed -n \
19516 "s/'/'\\\\''/g;
19517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19518 ;; #(
19520 # `set' quotes correctly as required by POSIX, so do not add quotes.
19521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19523 esac |
19524 sort
19526 sed '
19527 /^ac_cv_env_/b end
19528 t clear
19529 :clear
19530 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19531 t end
19532 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19533 :end' >>confcache
19534 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19535 if test -w "$cache_file"; then
19536 if test "x$cache_file" != "x/dev/null"; then
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19538 $as_echo "$as_me: updating cache $cache_file" >&6;}
19539 if test ! -f "$cache_file" || test -h "$cache_file"; then
19540 cat confcache >"$cache_file"
19541 else
19542 case $cache_file in #(
19543 */* | ?:*)
19544 mv -f confcache "$cache_file"$$ &&
19545 mv -f "$cache_file"$$ "$cache_file" ;; #(
19547 mv -f confcache "$cache_file" ;;
19548 esac
19551 else
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19553 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19556 rm -f confcache
19558 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19559 # Let make expand exec_prefix.
19560 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19562 DEFS=-DHAVE_CONFIG_H
19564 ac_libobjs=
19565 ac_ltlibobjs=
19567 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19568 # 1. Remove the extension, and $U if already installed.
19569 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19570 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19571 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19572 # will be set to the directory where LIBOBJS objects are built.
19573 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19574 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19575 done
19576 LIBOBJS=$ac_libobjs
19578 LTLIBOBJS=$ac_ltlibobjs
19582 : "${CONFIG_STATUS=./config.status}"
19583 ac_write_fail=0
19584 ac_clean_files_save=$ac_clean_files
19585 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19587 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19588 as_write_fail=0
19589 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19590 #! $SHELL
19591 # Generated by $as_me.
19592 # Run this file to recreate the current configuration.
19593 # Compiler output produced by configure, useful for debugging
19594 # configure, is in config.log if it exists.
19596 debug=false
19597 ac_cs_recheck=false
19598 ac_cs_silent=false
19600 SHELL=\${CONFIG_SHELL-$SHELL}
19601 export SHELL
19602 _ASEOF
19603 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19604 ## -------------------- ##
19605 ## M4sh Initialization. ##
19606 ## -------------------- ##
19608 # Be more Bourne compatible
19609 DUALCASE=1; export DUALCASE # for MKS sh
19610 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19611 emulate sh
19612 NULLCMD=:
19613 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19614 # is contrary to our usage. Disable this feature.
19615 alias -g '${1+"$@"}'='"$@"'
19616 setopt NO_GLOB_SUBST
19617 else
19618 case `(set -o) 2>/dev/null` in #(
19619 *posix*) :
19620 set -o posix ;; #(
19621 *) :
19623 esac
19627 as_nl='
19629 export as_nl
19630 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19631 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19632 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19633 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19634 # Prefer a ksh shell builtin over an external printf program on Solaris,
19635 # but without wasting forks for bash or zsh.
19636 if test -z "$BASH_VERSION$ZSH_VERSION" \
19637 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19638 as_echo='print -r --'
19639 as_echo_n='print -rn --'
19640 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19641 as_echo='printf %s\n'
19642 as_echo_n='printf %s'
19643 else
19644 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19645 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19646 as_echo_n='/usr/ucb/echo -n'
19647 else
19648 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19649 as_echo_n_body='eval
19650 arg=$1;
19651 case $arg in #(
19652 *"$as_nl"*)
19653 expr "X$arg" : "X\\(.*\\)$as_nl";
19654 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19655 esac;
19656 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19658 export as_echo_n_body
19659 as_echo_n='sh -c $as_echo_n_body as_echo'
19661 export as_echo_body
19662 as_echo='sh -c $as_echo_body as_echo'
19665 # The user is always right.
19666 if test "${PATH_SEPARATOR+set}" != set; then
19667 PATH_SEPARATOR=:
19668 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19669 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19670 PATH_SEPARATOR=';'
19675 # IFS
19676 # We need space, tab and new line, in precisely that order. Quoting is
19677 # there to prevent editors from complaining about space-tab.
19678 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19679 # splitting by setting IFS to empty value.)
19680 IFS=" "" $as_nl"
19682 # Find who we are. Look in the path if we contain no directory separator.
19683 as_myself=
19684 case $0 in #((
19685 *[\\/]* ) as_myself=$0 ;;
19686 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19687 for as_dir in $PATH
19689 IFS=$as_save_IFS
19690 test -z "$as_dir" && as_dir=.
19691 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19692 done
19693 IFS=$as_save_IFS
19696 esac
19697 # We did not find ourselves, most probably we were run as `sh COMMAND'
19698 # in which case we are not to be found in the path.
19699 if test "x$as_myself" = x; then
19700 as_myself=$0
19702 if test ! -f "$as_myself"; then
19703 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19704 exit 1
19707 # Unset variables that we do not need and which cause bugs (e.g. in
19708 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19709 # suppresses any "Segmentation fault" message there. '((' could
19710 # trigger a bug in pdksh 5.2.14.
19711 for as_var in BASH_ENV ENV MAIL MAILPATH
19712 do eval test x\${$as_var+set} = xset \
19713 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19714 done
19715 PS1='$ '
19716 PS2='> '
19717 PS4='+ '
19719 # NLS nuisances.
19720 LC_ALL=C
19721 export LC_ALL
19722 LANGUAGE=C
19723 export LANGUAGE
19725 # CDPATH.
19726 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19729 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19730 # ----------------------------------------
19731 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19732 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19733 # script with STATUS, using 1 if that was 0.
19734 as_fn_error ()
19736 as_status=$1; test $as_status -eq 0 && as_status=1
19737 if test "$4"; then
19738 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19739 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19741 $as_echo "$as_me: error: $2" >&2
19742 as_fn_exit $as_status
19743 } # as_fn_error
19746 # as_fn_set_status STATUS
19747 # -----------------------
19748 # Set $? to STATUS, without forking.
19749 as_fn_set_status ()
19751 return $1
19752 } # as_fn_set_status
19754 # as_fn_exit STATUS
19755 # -----------------
19756 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19757 as_fn_exit ()
19759 set +e
19760 as_fn_set_status $1
19761 exit $1
19762 } # as_fn_exit
19764 # as_fn_unset VAR
19765 # ---------------
19766 # Portably unset VAR.
19767 as_fn_unset ()
19769 { eval $1=; unset $1;}
19771 as_unset=as_fn_unset
19772 # as_fn_append VAR VALUE
19773 # ----------------------
19774 # Append the text in VALUE to the end of the definition contained in VAR. Take
19775 # advantage of any shell optimizations that allow amortized linear growth over
19776 # repeated appends, instead of the typical quadratic growth present in naive
19777 # implementations.
19778 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19779 eval 'as_fn_append ()
19781 eval $1+=\$2
19783 else
19784 as_fn_append ()
19786 eval $1=\$$1\$2
19788 fi # as_fn_append
19790 # as_fn_arith ARG...
19791 # ------------------
19792 # Perform arithmetic evaluation on the ARGs, and store the result in the
19793 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19794 # must be portable across $(()) and expr.
19795 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19796 eval 'as_fn_arith ()
19798 as_val=$(( $* ))
19800 else
19801 as_fn_arith ()
19803 as_val=`expr "$@" || test $? -eq 1`
19805 fi # as_fn_arith
19808 if expr a : '\(a\)' >/dev/null 2>&1 &&
19809 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19810 as_expr=expr
19811 else
19812 as_expr=false
19815 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19816 as_basename=basename
19817 else
19818 as_basename=false
19821 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19822 as_dirname=dirname
19823 else
19824 as_dirname=false
19827 as_me=`$as_basename -- "$0" ||
19828 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19829 X"$0" : 'X\(//\)$' \| \
19830 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19831 $as_echo X/"$0" |
19832 sed '/^.*\/\([^/][^/]*\)\/*$/{
19833 s//\1/
19836 /^X\/\(\/\/\)$/{
19837 s//\1/
19840 /^X\/\(\/\).*/{
19841 s//\1/
19844 s/.*/./; q'`
19846 # Avoid depending upon Character Ranges.
19847 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19848 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19849 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19850 as_cr_digits='0123456789'
19851 as_cr_alnum=$as_cr_Letters$as_cr_digits
19853 ECHO_C= ECHO_N= ECHO_T=
19854 case `echo -n x` in #(((((
19855 -n*)
19856 case `echo 'xy\c'` in
19857 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19858 xy) ECHO_C='\c';;
19859 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19860 ECHO_T=' ';;
19861 esac;;
19863 ECHO_N='-n';;
19864 esac
19866 rm -f conf$$ conf$$.exe conf$$.file
19867 if test -d conf$$.dir; then
19868 rm -f conf$$.dir/conf$$.file
19869 else
19870 rm -f conf$$.dir
19871 mkdir conf$$.dir 2>/dev/null
19873 if (echo >conf$$.file) 2>/dev/null; then
19874 if ln -s conf$$.file conf$$ 2>/dev/null; then
19875 as_ln_s='ln -s'
19876 # ... but there are two gotchas:
19877 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19878 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19879 # In both cases, we have to default to `cp -pR'.
19880 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19881 as_ln_s='cp -pR'
19882 elif ln conf$$.file conf$$ 2>/dev/null; then
19883 as_ln_s=ln
19884 else
19885 as_ln_s='cp -pR'
19887 else
19888 as_ln_s='cp -pR'
19890 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19891 rmdir conf$$.dir 2>/dev/null
19894 # as_fn_mkdir_p
19895 # -------------
19896 # Create "$as_dir" as a directory, including parents if necessary.
19897 as_fn_mkdir_p ()
19900 case $as_dir in #(
19901 -*) as_dir=./$as_dir;;
19902 esac
19903 test -d "$as_dir" || eval $as_mkdir_p || {
19904 as_dirs=
19905 while :; do
19906 case $as_dir in #(
19907 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19908 *) as_qdir=$as_dir;;
19909 esac
19910 as_dirs="'$as_qdir' $as_dirs"
19911 as_dir=`$as_dirname -- "$as_dir" ||
19912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19913 X"$as_dir" : 'X\(//\)[^/]' \| \
19914 X"$as_dir" : 'X\(//\)$' \| \
19915 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19916 $as_echo X"$as_dir" |
19917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19918 s//\1/
19921 /^X\(\/\/\)[^/].*/{
19922 s//\1/
19925 /^X\(\/\/\)$/{
19926 s//\1/
19929 /^X\(\/\).*/{
19930 s//\1/
19933 s/.*/./; q'`
19934 test -d "$as_dir" && break
19935 done
19936 test -z "$as_dirs" || eval "mkdir $as_dirs"
19937 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19940 } # as_fn_mkdir_p
19941 if mkdir -p . 2>/dev/null; then
19942 as_mkdir_p='mkdir -p "$as_dir"'
19943 else
19944 test -d ./-p && rmdir ./-p
19945 as_mkdir_p=false
19949 # as_fn_executable_p FILE
19950 # -----------------------
19951 # Test if FILE is an executable regular file.
19952 as_fn_executable_p ()
19954 test -f "$1" && test -x "$1"
19955 } # as_fn_executable_p
19956 as_test_x='test -x'
19957 as_executable_p=as_fn_executable_p
19959 # Sed expression to map a string onto a valid CPP name.
19960 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19962 # Sed expression to map a string onto a valid variable name.
19963 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19966 exec 6>&1
19967 ## ----------------------------------- ##
19968 ## Main body of $CONFIG_STATUS script. ##
19969 ## ----------------------------------- ##
19970 _ASEOF
19971 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19974 # Save the log message, to keep $0 and so on meaningful, and to
19975 # report actual input values of CONFIG_FILES etc. instead of their
19976 # values after options handling.
19977 ac_log="
19978 This file was extended by Wine $as_me 3.0, which was
19979 generated by GNU Autoconf 2.69. Invocation command line was
19981 CONFIG_FILES = $CONFIG_FILES
19982 CONFIG_HEADERS = $CONFIG_HEADERS
19983 CONFIG_LINKS = $CONFIG_LINKS
19984 CONFIG_COMMANDS = $CONFIG_COMMANDS
19985 $ $0 $@
19987 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19990 _ACEOF
19992 case $ac_config_files in *"
19993 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19994 esac
19996 case $ac_config_headers in *"
19997 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19998 esac
20001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20002 # Files that config.status was made for.
20003 config_files="$ac_config_files"
20004 config_headers="$ac_config_headers"
20005 config_links="$ac_config_links"
20006 config_commands="$ac_config_commands"
20008 _ACEOF
20010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20011 ac_cs_usage="\
20012 \`$as_me' instantiates files and other configuration actions
20013 from templates according to the current configuration. Unless the files
20014 and actions are specified as TAGs, all are instantiated by default.
20016 Usage: $0 [OPTION]... [TAG]...
20018 -h, --help print this help, then exit
20019 -V, --version print version number and configuration settings, then exit
20020 --config print configuration, then exit
20021 -q, --quiet, --silent
20022 do not print progress messages
20023 -d, --debug don't remove temporary files
20024 --recheck update $as_me by reconfiguring in the same conditions
20025 --file=FILE[:TEMPLATE]
20026 instantiate the configuration file FILE
20027 --header=FILE[:TEMPLATE]
20028 instantiate the configuration header FILE
20030 Configuration files:
20031 $config_files
20033 Configuration headers:
20034 $config_headers
20036 Configuration links:
20037 $config_links
20039 Configuration commands:
20040 $config_commands
20042 Report bugs to <wine-devel@winehq.org>.
20043 Wine home page: <https://www.winehq.org>."
20045 _ACEOF
20046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20047 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20048 ac_cs_version="\\
20049 Wine config.status 3.0
20050 configured by $0, generated by GNU Autoconf 2.69,
20051 with options \\"\$ac_cs_config\\"
20053 Copyright (C) 2012 Free Software Foundation, Inc.
20054 This config.status script is free software; the Free Software Foundation
20055 gives unlimited permission to copy, distribute and modify it."
20057 ac_pwd='$ac_pwd'
20058 srcdir='$srcdir'
20059 test -n "\$AWK" || AWK=awk
20060 _ACEOF
20062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20063 # The default lists apply if the user does not specify any file.
20064 ac_need_defaults=:
20065 while test $# != 0
20067 case $1 in
20068 --*=?*)
20069 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20070 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20071 ac_shift=:
20073 --*=)
20074 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20075 ac_optarg=
20076 ac_shift=:
20079 ac_option=$1
20080 ac_optarg=$2
20081 ac_shift=shift
20083 esac
20085 case $ac_option in
20086 # Handling of the options.
20087 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20088 ac_cs_recheck=: ;;
20089 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20090 $as_echo "$ac_cs_version"; exit ;;
20091 --config | --confi | --conf | --con | --co | --c )
20092 $as_echo "$ac_cs_config"; exit ;;
20093 --debug | --debu | --deb | --de | --d | -d )
20094 debug=: ;;
20095 --file | --fil | --fi | --f )
20096 $ac_shift
20097 case $ac_optarg in
20098 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20099 '') as_fn_error $? "missing file argument" ;;
20100 esac
20101 as_fn_append CONFIG_FILES " '$ac_optarg'"
20102 ac_need_defaults=false;;
20103 --header | --heade | --head | --hea )
20104 $ac_shift
20105 case $ac_optarg in
20106 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20107 esac
20108 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20109 ac_need_defaults=false;;
20110 --he | --h)
20111 # Conflict between --help and --header
20112 as_fn_error $? "ambiguous option: \`$1'
20113 Try \`$0 --help' for more information.";;
20114 --help | --hel | -h )
20115 $as_echo "$ac_cs_usage"; exit ;;
20116 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20117 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20118 ac_cs_silent=: ;;
20120 # This is an error.
20121 -*) as_fn_error $? "unrecognized option: \`$1'
20122 Try \`$0 --help' for more information." ;;
20124 *) as_fn_append ac_config_targets " $1"
20125 ac_need_defaults=false ;;
20127 esac
20128 shift
20129 done
20131 ac_configure_extra_args=
20133 if $ac_cs_silent; then
20134 exec 6>/dev/null
20135 ac_configure_extra_args="$ac_configure_extra_args --silent"
20138 _ACEOF
20139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20140 if \$ac_cs_recheck; then
20141 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20142 shift
20143 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20144 CONFIG_SHELL='$SHELL'
20145 export CONFIG_SHELL
20146 exec "\$@"
20149 _ACEOF
20150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20151 exec 5>>config.log
20153 echo
20154 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20155 ## Running $as_me. ##
20156 _ASBOX
20157 $as_echo "$ac_log"
20158 } >&5
20160 _ACEOF
20161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20163 # INIT-COMMANDS
20165 wine_fn_output_makedep ()
20167 as_dir=tools; as_fn_mkdir_p
20168 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20170 wine_fn_output_makefile ()
20172 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20173 `cat $wine_rules_file`
20174 _WINE_EOF
20175 as_fn_error $? "could not create Makefile" "$LINENO" 5
20178 _ACEOF
20180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20182 # Handling of arguments.
20183 for ac_config_target in $ac_config_targets
20185 case $ac_config_target in
20186 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20187 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20188 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20189 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20190 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20191 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20192 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20193 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20194 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20195 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20196 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20197 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20198 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20200 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20201 esac
20202 done
20205 # If the user did not use the arguments to specify the items to instantiate,
20206 # then the envvar interface is used. Set only those that are not.
20207 # We use the long form for the default assignment because of an extremely
20208 # bizarre bug on SunOS 4.1.3.
20209 if $ac_need_defaults; then
20210 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20211 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20212 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20216 # Have a temporary directory for convenience. Make it in the build tree
20217 # simply because there is no reason against having it here, and in addition,
20218 # creating and moving files from /tmp can sometimes cause problems.
20219 # Hook for its removal unless debugging.
20220 # Note that there is a small window in which the directory will not be cleaned:
20221 # after its creation but before its name has been assigned to `$tmp'.
20222 $debug ||
20224 tmp= ac_tmp=
20225 trap 'exit_status=$?
20226 : "${ac_tmp:=$tmp}"
20227 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20229 trap 'as_fn_exit 1' 1 2 13 15
20231 # Create a (secure) tmp directory for tmp files.
20234 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20235 test -d "$tmp"
20236 } ||
20238 tmp=./conf$$-$RANDOM
20239 (umask 077 && mkdir "$tmp")
20240 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20241 ac_tmp=$tmp
20243 # Set up the scripts for CONFIG_FILES section.
20244 # No need to generate them if there are no CONFIG_FILES.
20245 # This happens for instance with `./config.status config.h'.
20246 if test -n "$CONFIG_FILES"; then
20249 ac_cr=`echo X | tr X '\015'`
20250 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20251 # But we know of no other shell where ac_cr would be empty at this
20252 # point, so we can use a bashism as a fallback.
20253 if test "x$ac_cr" = x; then
20254 eval ac_cr=\$\'\\r\'
20256 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20257 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20258 ac_cs_awk_cr='\\r'
20259 else
20260 ac_cs_awk_cr=$ac_cr
20263 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20264 _ACEOF
20268 echo "cat >conf$$subs.awk <<_ACEOF" &&
20269 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20270 echo "_ACEOF"
20271 } >conf$$subs.sh ||
20272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20273 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20274 ac_delim='%!_!# '
20275 for ac_last_try in false false false false false :; do
20276 . ./conf$$subs.sh ||
20277 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20279 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20280 if test $ac_delim_n = $ac_delim_num; then
20281 break
20282 elif $ac_last_try; then
20283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20284 else
20285 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20287 done
20288 rm -f conf$$subs.sh
20290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20291 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20292 _ACEOF
20293 sed -n '
20295 s/^/S["/; s/!.*/"]=/
20298 s/^[^!]*!//
20299 :repl
20300 t repl
20301 s/'"$ac_delim"'$//
20302 t delim
20305 s/\(.\{148\}\)..*/\1/
20306 t more1
20307 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20310 b repl
20311 :more1
20312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20315 s/.\{148\}//
20316 t nl
20317 :delim
20319 s/\(.\{148\}\)..*/\1/
20320 t more2
20321 s/["\\]/\\&/g; s/^/"/; s/$/"/
20324 :more2
20325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20328 s/.\{148\}//
20329 t delim
20330 ' <conf$$subs.awk | sed '
20331 /^[^""]/{
20333 s/\n//
20335 ' >>$CONFIG_STATUS || ac_write_fail=1
20336 rm -f conf$$subs.awk
20337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20338 _ACAWK
20339 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20340 for (key in S) S_is_set[key] = 1
20341 FS = "\a"
20345 line = $ 0
20346 nfields = split(line, field, "@")
20347 substed = 0
20348 len = length(field[1])
20349 for (i = 2; i < nfields; i++) {
20350 key = field[i]
20351 keylen = length(key)
20352 if (S_is_set[key]) {
20353 value = S[key]
20354 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20355 len += length(value) + length(field[++i])
20356 substed = 1
20357 } else
20358 len += 1 + keylen
20361 print line
20364 _ACAWK
20365 _ACEOF
20366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20367 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20368 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20369 else
20371 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20372 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20373 _ACEOF
20375 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20376 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20377 # trailing colons and then remove the whole line if VPATH becomes empty
20378 # (actually we leave an empty line to preserve line numbers).
20379 if test "x$srcdir" = x.; then
20380 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20382 s///
20383 s/^/:/
20384 s/[ ]*$/:/
20385 s/:\$(srcdir):/:/g
20386 s/:\${srcdir}:/:/g
20387 s/:@srcdir@:/:/g
20388 s/^:*//
20389 s/:*$//
20391 s/\(=[ ]*\).*/\1/
20393 s/\n//
20394 s/^[^=]*=[ ]*$//
20398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20399 fi # test -n "$CONFIG_FILES"
20401 # Set up the scripts for CONFIG_HEADERS section.
20402 # No need to generate them if there are no CONFIG_HEADERS.
20403 # This happens for instance with `./config.status Makefile'.
20404 if test -n "$CONFIG_HEADERS"; then
20405 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20406 BEGIN {
20407 _ACEOF
20409 # Transform confdefs.h into an awk script `defines.awk', embedded as
20410 # here-document in config.status, that substitutes the proper values into
20411 # config.h.in to produce config.h.
20413 # Create a delimiter string that does not exist in confdefs.h, to ease
20414 # handling of long lines.
20415 ac_delim='%!_!# '
20416 for ac_last_try in false false :; do
20417 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20418 if test -z "$ac_tt"; then
20419 break
20420 elif $ac_last_try; then
20421 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20422 else
20423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20425 done
20427 # For the awk script, D is an array of macro values keyed by name,
20428 # likewise P contains macro parameters if any. Preserve backslash
20429 # newline sequences.
20431 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20432 sed -n '
20433 s/.\{148\}/&'"$ac_delim"'/g
20434 t rset
20435 :rset
20436 s/^[ ]*#[ ]*define[ ][ ]*/ /
20437 t def
20439 :def
20440 s/\\$//
20441 t bsnl
20442 s/["\\]/\\&/g
20443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20444 D["\1"]=" \3"/p
20445 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20447 :bsnl
20448 s/["\\]/\\&/g
20449 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20450 D["\1"]=" \3\\\\\\n"\\/p
20451 t cont
20452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20453 t cont
20455 :cont
20457 s/.\{148\}/&'"$ac_delim"'/g
20458 t clear
20459 :clear
20460 s/\\$//
20461 t bsnlc
20462 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20464 :bsnlc
20465 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20466 b cont
20467 ' <confdefs.h | sed '
20468 s/'"$ac_delim"'/"\\\
20469 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20472 for (key in D) D_is_set[key] = 1
20473 FS = "\a"
20475 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20476 line = \$ 0
20477 split(line, arg, " ")
20478 if (arg[1] == "#") {
20479 defundef = arg[2]
20480 mac1 = arg[3]
20481 } else {
20482 defundef = substr(arg[1], 2)
20483 mac1 = arg[2]
20485 split(mac1, mac2, "(") #)
20486 macro = mac2[1]
20487 prefix = substr(line, 1, index(line, defundef) - 1)
20488 if (D_is_set[macro]) {
20489 # Preserve the white space surrounding the "#".
20490 print prefix "define", macro P[macro] D[macro]
20491 next
20492 } else {
20493 # Replace #undef with comments. This is necessary, for example,
20494 # in the case of _POSIX_SOURCE, which is predefined and required
20495 # on some systems where configure will not decide to define it.
20496 if (defundef == "undef") {
20497 print "/*", prefix defundef, macro, "*/"
20498 next
20502 { print }
20503 _ACAWK
20504 _ACEOF
20505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20506 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20507 fi # test -n "$CONFIG_HEADERS"
20510 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20511 shift
20512 for ac_tag
20514 case $ac_tag in
20515 :[FHLC]) ac_mode=$ac_tag; continue;;
20516 esac
20517 case $ac_mode$ac_tag in
20518 :[FHL]*:*);;
20519 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20520 :[FH]-) ac_tag=-:-;;
20521 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20522 esac
20523 ac_save_IFS=$IFS
20524 IFS=:
20525 set x $ac_tag
20526 IFS=$ac_save_IFS
20527 shift
20528 ac_file=$1
20529 shift
20531 case $ac_mode in
20532 :L) ac_source=$1;;
20533 :[FH])
20534 ac_file_inputs=
20535 for ac_f
20537 case $ac_f in
20538 -) ac_f="$ac_tmp/stdin";;
20539 *) # Look for the file first in the build tree, then in the source tree
20540 # (if the path is not absolute). The absolute path cannot be DOS-style,
20541 # because $ac_f cannot contain `:'.
20542 test -f "$ac_f" ||
20543 case $ac_f in
20544 [\\/$]*) false;;
20545 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20546 esac ||
20547 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20548 esac
20549 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20550 as_fn_append ac_file_inputs " '$ac_f'"
20551 done
20553 # Let's still pretend it is `configure' which instantiates (i.e., don't
20554 # use $as_me), people would be surprised to read:
20555 # /* config.h. Generated by config.status. */
20556 configure_input='Generated from '`
20557 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20558 `' by configure.'
20559 if test x"$ac_file" != x-; then
20560 configure_input="$ac_file. $configure_input"
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20562 $as_echo "$as_me: creating $ac_file" >&6;}
20564 # Neutralize special characters interpreted by sed in replacement strings.
20565 case $configure_input in #(
20566 *\&* | *\|* | *\\* )
20567 ac_sed_conf_input=`$as_echo "$configure_input" |
20568 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20569 *) ac_sed_conf_input=$configure_input;;
20570 esac
20572 case $ac_tag in
20573 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20575 esac
20577 esac
20579 ac_dir=`$as_dirname -- "$ac_file" ||
20580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20581 X"$ac_file" : 'X\(//\)[^/]' \| \
20582 X"$ac_file" : 'X\(//\)$' \| \
20583 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20584 $as_echo X"$ac_file" |
20585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20586 s//\1/
20589 /^X\(\/\/\)[^/].*/{
20590 s//\1/
20593 /^X\(\/\/\)$/{
20594 s//\1/
20597 /^X\(\/\).*/{
20598 s//\1/
20601 s/.*/./; q'`
20602 as_dir="$ac_dir"; as_fn_mkdir_p
20603 ac_builddir=.
20605 case "$ac_dir" in
20606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20609 # A ".." for each directory in $ac_dir_suffix.
20610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20611 case $ac_top_builddir_sub in
20612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20614 esac ;;
20615 esac
20616 ac_abs_top_builddir=$ac_pwd
20617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20618 # for backward compatibility:
20619 ac_top_builddir=$ac_top_build_prefix
20621 case $srcdir in
20622 .) # We are building in place.
20623 ac_srcdir=.
20624 ac_top_srcdir=$ac_top_builddir_sub
20625 ac_abs_top_srcdir=$ac_pwd ;;
20626 [\\/]* | ?:[\\/]* ) # Absolute name.
20627 ac_srcdir=$srcdir$ac_dir_suffix;
20628 ac_top_srcdir=$srcdir
20629 ac_abs_top_srcdir=$srcdir ;;
20630 *) # Relative name.
20631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20632 ac_top_srcdir=$ac_top_build_prefix$srcdir
20633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20634 esac
20635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20638 case $ac_mode in
20641 # CONFIG_FILE
20644 _ACEOF
20646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20647 # If the template does not know about datarootdir, expand it.
20648 # FIXME: This hack should be removed a few years after 2.60.
20649 ac_datarootdir_hack=; ac_datarootdir_seen=
20650 ac_sed_dataroot='
20651 /datarootdir/ {
20655 /@datadir@/p
20656 /@docdir@/p
20657 /@infodir@/p
20658 /@localedir@/p
20659 /@mandir@/p'
20660 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20661 *datarootdir*) ac_datarootdir_seen=yes;;
20662 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20664 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20665 _ACEOF
20666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20667 ac_datarootdir_hack='
20668 s&@datadir@&$datadir&g
20669 s&@docdir@&$docdir&g
20670 s&@infodir@&$infodir&g
20671 s&@localedir@&$localedir&g
20672 s&@mandir@&$mandir&g
20673 s&\\\${datarootdir}&$datarootdir&g' ;;
20674 esac
20675 _ACEOF
20677 # Neutralize VPATH when `$srcdir' = `.'.
20678 # Shell code in configure.ac might set extrasub.
20679 # FIXME: do we really want to maintain this feature?
20680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20681 ac_sed_extra="$ac_vpsub
20682 $extrasub
20683 _ACEOF
20684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20686 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20687 s|@configure_input@|$ac_sed_conf_input|;t t
20688 s&@top_builddir@&$ac_top_builddir_sub&;t t
20689 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20690 s&@srcdir@&$ac_srcdir&;t t
20691 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20692 s&@top_srcdir@&$ac_top_srcdir&;t t
20693 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20694 s&@builddir@&$ac_builddir&;t t
20695 s&@abs_builddir@&$ac_abs_builddir&;t t
20696 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20697 $ac_datarootdir_hack
20699 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20700 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20702 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20703 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20704 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20705 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20707 which seems to be undefined. Please make sure it is defined" >&5
20708 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20709 which seems to be undefined. Please make sure it is defined" >&2;}
20711 rm -f "$ac_tmp/stdin"
20712 case $ac_file in
20713 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20714 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20715 esac \
20716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20720 # CONFIG_HEADER
20722 if test x"$ac_file" != x-; then
20724 $as_echo "/* $configure_input */" \
20725 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20726 } >"$ac_tmp/config.h" \
20727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20728 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20730 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20731 else
20732 rm -f "$ac_file"
20733 mv "$ac_tmp/config.h" "$ac_file" \
20734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20736 else
20737 $as_echo "/* $configure_input */" \
20738 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20739 || as_fn_error $? "could not create -" "$LINENO" 5
20744 # CONFIG_LINK
20747 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20749 else
20750 # Prefer the file from the source tree if names are identical.
20751 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20752 ac_source=$srcdir/$ac_source
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20756 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20758 if test ! -r "$ac_source"; then
20759 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20761 rm -f "$ac_file"
20763 # Try a relative symlink, then a hard link, then a copy.
20764 case $ac_source in
20765 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20766 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20767 esac
20768 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20769 ln "$ac_source" "$ac_file" 2>/dev/null ||
20770 cp -p "$ac_source" "$ac_file" ||
20771 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20774 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20775 $as_echo "$as_me: executing $ac_file commands" >&6;}
20777 esac
20780 case $ac_file$ac_mode in
20781 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20782 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20783 "Makefile":C) wine_fn_output_makefile Makefile ;;
20785 esac
20786 done # for ac_tag
20789 as_fn_exit 0
20790 _ACEOF
20791 ac_clean_files=$ac_clean_files_save
20793 test $ac_write_fail = 0 ||
20794 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20797 # configure is writing to config.log, and then calls config.status.
20798 # config.status does its own redirection, appending to config.log.
20799 # Unfortunately, on DOS this fails, as config.log is still kept open
20800 # by configure, so config.status won't be able to write to it; its
20801 # output is simply discarded. So we exec the FD to /dev/null,
20802 # effectively closing config.log, so it can be properly (re)opened and
20803 # appended to by config.status. When coming back to configure, we
20804 # need to make the FD available again.
20805 if test "$no_create" != yes; then
20806 ac_cs_success=:
20807 ac_config_status_args=
20808 test "$silent" = yes &&
20809 ac_config_status_args="$ac_config_status_args --quiet"
20810 exec 5>/dev/null
20811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20812 exec 5>>config.log
20813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20814 # would make configure fail if this is the last instruction.
20815 $ac_cs_success || as_fn_exit 1
20817 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20819 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20823 if test "$no_create" = "yes"
20824 then
20825 exit 0
20828 ac_save_IFS="$IFS"
20829 if test "x$wine_notices" != x; then
20830 echo >&6
20831 IFS="|"
20832 for msg in $wine_notices; do
20833 IFS="$ac_save_IFS"
20834 if ${msg:+false} :; then :
20836 else
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20838 $as_echo "$as_me: $msg" >&6;}
20840 done
20842 IFS="|"
20843 for msg in $wine_warnings; do
20844 IFS="$ac_save_IFS"
20845 if ${msg:+false} :; then :
20847 else
20848 echo >&2
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20850 $as_echo "$as_me: WARNING: $msg" >&2;}
20852 done
20853 IFS="$ac_save_IFS"
20855 $as_echo "
20856 $as_me: Finished. Do '${ac_make}' to compile Wine.
20857 " >&6