wdscore: Add stub DLL.
[wine.git] / configure
blobe12fc0b310496ce432aa0500cb3285cfbee82869
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.22.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.22'
584 PACKAGE_STRING='Wine 2.22'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 UDEV_LIBS
660 UDEV_CFLAGS
661 OSS4_CFLAGS
662 ALSA_LIBS
663 GSTREAMER_LIBS
664 GSTREAMER_CFLAGS
665 PULSE_LIBS
666 PULSE_CFLAGS
667 GETTEXTPO_LIBS
668 Z_LIBS
669 FREETYPE_LIBS
670 FREETYPE_CFLAGS
671 LCMS2_LIBS
672 LCMS2_CFLAGS
673 RESOLV_LIBS
674 GPHOTO2_PORT_LIBS
675 GPHOTO2_PORT_CFLAGS
676 GPHOTO2_LIBS
677 GPHOTO2_CFLAGS
678 SANE_LIBS
679 SANE_CFLAGS
680 GNUTLS_LIBS
681 GNUTLS_CFLAGS
682 HAL_LIBS
683 HAL_CFLAGS
684 DBUS_LIBS
685 DBUS_CFLAGS
686 XSLT_LIBS
687 XSLT_CFLAGS
688 XML2_LIBS
689 XML2_CFLAGS
690 PCAP_LIBS
691 X_EXTRA_LIBS
692 X_LIBS
693 X_PRE_LIBS
694 X_CFLAGS
695 XMKMF
696 PTHREAD_LIBS
697 CROSSCFLAGS
698 CROSSCC
699 CROSSTARGET
700 PRELINK
701 WINELOADER_DEPENDS
702 CARBON_LIBS
703 QUICKTIME_LIBS
704 OPENCL_LIBS
705 OPENAL_LIBS
706 COREAUDIO_LIBS
707 SECURITY_LIBS
708 DISKARBITRATION_LIBS
709 APPKIT_LIBS
710 CORESERVICES_LIBS
711 APPLICATIONSERVICES_LIBS
712 FORCEFEEDBACK_LIBS
713 IOKIT_LIBS
714 COREFOUNDATION_LIBS
715 LIBWINE_DEPENDS
716 LIBWINE_LDFLAGS
717 LIBWINE_INSTALL_DEV
718 LIBWINE_INSTALL_LIB
719 LIBWINE_IMPORTLIB
720 LIBWINE_SHAREDLIB
721 SOCKET_LIBS
722 DLLTOOL
723 WINELOADER_PROGRAMS
724 ALL_TEST_RESOURCES
725 CONFIGURE_TARGETS
726 DISABLED_SUBDIRS
727 SUBDIRS
728 READELF
729 OTOOL
731 WINELOADER_LDFLAGS
732 LDEXECFLAGS
733 LDRPATH_LOCAL
734 LDRPATH_INSTALL
735 DLLFLAGS
736 dlldir
738 OPENGL_LIBS
739 ICOTOOL
740 CONVERT
741 RSVG
742 FONTFORGE
743 PKG_CONFIG
744 MSGFMT
745 LDCONFIG
746 EGREP
747 GREP
748 LN_S
749 RANLIB
750 ARFLAGS
751 STRIP
752 ac_ct_AR
754 BISON
755 FLEX
756 TOOLSDIR
757 TARGETFLAGS
759 CPPBIN
760 ac_ct_CXX
761 CXXFLAGS
763 OBJEXT
764 EXEEXT
765 ac_ct_CC
766 CPPFLAGS
767 LDFLAGS
768 CFLAGS
770 SET_MAKE
771 host_os
772 host_vendor
773 host_cpu
774 host
775 build_os
776 build_vendor
777 build_cpu
778 build
779 target_alias
780 host_alias
781 build_alias
782 LIBS
783 ECHO_T
784 ECHO_N
785 ECHO_C
786 DEFS
787 mandir
788 localedir
789 libdir
790 psdir
791 pdfdir
792 dvidir
793 htmldir
794 infodir
795 docdir
796 oldincludedir
797 includedir
798 runstatedir
799 localstatedir
800 sharedstatedir
801 sysconfdir
802 datadir
803 datarootdir
804 libexecdir
805 sbindir
806 bindir
807 program_transform_name
808 prefix
809 exec_prefix
810 PACKAGE_URL
811 PACKAGE_BUGREPORT
812 PACKAGE_STRING
813 PACKAGE_VERSION
814 PACKAGE_TARNAME
815 PACKAGE_NAME
816 PATH_SEPARATOR
817 SHELL'
818 ac_subst_files=''
819 ac_user_opts='
820 enable_option_checking
821 enable_win16
822 enable_win64
823 enable_tests
824 enable_maintainer_mode
825 with_alsa
826 with_capi
827 with_cms
828 with_coreaudio
829 with_cups
830 with_curses
831 with_dbus
832 with_fontconfig
833 with_freetype
834 with_gettext
835 with_gettextpo
836 with_gphoto
837 with_glu
838 with_gnutls
839 with_gsm
840 with_gstreamer
841 with_hal
842 with_jpeg
843 with_krb5
844 with_ldap
845 with_mpg123
846 with_netapi
847 with_openal
848 with_opencl
849 with_opengl
850 with_osmesa
851 with_oss
852 with_pcap
853 with_png
854 with_pthread
855 with_pulse
856 with_sane
857 with_tiff
858 with_udev
859 with_v4l
860 with_xcomposite
861 with_xcursor
862 with_xfixes
863 with_xinerama
864 with_xinput
865 with_xinput2
866 with_xml
867 with_xrandr
868 with_xrender
869 with_xshape
870 with_xshm
871 with_xslt
872 with_xxf86vm
873 with_zlib
874 with_wine_tools
875 with_wine64
876 enable_largefile
877 with_x
878 enable_acledit
879 enable_aclui
880 enable_activeds
881 enable_actxprxy
882 enable_adsldpc
883 enable_advapi32
884 enable_advpack
885 enable_amstream
886 enable_api_ms_win_appmodel_identity_l1_1_0
887 enable_api_ms_win_appmodel_runtime_l1_1_1
888 enable_api_ms_win_appmodel_runtime_l1_1_2
889 enable_api_ms_win_core_apiquery_l1_1_0
890 enable_api_ms_win_core_appcompat_l1_1_1
891 enable_api_ms_win_core_appinit_l1_1_0
892 enable_api_ms_win_core_atoms_l1_1_0
893 enable_api_ms_win_core_bem_l1_1_0
894 enable_api_ms_win_core_com_l1_1_0
895 enable_api_ms_win_core_com_l1_1_1
896 enable_api_ms_win_core_com_private_l1_1_0
897 enable_api_ms_win_core_console_l1_1_0
898 enable_api_ms_win_core_console_l2_1_0
899 enable_api_ms_win_core_crt_l1_1_0
900 enable_api_ms_win_core_crt_l2_1_0
901 enable_api_ms_win_core_datetime_l1_1_0
902 enable_api_ms_win_core_datetime_l1_1_1
903 enable_api_ms_win_core_debug_l1_1_0
904 enable_api_ms_win_core_debug_l1_1_1
905 enable_api_ms_win_core_delayload_l1_1_0
906 enable_api_ms_win_core_delayload_l1_1_1
907 enable_api_ms_win_core_errorhandling_l1_1_0
908 enable_api_ms_win_core_errorhandling_l1_1_1
909 enable_api_ms_win_core_errorhandling_l1_1_2
910 enable_api_ms_win_core_errorhandling_l1_1_3
911 enable_api_ms_win_core_fibers_l1_1_0
912 enable_api_ms_win_core_fibers_l1_1_1
913 enable_api_ms_win_core_file_l1_1_0
914 enable_api_ms_win_core_file_l1_2_0
915 enable_api_ms_win_core_file_l1_2_1
916 enable_api_ms_win_core_file_l1_2_2
917 enable_api_ms_win_core_file_l2_1_0
918 enable_api_ms_win_core_file_l2_1_1
919 enable_api_ms_win_core_file_l2_1_2
920 enable_api_ms_win_core_handle_l1_1_0
921 enable_api_ms_win_core_heap_l1_1_0
922 enable_api_ms_win_core_heap_l1_2_0
923 enable_api_ms_win_core_heap_l2_1_0
924 enable_api_ms_win_core_heap_obsolete_l1_1_0
925 enable_api_ms_win_core_interlocked_l1_1_0
926 enable_api_ms_win_core_interlocked_l1_2_0
927 enable_api_ms_win_core_io_l1_1_0
928 enable_api_ms_win_core_io_l1_1_1
929 enable_api_ms_win_core_job_l1_1_0
930 enable_api_ms_win_core_job_l2_1_0
931 enable_api_ms_win_core_kernel32_legacy_l1_1_0
932 enable_api_ms_win_core_kernel32_legacy_l1_1_1
933 enable_api_ms_win_core_kernel32_private_l1_1_1
934 enable_api_ms_win_core_libraryloader_l1_1_0
935 enable_api_ms_win_core_libraryloader_l1_1_1
936 enable_api_ms_win_core_libraryloader_l1_2_0
937 enable_api_ms_win_core_libraryloader_l1_2_1
938 enable_api_ms_win_core_libraryloader_l1_2_2
939 enable_api_ms_win_core_localization_l1_1_0
940 enable_api_ms_win_core_localization_l1_2_0
941 enable_api_ms_win_core_localization_l1_2_1
942 enable_api_ms_win_core_localization_l2_1_0
943 enable_api_ms_win_core_localization_obsolete_l1_1_0
944 enable_api_ms_win_core_localization_obsolete_l1_2_0
945 enable_api_ms_win_core_localization_obsolete_l1_3_0
946 enable_api_ms_win_core_localization_private_l1_1_0
947 enable_api_ms_win_core_localregistry_l1_1_0
948 enable_api_ms_win_core_memory_l1_1_0
949 enable_api_ms_win_core_memory_l1_1_1
950 enable_api_ms_win_core_memory_l1_1_2
951 enable_api_ms_win_core_misc_l1_1_0
952 enable_api_ms_win_core_namedpipe_l1_1_0
953 enable_api_ms_win_core_namedpipe_l1_2_0
954 enable_api_ms_win_core_namespace_l1_1_0
955 enable_api_ms_win_core_normalization_l1_1_0
956 enable_api_ms_win_core_path_l1_1_0
957 enable_api_ms_win_core_privateprofile_l1_1_1
958 enable_api_ms_win_core_processenvironment_l1_1_0
959 enable_api_ms_win_core_processenvironment_l1_2_0
960 enable_api_ms_win_core_processthreads_l1_1_0
961 enable_api_ms_win_core_processthreads_l1_1_1
962 enable_api_ms_win_core_processthreads_l1_1_2
963 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
964 enable_api_ms_win_core_profile_l1_1_0
965 enable_api_ms_win_core_psapi_ansi_l1_1_0
966 enable_api_ms_win_core_psapi_l1_1_0
967 enable_api_ms_win_core_psapi_obsolete_l1_1_0
968 enable_api_ms_win_core_quirks_l1_1_0
969 enable_api_ms_win_core_realtime_l1_1_0
970 enable_api_ms_win_core_registry_l1_1_0
971 enable_api_ms_win_core_registry_l2_1_0
972 enable_api_ms_win_core_registryuserspecific_l1_1_0
973 enable_api_ms_win_core_rtlsupport_l1_1_0
974 enable_api_ms_win_core_rtlsupport_l1_2_0
975 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
976 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
977 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
978 enable_api_ms_win_core_sidebyside_l1_1_0
979 enable_api_ms_win_core_string_l1_1_0
980 enable_api_ms_win_core_string_l2_1_0
981 enable_api_ms_win_core_string_obsolete_l1_1_0
982 enable_api_ms_win_core_stringansi_l1_1_0
983 enable_api_ms_win_core_synch_ansi_l1_1_0
984 enable_api_ms_win_core_synch_l1_1_0
985 enable_api_ms_win_core_synch_l1_2_0
986 enable_api_ms_win_core_synch_l1_2_1
987 enable_api_ms_win_core_sysinfo_l1_1_0
988 enable_api_ms_win_core_sysinfo_l1_2_0
989 enable_api_ms_win_core_sysinfo_l1_2_1
990 enable_api_ms_win_core_threadpool_l1_1_0
991 enable_api_ms_win_core_threadpool_l1_2_0
992 enable_api_ms_win_core_threadpool_legacy_l1_1_0
993 enable_api_ms_win_core_threadpool_private_l1_1_0
994 enable_api_ms_win_core_timezone_l1_1_0
995 enable_api_ms_win_core_toolhelp_l1_1_0
996 enable_api_ms_win_core_url_l1_1_0
997 enable_api_ms_win_core_util_l1_1_0
998 enable_api_ms_win_core_version_l1_1_0
999 enable_api_ms_win_core_version_l1_1_1
1000 enable_api_ms_win_core_version_private_l1_1_0
1001 enable_api_ms_win_core_versionansi_l1_1_0
1002 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1003 enable_api_ms_win_core_winrt_error_l1_1_0
1004 enable_api_ms_win_core_winrt_error_l1_1_1
1005 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1006 enable_api_ms_win_core_winrt_l1_1_0
1007 enable_api_ms_win_core_winrt_registration_l1_1_0
1008 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1009 enable_api_ms_win_core_winrt_string_l1_1_0
1010 enable_api_ms_win_core_wow64_l1_1_0
1011 enable_api_ms_win_core_wow64_l1_1_1
1012 enable_api_ms_win_core_xstate_l1_1_0
1013 enable_api_ms_win_core_xstate_l2_1_0
1014 enable_api_ms_win_crt_conio_l1_1_0
1015 enable_api_ms_win_crt_convert_l1_1_0
1016 enable_api_ms_win_crt_environment_l1_1_0
1017 enable_api_ms_win_crt_filesystem_l1_1_0
1018 enable_api_ms_win_crt_heap_l1_1_0
1019 enable_api_ms_win_crt_locale_l1_1_0
1020 enable_api_ms_win_crt_math_l1_1_0
1021 enable_api_ms_win_crt_multibyte_l1_1_0
1022 enable_api_ms_win_crt_private_l1_1_0
1023 enable_api_ms_win_crt_process_l1_1_0
1024 enable_api_ms_win_crt_runtime_l1_1_0
1025 enable_api_ms_win_crt_stdio_l1_1_0
1026 enable_api_ms_win_crt_string_l1_1_0
1027 enable_api_ms_win_crt_time_l1_1_0
1028 enable_api_ms_win_crt_utility_l1_1_0
1029 enable_api_ms_win_devices_config_l1_1_1
1030 enable_api_ms_win_devices_query_l1_1_1
1031 enable_api_ms_win_downlevel_advapi32_l1_1_0
1032 enable_api_ms_win_downlevel_advapi32_l2_1_0
1033 enable_api_ms_win_downlevel_normaliz_l1_1_0
1034 enable_api_ms_win_downlevel_ole32_l1_1_0
1035 enable_api_ms_win_downlevel_shell32_l1_1_0
1036 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1037 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1038 enable_api_ms_win_downlevel_user32_l1_1_0
1039 enable_api_ms_win_downlevel_version_l1_1_0
1040 enable_api_ms_win_dx_d3dkmt_l1_1_0
1041 enable_api_ms_win_eventing_classicprovider_l1_1_0
1042 enable_api_ms_win_eventing_consumer_l1_1_0
1043 enable_api_ms_win_eventing_controller_l1_1_0
1044 enable_api_ms_win_eventing_legacy_l1_1_0
1045 enable_api_ms_win_eventing_provider_l1_1_0
1046 enable_api_ms_win_eventlog_legacy_l1_1_0
1047 enable_api_ms_win_mm_joystick_l1_1_0
1048 enable_api_ms_win_mm_misc_l1_1_1
1049 enable_api_ms_win_mm_mme_l1_1_0
1050 enable_api_ms_win_mm_time_l1_1_0
1051 enable_api_ms_win_ntuser_dc_access_l1_1_0
1052 enable_api_ms_win_ntuser_rectangle_l1_1_0
1053 enable_api_ms_win_power_base_l1_1_0
1054 enable_api_ms_win_power_setting_l1_1_0
1055 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1056 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1057 enable_api_ms_win_security_audit_l1_1_1
1058 enable_api_ms_win_security_base_l1_1_0
1059 enable_api_ms_win_security_base_l1_2_0
1060 enable_api_ms_win_security_base_private_l1_1_1
1061 enable_api_ms_win_security_credentials_l1_1_0
1062 enable_api_ms_win_security_grouppolicy_l1_1_0
1063 enable_api_ms_win_security_lsalookup_l1_1_0
1064 enable_api_ms_win_security_lsalookup_l1_1_1
1065 enable_api_ms_win_security_lsalookup_l2_1_1
1066 enable_api_ms_win_security_lsapolicy_l1_1_0
1067 enable_api_ms_win_security_provider_l1_1_0
1068 enable_api_ms_win_security_sddl_l1_1_0
1069 enable_api_ms_win_security_systemfunctions_l1_1_0
1070 enable_api_ms_win_service_core_l1_1_0
1071 enable_api_ms_win_service_core_l1_1_1
1072 enable_api_ms_win_service_management_l1_1_0
1073 enable_api_ms_win_service_management_l2_1_0
1074 enable_api_ms_win_service_private_l1_1_1
1075 enable_api_ms_win_service_winsvc_l1_1_0
1076 enable_api_ms_win_service_winsvc_l1_2_0
1077 enable_api_ms_win_shcore_scaling_l1_1_1
1078 enable_api_ms_win_shell_shellcom_l1_1_0
1079 enable_api_ms_win_shell_shellfolders_l1_1_0
1080 enable_apphelp
1081 enable_appwiz_cpl
1082 enable_atl
1083 enable_atl100
1084 enable_atl110
1085 enable_atl80
1086 enable_atl90
1087 enable_authz
1088 enable_avicap32
1089 enable_avifil32
1090 enable_avrt
1091 enable_bcrypt
1092 enable_bluetoothapis
1093 enable_browseui
1094 enable_bthprops_cpl
1095 enable_cabinet
1096 enable_capi2032
1097 enable_cards
1098 enable_cfgmgr32
1099 enable_clusapi
1100 enable_combase
1101 enable_comcat
1102 enable_comctl32
1103 enable_comdlg32
1104 enable_compstui
1105 enable_comsvcs
1106 enable_concrt140
1107 enable_connect
1108 enable_credui
1109 enable_crtdll
1110 enable_crypt32
1111 enable_cryptdlg
1112 enable_cryptdll
1113 enable_cryptext
1114 enable_cryptnet
1115 enable_cryptui
1116 enable_ctapi32
1117 enable_ctl3d32
1118 enable_d2d1
1119 enable_d3d10
1120 enable_d3d10_1
1121 enable_d3d10core
1122 enable_d3d11
1123 enable_d3d8
1124 enable_d3d9
1125 enable_d3dcompiler_33
1126 enable_d3dcompiler_34
1127 enable_d3dcompiler_35
1128 enable_d3dcompiler_36
1129 enable_d3dcompiler_37
1130 enable_d3dcompiler_38
1131 enable_d3dcompiler_39
1132 enable_d3dcompiler_40
1133 enable_d3dcompiler_41
1134 enable_d3dcompiler_42
1135 enable_d3dcompiler_43
1136 enable_d3dcompiler_46
1137 enable_d3dcompiler_47
1138 enable_d3dim
1139 enable_d3drm
1140 enable_d3dx10_33
1141 enable_d3dx10_34
1142 enable_d3dx10_35
1143 enable_d3dx10_36
1144 enable_d3dx10_37
1145 enable_d3dx10_38
1146 enable_d3dx10_39
1147 enable_d3dx10_40
1148 enable_d3dx10_41
1149 enable_d3dx10_42
1150 enable_d3dx10_43
1151 enable_d3dx11_42
1152 enable_d3dx11_43
1153 enable_d3dx9_24
1154 enable_d3dx9_25
1155 enable_d3dx9_26
1156 enable_d3dx9_27
1157 enable_d3dx9_28
1158 enable_d3dx9_29
1159 enable_d3dx9_30
1160 enable_d3dx9_31
1161 enable_d3dx9_32
1162 enable_d3dx9_33
1163 enable_d3dx9_34
1164 enable_d3dx9_35
1165 enable_d3dx9_36
1166 enable_d3dx9_37
1167 enable_d3dx9_38
1168 enable_d3dx9_39
1169 enable_d3dx9_40
1170 enable_d3dx9_41
1171 enable_d3dx9_42
1172 enable_d3dx9_43
1173 enable_d3dxof
1174 enable_davclnt
1175 enable_dbgeng
1176 enable_dbghelp
1177 enable_dciman32
1178 enable_ddraw
1179 enable_ddrawex
1180 enable_devenum
1181 enable_dhcpcsvc
1182 enable_difxapi
1183 enable_dinput
1184 enable_dinput8
1185 enable_dispex
1186 enable_dmband
1187 enable_dmcompos
1188 enable_dmime
1189 enable_dmloader
1190 enable_dmscript
1191 enable_dmstyle
1192 enable_dmsynth
1193 enable_dmusic
1194 enable_dmusic32
1195 enable_dnsapi
1196 enable_dplay
1197 enable_dplayx
1198 enable_dpnaddr
1199 enable_dpnet
1200 enable_dpnhpast
1201 enable_dpnlobby
1202 enable_dpvoice
1203 enable_dpwsockx
1204 enable_drmclien
1205 enable_dsound
1206 enable_dsquery
1207 enable_dssenh
1208 enable_dswave
1209 enable_dwmapi
1210 enable_dwrite
1211 enable_dx8vb
1212 enable_dxdiagn
1213 enable_dxgi
1214 enable_dxva2
1215 enable_esent
1216 enable_evr
1217 enable_explorerframe
1218 enable_ext_ms_win_authz_context_l1_1_0
1219 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1220 enable_ext_ms_win_gdi_dc_create_l1_1_1
1221 enable_ext_ms_win_gdi_dc_l1_2_0
1222 enable_ext_ms_win_gdi_devcaps_l1_1_0
1223 enable_ext_ms_win_gdi_draw_l1_1_1
1224 enable_ext_ms_win_gdi_render_l1_1_0
1225 enable_ext_ms_win_kernel32_package_current_l1_1_0
1226 enable_ext_ms_win_kernel32_package_l1_1_1
1227 enable_ext_ms_win_ntuser_message_l1_1_1
1228 enable_ext_ms_win_ntuser_private_l1_1_1
1229 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1230 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1231 enable_ext_ms_win_ntuser_window_l1_1_1
1232 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1233 enable_ext_ms_win_ras_rasapi32_l1_1_0
1234 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1235 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1236 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1237 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1238 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1239 enable_ext_ms_win_security_credui_l1_1_0
1240 enable_ext_ms_win_security_cryptui_l1_1_0
1241 enable_faultrep
1242 enable_fltlib
1243 enable_fltmgr_sys
1244 enable_fntcache
1245 enable_fontsub
1246 enable_fusion
1247 enable_fwpuclnt
1248 enable_gameux
1249 enable_gdi32
1250 enable_gdiplus
1251 enable_glu32
1252 enable_gphoto2_ds
1253 enable_gpkcsp
1254 enable_hal
1255 enable_hhctrl_ocx
1256 enable_hid
1257 enable_hidclass_sys
1258 enable_hlink
1259 enable_hnetcfg
1260 enable_httpapi
1261 enable_iccvid
1262 enable_icmp
1263 enable_ieframe
1264 enable_ieproxy
1265 enable_imaadp32_acm
1266 enable_imagehlp
1267 enable_imm32
1268 enable_inetcomm
1269 enable_inetcpl_cpl
1270 enable_inetmib1
1271 enable_infosoft
1272 enable_initpki
1273 enable_inkobj
1274 enable_inseng
1275 enable_iphlpapi
1276 enable_iprop
1277 enable_irprops_cpl
1278 enable_itircl
1279 enable_itss
1280 enable_joy_cpl
1281 enable_jscript
1282 enable_jsproxy
1283 enable_kerberos
1284 enable_kernel32
1285 enable_kernelbase
1286 enable_ksuser
1287 enable_ktmw32
1288 enable_l3codeca_acm
1289 enable_loadperf
1290 enable_localspl
1291 enable_localui
1292 enable_lz32
1293 enable_mapi32
1294 enable_mapistub
1295 enable_mciavi32
1296 enable_mcicda
1297 enable_mciqtz32
1298 enable_mciseq
1299 enable_mciwave
1300 enable_mf
1301 enable_mf3216
1302 enable_mfplat
1303 enable_mfreadwrite
1304 enable_mgmtapi
1305 enable_midimap
1306 enable_mlang
1307 enable_mmcndmgr
1308 enable_mmdevapi
1309 enable_mountmgr_sys
1310 enable_mpr
1311 enable_mprapi
1312 enable_msacm32_drv
1313 enable_msacm32
1314 enable_msadp32_acm
1315 enable_msasn1
1316 enable_mscat32
1317 enable_mscms
1318 enable_mscoree
1319 enable_msctf
1320 enable_msctfp
1321 enable_msdaps
1322 enable_msdelta
1323 enable_msdmo
1324 enable_msdrm
1325 enable_msftedit
1326 enable_msg711_acm
1327 enable_msgsm32_acm
1328 enable_mshtml_tlb
1329 enable_mshtml
1330 enable_msi
1331 enable_msident
1332 enable_msimg32
1333 enable_msimsg
1334 enable_msimtf
1335 enable_msisip
1336 enable_msisys_ocx
1337 enable_msls31
1338 enable_msnet32
1339 enable_mspatcha
1340 enable_msports
1341 enable_msrle32
1342 enable_msscript_ocx
1343 enable_mssign32
1344 enable_mssip32
1345 enable_mstask
1346 enable_msvcirt
1347 enable_msvcm80
1348 enable_msvcm90
1349 enable_msvcp100
1350 enable_msvcp110
1351 enable_msvcp120
1352 enable_msvcp120_app
1353 enable_msvcp140
1354 enable_msvcp60
1355 enable_msvcp70
1356 enable_msvcp71
1357 enable_msvcp80
1358 enable_msvcp90
1359 enable_msvcr100
1360 enable_msvcr110
1361 enable_msvcr120
1362 enable_msvcr120_app
1363 enable_msvcr70
1364 enable_msvcr71
1365 enable_msvcr80
1366 enable_msvcr90
1367 enable_msvcrt
1368 enable_msvcrt20
1369 enable_msvcrt40
1370 enable_msvcrtd
1371 enable_msvfw32
1372 enable_msvidc32
1373 enable_mswsock
1374 enable_msxml
1375 enable_msxml2
1376 enable_msxml3
1377 enable_msxml4
1378 enable_msxml6
1379 enable_mtxdm
1380 enable_ncrypt
1381 enable_nddeapi
1382 enable_ndis_sys
1383 enable_netapi32
1384 enable_netcfgx
1385 enable_netprofm
1386 enable_newdev
1387 enable_normaliz
1388 enable_npmshtml
1389 enable_npptools
1390 enable_ntdll
1391 enable_ntdsapi
1392 enable_ntoskrnl_exe
1393 enable_ntprint
1394 enable_objsel
1395 enable_odbc32
1396 enable_odbccp32
1397 enable_odbccu32
1398 enable_ole32
1399 enable_oleacc
1400 enable_oleaut32
1401 enable_olecli32
1402 enable_oledb32
1403 enable_oledlg
1404 enable_olepro32
1405 enable_olesvr32
1406 enable_olethk32
1407 enable_openal32
1408 enable_opencl
1409 enable_opengl32
1410 enable_packager
1411 enable_pdh
1412 enable_photometadatahandler
1413 enable_pidgen
1414 enable_powrprof
1415 enable_printui
1416 enable_prntvpt
1417 enable_propsys
1418 enable_psapi
1419 enable_pstorec
1420 enable_qcap
1421 enable_qedit
1422 enable_qmgr
1423 enable_qmgrprxy
1424 enable_quartz
1425 enable_query
1426 enable_rasapi32
1427 enable_rasdlg
1428 enable_regapi
1429 enable_resutils
1430 enable_riched20
1431 enable_riched32
1432 enable_rpcrt4
1433 enable_rsabase
1434 enable_rsaenh
1435 enable_rstrtmgr
1436 enable_rtutils
1437 enable_samlib
1438 enable_sane_ds
1439 enable_sapi
1440 enable_scarddlg
1441 enable_sccbase
1442 enable_schannel
1443 enable_schedsvc
1444 enable_scrobj
1445 enable_scrrun
1446 enable_scsiport_sys
1447 enable_secur32
1448 enable_security
1449 enable_sensapi
1450 enable_serialui
1451 enable_setupapi
1452 enable_sfc
1453 enable_sfc_os
1454 enable_shdoclc
1455 enable_shdocvw
1456 enable_shell32
1457 enable_shfolder
1458 enable_shlwapi
1459 enable_slbcsp
1460 enable_slc
1461 enable_snmpapi
1462 enable_softpub
1463 enable_spoolss
1464 enable_sspicli
1465 enable_stdole2_tlb
1466 enable_stdole32_tlb
1467 enable_sti
1468 enable_svrapi
1469 enable_sxs
1470 enable_t2embed
1471 enable_tapi32
1472 enable_taskschd
1473 enable_tdh
1474 enable_tdi_sys
1475 enable_traffic
1476 enable_twain_32
1477 enable_ucrtbase
1478 enable_uiautomationcore
1479 enable_uiribbon
1480 enable_unicows
1481 enable_updspapi
1482 enable_url
1483 enable_urlmon
1484 enable_usbd_sys
1485 enable_user32
1486 enable_userenv
1487 enable_usp10
1488 enable_uxtheme
1489 enable_vbscript
1490 enable_vcomp
1491 enable_vcomp100
1492 enable_vcomp110
1493 enable_vcomp120
1494 enable_vcomp140
1495 enable_vcomp90
1496 enable_vcruntime140
1497 enable_vdmdbg
1498 enable_version
1499 enable_virtdisk
1500 enable_vssapi
1501 enable_wbemdisp
1502 enable_wbemprox
1503 enable_wdscore
1504 enable_webservices
1505 enable_wer
1506 enable_wevtapi
1507 enable_wiaservc
1508 enable_wimgapi
1509 enable_windowscodecs
1510 enable_windowscodecsext
1511 enable_winealsa_drv
1512 enable_wineandroid_drv
1513 enable_winebus_sys
1514 enable_winecoreaudio_drv
1515 enable_wined3d
1516 enable_winegstreamer
1517 enable_winehid_sys
1518 enable_winejoystick_drv
1519 enable_winemac_drv
1520 enable_winemapi
1521 enable_wineoss_drv
1522 enable_wineps_drv
1523 enable_winepulse_drv
1524 enable_wineqtdecoder
1525 enable_winex11_drv
1526 enable_wing32
1527 enable_winhttp
1528 enable_wininet
1529 enable_winmm
1530 enable_winnls32
1531 enable_winscard
1532 enable_winspool_drv
1533 enable_winsta
1534 enable_wintab32
1535 enable_wintrust
1536 enable_winusb
1537 enable_wlanapi
1538 enable_wldap32
1539 enable_wmasf
1540 enable_wmi
1541 enable_wmiutils
1542 enable_wmp
1543 enable_wmphoto
1544 enable_wmvcore
1545 enable_wnaspi32
1546 enable_wpc
1547 enable_wpcap
1548 enable_ws2_32
1549 enable_wsdapi
1550 enable_wshom_ocx
1551 enable_wsnmp32
1552 enable_wsock32
1553 enable_wtsapi32
1554 enable_wuapi
1555 enable_wuaueng
1556 enable_x3daudio1_0
1557 enable_x3daudio1_1
1558 enable_x3daudio1_2
1559 enable_x3daudio1_3
1560 enable_x3daudio1_4
1561 enable_x3daudio1_5
1562 enable_x3daudio1_6
1563 enable_x3daudio1_7
1564 enable_xapofx1_1
1565 enable_xapofx1_2
1566 enable_xapofx1_3
1567 enable_xapofx1_4
1568 enable_xapofx1_5
1569 enable_xaudio2_0
1570 enable_xaudio2_1
1571 enable_xaudio2_2
1572 enable_xaudio2_3
1573 enable_xaudio2_4
1574 enable_xaudio2_5
1575 enable_xaudio2_6
1576 enable_xaudio2_7
1577 enable_xaudio2_8
1578 enable_xaudio2_9
1579 enable_xinput1_1
1580 enable_xinput1_2
1581 enable_xinput1_3
1582 enable_xinput1_4
1583 enable_xinput9_1_0
1584 enable_xmllite
1585 enable_xolehlp
1586 enable_xpsprint
1587 enable_xpssvcs
1588 enable_fonts
1589 enable_include
1590 enable_libs_port
1591 enable_libs_wine
1592 enable_libs_wpp
1593 enable_loader
1594 enable_po
1595 enable_arp
1596 enable_aspnet_regiis
1597 enable_attrib
1598 enable_cabarc
1599 enable_cacls
1600 enable_clock
1601 enable_cmd
1602 enable_conhost
1603 enable_control
1604 enable_cscript
1605 enable_dpnsvr
1606 enable_dxdiag
1607 enable_eject
1608 enable_expand
1609 enable_explorer
1610 enable_extrac32
1611 enable_findstr
1612 enable_fsutil
1613 enable_hh
1614 enable_hostname
1615 enable_icacls
1616 enable_icinfo
1617 enable_iexplore
1618 enable_ipconfig
1619 enable_lodctr
1620 enable_mofcomp
1621 enable_mshta
1622 enable_msiexec
1623 enable_msinfo32
1624 enable_net
1625 enable_netsh
1626 enable_netstat
1627 enable_ngen
1628 enable_notepad
1629 enable_oleview
1630 enable_ping
1631 enable_plugplay
1632 enable_powershell
1633 enable_presentationfontcache
1634 enable_progman
1635 enable_reg
1636 enable_regasm
1637 enable_regedit
1638 enable_regsvcs
1639 enable_regsvr32
1640 enable_rpcss
1641 enable_rundll32
1642 enable_sc
1643 enable_schtasks
1644 enable_sdbinst
1645 enable_secedit
1646 enable_servicemodelreg
1647 enable_services
1648 enable_shutdown
1649 enable_spoolsv
1650 enable_start
1651 enable_subst
1652 enable_svchost
1653 enable_systeminfo
1654 enable_taskkill
1655 enable_tasklist
1656 enable_taskmgr
1657 enable_termsv
1658 enable_uninstaller
1659 enable_unlodctr
1660 enable_view
1661 enable_wevtutil
1662 enable_wineboot
1663 enable_winebrowser
1664 enable_winecfg
1665 enable_wineconsole
1666 enable_winedbg
1667 enable_winedevice
1668 enable_winefile
1669 enable_winemenubuilder
1670 enable_winemine
1671 enable_winemsibuilder
1672 enable_winepath
1673 enable_winetest
1674 enable_winhlp32
1675 enable_winver
1676 enable_wmic
1677 enable_wmplayer
1678 enable_wordpad
1679 enable_write
1680 enable_wscript
1681 enable_wusa
1682 enable_xcopy
1683 enable_server
1684 enable_tools
1686 ac_precious_vars='build_alias
1687 host_alias
1688 target_alias
1690 CFLAGS
1691 LDFLAGS
1692 LIBS
1693 CPPFLAGS
1695 CXXFLAGS
1698 XMKMF
1699 XML2_CFLAGS
1700 XML2_LIBS
1701 XSLT_CFLAGS
1702 XSLT_LIBS
1703 DBUS_CFLAGS
1704 DBUS_LIBS
1705 HAL_CFLAGS
1706 HAL_LIBS
1707 GNUTLS_CFLAGS
1708 GNUTLS_LIBS
1709 SANE_CFLAGS
1710 SANE_LIBS
1711 GPHOTO2_CFLAGS
1712 GPHOTO2_LIBS
1713 GPHOTO2_PORT_CFLAGS
1714 GPHOTO2_PORT_LIBS
1715 LCMS2_CFLAGS
1716 LCMS2_LIBS
1717 FREETYPE_CFLAGS
1718 FREETYPE_LIBS
1719 PULSE_CFLAGS
1720 PULSE_LIBS
1721 GSTREAMER_CFLAGS
1722 GSTREAMER_LIBS
1723 UDEV_CFLAGS
1724 UDEV_LIBS
1725 CAPI20_CFLAGS
1726 CAPI20_LIBS
1727 CUPS_CFLAGS
1728 CUPS_LIBS
1729 FONTCONFIG_CFLAGS
1730 FONTCONFIG_LIBS
1731 KRB5_CFLAGS
1732 KRB5_LIBS
1733 JPEG_CFLAGS
1734 JPEG_LIBS
1735 PNG_CFLAGS
1736 PNG_LIBS
1737 TIFF_CFLAGS
1738 TIFF_LIBS
1739 MPG123_CFLAGS
1740 MPG123_LIBS
1741 NETAPI_CFLAGS
1742 NETAPI_LIBS
1743 LDAP_CFLAGS
1744 LDAP_LIBS'
1747 # Initialize some variables set by options.
1748 ac_init_help=
1749 ac_init_version=false
1750 ac_unrecognized_opts=
1751 ac_unrecognized_sep=
1752 # The variables have the same names as the options, with
1753 # dashes changed to underlines.
1754 cache_file=/dev/null
1755 exec_prefix=NONE
1756 no_create=
1757 no_recursion=
1758 prefix=NONE
1759 program_prefix=NONE
1760 program_suffix=NONE
1761 program_transform_name=s,x,x,
1762 silent=
1763 site=
1764 srcdir=
1765 verbose=
1766 x_includes=NONE
1767 x_libraries=NONE
1769 # Installation directory options.
1770 # These are left unexpanded so users can "make install exec_prefix=/foo"
1771 # and all the variables that are supposed to be based on exec_prefix
1772 # by default will actually change.
1773 # Use braces instead of parens because sh, perl, etc. also accept them.
1774 # (The list follows the same order as the GNU Coding Standards.)
1775 bindir='${exec_prefix}/bin'
1776 sbindir='${exec_prefix}/sbin'
1777 libexecdir='${exec_prefix}/libexec'
1778 datarootdir='${prefix}/share'
1779 datadir='${datarootdir}'
1780 sysconfdir='${prefix}/etc'
1781 sharedstatedir='${prefix}/com'
1782 localstatedir='${prefix}/var'
1783 runstatedir='${localstatedir}/run'
1784 includedir='${prefix}/include'
1785 oldincludedir='/usr/include'
1786 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1787 infodir='${datarootdir}/info'
1788 htmldir='${docdir}'
1789 dvidir='${docdir}'
1790 pdfdir='${docdir}'
1791 psdir='${docdir}'
1792 libdir='${exec_prefix}/lib'
1793 localedir='${datarootdir}/locale'
1794 mandir='${datarootdir}/man'
1796 ac_prev=
1797 ac_dashdash=
1798 for ac_option
1800 # If the previous option needs an argument, assign it.
1801 if test -n "$ac_prev"; then
1802 eval $ac_prev=\$ac_option
1803 ac_prev=
1804 continue
1807 case $ac_option in
1808 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1809 *=) ac_optarg= ;;
1810 *) ac_optarg=yes ;;
1811 esac
1813 # Accept the important Cygnus configure options, so we can diagnose typos.
1815 case $ac_dashdash$ac_option in
1817 ac_dashdash=yes ;;
1819 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1820 ac_prev=bindir ;;
1821 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1822 bindir=$ac_optarg ;;
1824 -build | --build | --buil | --bui | --bu)
1825 ac_prev=build_alias ;;
1826 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1827 build_alias=$ac_optarg ;;
1829 -cache-file | --cache-file | --cache-fil | --cache-fi \
1830 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1831 ac_prev=cache_file ;;
1832 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1833 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1834 cache_file=$ac_optarg ;;
1836 --config-cache | -C)
1837 cache_file=config.cache ;;
1839 -datadir | --datadir | --datadi | --datad)
1840 ac_prev=datadir ;;
1841 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1842 datadir=$ac_optarg ;;
1844 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1845 | --dataroo | --dataro | --datar)
1846 ac_prev=datarootdir ;;
1847 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1848 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1849 datarootdir=$ac_optarg ;;
1851 -disable-* | --disable-*)
1852 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1853 # Reject names that are not valid shell variable names.
1854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1855 as_fn_error $? "invalid feature name: $ac_useropt"
1856 ac_useropt_orig=$ac_useropt
1857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1858 case $ac_user_opts in
1860 "enable_$ac_useropt"
1861 "*) ;;
1862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1863 ac_unrecognized_sep=', ';;
1864 esac
1865 eval enable_$ac_useropt=no ;;
1867 -docdir | --docdir | --docdi | --doc | --do)
1868 ac_prev=docdir ;;
1869 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1870 docdir=$ac_optarg ;;
1872 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1873 ac_prev=dvidir ;;
1874 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1875 dvidir=$ac_optarg ;;
1877 -enable-* | --enable-*)
1878 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1879 # Reject names that are not valid shell variable names.
1880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1881 as_fn_error $? "invalid feature name: $ac_useropt"
1882 ac_useropt_orig=$ac_useropt
1883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1884 case $ac_user_opts in
1886 "enable_$ac_useropt"
1887 "*) ;;
1888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1889 ac_unrecognized_sep=', ';;
1890 esac
1891 eval enable_$ac_useropt=\$ac_optarg ;;
1893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1894 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1895 | --exec | --exe | --ex)
1896 ac_prev=exec_prefix ;;
1897 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1898 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1899 | --exec=* | --exe=* | --ex=*)
1900 exec_prefix=$ac_optarg ;;
1902 -gas | --gas | --ga | --g)
1903 # Obsolete; use --with-gas.
1904 with_gas=yes ;;
1906 -help | --help | --hel | --he | -h)
1907 ac_init_help=long ;;
1908 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1909 ac_init_help=recursive ;;
1910 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1911 ac_init_help=short ;;
1913 -host | --host | --hos | --ho)
1914 ac_prev=host_alias ;;
1915 -host=* | --host=* | --hos=* | --ho=*)
1916 host_alias=$ac_optarg ;;
1918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1919 ac_prev=htmldir ;;
1920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1921 | --ht=*)
1922 htmldir=$ac_optarg ;;
1924 -includedir | --includedir | --includedi | --included | --include \
1925 | --includ | --inclu | --incl | --inc)
1926 ac_prev=includedir ;;
1927 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1928 | --includ=* | --inclu=* | --incl=* | --inc=*)
1929 includedir=$ac_optarg ;;
1931 -infodir | --infodir | --infodi | --infod | --info | --inf)
1932 ac_prev=infodir ;;
1933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1934 infodir=$ac_optarg ;;
1936 -libdir | --libdir | --libdi | --libd)
1937 ac_prev=libdir ;;
1938 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1939 libdir=$ac_optarg ;;
1941 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1942 | --libexe | --libex | --libe)
1943 ac_prev=libexecdir ;;
1944 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1945 | --libexe=* | --libex=* | --libe=*)
1946 libexecdir=$ac_optarg ;;
1948 -localedir | --localedir | --localedi | --localed | --locale)
1949 ac_prev=localedir ;;
1950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1951 localedir=$ac_optarg ;;
1953 -localstatedir | --localstatedir | --localstatedi | --localstated \
1954 | --localstate | --localstat | --localsta | --localst | --locals)
1955 ac_prev=localstatedir ;;
1956 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1957 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1958 localstatedir=$ac_optarg ;;
1960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1961 ac_prev=mandir ;;
1962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1963 mandir=$ac_optarg ;;
1965 -nfp | --nfp | --nf)
1966 # Obsolete; use --without-fp.
1967 with_fp=no ;;
1969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1970 | --no-cr | --no-c | -n)
1971 no_create=yes ;;
1973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1975 no_recursion=yes ;;
1977 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1978 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1979 | --oldin | --oldi | --old | --ol | --o)
1980 ac_prev=oldincludedir ;;
1981 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1982 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1983 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1984 oldincludedir=$ac_optarg ;;
1986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1987 ac_prev=prefix ;;
1988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1989 prefix=$ac_optarg ;;
1991 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1992 | --program-pre | --program-pr | --program-p)
1993 ac_prev=program_prefix ;;
1994 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1995 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1996 program_prefix=$ac_optarg ;;
1998 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1999 | --program-suf | --program-su | --program-s)
2000 ac_prev=program_suffix ;;
2001 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2002 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2003 program_suffix=$ac_optarg ;;
2005 -program-transform-name | --program-transform-name \
2006 | --program-transform-nam | --program-transform-na \
2007 | --program-transform-n | --program-transform- \
2008 | --program-transform | --program-transfor \
2009 | --program-transfo | --program-transf \
2010 | --program-trans | --program-tran \
2011 | --progr-tra | --program-tr | --program-t)
2012 ac_prev=program_transform_name ;;
2013 -program-transform-name=* | --program-transform-name=* \
2014 | --program-transform-nam=* | --program-transform-na=* \
2015 | --program-transform-n=* | --program-transform-=* \
2016 | --program-transform=* | --program-transfor=* \
2017 | --program-transfo=* | --program-transf=* \
2018 | --program-trans=* | --program-tran=* \
2019 | --progr-tra=* | --program-tr=* | --program-t=*)
2020 program_transform_name=$ac_optarg ;;
2022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2023 ac_prev=pdfdir ;;
2024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2025 pdfdir=$ac_optarg ;;
2027 -psdir | --psdir | --psdi | --psd | --ps)
2028 ac_prev=psdir ;;
2029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2030 psdir=$ac_optarg ;;
2032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2033 | -silent | --silent | --silen | --sile | --sil)
2034 silent=yes ;;
2036 -runstatedir | --runstatedir | --runstatedi | --runstated \
2037 | --runstate | --runstat | --runsta | --runst | --runs \
2038 | --run | --ru | --r)
2039 ac_prev=runstatedir ;;
2040 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2041 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2042 | --run=* | --ru=* | --r=*)
2043 runstatedir=$ac_optarg ;;
2045 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2046 ac_prev=sbindir ;;
2047 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2048 | --sbi=* | --sb=*)
2049 sbindir=$ac_optarg ;;
2051 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2052 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2053 | --sharedst | --shareds | --shared | --share | --shar \
2054 | --sha | --sh)
2055 ac_prev=sharedstatedir ;;
2056 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2057 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2058 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2059 | --sha=* | --sh=*)
2060 sharedstatedir=$ac_optarg ;;
2062 -site | --site | --sit)
2063 ac_prev=site ;;
2064 -site=* | --site=* | --sit=*)
2065 site=$ac_optarg ;;
2067 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2068 ac_prev=srcdir ;;
2069 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2070 srcdir=$ac_optarg ;;
2072 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2073 | --syscon | --sysco | --sysc | --sys | --sy)
2074 ac_prev=sysconfdir ;;
2075 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2076 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2077 sysconfdir=$ac_optarg ;;
2079 -target | --target | --targe | --targ | --tar | --ta | --t)
2080 ac_prev=target_alias ;;
2081 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2082 target_alias=$ac_optarg ;;
2084 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2085 verbose=yes ;;
2087 -version | --version | --versio | --versi | --vers | -V)
2088 ac_init_version=: ;;
2090 -with-* | --with-*)
2091 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2092 # Reject names that are not valid shell variable names.
2093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2094 as_fn_error $? "invalid package name: $ac_useropt"
2095 ac_useropt_orig=$ac_useropt
2096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2097 case $ac_user_opts in
2099 "with_$ac_useropt"
2100 "*) ;;
2101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2102 ac_unrecognized_sep=', ';;
2103 esac
2104 eval with_$ac_useropt=\$ac_optarg ;;
2106 -without-* | --without-*)
2107 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2108 # Reject names that are not valid shell variable names.
2109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2110 as_fn_error $? "invalid package name: $ac_useropt"
2111 ac_useropt_orig=$ac_useropt
2112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2113 case $ac_user_opts in
2115 "with_$ac_useropt"
2116 "*) ;;
2117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2118 ac_unrecognized_sep=', ';;
2119 esac
2120 eval with_$ac_useropt=no ;;
2122 --x)
2123 # Obsolete; use --with-x.
2124 with_x=yes ;;
2126 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2127 | --x-incl | --x-inc | --x-in | --x-i)
2128 ac_prev=x_includes ;;
2129 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2130 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2131 x_includes=$ac_optarg ;;
2133 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2134 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2135 ac_prev=x_libraries ;;
2136 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2137 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2138 x_libraries=$ac_optarg ;;
2140 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2141 Try \`$0 --help' for more information"
2144 *=*)
2145 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2146 # Reject names that are not valid shell variable names.
2147 case $ac_envvar in #(
2148 '' | [0-9]* | *[!_$as_cr_alnum]* )
2149 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2150 esac
2151 eval $ac_envvar=\$ac_optarg
2152 export $ac_envvar ;;
2155 # FIXME: should be removed in autoconf 3.0.
2156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2159 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2162 esac
2163 done
2165 if test -n "$ac_prev"; then
2166 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2167 as_fn_error $? "missing argument to $ac_option"
2170 if test -n "$ac_unrecognized_opts"; then
2171 case $enable_option_checking in
2172 no) ;;
2173 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2175 esac
2178 # Check all directory arguments for consistency.
2179 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2180 datadir sysconfdir sharedstatedir localstatedir includedir \
2181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2182 libdir localedir mandir runstatedir
2184 eval ac_val=\$$ac_var
2185 # Remove trailing slashes.
2186 case $ac_val in
2187 */ )
2188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2189 eval $ac_var=\$ac_val;;
2190 esac
2191 # Be sure to have absolute directory names.
2192 case $ac_val in
2193 [\\/$]* | ?:[\\/]* ) continue;;
2194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2195 esac
2196 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2197 done
2199 # There might be people who depend on the old broken behavior: `$host'
2200 # used to hold the argument of --host etc.
2201 # FIXME: To remove some day.
2202 build=$build_alias
2203 host=$host_alias
2204 target=$target_alias
2206 # FIXME: To remove some day.
2207 if test "x$host_alias" != x; then
2208 if test "x$build_alias" = x; then
2209 cross_compiling=maybe
2210 elif test "x$build_alias" != "x$host_alias"; then
2211 cross_compiling=yes
2215 ac_tool_prefix=
2216 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2218 test "$silent" = yes && exec 6>/dev/null
2221 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2222 ac_ls_di=`ls -di .` &&
2223 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2224 as_fn_error $? "working directory cannot be determined"
2225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2226 as_fn_error $? "pwd does not report name of working directory"
2229 # Find the source files, if location was not specified.
2230 if test -z "$srcdir"; then
2231 ac_srcdir_defaulted=yes
2232 # Try the directory containing this script, then the parent directory.
2233 ac_confdir=`$as_dirname -- "$as_myself" ||
2234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2235 X"$as_myself" : 'X\(//\)[^/]' \| \
2236 X"$as_myself" : 'X\(//\)$' \| \
2237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2238 $as_echo X"$as_myself" |
2239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2240 s//\1/
2243 /^X\(\/\/\)[^/].*/{
2244 s//\1/
2247 /^X\(\/\/\)$/{
2248 s//\1/
2251 /^X\(\/\).*/{
2252 s//\1/
2255 s/.*/./; q'`
2256 srcdir=$ac_confdir
2257 if test ! -r "$srcdir/$ac_unique_file"; then
2258 srcdir=..
2260 else
2261 ac_srcdir_defaulted=no
2263 if test ! -r "$srcdir/$ac_unique_file"; then
2264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2265 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2268 ac_abs_confdir=`(
2269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2270 pwd)`
2271 # When building in place, set srcdir=.
2272 if test "$ac_abs_confdir" = "$ac_pwd"; then
2273 srcdir=.
2275 # Remove unnecessary trailing slashes from srcdir.
2276 # Double slashes in file names in object file debugging info
2277 # mess up M-x gdb in Emacs.
2278 case $srcdir in
2279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2280 esac
2281 for ac_var in $ac_precious_vars; do
2282 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2283 eval ac_env_${ac_var}_value=\$${ac_var}
2284 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2285 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2286 done
2289 # Report the --help message.
2291 if test "$ac_init_help" = "long"; then
2292 # Omit some internal or obsolete options to make the list less imposing.
2293 # This message is too long to be a string in the A/UX 3.1 sh.
2294 cat <<_ACEOF
2295 \`configure' configures Wine 2.22 to adapt to many kinds of systems.
2297 Usage: $0 [OPTION]... [VAR=VALUE]...
2299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2300 VAR=VALUE. See below for descriptions of some of the useful variables.
2302 Defaults for the options are specified in brackets.
2304 Configuration:
2305 -h, --help display this help and exit
2306 --help=short display options specific to this package
2307 --help=recursive display the short help of all the included packages
2308 -V, --version display version information and exit
2309 -q, --quiet, --silent do not print \`checking ...' messages
2310 --cache-file=FILE cache test results in FILE [disabled]
2311 -C, --config-cache alias for \`--cache-file=config.cache'
2312 -n, --no-create do not create output files
2313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2315 Installation directories:
2316 --prefix=PREFIX install architecture-independent files in PREFIX
2317 [$ac_default_prefix]
2318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2319 [PREFIX]
2321 By default, \`make install' will install all the files in
2322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2324 for instance \`--prefix=\$HOME'.
2326 For better control, use the options below.
2328 Fine tuning of the installation directories:
2329 --bindir=DIR user executables [EPREFIX/bin]
2330 --sbindir=DIR system admin executables [EPREFIX/sbin]
2331 --libexecdir=DIR program executables [EPREFIX/libexec]
2332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2335 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2336 --libdir=DIR object code libraries [EPREFIX/lib]
2337 --includedir=DIR C header files [PREFIX/include]
2338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2341 --infodir=DIR info documentation [DATAROOTDIR/info]
2342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2343 --mandir=DIR man documentation [DATAROOTDIR/man]
2344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2345 --htmldir=DIR html documentation [DOCDIR]
2346 --dvidir=DIR dvi documentation [DOCDIR]
2347 --pdfdir=DIR pdf documentation [DOCDIR]
2348 --psdir=DIR ps documentation [DOCDIR]
2349 _ACEOF
2351 cat <<\_ACEOF
2353 X features:
2354 --x-includes=DIR X include files are in DIR
2355 --x-libraries=DIR X library files are in DIR
2357 System types:
2358 --build=BUILD configure for building on BUILD [guessed]
2359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2360 _ACEOF
2363 if test -n "$ac_init_help"; then
2364 case $ac_init_help in
2365 short | recursive ) echo "Configuration of Wine 2.22:";;
2366 esac
2367 cat <<\_ACEOF
2369 Optional Features:
2370 --disable-option-checking ignore unrecognized --enable/--with options
2371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2373 --disable-win16 do not include Win16 support
2374 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2375 binaries)
2376 --disable-tests do not build the regression tests
2377 --enable-maintainer-mode
2378 enable maintainer-specific build rules
2379 --disable-largefile omit support for large files
2381 Optional Packages:
2382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2384 --without-alsa do not use the Alsa sound support
2385 --without-capi do not use CAPI (ISDN support)
2386 --without-cms do not use CMS (color management support)
2387 --without-coreaudio do not use the CoreAudio sound support
2388 --without-cups do not use CUPS
2389 --without-curses do not use (n)curses
2390 --without-dbus do not use DBus (dynamic device support)
2391 --without-fontconfig do not use fontconfig
2392 --without-freetype do not use the FreeType library
2393 --without-gettext do not use gettext
2394 --with-gettextpo use the GetTextPO library to rebuild po files
2395 --without-gphoto do not use gphoto (Digital Camera support)
2396 --without-glu do not use the GLU library
2397 --without-gnutls do not use GnuTLS (schannel support)
2398 --without-gsm do not use libgsm (GSM 06.10 codec support)
2399 --without-gstreamer do not use GStreamer (codecs support)
2400 --without-hal do not use HAL (dynamic device support)
2401 --without-jpeg do not use JPEG
2402 --without-krb5 do not use krb5 (Kerberos)
2403 --without-ldap do not use LDAP
2404 --without-mpg123 do not use the mpg123 library
2405 --without-netapi do not use the Samba NetAPI library
2406 --without-openal do not use OpenAL
2407 --without-opencl do not use OpenCL
2408 --without-opengl do not use OpenGL
2409 --without-osmesa do not use the OSMesa library
2410 --without-oss do not use the OSS sound support
2411 --without-pcap do not use the Packet Capture library
2412 --without-png do not use PNG
2413 --without-pthread do not use the pthread library
2414 --without-pulse do not use PulseAudio sound support
2415 --without-sane do not use SANE (scanner support)
2416 --without-tiff do not use TIFF
2417 --without-udev do not use udev (plug and play support)
2418 --without-v4l do not use v4l1 (v4l support)
2419 --without-xcomposite do not use the Xcomposite extension
2420 --without-xcursor do not use the Xcursor extension
2421 --without-xfixes do not use Xfixes for clipboard change notifications
2422 --without-xinerama do not use Xinerama (multi-monitor support)
2423 --without-xinput do not use the Xinput extension
2424 --without-xinput2 do not use the Xinput 2 extension
2425 --without-xml do not use XML
2426 --without-xrandr do not use Xrandr (resolution changes)
2427 --without-xrender do not use the Xrender extension
2428 --without-xshape do not use the Xshape extension
2429 --without-xshm do not use XShm (shared memory extension)
2430 --without-xslt do not use XSLT
2431 --without-xxf86vm do not use XFree video mode extension
2432 --without-zlib do not use Zlib (data compression)
2433 --with-wine-tools=DIR use Wine tools from directory DIR
2434 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2435 --with-x use the X Window System
2437 Some influential environment variables:
2438 CC C compiler command
2439 CFLAGS C compiler flags
2440 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2441 nonstandard directory <lib dir>
2442 LIBS libraries to pass to the linker, e.g. -l<library>
2443 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2444 you have headers in a nonstandard directory <include dir>
2445 CXX C++ compiler command
2446 CXXFLAGS C++ compiler flags
2447 CPP C preprocessor
2448 XMKMF Path to xmkmf, Makefile generator for X Window System
2449 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2450 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2451 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2452 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2453 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2454 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2455 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2456 HAL_LIBS Linker flags for hal, overriding pkg-config
2457 GNUTLS_CFLAGS
2458 C compiler flags for gnutls, overriding pkg-config
2459 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2460 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2461 SANE_LIBS Linker flags for libsane, overriding pkg-config
2462 GPHOTO2_CFLAGS
2463 C compiler flags for libgphoto2, overriding pkg-config
2464 GPHOTO2_LIBS
2465 Linker flags for libgphoto2, overriding pkg-config
2466 GPHOTO2_PORT_CFLAGS
2467 C compiler flags for libgphoto2_port, overriding pkg-config
2468 GPHOTO2_PORT_LIBS
2469 Linker flags for libgphoto2_port, overriding pkg-config
2470 LCMS2_CFLAGS
2471 C compiler flags for lcms2, overriding pkg-config
2472 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2473 FREETYPE_CFLAGS
2474 C compiler flags for freetype2, overriding pkg-config
2475 FREETYPE_LIBS
2476 Linker flags for freetype2, overriding pkg-config
2477 PULSE_CFLAGS
2478 C compiler flags for libpulse, overriding pkg-config
2479 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2480 GSTREAMER_CFLAGS
2481 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2482 gstreamer-audio-1.0, overriding pkg-config
2483 GSTREAMER_LIBS
2484 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2485 gstreamer-audio-1.0, overriding pkg-config
2486 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2487 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2488 CAPI20_CFLAGS
2489 C compiler flags for capi20, overriding pkg-config
2490 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2491 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2492 CUPS_LIBS Linker flags for cups, overriding pkg-config
2493 FONTCONFIG_CFLAGS
2494 C compiler flags for fontconfig, overriding pkg-config
2495 FONTCONFIG_LIBS
2496 Linker flags for fontconfig, overriding pkg-config
2497 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2498 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2499 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2500 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2501 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2502 PNG_LIBS Linker flags for libpng, overriding pkg-config
2503 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2504 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2505 MPG123_CFLAGS
2506 C compiler flags for libmpg123, overriding pkg-config
2507 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2508 NETAPI_CFLAGS
2509 C compiler flags for netapi, overriding pkg-config
2510 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2511 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2512 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2514 Use these variables to override the choices made by `configure' or to help
2515 it to find libraries and programs with nonstandard names/locations.
2517 Report bugs to <wine-devel@winehq.org>.
2518 Wine home page: <https://www.winehq.org>.
2519 _ACEOF
2520 ac_status=$?
2523 if test "$ac_init_help" = "recursive"; then
2524 # If there are subdirs, report their specific --help.
2525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2526 test -d "$ac_dir" ||
2527 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2528 continue
2529 ac_builddir=.
2531 case "$ac_dir" in
2532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2535 # A ".." for each directory in $ac_dir_suffix.
2536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2537 case $ac_top_builddir_sub in
2538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2540 esac ;;
2541 esac
2542 ac_abs_top_builddir=$ac_pwd
2543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2544 # for backward compatibility:
2545 ac_top_builddir=$ac_top_build_prefix
2547 case $srcdir in
2548 .) # We are building in place.
2549 ac_srcdir=.
2550 ac_top_srcdir=$ac_top_builddir_sub
2551 ac_abs_top_srcdir=$ac_pwd ;;
2552 [\\/]* | ?:[\\/]* ) # Absolute name.
2553 ac_srcdir=$srcdir$ac_dir_suffix;
2554 ac_top_srcdir=$srcdir
2555 ac_abs_top_srcdir=$srcdir ;;
2556 *) # Relative name.
2557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2558 ac_top_srcdir=$ac_top_build_prefix$srcdir
2559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2560 esac
2561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2563 cd "$ac_dir" || { ac_status=$?; continue; }
2564 # Check for guested configure.
2565 if test -f "$ac_srcdir/configure.gnu"; then
2566 echo &&
2567 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2568 elif test -f "$ac_srcdir/configure"; then
2569 echo &&
2570 $SHELL "$ac_srcdir/configure" --help=recursive
2571 else
2572 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2573 fi || ac_status=$?
2574 cd "$ac_pwd" || { ac_status=$?; break; }
2575 done
2578 test -n "$ac_init_help" && exit $ac_status
2579 if $ac_init_version; then
2580 cat <<\_ACEOF
2581 Wine configure 2.22
2582 generated by GNU Autoconf 2.69
2584 Copyright (C) 2012 Free Software Foundation, Inc.
2585 This configure script is free software; the Free Software Foundation
2586 gives unlimited permission to copy, distribute and modify it.
2587 _ACEOF
2588 exit
2591 ## ------------------------ ##
2592 ## Autoconf initialization. ##
2593 ## ------------------------ ##
2595 # ac_fn_c_try_compile LINENO
2596 # --------------------------
2597 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2598 ac_fn_c_try_compile ()
2600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2601 rm -f conftest.$ac_objext
2602 if { { ac_try="$ac_compile"
2603 case "(($ac_try" in
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2606 esac
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_compile") 2>conftest.err
2610 ac_status=$?
2611 if test -s conftest.err; then
2612 grep -v '^ *+' conftest.err >conftest.er1
2613 cat conftest.er1 >&5
2614 mv -f conftest.er1 conftest.err
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; } && {
2618 test -z "$ac_c_werror_flag" ||
2619 test ! -s conftest.err
2620 } && test -s conftest.$ac_objext; then :
2621 ac_retval=0
2622 else
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2626 ac_retval=1
2628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2629 as_fn_set_status $ac_retval
2631 } # ac_fn_c_try_compile
2633 # ac_fn_cxx_try_compile LINENO
2634 # ----------------------------
2635 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2636 ac_fn_cxx_try_compile ()
2638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2639 rm -f conftest.$ac_objext
2640 if { { ac_try="$ac_compile"
2641 case "(($ac_try" in
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2644 esac
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647 (eval "$ac_compile") 2>conftest.err
2648 ac_status=$?
2649 if test -s conftest.err; then
2650 grep -v '^ *+' conftest.err >conftest.er1
2651 cat conftest.er1 >&5
2652 mv -f conftest.er1 conftest.err
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; } && {
2656 test -z "$ac_cxx_werror_flag" ||
2657 test ! -s conftest.err
2658 } && test -s conftest.$ac_objext; then :
2659 ac_retval=0
2660 else
2661 $as_echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2664 ac_retval=1
2666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 as_fn_set_status $ac_retval
2669 } # ac_fn_cxx_try_compile
2671 # ac_fn_c_try_link LINENO
2672 # -----------------------
2673 # Try to link conftest.$ac_ext, and return whether this succeeded.
2674 ac_fn_c_try_link ()
2676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2677 rm -f conftest.$ac_objext conftest$ac_exeext
2678 if { { ac_try="$ac_link"
2679 case "(($ac_try" in
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2682 esac
2683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684 $as_echo "$ac_try_echo"; } >&5
2685 (eval "$ac_link") 2>conftest.err
2686 ac_status=$?
2687 if test -s conftest.err; then
2688 grep -v '^ *+' conftest.err >conftest.er1
2689 cat conftest.er1 >&5
2690 mv -f conftest.er1 conftest.err
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; } && {
2694 test -z "$ac_c_werror_flag" ||
2695 test ! -s conftest.err
2696 } && test -s conftest$ac_exeext && {
2697 test "$cross_compiling" = yes ||
2698 test -x conftest$ac_exeext
2699 }; then :
2700 ac_retval=0
2701 else
2702 $as_echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 ac_retval=1
2707 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2708 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2709 # interfere with the next link command; also delete a directory that is
2710 # left behind by Apple's compiler. We do this before executing the actions.
2711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_c_try_link
2717 # ac_fn_c_try_cpp LINENO
2718 # ----------------------
2719 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_cpp ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 if { { ac_try="$ac_cpp conftest.$ac_ext"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 $as_echo "$ac_try_echo"; } >&5
2730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2731 ac_status=$?
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } > conftest.i && {
2739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 }; then :
2742 ac_retval=0
2743 else
2744 $as_echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=1
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2752 } # ac_fn_c_try_cpp
2754 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2755 # -------------------------------------------------------
2756 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2757 # the include files in INCLUDES and setting the cache variable VAR
2758 # accordingly.
2759 ac_fn_c_check_header_mongrel ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 if eval \${$3+:} false; then :
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2764 $as_echo_n "checking for $2... " >&6; }
2765 if eval \${$3+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 eval ac_res=\$$3
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2770 $as_echo "$ac_res" >&6; }
2771 else
2772 # Is the header compilable?
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2774 $as_echo_n "checking $2 usability... " >&6; }
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2778 #include <$2>
2779 _ACEOF
2780 if ac_fn_c_try_compile "$LINENO"; then :
2781 ac_header_compiler=yes
2782 else
2783 ac_header_compiler=no
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2787 $as_echo "$ac_header_compiler" >&6; }
2789 # Is the header present?
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2791 $as_echo_n "checking $2 presence... " >&6; }
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2794 #include <$2>
2795 _ACEOF
2796 if ac_fn_c_try_cpp "$LINENO"; then :
2797 ac_header_preproc=yes
2798 else
2799 ac_header_preproc=no
2801 rm -f conftest.err conftest.i conftest.$ac_ext
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2803 $as_echo "$ac_header_preproc" >&6; }
2805 # So? What about this header?
2806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2807 yes:no: )
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2809 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2811 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2813 no:yes:* )
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2815 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2817 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2819 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2821 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2824 ( $as_echo "## ------------------------------------ ##
2825 ## Report this to wine-devel@winehq.org ##
2826 ## ------------------------------------ ##"
2827 ) | sed "s/^/$as_me: WARNING: /" >&2
2829 esac
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2831 $as_echo_n "checking for $2... " >&6; }
2832 if eval \${$3+:} false; then :
2833 $as_echo_n "(cached) " >&6
2834 else
2835 eval "$3=\$ac_header_compiler"
2837 eval ac_res=\$$3
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2839 $as_echo "$ac_res" >&6; }
2841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 } # ac_fn_c_check_header_mongrel
2845 # ac_fn_c_try_run LINENO
2846 # ----------------------
2847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2848 # that executables *can* be run.
2849 ac_fn_c_try_run ()
2851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2852 if { { ac_try="$ac_link"
2853 case "(($ac_try" in
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2856 esac
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 $as_echo "$ac_try_echo"; } >&5
2859 (eval "$ac_link") 2>&5
2860 ac_status=$?
2861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2863 { { case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866 esac
2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2868 $as_echo "$ac_try_echo"; } >&5
2869 (eval "$ac_try") 2>&5
2870 ac_status=$?
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; }; }; then :
2873 ac_retval=0
2874 else
2875 $as_echo "$as_me: program exited with status $ac_status" >&5
2876 $as_echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2879 ac_retval=$ac_status
2881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2883 as_fn_set_status $ac_retval
2885 } # ac_fn_c_try_run
2887 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2888 # -------------------------------------------------------
2889 # Tests whether HEADER exists and can be compiled using the include files in
2890 # INCLUDES, setting the cache variable VAR accordingly.
2891 ac_fn_c_check_header_compile ()
2893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2895 $as_echo_n "checking for $2... " >&6; }
2896 if eval \${$3+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2902 #include <$2>
2903 _ACEOF
2904 if ac_fn_c_try_compile "$LINENO"; then :
2905 eval "$3=yes"
2906 else
2907 eval "$3=no"
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 eval ac_res=\$$3
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913 $as_echo "$ac_res" >&6; }
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 } # ac_fn_c_check_header_compile
2918 # ac_fn_c_check_func LINENO FUNC VAR
2919 # ----------------------------------
2920 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2921 ac_fn_c_check_func ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2925 $as_echo_n "checking for $2... " >&6; }
2926 if eval \${$3+:} false; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2931 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2933 #define $2 innocuous_$2
2935 /* System header to define __stub macros and hopefully few prototypes,
2936 which can conflict with char $2 (); below.
2937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2938 <limits.h> exists even on freestanding compilers. */
2940 #ifdef __STDC__
2941 # include <limits.h>
2942 #else
2943 # include <assert.h>
2944 #endif
2946 #undef $2
2948 /* Override any GCC internal prototype to avoid an error.
2949 Use char because int might match the return type of a GCC
2950 builtin and then its argument prototype would still apply. */
2951 #ifdef __cplusplus
2952 extern "C"
2953 #endif
2954 char $2 ();
2955 /* The GNU C library defines this for functions which it implements
2956 to always fail with ENOSYS. Some functions are actually named
2957 something starting with __ and the normal name is an alias. */
2958 #if defined __stub_$2 || defined __stub___$2
2959 choke me
2960 #endif
2963 main ()
2965 return $2 ();
2967 return 0;
2969 _ACEOF
2970 if ac_fn_c_try_link "$LINENO"; then :
2971 eval "$3=yes"
2972 else
2973 eval "$3=no"
2975 rm -f core conftest.err conftest.$ac_objext \
2976 conftest$ac_exeext conftest.$ac_ext
2978 eval ac_res=\$$3
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2980 $as_echo "$ac_res" >&6; }
2981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2983 } # ac_fn_c_check_func
2985 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2986 # ----------------------------------------------------
2987 # Tries to find if the field MEMBER exists in type AGGR, after including
2988 # INCLUDES, setting cache variable VAR accordingly.
2989 ac_fn_c_check_member ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2993 $as_echo_n "checking for $2.$3... " >&6; }
2994 if eval \${$4+:} false; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3001 main ()
3003 static $2 ac_aggr;
3004 if (ac_aggr.$3)
3005 return 0;
3007 return 0;
3009 _ACEOF
3010 if ac_fn_c_try_compile "$LINENO"; then :
3011 eval "$4=yes"
3012 else
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3017 main ()
3019 static $2 ac_aggr;
3020 if (sizeof ac_aggr.$3)
3021 return 0;
3023 return 0;
3025 _ACEOF
3026 if ac_fn_c_try_compile "$LINENO"; then :
3027 eval "$4=yes"
3028 else
3029 eval "$4=no"
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 eval ac_res=\$$4
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3037 $as_echo "$ac_res" >&6; }
3038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 } # ac_fn_c_check_member
3042 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3043 # -------------------------------------------
3044 # Tests whether TYPE exists after having included INCLUDES, setting cache
3045 # variable VAR accordingly.
3046 ac_fn_c_check_type ()
3048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3050 $as_echo_n "checking for $2... " >&6; }
3051 if eval \${$3+:} false; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3054 eval "$3=no"
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3059 main ()
3061 if (sizeof ($2))
3062 return 0;
3064 return 0;
3066 _ACEOF
3067 if ac_fn_c_try_compile "$LINENO"; then :
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3072 main ()
3074 if (sizeof (($2)))
3075 return 0;
3077 return 0;
3079 _ACEOF
3080 if ac_fn_c_try_compile "$LINENO"; then :
3082 else
3083 eval "$3=yes"
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 eval ac_res=\$$3
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3091 $as_echo "$ac_res" >&6; }
3092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 } # ac_fn_c_check_type
3095 cat >config.log <<_ACEOF
3096 This file contains any messages produced by compilers while
3097 running configure, to aid debugging if configure makes a mistake.
3099 It was created by Wine $as_me 2.22, which was
3100 generated by GNU Autoconf 2.69. Invocation command line was
3102 $ $0 $@
3104 _ACEOF
3105 exec 5>>config.log
3107 cat <<_ASUNAME
3108 ## --------- ##
3109 ## Platform. ##
3110 ## --------- ##
3112 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3113 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3114 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3115 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3116 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3118 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3119 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3121 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3122 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3123 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3124 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3125 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3126 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3127 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3129 _ASUNAME
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3134 IFS=$as_save_IFS
3135 test -z "$as_dir" && as_dir=.
3136 $as_echo "PATH: $as_dir"
3137 done
3138 IFS=$as_save_IFS
3140 } >&5
3142 cat >&5 <<_ACEOF
3145 ## ----------- ##
3146 ## Core tests. ##
3147 ## ----------- ##
3149 _ACEOF
3152 # Keep a trace of the command line.
3153 # Strip out --no-create and --no-recursion so they do not pile up.
3154 # Strip out --silent because we don't want to record it for future runs.
3155 # Also quote any args containing shell meta-characters.
3156 # Make two passes to allow for proper duplicate-argument suppression.
3157 ac_configure_args=
3158 ac_configure_args0=
3159 ac_configure_args1=
3160 ac_must_keep_next=false
3161 for ac_pass in 1 2
3163 for ac_arg
3165 case $ac_arg in
3166 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3168 | -silent | --silent | --silen | --sile | --sil)
3169 continue ;;
3170 *\'*)
3171 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3172 esac
3173 case $ac_pass in
3174 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3176 as_fn_append ac_configure_args1 " '$ac_arg'"
3177 if test $ac_must_keep_next = true; then
3178 ac_must_keep_next=false # Got value, back to normal.
3179 else
3180 case $ac_arg in
3181 *=* | --config-cache | -C | -disable-* | --disable-* \
3182 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3183 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3184 | -with-* | --with-* | -without-* | --without-* | --x)
3185 case "$ac_configure_args0 " in
3186 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3187 esac
3189 -* ) ac_must_keep_next=true ;;
3190 esac
3192 as_fn_append ac_configure_args " '$ac_arg'"
3194 esac
3195 done
3196 done
3197 { ac_configure_args0=; unset ac_configure_args0;}
3198 { ac_configure_args1=; unset ac_configure_args1;}
3200 # When interrupted or exit'd, cleanup temporary files, and complete
3201 # config.log. We remove comments because anyway the quotes in there
3202 # would cause problems or look ugly.
3203 # WARNING: Use '\'' to represent an apostrophe within the trap.
3204 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3205 trap 'exit_status=$?
3206 # Save into config.log some information that might help in debugging.
3208 echo
3210 $as_echo "## ---------------- ##
3211 ## Cache variables. ##
3212 ## ---------------- ##"
3213 echo
3214 # The following way of writing the cache mishandles newlines in values,
3216 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3217 eval ac_val=\$$ac_var
3218 case $ac_val in #(
3219 *${as_nl}*)
3220 case $ac_var in #(
3221 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3223 esac
3224 case $ac_var in #(
3225 _ | IFS | as_nl) ;; #(
3226 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3227 *) { eval $ac_var=; unset $ac_var;} ;;
3228 esac ;;
3229 esac
3230 done
3231 (set) 2>&1 |
3232 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3233 *${as_nl}ac_space=\ *)
3234 sed -n \
3235 "s/'\''/'\''\\\\'\'''\''/g;
3236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3237 ;; #(
3239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3241 esac |
3242 sort
3244 echo
3246 $as_echo "## ----------------- ##
3247 ## Output variables. ##
3248 ## ----------------- ##"
3249 echo
3250 for ac_var in $ac_subst_vars
3252 eval ac_val=\$$ac_var
3253 case $ac_val in
3254 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3255 esac
3256 $as_echo "$ac_var='\''$ac_val'\''"
3257 done | sort
3258 echo
3260 if test -n "$ac_subst_files"; then
3261 $as_echo "## ------------------- ##
3262 ## File substitutions. ##
3263 ## ------------------- ##"
3264 echo
3265 for ac_var in $ac_subst_files
3267 eval ac_val=\$$ac_var
3268 case $ac_val in
3269 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3270 esac
3271 $as_echo "$ac_var='\''$ac_val'\''"
3272 done | sort
3273 echo
3276 if test -s confdefs.h; then
3277 $as_echo "## ----------- ##
3278 ## confdefs.h. ##
3279 ## ----------- ##"
3280 echo
3281 cat confdefs.h
3282 echo
3284 test "$ac_signal" != 0 &&
3285 $as_echo "$as_me: caught signal $ac_signal"
3286 $as_echo "$as_me: exit $exit_status"
3287 } >&5
3288 rm -f core *.core core.conftest.* &&
3289 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3290 exit $exit_status
3292 for ac_signal in 1 2 13 15; do
3293 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3294 done
3295 ac_signal=0
3297 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3298 rm -f -r conftest* confdefs.h
3300 $as_echo "/* confdefs.h */" > confdefs.h
3302 # Predefined preprocessor variables.
3304 cat >>confdefs.h <<_ACEOF
3305 #define PACKAGE_NAME "$PACKAGE_NAME"
3306 _ACEOF
3308 cat >>confdefs.h <<_ACEOF
3309 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3310 _ACEOF
3312 cat >>confdefs.h <<_ACEOF
3313 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3314 _ACEOF
3316 cat >>confdefs.h <<_ACEOF
3317 #define PACKAGE_STRING "$PACKAGE_STRING"
3318 _ACEOF
3320 cat >>confdefs.h <<_ACEOF
3321 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3322 _ACEOF
3324 cat >>confdefs.h <<_ACEOF
3325 #define PACKAGE_URL "$PACKAGE_URL"
3326 _ACEOF
3329 # Let the site file select an alternate cache file if it wants to.
3330 # Prefer an explicitly selected file to automatically selected ones.
3331 ac_site_file1=NONE
3332 ac_site_file2=NONE
3333 if test -n "$CONFIG_SITE"; then
3334 # We do not want a PATH search for config.site.
3335 case $CONFIG_SITE in #((
3336 -*) ac_site_file1=./$CONFIG_SITE;;
3337 */*) ac_site_file1=$CONFIG_SITE;;
3338 *) ac_site_file1=./$CONFIG_SITE;;
3339 esac
3340 elif test "x$prefix" != xNONE; then
3341 ac_site_file1=$prefix/share/config.site
3342 ac_site_file2=$prefix/etc/config.site
3343 else
3344 ac_site_file1=$ac_default_prefix/share/config.site
3345 ac_site_file2=$ac_default_prefix/etc/config.site
3347 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3349 test "x$ac_site_file" = xNONE && continue
3350 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3352 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3353 sed 's/^/| /' "$ac_site_file" >&5
3354 . "$ac_site_file" \
3355 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "failed to load site script $ac_site_file
3358 See \`config.log' for more details" "$LINENO" 5; }
3360 done
3362 if test -r "$cache_file"; then
3363 # Some versions of bash will fail to source /dev/null (special files
3364 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3365 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3367 $as_echo "$as_me: loading cache $cache_file" >&6;}
3368 case $cache_file in
3369 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3370 *) . "./$cache_file";;
3371 esac
3373 else
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3375 $as_echo "$as_me: creating cache $cache_file" >&6;}
3376 >$cache_file
3379 # Check that the precious variables saved in the cache have kept the same
3380 # value.
3381 ac_cache_corrupted=false
3382 for ac_var in $ac_precious_vars; do
3383 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3384 eval ac_new_set=\$ac_env_${ac_var}_set
3385 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3386 eval ac_new_val=\$ac_env_${ac_var}_value
3387 case $ac_old_set,$ac_new_set in
3388 set,)
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3390 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3391 ac_cache_corrupted=: ;;
3392 ,set)
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3394 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3395 ac_cache_corrupted=: ;;
3396 ,);;
3398 if test "x$ac_old_val" != "x$ac_new_val"; then
3399 # differences in whitespace do not lead to failure.
3400 ac_old_val_w=`echo x $ac_old_val`
3401 ac_new_val_w=`echo x $ac_new_val`
3402 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3404 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3405 ac_cache_corrupted=:
3406 else
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3408 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3409 eval $ac_var=\$ac_old_val
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3412 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3414 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3415 fi;;
3416 esac
3417 # Pass precious variables to config.status.
3418 if test "$ac_new_set" = set; then
3419 case $ac_new_val in
3420 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3421 *) ac_arg=$ac_var=$ac_new_val ;;
3422 esac
3423 case " $ac_configure_args " in
3424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3425 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3426 esac
3428 done
3429 if $ac_cache_corrupted; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3433 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3434 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3436 ## -------------------- ##
3437 ## Main body of script. ##
3438 ## -------------------- ##
3440 ac_ext=c
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 ac_config_headers="$ac_config_headers include/config.h"
3450 ac_aux_dir=
3451 for ac_dir in tools "$srcdir"/tools; do
3452 if test -f "$ac_dir/install-sh"; then
3453 ac_aux_dir=$ac_dir
3454 ac_install_sh="$ac_aux_dir/install-sh -c"
3455 break
3456 elif test -f "$ac_dir/install.sh"; then
3457 ac_aux_dir=$ac_dir
3458 ac_install_sh="$ac_aux_dir/install.sh -c"
3459 break
3460 elif test -f "$ac_dir/shtool"; then
3461 ac_aux_dir=$ac_dir
3462 ac_install_sh="$ac_aux_dir/shtool install -c"
3463 break
3465 done
3466 if test -z "$ac_aux_dir"; then
3467 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3470 # These three variables are undocumented and unsupported,
3471 # and are intended to be withdrawn in a future Autoconf release.
3472 # They can cause serious problems if a builder's source tree is in a directory
3473 # whose full name contains unusual characters.
3474 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3475 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3476 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3480 libwine_version="1.0"
3484 # Check whether --enable-win16 was given.
3485 if test "${enable_win16+set}" = set; then :
3486 enableval=$enable_win16;
3489 # Check whether --enable-win64 was given.
3490 if test "${enable_win64+set}" = set; then :
3491 enableval=$enable_win64;
3494 # Check whether --enable-tests was given.
3495 if test "${enable_tests+set}" = set; then :
3496 enableval=$enable_tests;
3499 # Check whether --enable-maintainer-mode was given.
3500 if test "${enable_maintainer_mode+set}" = set; then :
3501 enableval=$enable_maintainer_mode;
3506 # Check whether --with-alsa was given.
3507 if test "${with_alsa+set}" = set; then :
3508 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3512 # Check whether --with-capi was given.
3513 if test "${with_capi+set}" = set; then :
3514 withval=$with_capi;
3518 # Check whether --with-cms was given.
3519 if test "${with_cms+set}" = set; then :
3520 withval=$with_cms;
3524 # Check whether --with-coreaudio was given.
3525 if test "${with_coreaudio+set}" = set; then :
3526 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3530 # Check whether --with-cups was given.
3531 if test "${with_cups+set}" = set; then :
3532 withval=$with_cups;
3536 # Check whether --with-curses was given.
3537 if test "${with_curses+set}" = set; then :
3538 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3542 # Check whether --with-dbus was given.
3543 if test "${with_dbus+set}" = set; then :
3544 withval=$with_dbus;
3548 # Check whether --with-fontconfig was given.
3549 if test "${with_fontconfig+set}" = set; then :
3550 withval=$with_fontconfig;
3554 # Check whether --with-freetype was given.
3555 if test "${with_freetype+set}" = set; then :
3556 withval=$with_freetype;
3560 # Check whether --with-gettext was given.
3561 if test "${with_gettext+set}" = set; then :
3562 withval=$with_gettext;
3566 # Check whether --with-gettextpo was given.
3567 if test "${with_gettextpo+set}" = set; then :
3568 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3572 # Check whether --with-gphoto was given.
3573 if test "${with_gphoto+set}" = set; then :
3574 withval=$with_gphoto;
3578 # Check whether --with-glu was given.
3579 if test "${with_glu+set}" = set; then :
3580 withval=$with_glu;
3584 # Check whether --with-gnutls was given.
3585 if test "${with_gnutls+set}" = set; then :
3586 withval=$with_gnutls;
3590 # Check whether --with-gsm was given.
3591 if test "${with_gsm+set}" = set; then :
3592 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3596 # Check whether --with-gstreamer was given.
3597 if test "${with_gstreamer+set}" = set; then :
3598 withval=$with_gstreamer;
3602 # Check whether --with-hal was given.
3603 if test "${with_hal+set}" = set; then :
3604 withval=$with_hal;
3608 # Check whether --with-jpeg was given.
3609 if test "${with_jpeg+set}" = set; then :
3610 withval=$with_jpeg;
3614 # Check whether --with-krb5 was given.
3615 if test "${with_krb5+set}" = set; then :
3616 withval=$with_krb5;
3620 # Check whether --with-ldap was given.
3621 if test "${with_ldap+set}" = set; then :
3622 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3626 # Check whether --with-mpg123 was given.
3627 if test "${with_mpg123+set}" = set; then :
3628 withval=$with_mpg123;
3632 # Check whether --with-netapi was given.
3633 if test "${with_netapi+set}" = set; then :
3634 withval=$with_netapi;
3638 # Check whether --with-openal was given.
3639 if test "${with_openal+set}" = set; then :
3640 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3644 # Check whether --with-opencl was given.
3645 if test "${with_opencl+set}" = set; then :
3646 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3650 # Check whether --with-opengl was given.
3651 if test "${with_opengl+set}" = set; then :
3652 withval=$with_opengl;
3656 # Check whether --with-osmesa was given.
3657 if test "${with_osmesa+set}" = set; then :
3658 withval=$with_osmesa;
3662 # Check whether --with-oss was given.
3663 if test "${with_oss+set}" = set; then :
3664 withval=$with_oss;
3668 # Check whether --with-pcap was given.
3669 if test "${with_pcap+set}" = set; then :
3670 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3674 # Check whether --with-png was given.
3675 if test "${with_png+set}" = set; then :
3676 withval=$with_png;
3680 # Check whether --with-pthread was given.
3681 if test "${with_pthread+set}" = set; then :
3682 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3686 # Check whether --with-pulse was given.
3687 if test "${with_pulse+set}" = set; then :
3688 withval=$with_pulse;
3692 # Check whether --with-sane was given.
3693 if test "${with_sane+set}" = set; then :
3694 withval=$with_sane;
3698 # Check whether --with-tiff was given.
3699 if test "${with_tiff+set}" = set; then :
3700 withval=$with_tiff;
3704 # Check whether --with-udev was given.
3705 if test "${with_udev+set}" = set; then :
3706 withval=$with_udev;
3710 # Check whether --with-v4l was given.
3711 if test "${with_v4l+set}" = set; then :
3712 withval=$with_v4l;
3716 # Check whether --with-xcomposite was given.
3717 if test "${with_xcomposite+set}" = set; then :
3718 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3722 # Check whether --with-xcursor was given.
3723 if test "${with_xcursor+set}" = set; then :
3724 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3728 # Check whether --with-xfixes was given.
3729 if test "${with_xfixes+set}" = set; then :
3730 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3734 # Check whether --with-xinerama was given.
3735 if test "${with_xinerama+set}" = set; then :
3736 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3740 # Check whether --with-xinput was given.
3741 if test "${with_xinput+set}" = set; then :
3742 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3746 # Check whether --with-xinput2 was given.
3747 if test "${with_xinput2+set}" = set; then :
3748 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3752 # Check whether --with-xml was given.
3753 if test "${with_xml+set}" = set; then :
3754 withval=$with_xml;
3758 # Check whether --with-xrandr was given.
3759 if test "${with_xrandr+set}" = set; then :
3760 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3764 # Check whether --with-xrender was given.
3765 if test "${with_xrender+set}" = set; then :
3766 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3770 # Check whether --with-xshape was given.
3771 if test "${with_xshape+set}" = set; then :
3772 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3776 # Check whether --with-xshm was given.
3777 if test "${with_xshm+set}" = set; then :
3778 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3782 # Check whether --with-xslt was given.
3783 if test "${with_xslt+set}" = set; then :
3784 withval=$with_xslt;
3788 # Check whether --with-xxf86vm was given.
3789 if test "${with_xxf86vm+set}" = set; then :
3790 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
3794 # Check whether --with-zlib was given.
3795 if test "${with_zlib+set}" = set; then :
3796 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3801 # Check whether --with-wine-tools was given.
3802 if test "${with_wine_tools+set}" = set; then :
3803 withval=$with_wine_tools;
3807 # Check whether --with-wine64 was given.
3808 if test "${with_wine64+set}" = set; then :
3809 withval=$with_wine64;
3813 # Make sure we can run config.sub.
3814 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3815 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3818 $as_echo_n "checking build system type... " >&6; }
3819 if ${ac_cv_build+:} false; then :
3820 $as_echo_n "(cached) " >&6
3821 else
3822 ac_build_alias=$build_alias
3823 test "x$ac_build_alias" = x &&
3824 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3825 test "x$ac_build_alias" = x &&
3826 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3827 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3828 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3832 $as_echo "$ac_cv_build" >&6; }
3833 case $ac_cv_build in
3834 *-*-*) ;;
3835 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3836 esac
3837 build=$ac_cv_build
3838 ac_save_IFS=$IFS; IFS='-'
3839 set x $ac_cv_build
3840 shift
3841 build_cpu=$1
3842 build_vendor=$2
3843 shift; shift
3844 # Remember, the first character of IFS is used to create $*,
3845 # except with old shells:
3846 build_os=$*
3847 IFS=$ac_save_IFS
3848 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3852 $as_echo_n "checking host system type... " >&6; }
3853 if ${ac_cv_host+:} false; then :
3854 $as_echo_n "(cached) " >&6
3855 else
3856 if test "x$host_alias" = x; then
3857 ac_cv_host=$ac_cv_build
3858 else
3859 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3860 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3865 $as_echo "$ac_cv_host" >&6; }
3866 case $ac_cv_host in
3867 *-*-*) ;;
3868 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3869 esac
3870 host=$ac_cv_host
3871 ac_save_IFS=$IFS; IFS='-'
3872 set x $ac_cv_host
3873 shift
3874 host_cpu=$1
3875 host_vendor=$2
3876 shift; shift
3877 # Remember, the first character of IFS is used to create $*,
3878 # except with old shells:
3879 host_os=$*
3880 IFS=$ac_save_IFS
3881 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3885 case "$srcdir" in
3886 .) ;;
3887 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3888 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3889 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3890 fi ;;
3891 esac
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3895 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3896 set x ${MAKE-make}
3897 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3898 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 cat >conftest.make <<\_ACEOF
3902 SHELL = /bin/sh
3903 all:
3904 @echo '@@@%%%=$(MAKE)=@@@%%%'
3905 _ACEOF
3906 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3907 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3908 *@@@%%%=?*=@@@%%%*)
3909 eval ac_cv_prog_make_${ac_make}_set=yes;;
3911 eval ac_cv_prog_make_${ac_make}_set=no;;
3912 esac
3913 rm -f conftest.make
3915 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3917 $as_echo "yes" >&6; }
3918 SET_MAKE=
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3922 SET_MAKE="MAKE=${MAKE-make}"
3925 ac_ext=c
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 if test -n "$ac_tool_prefix"; then
3931 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3932 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if ${ac_cv_prog_CC+:} false; then :
3936 $as_echo_n "(cached) " >&6
3937 else
3938 if test -n "$CC"; then
3939 ac_cv_prog_CC="$CC" # Let the user override the test.
3940 else
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 for as_dir in $PATH
3944 IFS=$as_save_IFS
3945 test -z "$as_dir" && as_dir=.
3946 for ac_exec_ext in '' $ac_executable_extensions; do
3947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3948 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 break 2
3952 done
3953 done
3954 IFS=$as_save_IFS
3958 CC=$ac_cv_prog_CC
3959 if test -n "$CC"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3961 $as_echo "$CC" >&6; }
3962 else
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3969 if test -z "$ac_cv_prog_CC"; then
3970 ac_ct_CC=$CC
3971 # Extract the first word of "gcc", so it can be a program name with args.
3972 set dummy gcc; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if test -n "$ac_ct_CC"; then
3979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3980 else
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_ac_ct_CC="gcc"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3992 done
3993 done
3994 IFS=$as_save_IFS
3998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3999 if test -n "$ac_ct_CC"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4001 $as_echo "$ac_ct_CC" >&6; }
4002 else
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4007 if test "x$ac_ct_CC" = x; then
4008 CC=""
4009 else
4010 case $cross_compiling:$ac_tool_warned in
4011 yes:)
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4014 ac_tool_warned=yes ;;
4015 esac
4016 CC=$ac_ct_CC
4018 else
4019 CC="$ac_cv_prog_CC"
4022 if test -z "$CC"; then
4023 if test -n "$ac_tool_prefix"; then
4024 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}cc; ac_word=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_prog_CC+:} false; then :
4029 $as_echo_n "(cached) " >&6
4030 else
4031 if test -n "$CC"; then
4032 ac_cv_prog_CC="$CC" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_CC="${ac_tool_prefix}cc"
4042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4045 done
4046 done
4047 IFS=$as_save_IFS
4051 CC=$ac_cv_prog_CC
4052 if test -n "$CC"; then
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4054 $as_echo "$CC" >&6; }
4055 else
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4063 if test -z "$CC"; then
4064 # Extract the first word of "cc", so it can be a program name with args.
4065 set dummy cc; ac_word=$2
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 $as_echo_n "checking for $ac_word... " >&6; }
4068 if ${ac_cv_prog_CC+:} false; then :
4069 $as_echo_n "(cached) " >&6
4070 else
4071 if test -n "$CC"; then
4072 ac_cv_prog_CC="$CC" # Let the user override the test.
4073 else
4074 ac_prog_rejected=no
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 for as_dir in $PATH
4078 IFS=$as_save_IFS
4079 test -z "$as_dir" && as_dir=.
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4083 ac_prog_rejected=yes
4084 continue
4086 ac_cv_prog_CC="cc"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 break 2
4090 done
4091 done
4092 IFS=$as_save_IFS
4094 if test $ac_prog_rejected = yes; then
4095 # We found a bogon in the path, so make sure we never use it.
4096 set dummy $ac_cv_prog_CC
4097 shift
4098 if test $# != 0; then
4099 # We chose a different compiler from the bogus one.
4100 # However, it has the same basename, so the bogon will be chosen
4101 # first if we set CC to just the basename; use the full file name.
4102 shift
4103 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4108 CC=$ac_cv_prog_CC
4109 if test -n "$CC"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4111 $as_echo "$CC" >&6; }
4112 else
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4119 if test -z "$CC"; then
4120 if test -n "$ac_tool_prefix"; then
4121 for ac_prog in cl.exe
4123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if ${ac_cv_prog_CC+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC="$CC" # Let the user override the test.
4132 else
4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 for as_dir in $PATH
4136 IFS=$as_save_IFS
4137 test -z "$as_dir" && as_dir=.
4138 for ac_exec_ext in '' $ac_executable_extensions; do
4139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 break 2
4144 done
4145 done
4146 IFS=$as_save_IFS
4150 CC=$ac_cv_prog_CC
4151 if test -n "$CC"; then
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4153 $as_echo "$CC" >&6; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4160 test -n "$CC" && break
4161 done
4163 if test -z "$CC"; then
4164 ac_ct_CC=$CC
4165 for ac_prog in cl.exe
4167 # Extract the first word of "$ac_prog", so it can be a program name with args.
4168 set dummy $ac_prog; ac_word=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 if test -n "$ac_ct_CC"; then
4175 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4176 else
4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 for as_dir in $PATH
4180 IFS=$as_save_IFS
4181 test -z "$as_dir" && as_dir=.
4182 for ac_exec_ext in '' $ac_executable_extensions; do
4183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_ac_ct_CC="$ac_prog"
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 break 2
4188 done
4189 done
4190 IFS=$as_save_IFS
4194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4195 if test -n "$ac_ct_CC"; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4197 $as_echo "$ac_ct_CC" >&6; }
4198 else
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4204 test -n "$ac_ct_CC" && break
4205 done
4207 if test "x$ac_ct_CC" = x; then
4208 CC=""
4209 else
4210 case $cross_compiling:$ac_tool_warned in
4211 yes:)
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4214 ac_tool_warned=yes ;;
4215 esac
4216 CC=$ac_ct_CC
4223 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4225 as_fn_error $? "no acceptable C compiler found in \$PATH
4226 See \`config.log' for more details" "$LINENO" 5; }
4228 # Provide some information about the compiler.
4229 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4230 set X $ac_compile
4231 ac_compiler=$2
4232 for ac_option in --version -v -V -qversion; do
4233 { { ac_try="$ac_compiler $ac_option >&5"
4234 case "(($ac_try" in
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4237 esac
4238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4239 $as_echo "$ac_try_echo"; } >&5
4240 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4241 ac_status=$?
4242 if test -s conftest.err; then
4243 sed '10a\
4244 ... rest of stderr output deleted ...
4245 10q' conftest.err >conftest.er1
4246 cat conftest.er1 >&5
4248 rm -f conftest.er1 conftest.err
4249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4250 test $ac_status = 0; }
4251 done
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 ac_clean_files_save=$ac_clean_files
4265 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4266 # Try to create an executable without -o first, disregard a.out.
4267 # It will help us diagnose broken compilers, and finding out an intuition
4268 # of exeext.
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4270 $as_echo_n "checking whether the C compiler works... " >&6; }
4271 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4273 # The possible output files:
4274 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4276 ac_rmfiles=
4277 for ac_file in $ac_files
4279 case $ac_file in
4280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4281 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4282 esac
4283 done
4284 rm -f $ac_rmfiles
4286 if { { ac_try="$ac_link_default"
4287 case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4290 esac
4291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4292 $as_echo "$ac_try_echo"; } >&5
4293 (eval "$ac_link_default") 2>&5
4294 ac_status=$?
4295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4296 test $ac_status = 0; }; then :
4297 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4298 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4299 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4300 # so that the user can short-circuit this test for compilers unknown to
4301 # Autoconf.
4302 for ac_file in $ac_files ''
4304 test -f "$ac_file" || continue
4305 case $ac_file in
4306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4308 [ab].out )
4309 # We found the default executable, but exeext='' is most
4310 # certainly right.
4311 break;;
4312 *.* )
4313 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4314 then :; else
4315 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4317 # We set ac_cv_exeext here because the later test for it is not
4318 # safe: cross compilers may not add the suffix if given an `-o'
4319 # argument, so we may need to know it at that point already.
4320 # Even if this section looks crufty: it has the advantage of
4321 # actually working.
4322 break;;
4324 break;;
4325 esac
4326 done
4327 test "$ac_cv_exeext" = no && ac_cv_exeext=
4329 else
4330 ac_file=''
4332 if test -z "$ac_file"; then :
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4335 $as_echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4340 as_fn_error 77 "C compiler cannot create executables
4341 See \`config.log' for more details" "$LINENO" 5; }
4342 else
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4344 $as_echo "yes" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4347 $as_echo_n "checking for C compiler default output file name... " >&6; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4349 $as_echo "$ac_file" >&6; }
4350 ac_exeext=$ac_cv_exeext
4352 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4353 ac_clean_files=$ac_clean_files_save
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4355 $as_echo_n "checking for suffix of executables... " >&6; }
4356 if { { ac_try="$ac_link"
4357 case "(($ac_try" in
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4360 esac
4361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4362 $as_echo "$ac_try_echo"; } >&5
4363 (eval "$ac_link") 2>&5
4364 ac_status=$?
4365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4366 test $ac_status = 0; }; then :
4367 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4368 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4369 # work properly (i.e., refer to `conftest.exe'), while it won't with
4370 # `rm'.
4371 for ac_file in conftest.exe conftest conftest.*; do
4372 test -f "$ac_file" || continue
4373 case $ac_file in
4374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4375 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4376 break;;
4377 * ) break;;
4378 esac
4379 done
4380 else
4381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4383 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4384 See \`config.log' for more details" "$LINENO" 5; }
4386 rm -f conftest conftest$ac_cv_exeext
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4388 $as_echo "$ac_cv_exeext" >&6; }
4390 rm -f conftest.$ac_ext
4391 EXEEXT=$ac_cv_exeext
4392 ac_exeext=$EXEEXT
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4395 #include <stdio.h>
4397 main ()
4399 FILE *f = fopen ("conftest.out", "w");
4400 return ferror (f) || fclose (f) != 0;
4403 return 0;
4405 _ACEOF
4406 ac_clean_files="$ac_clean_files conftest.out"
4407 # Check that the compiler produces executables we can run. If not, either
4408 # the compiler is broken, or we cross compile.
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4410 $as_echo_n "checking whether we are cross compiling... " >&6; }
4411 if test "$cross_compiling" != yes; then
4412 { { ac_try="$ac_link"
4413 case "(($ac_try" in
4414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4416 esac
4417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_link") 2>&5
4420 ac_status=$?
4421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4422 test $ac_status = 0; }
4423 if { ac_try='./conftest$ac_cv_exeext'
4424 { { case "(($ac_try" in
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4427 esac
4428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429 $as_echo "$ac_try_echo"; } >&5
4430 (eval "$ac_try") 2>&5
4431 ac_status=$?
4432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4433 test $ac_status = 0; }; }; then
4434 cross_compiling=no
4435 else
4436 if test "$cross_compiling" = maybe; then
4437 cross_compiling=yes
4438 else
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error $? "cannot run C compiled programs.
4442 If you meant to cross compile, use \`--host'.
4443 See \`config.log' for more details" "$LINENO" 5; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4448 $as_echo "$cross_compiling" >&6; }
4450 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4451 ac_clean_files=$ac_clean_files_save
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4453 $as_echo_n "checking for suffix of object files... " >&6; }
4454 if ${ac_cv_objext+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4461 main ()
4465 return 0;
4467 _ACEOF
4468 rm -f conftest.o conftest.obj
4469 if { { ac_try="$ac_compile"
4470 case "(($ac_try" in
4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472 *) ac_try_echo=$ac_try;;
4473 esac
4474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4475 $as_echo "$ac_try_echo"; } >&5
4476 (eval "$ac_compile") 2>&5
4477 ac_status=$?
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }; then :
4480 for ac_file in conftest.o conftest.obj conftest.*; do
4481 test -f "$ac_file" || continue;
4482 case $ac_file in
4483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4484 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4485 break;;
4486 esac
4487 done
4488 else
4489 $as_echo "$as_me: failed program was:" >&5
4490 sed 's/^/| /' conftest.$ac_ext >&5
4492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4494 as_fn_error $? "cannot compute suffix of object files: cannot compile
4495 See \`config.log' for more details" "$LINENO" 5; }
4497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4500 $as_echo "$ac_cv_objext" >&6; }
4501 OBJEXT=$ac_cv_objext
4502 ac_objext=$OBJEXT
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4505 if ${ac_cv_c_compiler_gnu+:} false; then :
4506 $as_echo_n "(cached) " >&6
4507 else
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4512 main ()
4514 #ifndef __GNUC__
4515 choke me
4516 #endif
4519 return 0;
4521 _ACEOF
4522 if ac_fn_c_try_compile "$LINENO"; then :
4523 ac_compiler_gnu=yes
4524 else
4525 ac_compiler_gnu=no
4527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4532 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4533 if test $ac_compiler_gnu = yes; then
4534 GCC=yes
4535 else
4536 GCC=
4538 ac_test_CFLAGS=${CFLAGS+set}
4539 ac_save_CFLAGS=$CFLAGS
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4541 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4542 if ${ac_cv_prog_cc_g+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 ac_save_c_werror_flag=$ac_c_werror_flag
4546 ac_c_werror_flag=yes
4547 ac_cv_prog_cc_g=no
4548 CFLAGS="-g"
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_c_try_compile "$LINENO"; then :
4561 ac_cv_prog_cc_g=yes
4562 else
4563 CFLAGS=""
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4572 return 0;
4574 _ACEOF
4575 if ac_fn_c_try_compile "$LINENO"; then :
4577 else
4578 ac_c_werror_flag=$ac_save_c_werror_flag
4579 CFLAGS="-g"
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4584 main ()
4588 return 0;
4590 _ACEOF
4591 if ac_fn_c_try_compile "$LINENO"; then :
4592 ac_cv_prog_cc_g=yes
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4599 ac_c_werror_flag=$ac_save_c_werror_flag
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4602 $as_echo "$ac_cv_prog_cc_g" >&6; }
4603 if test "$ac_test_CFLAGS" = set; then
4604 CFLAGS=$ac_save_CFLAGS
4605 elif test $ac_cv_prog_cc_g = yes; then
4606 if test "$GCC" = yes; then
4607 CFLAGS="-g -O2"
4608 else
4609 CFLAGS="-g"
4611 else
4612 if test "$GCC" = yes; then
4613 CFLAGS="-O2"
4614 else
4615 CFLAGS=
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4619 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4620 if ${ac_cv_prog_cc_c89+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 ac_cv_prog_cc_c89=no
4624 ac_save_CC=$CC
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4627 #include <stdarg.h>
4628 #include <stdio.h>
4629 struct stat;
4630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4631 struct buf { int x; };
4632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4633 static char *e (p, i)
4634 char **p;
4635 int i;
4637 return p[i];
4639 static char *f (char * (*g) (char **, int), char **p, ...)
4641 char *s;
4642 va_list v;
4643 va_start (v,p);
4644 s = g (p, va_arg (v,int));
4645 va_end (v);
4646 return s;
4649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4650 function prototypes and stuff, but not '\xHH' hex character constants.
4651 These don't provoke an error unfortunately, instead are silently treated
4652 as 'x'. The following induces an error, until -std is added to get
4653 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4654 array size at least. It's necessary to write '\x00'==0 to get something
4655 that's true only with -std. */
4656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4658 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4659 inside strings and character constants. */
4660 #define FOO(x) 'x'
4661 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4663 int test (int i, double x);
4664 struct s1 {int (*f) (int a);};
4665 struct s2 {int (*f) (double a);};
4666 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4667 int argc;
4668 char **argv;
4670 main ()
4672 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4674 return 0;
4676 _ACEOF
4677 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4678 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4680 CC="$ac_save_CC $ac_arg"
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 ac_cv_prog_cc_c89=$ac_arg
4684 rm -f core conftest.err conftest.$ac_objext
4685 test "x$ac_cv_prog_cc_c89" != "xno" && break
4686 done
4687 rm -f conftest.$ac_ext
4688 CC=$ac_save_CC
4691 # AC_CACHE_VAL
4692 case "x$ac_cv_prog_cc_c89" in
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4695 $as_echo "none needed" >&6; } ;;
4696 xno)
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4698 $as_echo "unsupported" >&6; } ;;
4700 CC="$CC $ac_cv_prog_cc_c89"
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4702 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4703 esac
4704 if test "x$ac_cv_prog_cc_c89" != xno; then :
4708 ac_ext=c
4709 ac_cpp='$CPP $CPPFLAGS'
4710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4714 ac_ext=cpp
4715 ac_cpp='$CXXCPP $CPPFLAGS'
4716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4719 if test -z "$CXX"; then
4720 if test -n "$CCC"; then
4721 CXX=$CCC
4722 else
4723 if test -n "$ac_tool_prefix"; then
4724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_CXX+:} false; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -n "$CXX"; then
4734 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4735 else
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 break 2
4747 done
4748 done
4749 IFS=$as_save_IFS
4753 CXX=$ac_cv_prog_CXX
4754 if test -n "$CXX"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4756 $as_echo "$CXX" >&6; }
4757 else
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4763 test -n "$CXX" && break
4764 done
4766 if test -z "$CXX"; then
4767 ac_ct_CXX=$CXX
4768 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4770 # Extract the first word of "$ac_prog", so it can be a program name with args.
4771 set dummy $ac_prog; ac_word=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 if test -n "$ac_ct_CXX"; then
4778 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4779 else
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 for as_dir in $PATH
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_ac_ct_CXX="$ac_prog"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4798 if test -n "$ac_ct_CXX"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4800 $as_echo "$ac_ct_CXX" >&6; }
4801 else
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4807 test -n "$ac_ct_CXX" && break
4808 done
4810 if test "x$ac_ct_CXX" = x; then
4811 CXX="g++"
4812 else
4813 case $cross_compiling:$ac_tool_warned in
4814 yes:)
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4817 ac_tool_warned=yes ;;
4818 esac
4819 CXX=$ac_ct_CXX
4825 # Provide some information about the compiler.
4826 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4827 set X $ac_compile
4828 ac_compiler=$2
4829 for ac_option in --version -v -V -qversion; do
4830 { { ac_try="$ac_compiler $ac_option >&5"
4831 case "(($ac_try" in
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4834 esac
4835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4836 $as_echo "$ac_try_echo"; } >&5
4837 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4838 ac_status=$?
4839 if test -s conftest.err; then
4840 sed '10a\
4841 ... rest of stderr output deleted ...
4842 10q' conftest.err >conftest.er1
4843 cat conftest.er1 >&5
4845 rm -f conftest.er1 conftest.err
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; }
4848 done
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4851 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4852 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4859 main ()
4861 #ifndef __GNUC__
4862 choke me
4863 #endif
4866 return 0;
4868 _ACEOF
4869 if ac_fn_cxx_try_compile "$LINENO"; then :
4870 ac_compiler_gnu=yes
4871 else
4872 ac_compiler_gnu=no
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4875 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4879 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4880 if test $ac_compiler_gnu = yes; then
4881 GXX=yes
4882 else
4883 GXX=
4885 ac_test_CXXFLAGS=${CXXFLAGS+set}
4886 ac_save_CXXFLAGS=$CXXFLAGS
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4888 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4889 if ${ac_cv_prog_cxx_g+:} false; then :
4890 $as_echo_n "(cached) " >&6
4891 else
4892 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4893 ac_cxx_werror_flag=yes
4894 ac_cv_prog_cxx_g=no
4895 CXXFLAGS="-g"
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4900 main ()
4904 return 0;
4906 _ACEOF
4907 if ac_fn_cxx_try_compile "$LINENO"; then :
4908 ac_cv_prog_cxx_g=yes
4909 else
4910 CXXFLAGS=""
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 main ()
4919 return 0;
4921 _ACEOF
4922 if ac_fn_cxx_try_compile "$LINENO"; then :
4924 else
4925 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4926 CXXFLAGS="-g"
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4935 return 0;
4937 _ACEOF
4938 if ac_fn_cxx_try_compile "$LINENO"; then :
4939 ac_cv_prog_cxx_g=yes
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4949 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4950 if test "$ac_test_CXXFLAGS" = set; then
4951 CXXFLAGS=$ac_save_CXXFLAGS
4952 elif test $ac_cv_prog_cxx_g = yes; then
4953 if test "$GXX" = yes; then
4954 CXXFLAGS="-g -O2"
4955 else
4956 CXXFLAGS="-g"
4958 else
4959 if test "$GXX" = yes; then
4960 CXXFLAGS="-O2"
4961 else
4962 CXXFLAGS=
4965 ac_ext=c
4966 ac_cpp='$CPP $CPPFLAGS'
4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4971 if test -n "$ac_tool_prefix"; then
4972 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4973 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_CPPBIN+:} false; then :
4977 $as_echo_n "(cached) " >&6
4978 else
4979 if test -n "$CPPBIN"; then
4980 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 break 2
4993 done
4994 done
4995 IFS=$as_save_IFS
4999 CPPBIN=$ac_cv_prog_CPPBIN
5000 if test -n "$CPPBIN"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5002 $as_echo "$CPPBIN" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5010 if test -z "$ac_cv_prog_CPPBIN"; then
5011 ac_ct_CPPBIN=$CPPBIN
5012 # Extract the first word of "cpp", so it can be a program name with args.
5013 set dummy cpp; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$ac_ct_CPPBIN"; then
5020 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_ac_ct_CPPBIN="cpp"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5040 if test -n "$ac_ct_CPPBIN"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5042 $as_echo "$ac_ct_CPPBIN" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5048 if test "x$ac_ct_CPPBIN" = x; then
5049 CPPBIN="cpp"
5050 else
5051 case $cross_compiling:$ac_tool_warned in
5052 yes:)
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5055 ac_tool_warned=yes ;;
5056 esac
5057 CPPBIN=$ac_ct_CPPBIN
5059 else
5060 CPPBIN="$ac_cv_prog_CPPBIN"
5064 cat >>confdefs.h <<_ACEOF
5065 #define EXEEXT "$ac_exeext"
5066 _ACEOF
5068 if test -n "$ac_tool_prefix"; then
5069 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5070 set dummy ${ac_tool_prefix}ld; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_LD+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$LD"; then
5077 ac_cv_prog_LD="$LD" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_LD="${ac_tool_prefix}ld"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5090 done
5091 done
5092 IFS=$as_save_IFS
5096 LD=$ac_cv_prog_LD
5097 if test -n "$LD"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5099 $as_echo "$LD" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5107 if test -z "$ac_cv_prog_LD"; then
5108 ac_ct_LD=$LD
5109 # Extract the first word of "ld", so it can be a program name with args.
5110 set dummy ld; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$ac_ct_LD"; then
5117 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5118 else
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_ac_ct_LD="ld"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5130 done
5131 done
5132 IFS=$as_save_IFS
5136 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5137 if test -n "$ac_ct_LD"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5139 $as_echo "$ac_ct_LD" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5145 if test "x$ac_ct_LD" = x; then
5146 LD=""
5147 else
5148 case $cross_compiling:$ac_tool_warned in
5149 yes:)
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5152 ac_tool_warned=yes ;;
5153 esac
5154 LD=$ac_ct_LD
5156 else
5157 LD="$ac_cv_prog_LD"
5161 case $host in
5162 *-darwin*)
5163 with_fontconfig=${with_fontconfig:-no}
5165 *-mingw32*|*-cygwin*)
5166 enable_win16=${enable_win16:-no}
5167 CFLAGS="$CFLAGS -D_WIN32"
5169 esac
5171 case $host in
5172 x86_64*|amd64*)
5173 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5174 then
5175 CC="$CC -m32"
5176 CXX="$CXX -m32"
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5178 $as_echo_n "checking whether $CC works... " >&6; }
5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5184 main ()
5188 return 0;
5190 _ACEOF
5191 if ac_fn_c_try_link "$LINENO"; then :
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5193 $as_echo "yes" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5197 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5199 rm -f core conftest.err conftest.$ac_objext \
5200 conftest$ac_exeext conftest.$ac_ext
5201 host_cpu="i386"
5202 notice_platform="32-bit "
5203 TARGETFLAGS="-m32"
5205 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5206 export PKG_CONFIG_PATH
5207 enable_win16=${enable_win16:-yes}
5208 else
5209 if test "x${GCC}" = "xyes"
5210 then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5212 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214 /* end confdefs.h. */
5215 #include <stdarg.h>
5217 main ()
5219 void func(__builtin_ms_va_list *args);
5221 return 0;
5223 _ACEOF
5224 if ac_fn_c_try_compile "$LINENO"; then :
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5230 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 CC="$CC -m64"
5235 CXX="$CXX -m64"
5236 host_cpu="x86_64"
5237 notice_platform="64-bit "
5238 TARGETFLAGS="-m64"
5242 arm*)
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5244 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247 int ac_test(int i) { return i; }
5249 main ()
5251 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5253 return 0;
5255 _ACEOF
5256 if ac_fn_c_try_link "$LINENO"; then :
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5258 $as_echo "yes" >&6; }
5259 else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5262 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5264 rm -f core conftest.err conftest.$ac_objext \
5265 conftest$ac_exeext conftest.$ac_ext
5266 CFLAGS="$CFLAGS -marm"
5267 TARGETFLAGS="-marm"
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point" >&5
5270 $as_echo_n "checking whether $CC supports floating point... " >&6; }
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5275 main ()
5277 asm("vmrs r2,fpscr");
5279 return 0;
5281 _ACEOF
5282 if ac_fn_c_try_link "$LINENO"; then :
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5284 $as_echo "yes" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5288 as_fn_error $? "You need a target with floating point support to build Wine for ARM." "$LINENO" 5
5290 rm -f core conftest.err conftest.$ac_objext \
5291 conftest$ac_exeext conftest.$ac_ext
5293 i[3456789]86*)
5294 enable_win16=${enable_win16:-yes}
5296 esac
5298 enable_win16=${enable_win16:-no}
5299 enable_win64=${enable_win64:-no}
5301 enable_winetest=${enable_winetest:-$enable_tests}
5303 if test -n "$with_wine64"
5304 then
5305 if test "x$enable_win64" = "xyes"
5306 then
5307 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5308 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5310 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5311 You should create a separate build directory and run configure from there." "$LINENO" 5
5312 enable_fonts=${enable_fonts:-no}
5313 enable_server=${enable_server:-no}
5314 elif test "x$enable_win64" = "xyes"
5315 then
5316 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5320 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5321 if ${wine_cv_toolsdir+:} false; then :
5322 $as_echo_n "(cached) " >&6
5323 else
5324 wine_cv_toolsdir="$with_wine_tools"
5325 if test -z "$with_wine_tools"; then
5326 if test "$cross_compiling" = "yes"; then
5327 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5328 elif test -n "$with_wine64"; then
5329 wine_cv_toolsdir="$with_wine64"
5332 if test -z "$wine_cv_toolsdir"; then
5333 wine_makedep=tools/makedep
5334 wine_cv_toolsdir="\$(top_builddir)"
5335 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5336 wine_makedep=$wine_cv_toolsdir/tools/makedep
5337 case "$wine_cv_toolsdir" in
5338 /*) ;;
5339 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5340 esac
5341 enable_tools=${enable_tools:-no}
5342 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5343 else
5344 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5348 $as_echo "$wine_cv_toolsdir" >&6; }
5349 TOOLSDIR=$wine_cv_toolsdir
5351 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5352 then
5353 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5357 for ac_prog in flex
5359 # Extract the first word of "$ac_prog", so it can be a program name with args.
5360 set dummy $ac_prog; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_FLEX+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 if test -n "$FLEX"; then
5367 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_FLEX="$ac_prog"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 break 2
5380 done
5381 done
5382 IFS=$as_save_IFS
5386 FLEX=$ac_cv_prog_FLEX
5387 if test -n "$FLEX"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5389 $as_echo "$FLEX" >&6; }
5390 else
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5396 test -n "$FLEX" && break
5397 done
5398 test -n "$FLEX" || FLEX="none"
5400 if test "$FLEX" = "none"
5401 then
5402 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5405 $as_echo_n "checking whether flex is recent enough... " >&6; }
5406 cat >conftest.l <<EOF
5407 %top{
5408 #include "prediluvian.h"
5412 if $FLEX -t conftest.l >/dev/null 2>&5
5413 then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5415 $as_echo "yes" >&6; }
5416 else
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5419 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5422 for ac_prog in bison
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy $ac_prog; ac_word=$2
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427 $as_echo_n "checking for $ac_word... " >&6; }
5428 if ${ac_cv_prog_BISON+:} false; then :
5429 $as_echo_n "(cached) " >&6
5430 else
5431 if test -n "$BISON"; then
5432 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5433 else
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_prog_BISON="$ac_prog"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 break 2
5445 done
5446 done
5447 IFS=$as_save_IFS
5451 BISON=$ac_cv_prog_BISON
5452 if test -n "$BISON"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5454 $as_echo "$BISON" >&6; }
5455 else
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5461 test -n "$BISON" && break
5462 done
5463 test -n "$BISON" || BISON="none"
5465 if test "$BISON" = "none"
5466 then
5467 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5470 if test -n "$ac_tool_prefix"; then
5471 for ac_prog in ar gar
5473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_AR+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 if test -n "$AR"; then
5481 ac_cv_prog_AR="$AR" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 AR=$ac_cv_prog_AR
5501 if test -n "$AR"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5503 $as_echo "$AR" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5510 test -n "$AR" && break
5511 done
5513 if test -z "$AR"; then
5514 ac_ct_AR=$AR
5515 for ac_prog in ar gar
5517 # Extract the first word of "$ac_prog", so it can be a program name with args.
5518 set dummy $ac_prog; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if test -n "$ac_ct_AR"; then
5525 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5526 else
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH
5530 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_ac_ct_AR="$ac_prog"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 break 2
5538 done
5539 done
5540 IFS=$as_save_IFS
5544 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5545 if test -n "$ac_ct_AR"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5547 $as_echo "$ac_ct_AR" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5554 test -n "$ac_ct_AR" && break
5555 done
5557 if test "x$ac_ct_AR" = x; then
5558 AR="ar"
5559 else
5560 case $cross_compiling:$ac_tool_warned in
5561 yes:)
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5564 ac_tool_warned=yes ;;
5565 esac
5566 AR=$ac_ct_AR
5570 if test -n "$ac_tool_prefix"; then
5571 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5572 set dummy ${ac_tool_prefix}strip; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_STRIP+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -n "$STRIP"; then
5579 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5592 done
5593 done
5594 IFS=$as_save_IFS
5598 STRIP=$ac_cv_prog_STRIP
5599 if test -n "$STRIP"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5601 $as_echo "$STRIP" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5609 if test -z "$ac_cv_prog_STRIP"; then
5610 ac_ct_STRIP=$STRIP
5611 # Extract the first word of "strip", so it can be a program name with args.
5612 set dummy strip; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5616 $as_echo_n "(cached) " >&6
5617 else
5618 if test -n "$ac_ct_STRIP"; then
5619 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5620 else
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH
5624 IFS=$as_save_IFS
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_ac_ct_STRIP="strip"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 break 2
5632 done
5633 done
5634 IFS=$as_save_IFS
5638 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5639 if test -n "$ac_ct_STRIP"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5641 $as_echo "$ac_ct_STRIP" >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5647 if test "x$ac_ct_STRIP" = x; then
5648 STRIP="strip"
5649 else
5650 case $cross_compiling:$ac_tool_warned in
5651 yes:)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5654 ac_tool_warned=yes ;;
5655 esac
5656 STRIP=$ac_ct_STRIP
5658 else
5659 STRIP="$ac_cv_prog_STRIP"
5662 ARFLAGS=rc
5664 if test -n "$ac_tool_prefix"; then
5665 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5666 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_RANLIB+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -n "$RANLIB"; then
5673 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 RANLIB=$ac_cv_prog_RANLIB
5693 if test -n "$RANLIB"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5695 $as_echo "$RANLIB" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5703 if test -z "$ac_cv_prog_RANLIB"; then
5704 ac_ct_RANLIB=$RANLIB
5705 # Extract the first word of "ranlib", so it can be a program name with args.
5706 set dummy ranlib; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$ac_ct_RANLIB"; then
5713 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_ac_ct_RANLIB="ranlib"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5733 if test -n "$ac_ct_RANLIB"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5735 $as_echo "$ac_ct_RANLIB" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5741 if test "x$ac_ct_RANLIB" = x; then
5742 RANLIB=":"
5743 else
5744 case $cross_compiling:$ac_tool_warned in
5745 yes:)
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5748 ac_tool_warned=yes ;;
5749 esac
5750 RANLIB=$ac_ct_RANLIB
5752 else
5753 RANLIB="$ac_cv_prog_RANLIB"
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5757 $as_echo_n "checking whether ln -s works... " >&6; }
5758 LN_S=$as_ln_s
5759 if test "$LN_S" = "ln -s"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5761 $as_echo "yes" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5764 $as_echo "no, using $LN_S" >&6; }
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5768 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5769 if ${ac_cv_path_GREP+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -z "$GREP"; then
5773 ac_path_GREP_found=false
5774 # Loop through the user's path and test for each of PROGNAME-LIST
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_prog in grep ggrep; do
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5783 as_fn_executable_p "$ac_path_GREP" || continue
5784 # Check for GNU ac_path_GREP and select it if it is found.
5785 # Check for GNU $ac_path_GREP
5786 case `"$ac_path_GREP" --version 2>&1` in
5787 *GNU*)
5788 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5790 ac_count=0
5791 $as_echo_n 0123456789 >"conftest.in"
5792 while :
5794 cat "conftest.in" "conftest.in" >"conftest.tmp"
5795 mv "conftest.tmp" "conftest.in"
5796 cp "conftest.in" "conftest.nl"
5797 $as_echo 'GREP' >> "conftest.nl"
5798 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5799 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5800 as_fn_arith $ac_count + 1 && ac_count=$as_val
5801 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5802 # Best one so far, save it but keep looking for a better one
5803 ac_cv_path_GREP="$ac_path_GREP"
5804 ac_path_GREP_max=$ac_count
5806 # 10*(2^10) chars as input seems more than enough
5807 test $ac_count -gt 10 && break
5808 done
5809 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5810 esac
5812 $ac_path_GREP_found && break 3
5813 done
5814 done
5815 done
5816 IFS=$as_save_IFS
5817 if test -z "$ac_cv_path_GREP"; then
5818 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5820 else
5821 ac_cv_path_GREP=$GREP
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5826 $as_echo "$ac_cv_path_GREP" >&6; }
5827 GREP="$ac_cv_path_GREP"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5831 $as_echo_n "checking for egrep... " >&6; }
5832 if ${ac_cv_path_EGREP+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5836 then ac_cv_path_EGREP="$GREP -E"
5837 else
5838 if test -z "$EGREP"; then
5839 ac_path_EGREP_found=false
5840 # Loop through the user's path and test for each of PROGNAME-LIST
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_prog in egrep; do
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5849 as_fn_executable_p "$ac_path_EGREP" || continue
5850 # Check for GNU ac_path_EGREP and select it if it is found.
5851 # Check for GNU $ac_path_EGREP
5852 case `"$ac_path_EGREP" --version 2>&1` in
5853 *GNU*)
5854 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5856 ac_count=0
5857 $as_echo_n 0123456789 >"conftest.in"
5858 while :
5860 cat "conftest.in" "conftest.in" >"conftest.tmp"
5861 mv "conftest.tmp" "conftest.in"
5862 cp "conftest.in" "conftest.nl"
5863 $as_echo 'EGREP' >> "conftest.nl"
5864 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5866 as_fn_arith $ac_count + 1 && ac_count=$as_val
5867 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5868 # Best one so far, save it but keep looking for a better one
5869 ac_cv_path_EGREP="$ac_path_EGREP"
5870 ac_path_EGREP_max=$ac_count
5872 # 10*(2^10) chars as input seems more than enough
5873 test $ac_count -gt 10 && break
5874 done
5875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5876 esac
5878 $ac_path_EGREP_found && break 3
5879 done
5880 done
5881 done
5882 IFS=$as_save_IFS
5883 if test -z "$ac_cv_path_EGREP"; then
5884 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5886 else
5887 ac_cv_path_EGREP=$EGREP
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5893 $as_echo "$ac_cv_path_EGREP" >&6; }
5894 EGREP="$ac_cv_path_EGREP"
5897 # Extract the first word of "ldconfig", so it can be a program name with args.
5898 set dummy ldconfig; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_path_LDCONFIG+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 case $LDCONFIG in
5905 [\\/]* | ?:[\\/]*)
5906 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in /sbin /usr/sbin $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5924 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5926 esac
5928 LDCONFIG=$ac_cv_path_LDCONFIG
5929 if test -n "$LDCONFIG"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5931 $as_echo "$LDCONFIG" >&6; }
5932 else
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5938 for ac_prog in msgfmt
5940 # Extract the first word of "$ac_prog", so it can be a program name with args.
5941 set dummy $ac_prog; ac_word=$2
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5943 $as_echo_n "checking for $ac_word... " >&6; }
5944 if ${ac_cv_prog_MSGFMT+:} false; then :
5945 $as_echo_n "(cached) " >&6
5946 else
5947 if test -n "$MSGFMT"; then
5948 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5949 else
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 for as_dir in $PATH
5953 IFS=$as_save_IFS
5954 test -z "$as_dir" && as_dir=.
5955 for ac_exec_ext in '' $ac_executable_extensions; do
5956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5957 ac_cv_prog_MSGFMT="$ac_prog"
5958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 break 2
5961 done
5962 done
5963 IFS=$as_save_IFS
5967 MSGFMT=$ac_cv_prog_MSGFMT
5968 if test -n "$MSGFMT"; then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5970 $as_echo "$MSGFMT" >&6; }
5971 else
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5973 $as_echo "no" >&6; }
5977 test -n "$MSGFMT" && break
5978 done
5979 test -n "$MSGFMT" || MSGFMT="false"
5981 if ${ac_tool_prefix+:} false; then :
5982 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5983 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5987 $as_echo_n "(cached) " >&6
5988 else
5989 if test -n "$PKG_CONFIG"; then
5990 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5995 IFS=$as_save_IFS
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 break 2
6003 done
6004 done
6005 IFS=$as_save_IFS
6009 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6010 if test -n "$PKG_CONFIG"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6012 $as_echo "$PKG_CONFIG" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6020 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6021 if test "x$cross_compiling" = xyes; then :
6023 else
6024 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6025 # Extract the first word of "pkg-config", so it can be a program name with args.
6026 set dummy pkg-config; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$PKG_CONFIG"; then
6033 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_PKG_CONFIG="pkg-config"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6053 if test -n "$PKG_CONFIG"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6055 $as_echo "$PKG_CONFIG" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6063 else
6064 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6067 if test "x$enable_maintainer_mode" != "xyes"
6068 then
6069 FONTFORGE=""
6070 RSVG=""
6071 CONVERT=""
6072 ICOTOOL=""
6073 else
6074 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6075 for ac_prog in fontforge
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if ${ac_cv_prog_FONTFORGE+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 if test -n "$FONTFORGE"; then
6085 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090 IFS=$as_save_IFS
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_FONTFORGE="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 break 2
6098 done
6099 done
6100 IFS=$as_save_IFS
6104 FONTFORGE=$ac_cv_prog_FONTFORGE
6105 if test -n "$FONTFORGE"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6107 $as_echo "$FONTFORGE" >&6; }
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114 test -n "$FONTFORGE" && break
6115 done
6116 test -n "$FONTFORGE" || FONTFORGE="false"
6118 for ac_prog in rsvg-convert rsvg
6120 # Extract the first word of "$ac_prog", so it can be a program name with args.
6121 set dummy $ac_prog; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_RSVG+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 if test -n "$RSVG"; then
6128 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6133 IFS=$as_save_IFS
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_RSVG="$ac_prog"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 break 2
6141 done
6142 done
6143 IFS=$as_save_IFS
6147 RSVG=$ac_cv_prog_RSVG
6148 if test -n "$RSVG"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6150 $as_echo "$RSVG" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6157 test -n "$RSVG" && break
6158 done
6159 test -n "$RSVG" || RSVG="false"
6161 for ac_prog in convert
6163 # Extract the first word of "$ac_prog", so it can be a program name with args.
6164 set dummy $ac_prog; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_CONVERT+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$CONVERT"; then
6171 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_CONVERT="$ac_prog"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 CONVERT=$ac_cv_prog_CONVERT
6191 if test -n "$CONVERT"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6193 $as_echo "$CONVERT" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6200 test -n "$CONVERT" && break
6201 done
6202 test -n "$CONVERT" || CONVERT="false"
6204 for ac_prog in icotool
6206 # Extract the first word of "$ac_prog", so it can be a program name with args.
6207 set dummy $ac_prog; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ICOTOOL+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$ICOTOOL"; then
6214 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ICOTOOL="$ac_prog"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6227 done
6228 done
6229 IFS=$as_save_IFS
6233 ICOTOOL=$ac_cv_prog_ICOTOOL
6234 if test -n "$ICOTOOL"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6236 $as_echo "$ICOTOOL" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6243 test -n "$ICOTOOL" && break
6244 done
6245 test -n "$ICOTOOL" || ICOTOOL="false"
6247 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6248 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6250 if test "$CONVERT" = false
6251 then
6252 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6255 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6256 convert_version=`convert --version | head -n1`
6257 if test "x$convert_version" != "x"
6258 then
6259 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6260 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6261 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6262 then
6263 CONVERT=false
6266 if test "$CONVERT" = false
6267 then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6269 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6270 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6273 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6277 if test "$ICOTOOL" = false
6278 then
6279 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6280 else
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6282 $as_echo_n "checking for recent enough icotool... " >&6; }
6283 icotool_version=`icotool --version | head -n1`
6284 if test "x$icotool_version" != "x"
6285 then
6286 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6287 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6288 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6289 then
6290 ICOTOOL=false
6291 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6294 if test "$ICOTOOL" = false
6295 then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6297 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6298 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6301 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6305 with_gettext=yes
6306 with_gettextpo=yes
6307 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6310 test "x$with_gettext" != xno || MSGFMT=false
6311 if test "$MSGFMT" != "false"
6312 then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6314 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6315 cat >conftest.po <<EOF
6316 # comment
6317 msgctxt "ctxt"
6318 msgid "id"
6319 msgstr "str"
6321 if $MSGFMT -o /dev/null conftest.po 2>&5
6322 then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6324 $as_echo "yes" >&6; }
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6328 MSGFMT=false
6331 if test "$MSGFMT" = false; then :
6332 case "x$with_gettext" in
6333 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6334 xno) ;;
6335 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6336 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6337 esac
6338 enable_po=${enable_po:-no}
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6343 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6344 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 ac_check_lib_save_LIBS=$LIBS
6348 LIBS="-li386 $LIBS"
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6352 /* Override any GCC internal prototype to avoid an error.
6353 Use char because int might match the return type of a GCC
6354 builtin and then its argument prototype would still apply. */
6355 #ifdef __cplusplus
6356 extern "C"
6357 #endif
6358 char i386_set_ldt ();
6360 main ()
6362 return i386_set_ldt ();
6364 return 0;
6366 _ACEOF
6367 if ac_fn_c_try_link "$LINENO"; then :
6368 ac_cv_lib_i386_i386_set_ldt=yes
6369 else
6370 ac_cv_lib_i386_i386_set_ldt=no
6372 rm -f core conftest.err conftest.$ac_objext \
6373 conftest$ac_exeext conftest.$ac_ext
6374 LIBS=$ac_check_lib_save_LIBS
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6377 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6378 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6379 cat >>confdefs.h <<_ACEOF
6380 #define HAVE_LIBI386 1
6381 _ACEOF
6383 LIBS="-li386 $LIBS"
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6388 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6389 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 ac_check_lib_save_LIBS=$LIBS
6393 LIBS="-lossaudio $LIBS"
6394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6397 /* Override any GCC internal prototype to avoid an error.
6398 Use char because int might match the return type of a GCC
6399 builtin and then its argument prototype would still apply. */
6400 #ifdef __cplusplus
6401 extern "C"
6402 #endif
6403 char _oss_ioctl ();
6405 main ()
6407 return _oss_ioctl ();
6409 return 0;
6411 _ACEOF
6412 if ac_fn_c_try_link "$LINENO"; then :
6413 ac_cv_lib_ossaudio__oss_ioctl=yes
6414 else
6415 ac_cv_lib_ossaudio__oss_ioctl=no
6417 rm -f core conftest.err conftest.$ac_objext \
6418 conftest$ac_exeext conftest.$ac_ext
6419 LIBS=$ac_check_lib_save_LIBS
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6422 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6423 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6424 cat >>confdefs.h <<_ACEOF
6425 #define HAVE_LIBOSSAUDIO 1
6426 _ACEOF
6428 LIBS="-lossaudio $LIBS"
6433 OPENGL_LIBS=""
6437 # Check whether --enable-largefile was given.
6438 if test "${enable_largefile+set}" = set; then :
6439 enableval=$enable_largefile;
6442 if test "$enable_largefile" != no; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6445 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6446 if ${ac_cv_sys_largefile_CC+:} false; then :
6447 $as_echo_n "(cached) " >&6
6448 else
6449 ac_cv_sys_largefile_CC=no
6450 if test "$GCC" != yes; then
6451 ac_save_CC=$CC
6452 while :; do
6453 # IRIX 6.2 and later do not support large files by default,
6454 # so use the C compiler's -n32 option if that helps.
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #include <sys/types.h>
6458 /* Check that off_t can represent 2**63 - 1 correctly.
6459 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6460 since some C++ compilers masquerading as C compilers
6461 incorrectly reject 9223372036854775807. */
6462 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6463 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6464 && LARGE_OFF_T % 2147483647 == 1)
6465 ? 1 : -1];
6467 main ()
6471 return 0;
6473 _ACEOF
6474 if ac_fn_c_try_compile "$LINENO"; then :
6475 break
6477 rm -f core conftest.err conftest.$ac_objext
6478 CC="$CC -n32"
6479 if ac_fn_c_try_compile "$LINENO"; then :
6480 ac_cv_sys_largefile_CC=' -n32'; break
6482 rm -f core conftest.err conftest.$ac_objext
6483 break
6484 done
6485 CC=$ac_save_CC
6486 rm -f conftest.$ac_ext
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6490 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6491 if test "$ac_cv_sys_largefile_CC" != no; then
6492 CC=$CC$ac_cv_sys_largefile_CC
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6496 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6497 if ${ac_cv_sys_file_offset_bits+:} false; then :
6498 $as_echo_n "(cached) " >&6
6499 else
6500 while :; do
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6503 #include <sys/types.h>
6504 /* Check that off_t can represent 2**63 - 1 correctly.
6505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6506 since some C++ compilers masquerading as C compilers
6507 incorrectly reject 9223372036854775807. */
6508 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6510 && LARGE_OFF_T % 2147483647 == 1)
6511 ? 1 : -1];
6513 main ()
6517 return 0;
6519 _ACEOF
6520 if ac_fn_c_try_compile "$LINENO"; then :
6521 ac_cv_sys_file_offset_bits=no; break
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #define _FILE_OFFSET_BITS 64
6527 #include <sys/types.h>
6528 /* Check that off_t can represent 2**63 - 1 correctly.
6529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6530 since some C++ compilers masquerading as C compilers
6531 incorrectly reject 9223372036854775807. */
6532 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6534 && LARGE_OFF_T % 2147483647 == 1)
6535 ? 1 : -1];
6537 main ()
6541 return 0;
6543 _ACEOF
6544 if ac_fn_c_try_compile "$LINENO"; then :
6545 ac_cv_sys_file_offset_bits=64; break
6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6548 ac_cv_sys_file_offset_bits=unknown
6549 break
6550 done
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6553 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6554 case $ac_cv_sys_file_offset_bits in #(
6555 no | unknown) ;;
6557 cat >>confdefs.h <<_ACEOF
6558 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6559 _ACEOF
6561 esac
6562 rm -rf conftest*
6563 if test $ac_cv_sys_file_offset_bits = unknown; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6565 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6566 if ${ac_cv_sys_large_files+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 while :; do
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <sys/types.h>
6573 /* Check that off_t can represent 2**63 - 1 correctly.
6574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6575 since some C++ compilers masquerading as C compilers
6576 incorrectly reject 9223372036854775807. */
6577 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6579 && LARGE_OFF_T % 2147483647 == 1)
6580 ? 1 : -1];
6582 main ()
6586 return 0;
6588 _ACEOF
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 ac_cv_sys_large_files=no; break
6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #define _LARGE_FILES 1
6596 #include <sys/types.h>
6597 /* Check that off_t can represent 2**63 - 1 correctly.
6598 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6599 since some C++ compilers masquerading as C compilers
6600 incorrectly reject 9223372036854775807. */
6601 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6602 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6603 && LARGE_OFF_T % 2147483647 == 1)
6604 ? 1 : -1];
6606 main ()
6610 return 0;
6612 _ACEOF
6613 if ac_fn_c_try_compile "$LINENO"; then :
6614 ac_cv_sys_large_files=1; break
6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6617 ac_cv_sys_large_files=unknown
6618 break
6619 done
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6622 $as_echo "$ac_cv_sys_large_files" >&6; }
6623 case $ac_cv_sys_large_files in #(
6624 no | unknown) ;;
6626 cat >>confdefs.h <<_ACEOF
6627 #define _LARGE_FILES $ac_cv_sys_large_files
6628 _ACEOF
6630 esac
6631 rm -rf conftest*
6638 ac_ext=c
6639 ac_cpp='$CPP $CPPFLAGS'
6640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6644 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6645 # On Suns, sometimes $CPP names a directory.
6646 if test -n "$CPP" && test -d "$CPP"; then
6647 CPP=
6649 if test -z "$CPP"; then
6650 if ${ac_cv_prog_CPP+:} false; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 # Double quotes because CPP needs to be expanded
6654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6656 ac_preproc_ok=false
6657 for ac_c_preproc_warn_flag in '' yes
6659 # Use a header file that comes with gcc, so configuring glibc
6660 # with a fresh cross-compiler works.
6661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6662 # <limits.h> exists even on freestanding compilers.
6663 # On the NeXT, cc -E runs the code through the compiler's parser,
6664 # not just through cpp. "Syntax error" is here to catch this case.
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #ifdef __STDC__
6668 # include <limits.h>
6669 #else
6670 # include <assert.h>
6671 #endif
6672 Syntax error
6673 _ACEOF
6674 if ac_fn_c_try_cpp "$LINENO"; then :
6676 else
6677 # Broken: fails on valid input.
6678 continue
6680 rm -f conftest.err conftest.i conftest.$ac_ext
6682 # OK, works on sane cases. Now check whether nonexistent headers
6683 # can be detected and how.
6684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6686 #include <ac_nonexistent.h>
6687 _ACEOF
6688 if ac_fn_c_try_cpp "$LINENO"; then :
6689 # Broken: success on invalid input.
6690 continue
6691 else
6692 # Passes both tests.
6693 ac_preproc_ok=:
6694 break
6696 rm -f conftest.err conftest.i conftest.$ac_ext
6698 done
6699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6700 rm -f conftest.i conftest.err conftest.$ac_ext
6701 if $ac_preproc_ok; then :
6702 break
6705 done
6706 ac_cv_prog_CPP=$CPP
6709 CPP=$ac_cv_prog_CPP
6710 else
6711 ac_cv_prog_CPP=$CPP
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6714 $as_echo "$CPP" >&6; }
6715 ac_preproc_ok=false
6716 for ac_c_preproc_warn_flag in '' yes
6718 # Use a header file that comes with gcc, so configuring glibc
6719 # with a fresh cross-compiler works.
6720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6721 # <limits.h> exists even on freestanding compilers.
6722 # On the NeXT, cc -E runs the code through the compiler's parser,
6723 # not just through cpp. "Syntax error" is here to catch this case.
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 #ifdef __STDC__
6727 # include <limits.h>
6728 #else
6729 # include <assert.h>
6730 #endif
6731 Syntax error
6732 _ACEOF
6733 if ac_fn_c_try_cpp "$LINENO"; then :
6735 else
6736 # Broken: fails on valid input.
6737 continue
6739 rm -f conftest.err conftest.i conftest.$ac_ext
6741 # OK, works on sane cases. Now check whether nonexistent headers
6742 # can be detected and how.
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 #include <ac_nonexistent.h>
6746 _ACEOF
6747 if ac_fn_c_try_cpp "$LINENO"; then :
6748 # Broken: success on invalid input.
6749 continue
6750 else
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6755 rm -f conftest.err conftest.i conftest.$ac_ext
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.i conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then :
6762 else
6763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6765 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6766 See \`config.log' for more details" "$LINENO" 5; }
6769 ac_ext=c
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6777 $as_echo_n "checking for ANSI C header files... " >&6; }
6778 if ${ac_cv_header_stdc+:} false; then :
6779 $as_echo_n "(cached) " >&6
6780 else
6781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6783 #include <stdlib.h>
6784 #include <stdarg.h>
6785 #include <string.h>
6786 #include <float.h>
6789 main ()
6793 return 0;
6795 _ACEOF
6796 if ac_fn_c_try_compile "$LINENO"; then :
6797 ac_cv_header_stdc=yes
6798 else
6799 ac_cv_header_stdc=no
6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6803 if test $ac_cv_header_stdc = yes; then
6804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6807 #include <string.h>
6809 _ACEOF
6810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6811 $EGREP "memchr" >/dev/null 2>&1; then :
6813 else
6814 ac_cv_header_stdc=no
6816 rm -f conftest*
6820 if test $ac_cv_header_stdc = yes; then
6821 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6824 #include <stdlib.h>
6826 _ACEOF
6827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6828 $EGREP "free" >/dev/null 2>&1; then :
6830 else
6831 ac_cv_header_stdc=no
6833 rm -f conftest*
6837 if test $ac_cv_header_stdc = yes; then
6838 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6839 if test "$cross_compiling" = yes; then :
6841 else
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6844 #include <ctype.h>
6845 #include <stdlib.h>
6846 #if ((' ' & 0x0FF) == 0x020)
6847 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6848 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6849 #else
6850 # define ISLOWER(c) \
6851 (('a' <= (c) && (c) <= 'i') \
6852 || ('j' <= (c) && (c) <= 'r') \
6853 || ('s' <= (c) && (c) <= 'z'))
6854 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6855 #endif
6857 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6859 main ()
6861 int i;
6862 for (i = 0; i < 256; i++)
6863 if (XOR (islower (i), ISLOWER (i))
6864 || toupper (i) != TOUPPER (i))
6865 return 2;
6866 return 0;
6868 _ACEOF
6869 if ac_fn_c_try_run "$LINENO"; then :
6871 else
6872 ac_cv_header_stdc=no
6874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6875 conftest.$ac_objext conftest.beam conftest.$ac_ext
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6881 $as_echo "$ac_cv_header_stdc" >&6; }
6882 if test $ac_cv_header_stdc = yes; then
6884 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6888 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6889 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6890 inttypes.h stdint.h unistd.h
6891 do :
6892 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6893 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6895 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6896 cat >>confdefs.h <<_ACEOF
6897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 _ACEOF
6902 done
6905 for ac_header in \
6906 AL/al.h \
6907 ApplicationServices/ApplicationServices.h \
6908 AudioToolbox/AudioConverter.h \
6909 AudioUnit/AudioUnit.h \
6910 AudioUnit/AudioComponent.h \
6911 CL/cl.h \
6912 Carbon/Carbon.h \
6913 CommonCrypto/CommonDigest.h \
6914 CoreAudio/CoreAudio.h \
6915 CoreServices/CoreServices.h \
6916 DiskArbitration/DiskArbitration.h \
6917 EGL/egl.h \
6918 IOKit/IOKitLib.h \
6919 IOKit/hid/IOHIDLib.h \
6920 OpenAL/al.h \
6921 OpenCL/opencl.h \
6922 QuickTime/ImageCompression.h \
6923 Security/Security.h \
6924 alias.h \
6925 alsa/asoundlib.h \
6926 arpa/inet.h \
6927 arpa/nameser.h \
6928 asm/types.h \
6929 asm/user.h \
6930 curses.h \
6931 direct.h \
6932 dirent.h \
6933 dlfcn.h \
6934 elf.h \
6935 float.h \
6936 fnmatch.h \
6937 getopt.h \
6938 gettext-po.h \
6939 grp.h \
6940 gsm.h \
6941 gsm/gsm.h \
6942 ieeefp.h \
6943 inet/mib2.h \
6944 io.h \
6945 kstat.h \
6946 libproc.h \
6947 link.h \
6948 linux/cdrom.h \
6949 linux/compiler.h \
6950 linux/filter.h \
6951 linux/hdreg.h \
6952 linux/hidraw.h \
6953 linux/input.h \
6954 linux/ioctl.h \
6955 linux/joystick.h \
6956 linux/major.h \
6957 linux/param.h \
6958 linux/serial.h \
6959 linux/types.h \
6960 linux/ucdrom.h \
6961 lwp.h \
6962 mach-o/nlist.h \
6963 mach-o/loader.h \
6964 mach/mach.h \
6965 mach/machine.h \
6966 machine/cpu.h \
6967 machine/limits.h \
6968 machine/sysarch.h \
6969 mntent.h \
6970 ncurses.h \
6971 netdb.h \
6972 netinet/in.h \
6973 netinet/in_systm.h \
6974 netinet/tcp.h \
6975 netinet/tcp_fsm.h \
6976 pcap/pcap.h \
6977 poll.h \
6978 port.h \
6979 process.h \
6980 pthread.h \
6981 pwd.h \
6982 sched.h \
6983 scsi/scsi.h \
6984 scsi/scsi_ioctl.h \
6985 scsi/sg.h \
6986 stdbool.h \
6987 stdint.h \
6988 stropts.h \
6989 sys/asoundlib.h \
6990 sys/attr.h \
6991 sys/auxv.h \
6992 sys/cdio.h \
6993 sys/elf32.h \
6994 sys/epoll.h \
6995 sys/event.h \
6996 sys/exec_elf.h \
6997 sys/filio.h \
6998 sys/inotify.h \
6999 sys/ioctl.h \
7000 sys/ipc.h \
7001 sys/limits.h \
7002 sys/link.h \
7003 sys/mman.h \
7004 sys/modem.h \
7005 sys/msg.h \
7006 sys/mtio.h \
7007 sys/param.h \
7008 sys/poll.h \
7009 sys/prctl.h \
7010 sys/protosw.h \
7011 sys/ptrace.h \
7012 sys/queue.h \
7013 sys/resource.h \
7014 sys/scsiio.h \
7015 sys/shm.h \
7016 sys/signal.h \
7017 sys/socket.h \
7018 sys/socketvar.h \
7019 sys/sockio.h \
7020 sys/statvfs.h \
7021 sys/strtio.h \
7022 sys/syscall.h \
7023 sys/sysinfo.h \
7024 sys/tihdr.h \
7025 sys/time.h \
7026 sys/timeout.h \
7027 sys/times.h \
7028 sys/uio.h \
7029 sys/user.h \
7030 sys/utsname.h \
7031 sys/vm86.h \
7032 sys/vnode.h \
7033 sys/wait.h \
7034 syscall.h \
7035 termios.h \
7036 unistd.h \
7037 utime.h \
7038 valgrind/memcheck.h \
7039 valgrind/valgrind.h \
7040 zlib.h
7042 do :
7043 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7044 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7046 cat >>confdefs.h <<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 _ACEOF
7052 done
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7055 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7056 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7057 $as_echo_n "(cached) " >&6
7058 else
7059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7060 /* end confdefs.h. */
7061 #include <sys/types.h>
7063 main ()
7065 return makedev(0, 0);
7067 return 0;
7069 _ACEOF
7070 if ac_fn_c_try_link "$LINENO"; then :
7071 ac_cv_header_sys_types_h_makedev=yes
7072 else
7073 ac_cv_header_sys_types_h_makedev=no
7075 rm -f core conftest.err conftest.$ac_objext \
7076 conftest$ac_exeext conftest.$ac_ext
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7080 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7082 if test $ac_cv_header_sys_types_h_makedev = no; then
7083 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7084 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7086 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7092 if test $ac_cv_header_sys_mkdev_h = no; then
7093 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7094 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7096 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7105 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7106 if ${ac_cv_header_stat_broken+:} false; then :
7107 $as_echo_n "(cached) " >&6
7108 else
7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110 /* end confdefs.h. */
7111 #include <sys/types.h>
7112 #include <sys/stat.h>
7114 #if defined S_ISBLK && defined S_IFDIR
7115 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7116 #endif
7118 #if defined S_ISBLK && defined S_IFCHR
7119 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7120 #endif
7122 #if defined S_ISLNK && defined S_IFREG
7123 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7124 #endif
7126 #if defined S_ISSOCK && defined S_IFREG
7127 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7128 #endif
7130 _ACEOF
7131 if ac_fn_c_try_compile "$LINENO"; then :
7132 ac_cv_header_stat_broken=no
7133 else
7134 ac_cv_header_stat_broken=yes
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7139 $as_echo "$ac_cv_header_stat_broken" >&6; }
7140 if test $ac_cv_header_stat_broken = yes; then
7142 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7148 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7149 do :
7150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7151 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7152 #ifdef HAVE_SYS_PARAM_H
7153 # include <sys/param.h>
7154 #endif
7156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7159 _ACEOF
7163 done
7166 for ac_header in \
7167 netinet/ip.h \
7168 net/if.h \
7169 net/if_arp.h \
7170 net/if_dl.h \
7171 net/if_types.h \
7172 net/route.h \
7173 netinet/if_ether.h \
7174 netinet/if_inarp.h \
7175 netinet/in_pcb.h \
7176 netinet/ip_icmp.h \
7177 netinet/ip_var.h \
7178 netinet/udp.h \
7179 netipx/ipx.h \
7180 sys/un.h \
7182 do :
7183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7184 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7185 #ifdef HAVE_SYS_SOCKET_H
7186 # include <sys/socket.h>
7187 #endif
7188 #ifdef HAVE_SYS_SOCKETVAR_H
7189 # include <sys/socketvar.h>
7190 #endif
7191 #ifdef HAVE_NET_ROUTE_H
7192 # include <net/route.h>
7193 #endif
7194 #ifdef HAVE_NETINET_IN_H
7195 # include <netinet/in.h>
7196 #endif
7197 #ifdef HAVE_NETINET_IN_SYSTM_H
7198 # include <netinet/in_systm.h>
7199 #endif
7200 #ifdef HAVE_NET_IF_H
7201 # include <net/if.h>
7202 #endif
7203 #ifdef HAVE_NETINET_IP_H
7204 # include <netinet/ip.h>
7205 #endif
7207 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7208 cat >>confdefs.h <<_ACEOF
7209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7210 _ACEOF
7214 done
7217 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7218 do :
7219 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7220 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7221 #ifdef HAVE_ALIAS_H
7222 # include <alias.h>
7223 #endif
7224 #ifdef HAVE_SYS_SOCKET_H
7225 # include <sys/socket.h>
7226 #endif
7227 #ifdef HAVE_SYS_SOCKETVAR_H
7228 # include <sys/socketvar.h>
7229 #endif
7230 #ifdef HAVE_SYS_TIMEOUT_H
7231 # include <sys/timeout.h>
7232 #endif
7233 #ifdef HAVE_NETINET_IN_H
7234 # include <netinet/in.h>
7235 #endif
7236 #ifdef HAVE_NETINET_IN_SYSTM_H
7237 # include <netinet/in_systm.h>
7238 #endif
7239 #ifdef HAVE_NETINET_IP_H
7240 # include <netinet/ip.h>
7241 #endif
7242 #ifdef HAVE_NETINET_IP_VAR_H
7243 # include <netinet/ip_var.h>
7244 #endif
7245 #ifdef HAVE_NETINET_IP_ICMP_H
7246 # include <netinet/ip_icmp.h>
7247 #endif
7248 #ifdef HAVE_NETINET_UDP_H
7249 # include <netinet/udp.h>
7250 #endif
7251 #ifdef HAVE_NETINET_TCP_H
7252 # include <netinet/tcp.h>
7253 #endif
7254 #ifdef HAVE_NETINET_TCP_TIMER_H
7255 #include <netinet/tcp_timer.h>
7256 #endif
7258 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7261 _ACEOF
7265 done
7268 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7269 do :
7270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7272 #ifdef HAVE_ASM_TYPES_H
7273 # include <asm/types.h>
7274 #endif
7275 #ifdef HAVE_SYS_SOCKET_H
7276 # include <sys/socket.h>
7277 #endif
7278 #ifdef HAVE_LINUX_TYPES_H
7279 # include <linux/types.h>
7280 #endif
7282 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7283 cat >>confdefs.h <<_ACEOF
7284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7285 _ACEOF
7289 done
7292 for ac_header in mach-o/dyld_images.h
7293 do :
7294 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7295 # include <stdbool.h>
7296 #endif
7297 #ifdef HAVE_STDINT_H
7298 # include <stdint.h>
7299 #endif
7301 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7302 cat >>confdefs.h <<_ACEOF
7303 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7304 _ACEOF
7308 done
7311 for ac_header in resolv.h
7312 do :
7313 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7314 #ifdef HAVE_SYS_SOCKET_H
7315 # include <sys/socket.h>
7316 #endif
7317 #ifdef HAVE_NETINET_IN_H
7318 # include <netinet/in.h>
7319 #endif
7320 #ifdef HAVE_ARPA_NAMESER_H
7321 # include <arpa/nameser.h>
7322 #endif
7324 if test "x$ac_cv_header_resolv_h" = xyes; then :
7325 cat >>confdefs.h <<_ACEOF
7326 #define HAVE_RESOLV_H 1
7327 _ACEOF
7331 done
7334 for ac_header in ifaddrs.h
7335 do :
7336 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7338 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7339 cat >>confdefs.h <<_ACEOF
7340 #define HAVE_IFADDRS_H 1
7341 _ACEOF
7345 done
7348 for ac_header in sys/ucontext.h
7349 do :
7350 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7352 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7353 cat >>confdefs.h <<_ACEOF
7354 #define HAVE_SYS_UCONTEXT_H 1
7355 _ACEOF
7359 done
7362 for ac_header in sys/thr.h
7363 do :
7364 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7365 #ifdef HAVE_SYS_UCONTEXT_H
7366 #include <sys/ucontext.h>
7367 #endif
7369 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7370 cat >>confdefs.h <<_ACEOF
7371 #define HAVE_SYS_THR_H 1
7372 _ACEOF
7376 done
7379 for ac_header in pthread_np.h
7380 do :
7381 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7382 #include <pthread.h>
7383 #endif
7385 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7386 cat >>confdefs.h <<_ACEOF
7387 #define HAVE_PTHREAD_NP_H 1
7388 _ACEOF
7392 done
7395 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7396 do :
7397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7398 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7399 #include <sys/time.h>
7400 #endif
7401 #include <sys/types.h>
7402 #ifdef HAVE_ASM_TYPES_H
7403 #include <asm/types.h>
7404 #endif
7406 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7407 cat >>confdefs.h <<_ACEOF
7408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7409 _ACEOF
7413 done
7416 for ac_header in libprocstat.h
7417 do :
7418 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7419 #include <sys/param.h>
7420 #endif
7421 #ifdef HAVE_SYS_QUEUE_H
7422 #include <sys/queue.h>
7423 #endif
7424 #ifdef HAVE_SYS_SOCKET_H
7425 #include <sys/socket.h>
7426 #endif
7428 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7429 cat >>confdefs.h <<_ACEOF
7430 #define HAVE_LIBPROCSTAT_H 1
7431 _ACEOF
7435 done
7439 dlldir="\${libdir}/wine"
7441 DLLFLAGS="-D_REENTRANT"
7443 LDRPATH_INSTALL=""
7445 LDRPATH_LOCAL=""
7447 LDEXECFLAGS=""
7449 WINELOADER_LDFLAGS=""
7451 LIBEXT="so"
7452 DLLEXT=".so"
7453 IMPLIBEXT="def"
7454 # Extract the first word of "ldd", so it can be a program name with args.
7455 set dummy ldd; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if ${ac_cv_path_LDD+:} false; then :
7459 $as_echo_n "(cached) " >&6
7460 else
7461 case $LDD in
7462 [\\/]* | ?:[\\/]*)
7463 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 as_dummy="/sbin:/usr/sbin:$PATH"
7468 for as_dir in $as_dummy
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7482 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7484 esac
7486 LDD=$ac_cv_path_LDD
7487 if test -n "$LDD"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7489 $as_echo "$LDD" >&6; }
7490 else
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7496 if test -n "$ac_tool_prefix"; then
7497 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7498 set dummy ${ac_tool_prefix}otool; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if ${ac_cv_prog_OTOOL+:} false; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$OTOOL"; then
7505 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7514 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7518 done
7519 done
7520 IFS=$as_save_IFS
7524 OTOOL=$ac_cv_prog_OTOOL
7525 if test -n "$OTOOL"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7527 $as_echo "$OTOOL" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7535 if test -z "$ac_cv_prog_OTOOL"; then
7536 ac_ct_OTOOL=$OTOOL
7537 # Extract the first word of "otool", so it can be a program name with args.
7538 set dummy otool; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7540 $as_echo_n "checking for $ac_word... " >&6; }
7541 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7542 $as_echo_n "(cached) " >&6
7543 else
7544 if test -n "$ac_ct_OTOOL"; then
7545 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7546 else
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 for as_dir in $PATH
7550 IFS=$as_save_IFS
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7554 ac_cv_prog_ac_ct_OTOOL="otool"
7555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 break 2
7558 done
7559 done
7560 IFS=$as_save_IFS
7564 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7565 if test -n "$ac_ct_OTOOL"; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7567 $as_echo "$ac_ct_OTOOL" >&6; }
7568 else
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7570 $as_echo "no" >&6; }
7573 if test "x$ac_ct_OTOOL" = x; then
7574 OTOOL="otool"
7575 else
7576 case $cross_compiling:$ac_tool_warned in
7577 yes:)
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7580 ac_tool_warned=yes ;;
7581 esac
7582 OTOOL=$ac_ct_OTOOL
7584 else
7585 OTOOL="$ac_cv_prog_OTOOL"
7588 if test -n "$ac_tool_prefix"; then
7589 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7590 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if ${ac_cv_prog_READELF+:} false; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$READELF"; then
7597 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7610 done
7611 done
7612 IFS=$as_save_IFS
7616 READELF=$ac_cv_prog_READELF
7617 if test -n "$READELF"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7619 $as_echo "$READELF" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7627 if test -z "$ac_cv_prog_READELF"; then
7628 ac_ct_READELF=$READELF
7629 # Extract the first word of "readelf", so it can be a program name with args.
7630 set dummy readelf; ac_word=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 $as_echo_n "checking for $ac_word... " >&6; }
7633 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7634 $as_echo_n "(cached) " >&6
7635 else
7636 if test -n "$ac_ct_READELF"; then
7637 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7638 else
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7642 IFS=$as_save_IFS
7643 test -z "$as_dir" && as_dir=.
7644 for ac_exec_ext in '' $ac_executable_extensions; do
7645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7646 ac_cv_prog_ac_ct_READELF="readelf"
7647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 break 2
7650 done
7651 done
7652 IFS=$as_save_IFS
7656 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7657 if test -n "$ac_ct_READELF"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7659 $as_echo "$ac_ct_READELF" >&6; }
7660 else
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7662 $as_echo "no" >&6; }
7665 if test "x$ac_ct_READELF" = x; then
7666 READELF="true"
7667 else
7668 case $cross_compiling:$ac_tool_warned in
7669 yes:)
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7672 ac_tool_warned=yes ;;
7673 esac
7674 READELF=$ac_ct_READELF
7676 else
7677 READELF="$ac_cv_prog_READELF"
7680 wine_rules_file=conf$$rules.make
7681 rm -f $wine_rules_file
7682 SUBDIRS=""
7684 DISABLED_SUBDIRS=""
7686 CONFIGURE_TARGETS=""
7688 ALL_TEST_RESOURCES=""
7691 wine_fn_append_file ()
7693 as_fn_append $1 " \\$as_nl $2"
7696 wine_fn_append_rule ()
7698 $as_echo "$1" >>$wine_rules_file
7701 wine_fn_has_flag ()
7703 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7706 wine_fn_all_rules ()
7708 wine_fn_append_file SUBDIRS $ac_dir
7709 wine_fn_append_rule \
7710 "all: $ac_dir
7711 .PHONY: $ac_dir
7712 $ac_dir: dummy
7713 @cd $ac_dir && \$(MAKE)"
7716 wine_fn_install_rules ()
7718 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7720 wine_fn_append_rule \
7721 ".PHONY: $ac_dir/install $ac_dir/uninstall
7722 $ac_dir/install:: $ac_dir
7723 @cd $ac_dir && \$(MAKE) install
7724 $ac_dir/uninstall::
7725 @cd $ac_dir && \$(MAKE) uninstall
7726 install:: $ac_dir/install
7727 __uninstall__: $ac_dir/uninstall"
7729 if wine_fn_has_flag install-lib
7730 then
7731 wine_fn_append_rule \
7732 ".PHONY: $ac_dir/install-lib
7733 $ac_dir/install-lib:: $ac_dir
7734 @cd $ac_dir && \$(MAKE) install-lib
7735 install-lib:: $ac_dir/install-lib"
7738 if wine_fn_has_flag install-dev
7739 then
7740 wine_fn_append_rule \
7741 ".PHONY: $ac_dir/install-dev
7742 $ac_dir/install-dev:: $ac_dir
7743 @cd $ac_dir && \$(MAKE) install-dev
7744 install-dev:: $ac_dir/install-dev"
7748 wine_fn_clean_rules ()
7750 ac_clean=$@
7752 if wine_fn_has_flag clean
7753 then
7754 wine_fn_append_rule \
7755 "$ac_dir/clean: dummy
7756 @cd $ac_dir && \$(MAKE) clean"
7757 else
7758 wine_fn_append_rule \
7759 "$ac_dir/clean: dummy
7760 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7762 wine_fn_append_rule \
7763 "__clean__: $ac_dir/clean
7764 .PHONY: $ac_dir/clean"
7767 wine_fn_disabled_rules ()
7769 ac_clean=$@
7771 wine_fn_append_file SUBDIRS $ac_dir
7772 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7773 wine_fn_append_rule \
7774 "__clean__: $ac_dir/clean
7775 .PHONY: $ac_dir/clean
7776 $ac_dir/clean: dummy
7777 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7780 wine_fn_config_makefile ()
7782 ac_dir=$1
7783 ac_enable=$2
7784 ac_flags=$3
7786 case $ac_dir in
7787 fonts|server) test -z "$with_wine64" || return ;;
7788 esac
7789 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7790 wine_fn_disabled_rules; return
7792 wine_fn_all_rules
7793 wine_fn_install_rules
7794 wine_fn_clean_rules
7797 wine_fn_config_lib ()
7799 ac_name=$1
7800 ac_flags=$2
7801 ac_dir=dlls/$ac_name
7802 ac_deps="include"
7804 if test "x$enable_tools" = xno; then :
7806 else
7807 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7809 wine_fn_all_rules
7810 wine_fn_clean_rules
7812 wine_fn_append_rule \
7813 ".PHONY: $ac_dir/install $ac_dir/uninstall
7814 $ac_dir/install:: $ac_dir
7815 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7816 $ac_dir/uninstall::
7817 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7818 install install-dev:: $ac_dir/install
7819 __uninstall__: $ac_dir/uninstall
7820 __builddeps__: $ac_dir
7821 $ac_dir: $ac_deps"
7824 wine_fn_config_dll ()
7826 ac_name=$1
7827 ac_dir=dlls/$ac_name
7828 ac_enable=$2
7829 ac_flags=$3
7830 ac_implib=${4:-$ac_name}
7831 ac_file=$ac_dir/lib$ac_implib
7832 ac_dll=$ac_name
7833 ac_deps="include"
7834 ac_implibflags=""
7836 if test "x$enable_tools" = xno; then :
7838 else
7839 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7841 case $ac_name in
7842 *.*16) ac_implibflags=" -m16" ;;
7843 *.*) ;;
7844 *) ac_dll=$ac_dll.dll ;;
7845 esac
7847 ac_clean=
7848 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7849 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7851 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7852 if test "$ac_enable" != enable_win16
7853 then
7854 wine_fn_clean_rules $ac_clean
7855 wine_fn_append_file SUBDIRS $ac_dir
7856 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7857 else
7858 wine_fn_disabled_rules $ac_clean
7859 return
7861 else
7862 wine_fn_all_rules
7863 wine_fn_clean_rules $ac_clean
7864 wine_fn_append_rule \
7865 "$ac_dir: __builddeps__
7866 manpages htmlpages sgmlpages xmlpages::
7867 @cd $ac_dir && \$(MAKE) \$@
7868 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7869 install install-lib:: $ac_dir/install-lib
7870 __uninstall__: $ac_dir/uninstall"
7871 if test -n "$DLLEXT"
7872 then
7873 wine_fn_append_rule \
7874 "$ac_dir/install-lib:: $ac_dir
7875 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7876 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7877 $ac_dir/uninstall::
7878 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7879 else
7880 wine_fn_append_rule \
7881 "$ac_dir/install-lib:: $ac_dir
7882 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7883 $ac_dir/uninstall::
7884 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7888 if wine_fn_has_flag staticimplib
7889 then
7890 wine_fn_append_rule \
7891 "__builddeps__: $ac_file.a
7892 $ac_file.a $ac_file.cross.a: $ac_deps
7893 $ac_file.a: dummy
7894 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7895 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7896 $ac_dir/install-dev:: $ac_file.a
7897 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7898 $ac_dir/uninstall::
7899 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7900 install install-dev:: $ac_dir/install-dev
7901 __uninstall__: $ac_dir/uninstall"
7903 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7904 then
7905 wine_fn_append_rule \
7906 "__builddeps__: $ac_file.cross.a
7907 $ac_file.cross.a: dummy
7908 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7911 elif wine_fn_has_flag implib
7912 then
7913 wine_fn_append_rule \
7914 "__builddeps__: $ac_file.$IMPLIBEXT
7915 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7916 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7917 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7918 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7919 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7920 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7921 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7922 $ac_dir/uninstall::
7923 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7924 install install-dev:: $ac_dir/install-dev
7925 __uninstall__: $ac_dir/uninstall"
7926 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7927 then
7928 wine_fn_append_rule \
7929 "__builddeps__: $ac_file.cross.a
7930 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7931 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7936 wine_fn_config_program ()
7938 ac_name=$1
7939 ac_dir=programs/$ac_name
7940 ac_enable=$2
7941 ac_flags=$3
7942 ac_program=$ac_name
7944 case $ac_name in
7945 *.*) ;;
7946 *) ac_program=$ac_program.exe ;;
7947 esac
7949 ac_clean=
7950 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7951 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7953 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7954 wine_fn_disabled_rules $ac_clean; return
7957 wine_fn_all_rules
7958 wine_fn_clean_rules $ac_clean
7959 wine_fn_append_rule "$ac_dir: __builddeps__"
7961 wine_fn_has_flag install || return
7962 wine_fn_append_rule \
7963 ".PHONY: $ac_dir/install $ac_dir/uninstall
7964 install install-lib:: $ac_dir/install
7965 __uninstall__: $ac_dir/uninstall"
7967 if test -n "$DLLEXT"
7968 then
7969 wine_fn_append_rule \
7970 "$ac_dir/install:: $ac_dir
7971 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7972 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7973 $ac_dir/uninstall::
7974 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7976 if test -z "$with_wine64" && wine_fn_has_flag installbin
7977 then
7978 wine_fn_append_rule \
7979 "$ac_dir/install:: __tooldeps__
7980 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7981 $ac_dir/uninstall::
7982 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7984 else
7985 wine_fn_append_rule \
7986 "$ac_dir/install:: $ac_dir
7987 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7988 $ac_dir/uninstall::
7989 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7992 if test -z "$with_wine64" && wine_fn_has_flag manpage
7993 then
7994 wine_fn_append_rule \
7995 "$ac_dir/install:: $ac_dir
7996 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7997 $ac_dir/uninstall::
7998 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8002 wine_fn_config_test ()
8004 ac_dir=$1
8005 ac_name=$2
8006 ac_flags=$3
8008 ac_clean=
8009 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8010 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8012 if test "x$enable_tests" = xno; then :
8013 wine_fn_disabled_rules $ac_clean; return
8016 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8017 wine_fn_all_rules
8018 wine_fn_clean_rules $ac_clean
8020 wine_fn_append_rule \
8021 "$ac_dir: __builddeps__
8022 programs/winetest: $ac_dir
8023 check test: $ac_dir/test
8024 .PHONY: $ac_dir/test
8025 $ac_dir/test: dummy
8026 @cd $ac_dir && \$(MAKE) test
8027 testclean::
8028 \$(RM) $ac_dir/*.ok"
8030 if test -n "$CROSSTARGET"
8031 then
8032 wine_fn_append_rule \
8033 "crosstest: $ac_dir/crosstest
8034 .PHONY: $ac_dir/crosstest
8035 $ac_dir/crosstest: __builddeps__ dummy
8036 @cd $ac_dir && \$(MAKE) crosstest"
8040 wine_fn_config_tool ()
8042 ac_dir=$1
8043 ac_flags=$2
8044 if test "x$enable_tools" = xno; then :
8045 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8048 wine_fn_all_rules
8049 wine_fn_install_rules
8050 wine_fn_clean_rules
8052 wine_fn_append_rule "__tooldeps__: $ac_dir"
8053 wine_fn_append_rule "$ac_dir: libs/port"
8054 case $ac_dir in
8055 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8056 esac
8059 wine_fn_config_symlink ()
8061 ac_linkdir=
8062 if test "x$1" = "x-d"
8063 then
8064 ac_linkdir=$2
8065 shift; shift
8067 ac_links=$@
8068 wine_fn_append_rule \
8069 "$ac_links:
8070 @./config.status \$@"
8071 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8072 test -n "$ac_linkdir" || return
8073 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8076 wine_binary="wine"
8077 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8078 WINELOADER_PROGRAMS="$wine_binary"
8080 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8082 case $host_os in
8083 cygwin*|mingw32*)
8084 if test -n "$ac_tool_prefix"; then
8085 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8086 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088 $as_echo_n "checking for $ac_word... " >&6; }
8089 if ${ac_cv_prog_DLLTOOL+:} false; then :
8090 $as_echo_n "(cached) " >&6
8091 else
8092 if test -n "$DLLTOOL"; then
8093 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8094 else
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096 for as_dir in $PATH
8098 IFS=$as_save_IFS
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104 break 2
8106 done
8107 done
8108 IFS=$as_save_IFS
8112 DLLTOOL=$ac_cv_prog_DLLTOOL
8113 if test -n "$DLLTOOL"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8115 $as_echo "$DLLTOOL" >&6; }
8116 else
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8123 if test -z "$ac_cv_prog_DLLTOOL"; then
8124 ac_ct_DLLTOOL=$DLLTOOL
8125 # Extract the first word of "dlltool", so it can be a program name with args.
8126 set dummy dlltool; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8128 $as_echo_n "checking for $ac_word... " >&6; }
8129 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 if test -n "$ac_ct_DLLTOOL"; then
8133 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8134 else
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8136 for as_dir in $PATH
8138 IFS=$as_save_IFS
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144 break 2
8146 done
8147 done
8148 IFS=$as_save_IFS
8152 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8153 if test -n "$ac_ct_DLLTOOL"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8155 $as_echo "$ac_ct_DLLTOOL" >&6; }
8156 else
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 $as_echo "no" >&6; }
8161 if test "x$ac_ct_DLLTOOL" = x; then
8162 DLLTOOL="false"
8163 else
8164 case $cross_compiling:$ac_tool_warned in
8165 yes:)
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8168 ac_tool_warned=yes ;;
8169 esac
8170 DLLTOOL=$ac_ct_DLLTOOL
8172 else
8173 DLLTOOL="$ac_cv_prog_DLLTOOL"
8176 LIBEXT="dll"
8177 DLLEXT=""
8178 IMPLIBEXT="a"
8179 enable_iphlpapi=${enable_iphlpapi:-no}
8180 enable_kernel32=${enable_kernel32:-no}
8181 enable_msvcrt=${enable_msvcrt:-no}
8182 enable_ntdll=${enable_ntdll:-no}
8183 enable_ws2_32=${enable_ws2_32:-no}
8184 enable_loader=${enable_loader:-no}
8185 enable_server=${enable_server:-no}
8186 with_x=${with_x:-no}
8187 with_pthread=${with_pthread:-no}
8189 crtlibs=""
8190 case $host_os in
8191 mingw32*)
8192 crtlibs="-lmsvcrt"
8193 SOCKET_LIBS="-lws2_32"
8195 esac
8197 LIBWINE_SHAREDLIB="libwine.dll"
8199 LIBWINE_IMPORTLIB="libwine.a"
8201 LIBWINE_INSTALL_LIB="libwine.dll"
8203 LIBWINE_INSTALL_DEV="libwine.a"
8205 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8207 LIBWINE_DEPENDS="wine.def"
8211 darwin*|macosx*)
8212 for ac_header in libunwind.h
8213 do :
8214 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8216 cat >>confdefs.h <<_ACEOF
8217 #define HAVE_LIBUNWIND_H 1
8218 _ACEOF
8222 done
8224 LIBEXT="dylib"
8225 DLLFLAGS="$DLLFLAGS -fPIC"
8226 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8227 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8228 COREFOUNDATION_LIBS="-framework CoreFoundation"
8230 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8232 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8234 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8236 CORESERVICES_LIBS="-framework CoreServices"
8238 APPKIT_LIBS="-framework AppKit"
8240 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8242 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8243 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 ac_wine_try_cflags_saved=$CFLAGS
8247 CFLAGS="$CFLAGS -Wl,-no_pie"
8248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 int main(int argc, char **argv) { return 0; }
8251 _ACEOF
8252 if ac_fn_c_try_link "$LINENO"; then :
8253 ac_cv_cflags__Wl__no_pie=yes
8254 else
8255 ac_cv_cflags__Wl__no_pie=no
8257 rm -f core conftest.err conftest.$ac_objext \
8258 conftest$ac_exeext conftest.$ac_ext
8259 CFLAGS=$ac_wine_try_cflags_saved
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8262 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8263 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8264 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8266 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8267 then
8268 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8271 if test "$ac_cv_header_Security_Security_h" = "yes"
8272 then
8273 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8275 ac_save_LIBS="$LIBS"
8276 LIBS="$LIBS $SECURITY_LIBS"
8277 for ac_func in SSLCopyPeerCertificates
8278 do :
8279 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8280 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8281 cat >>confdefs.h <<_ACEOF
8282 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8283 _ACEOF
8286 done
8288 LIBS="$ac_save_LIBS"
8289 with_gnutls=${with_gnutls:-no}
8291 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8292 then
8293 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8294 then
8295 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8297 else
8298 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8301 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8302 ac_save_LIBS="$LIBS"
8303 LIBS="$LIBS $COREAUDIO_LIBS"
8304 for ac_func in AUGraphAddNode
8305 do :
8306 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8307 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8308 cat >>confdefs.h <<_ACEOF
8309 #define HAVE_AUGRAPHADDNODE 1
8310 _ACEOF
8313 done
8315 LIBS="$ac_save_LIBS"
8317 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8318 then
8319 OPENAL_LIBS="-framework OpenAL"
8322 cat >>confdefs.h <<_ACEOF
8323 #define HAVE_OPENAL 1
8324 _ACEOF
8326 ac_cv_lib_openal=yes
8328 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8329 then
8330 OPENCL_LIBS="-framework OpenCL"
8332 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8334 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8335 then
8336 ac_save_LIBS="$LIBS"
8337 LIBS="$LIBS $IOKIT_LIBS"
8338 for ac_func in IOHIDManagerCreate
8339 do :
8340 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8341 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8342 cat >>confdefs.h <<_ACEOF
8343 #define HAVE_IOHIDMANAGERCREATE 1
8344 _ACEOF
8347 done
8349 LIBS="$ac_save_LIBS"
8351 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8352 then
8353 ac_save_LIBS="$LIBS"
8354 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8356 $as_echo_n "checking for the QuickTime framework... " >&6; }
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8359 #include <QuickTime/ImageCompression.h>
8361 main ()
8363 CodecManagerVersion(NULL);
8365 return 0;
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8370 $as_echo "yes" >&6; }
8371 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8373 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8374 else
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8377 ac_cv_header_QuickTime_ImageCompression_h=no
8379 rm -f core conftest.err conftest.$ac_objext \
8380 conftest$ac_exeext conftest.$ac_ext
8381 LIBS="$ac_save_LIBS"
8383 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8384 then
8385 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8387 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8388 then
8389 CARBON_LIBS="-framework Carbon"
8393 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8394 then
8395 ac_save_LIBS="$LIBS"
8396 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8397 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8398 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8399 enable_winemac_drv=${enable_winemac_drv:-yes}
8402 LIBS="$ac_save_LIBS"
8405 if test "x$enable_win16" = "xyes"
8406 then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8408 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8409 if test "$cross_compiling" = yes; then :
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8411 $as_echo "cross-compiling, assuming yes" >&6; }
8412 else
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8415 asm(".text\n"
8416 "bad:\tnop;nop\n"
8417 "good:\tnop;nop\n\t"
8418 ".globl _testfunc\n"
8419 "_testfunc:\tcallw good");
8420 extern void testfunc();
8422 main ()
8424 unsigned short *p = (unsigned short *)testfunc;
8425 return p[0] != 0xe866 || p[1] != 0xfffa
8427 return 0;
8429 _ACEOF
8430 if ac_fn_c_try_run "$LINENO"; then :
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8432 $as_echo "yes" >&6; }
8433 else
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8435 $as_echo "no" >&6; }
8436 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
8438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8439 conftest.$ac_objext conftest.beam conftest.$ac_ext
8444 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8446 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8448 LIBWINE_INSTALL_DEV="libwine.dylib"
8450 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8452 WINELOADER_DEPENDS="wine_info.plist"
8456 linux-android*)
8457 DLLFLAGS="$DLLFLAGS -fPIC"
8458 LDEXECFLAGS="-Wl,-pie"
8459 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8461 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8462 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 ac_wine_try_cflags_saved=$CFLAGS
8466 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8469 int main(int argc, char **argv) { return 0; }
8470 _ACEOF
8471 if ac_fn_c_try_link "$LINENO"; then :
8472 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8473 else
8474 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8476 rm -f core conftest.err conftest.$ac_objext \
8477 conftest$ac_exeext conftest.$ac_ext
8478 CFLAGS=$ac_wine_try_cflags_saved
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8481 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8482 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8483 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8485 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8487 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8488 if eval \${$as_ac_var+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 int main(int argc, char **argv) { return 0; }
8496 _ACEOF
8497 if ac_fn_c_try_link "$LINENO"; then :
8498 eval "$as_ac_var=yes"
8499 else
8500 eval "$as_ac_var=no"
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 CFLAGS=$ac_wine_try_cflags_saved
8506 eval ac_res=\$$as_ac_var
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8508 $as_echo "$ac_res" >&6; }
8509 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8510 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8511 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8512 else
8513 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8515 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8516 if eval \${$as_ac_var+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 ac_wine_try_cflags_saved=$CFLAGS
8520 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 int main(int argc, char **argv) { return 0; }
8524 _ACEOF
8525 if ac_fn_c_try_link "$LINENO"; then :
8526 eval "$as_ac_var=yes"
8527 else
8528 eval "$as_ac_var=no"
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8532 CFLAGS=$ac_wine_try_cflags_saved
8534 eval ac_res=\$$as_ac_var
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8536 $as_echo "$ac_res" >&6; }
8537 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8538 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8539 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8543 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8544 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_wine_try_cflags_saved=$CFLAGS
8548 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 int main(int argc, char **argv) { return 0; }
8552 _ACEOF
8553 if ac_fn_c_try_link "$LINENO"; then :
8554 ac_cv_cflags__Wl___enable_new_dtags=yes
8555 else
8556 ac_cv_cflags__Wl___enable_new_dtags=no
8558 rm -f core conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 CFLAGS=$ac_wine_try_cflags_saved
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8563 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8564 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8565 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8568 LIBWINE_SHAREDLIB="libwine.so"
8570 LIBWINE_INSTALL_LIB="libwine.so"
8572 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8576 $as_echo_n "checking for -lEGL... " >&6; }
8577 if ${ac_cv_lib_soname_EGL+:} false; then :
8578 $as_echo_n "(cached) " >&6
8579 else
8580 ac_check_soname_save_LIBS=$LIBS
8581 LIBS="-lEGL $LIBS"
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8585 /* Override any GCC internal prototype to avoid an error.
8586 Use char because int might match the return type of a GCC
8587 builtin and then its argument prototype would still apply. */
8588 #ifdef __cplusplus
8589 extern "C"
8590 #endif
8591 char eglGetProcAddress ();
8593 main ()
8595 return eglGetProcAddress ();
8597 return 0;
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 case "$LIBEXT" in
8602 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8603 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'` ;;
8604 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8605 if ${ac_cv_lib_soname_EGL:+false} :; then :
8606 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8607 fi ;;
8608 esac
8610 rm -f core conftest.err conftest.$ac_objext \
8611 conftest$ac_exeext conftest.$ac_ext
8612 LIBS=$ac_check_soname_save_LIBS
8614 if ${ac_cv_lib_soname_EGL:+false} :; then :
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8616 $as_echo "not found" >&6; }
8618 else
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8620 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8622 cat >>confdefs.h <<_ACEOF
8623 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8624 _ACEOF
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8629 $as_echo_n "checking for -lGLESv2... " >&6; }
8630 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8631 $as_echo_n "(cached) " >&6
8632 else
8633 ac_check_soname_save_LIBS=$LIBS
8634 LIBS="-lGLESv2 $LIBS"
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8638 /* Override any GCC internal prototype to avoid an error.
8639 Use char because int might match the return type of a GCC
8640 builtin and then its argument prototype would still apply. */
8641 #ifdef __cplusplus
8642 extern "C"
8643 #endif
8644 char glFlush ();
8646 main ()
8648 return glFlush ();
8650 return 0;
8652 _ACEOF
8653 if ac_fn_c_try_link "$LINENO"; then :
8654 case "$LIBEXT" in
8655 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8656 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'` ;;
8657 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8658 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8659 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8660 fi ;;
8661 esac
8663 rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 LIBS=$ac_check_soname_save_LIBS
8667 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8669 $as_echo "not found" >&6; }
8671 else
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8673 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8675 cat >>confdefs.h <<_ACEOF
8676 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8677 _ACEOF
8682 if test "x$exec_prefix" = xNONE
8683 then
8684 case $host_cpu in
8685 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8686 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8687 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8688 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8689 esac
8694 DLLFLAGS="$DLLFLAGS -fPIC"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8696 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8697 if ${ac_cv_c_dll_gnuelf+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 void myfunc() {}
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_c_dll_gnuelf="yes"
8708 else
8709 ac_cv_c_dll_gnuelf="no"
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8716 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8717 if test "$ac_cv_c_dll_gnuelf" = "yes"
8718 then
8719 LIBWINE_LDFLAGS="-shared"
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8721 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8722 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 int main(int argc, char **argv) { return 0; }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8733 else
8734 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8741 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8742 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8743 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8744 else
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8746 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8747 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8748 $as_echo_n "(cached) " >&6
8749 else
8750 ac_wine_try_cflags_saved=$CFLAGS
8751 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 int main(int argc, char **argv) { return 0; }
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8758 else
8759 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8766 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8767 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8768 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8772 echo '{ global: *; };' >conftest.map
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8774 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8775 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8786 else
8787 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 CFLAGS=$ac_wine_try_cflags_saved
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8794 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8795 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8796 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8798 rm -f conftest.map
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8801 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8802 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 ac_wine_try_cflags_saved=$CFLAGS
8806 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8808 /* end confdefs.h. */
8809 int main(int argc, char **argv) { return 0; }
8810 _ACEOF
8811 if ac_fn_c_try_link "$LINENO"; then :
8812 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8813 else
8814 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8816 rm -f core conftest.err conftest.$ac_objext \
8817 conftest$ac_exeext conftest.$ac_ext
8818 CFLAGS=$ac_wine_try_cflags_saved
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8821 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8822 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8823 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8826 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8828 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8829 if eval \${$as_ac_var+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8836 int main(int argc, char **argv) { return 0; }
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 eval "$as_ac_var=yes"
8840 else
8841 eval "$as_ac_var=no"
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 CFLAGS=$ac_wine_try_cflags_saved
8847 eval ac_res=\$$as_ac_var
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8849 $as_echo "$ac_res" >&6; }
8850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8851 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8852 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8853 else
8854 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8856 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8857 if eval \${$as_ac_var+:} false; then :
8858 $as_echo_n "(cached) " >&6
8859 else
8860 ac_wine_try_cflags_saved=$CFLAGS
8861 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8864 int main(int argc, char **argv) { return 0; }
8865 _ACEOF
8866 if ac_fn_c_try_link "$LINENO"; then :
8867 eval "$as_ac_var=yes"
8868 else
8869 eval "$as_ac_var=no"
8871 rm -f core conftest.err conftest.$ac_objext \
8872 conftest$ac_exeext conftest.$ac_ext
8873 CFLAGS=$ac_wine_try_cflags_saved
8875 eval ac_res=\$$as_ac_var
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8877 $as_echo "$ac_res" >&6; }
8878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8879 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8880 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8885 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8886 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8887 $as_echo_n "(cached) " >&6
8888 else
8889 ac_wine_try_cflags_saved=$CFLAGS
8890 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8892 /* end confdefs.h. */
8893 int main(int argc, char **argv) { return 0; }
8894 _ACEOF
8895 if ac_fn_c_try_link "$LINENO"; then :
8896 ac_cv_cflags__Wl___enable_new_dtags=yes
8897 else
8898 ac_cv_cflags__Wl___enable_new_dtags=no
8900 rm -f core conftest.err conftest.$ac_objext \
8901 conftest$ac_exeext conftest.$ac_ext
8902 CFLAGS=$ac_wine_try_cflags_saved
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8905 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8906 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8907 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8910 case $host_cpu in
8911 *i[3456789]86* | x86_64 | *aarch64*)
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8913 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8914 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 ac_wine_try_cflags_saved=$CFLAGS
8918 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8921 int main(int argc, char **argv) { return 0; }
8922 _ACEOF
8923 if ac_fn_c_try_link "$LINENO"; then :
8924 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8925 else
8926 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8928 rm -f core conftest.err conftest.$ac_objext \
8929 conftest$ac_exeext conftest.$ac_ext
8930 CFLAGS=$ac_wine_try_cflags_saved
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8933 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8934 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8935 case $host_os in
8936 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8937 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8938 esac
8939 else
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8941 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8942 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8943 $as_echo_n "(cached) " >&6
8944 else
8945 ac_wine_try_cflags_saved=$CFLAGS
8946 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8949 int main(int argc, char **argv) { return 0; }
8950 _ACEOF
8951 if ac_fn_c_try_link "$LINENO"; then :
8952 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8953 else
8954 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8956 rm -f core conftest.err conftest.$ac_objext \
8957 conftest$ac_exeext conftest.$ac_ext
8958 CFLAGS=$ac_wine_try_cflags_saved
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8961 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8962 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8963 case $host_os in
8964 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8965 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8966 esac
8968 # Extract the first word of "prelink", so it can be a program name with args.
8969 set dummy prelink; ac_word=$2
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8971 $as_echo_n "checking for $ac_word... " >&6; }
8972 if ${ac_cv_path_PRELINK+:} false; then :
8973 $as_echo_n "(cached) " >&6
8974 else
8975 case $PRELINK in
8976 [\\/]* | ?:[\\/]*)
8977 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8981 for as_dir in /sbin /usr/sbin $PATH
8983 IFS=$as_save_IFS
8984 test -z "$as_dir" && as_dir=.
8985 for ac_exec_ext in '' $ac_executable_extensions; do
8986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8987 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8989 break 2
8991 done
8992 done
8993 IFS=$as_save_IFS
8995 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8997 esac
8999 PRELINK=$ac_cv_path_PRELINK
9000 if test -n "$PRELINK"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9002 $as_echo "$PRELINK" >&6; }
9003 else
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9009 if test "x$PRELINK" = xfalse
9010 then
9011 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9015 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9016 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 ac_wine_try_cflags_saved=$CFLAGS
9020 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9022 /* end confdefs.h. */
9023 int main(int argc, char **argv) { return 0; }
9024 _ACEOF
9025 if ac_fn_c_try_link "$LINENO"; then :
9026 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9027 else
9028 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9030 rm -f core conftest.err conftest.$ac_objext \
9031 conftest$ac_exeext conftest.$ac_ext
9032 CFLAGS=$ac_wine_try_cflags_saved
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9035 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9036 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9037 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9040 esac
9042 else
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9044 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9045 if ${ac_cv_c_dll_unixware+:} false; then :
9046 $as_echo_n "(cached) " >&6
9047 else
9048 ac_wine_try_cflags_saved=$CFLAGS
9049 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9052 void myfunc() {}
9053 _ACEOF
9054 if ac_fn_c_try_link "$LINENO"; then :
9055 ac_cv_c_dll_unixware="yes"
9056 else
9057 ac_cv_c_dll_unixware="no"
9059 rm -f core conftest.err conftest.$ac_objext \
9060 conftest$ac_exeext conftest.$ac_ext
9061 CFLAGS=$ac_wine_try_cflags_saved
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9064 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9065 if test "$ac_cv_c_dll_unixware" = "yes"
9066 then
9067 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9070 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9072 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9074 LIBWINE_INSTALL_DEV="libwine.so"
9076 LIBWINE_DEPENDS="wine.map"
9079 esac
9081 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9082 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9083 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9084 enable_winemac_drv=${enable_winemac_drv:-no}
9085 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9087 CROSSTARGET=""
9089 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9090 then
9091 case "$host_cpu" in
9092 arm*)
9093 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9094 i[3456789]86*)
9095 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
9096 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9097 mingw32-gcc" ;;
9098 x86_64)
9099 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
9100 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9102 ac_prefix_list="" ;;
9103 esac
9104 for ac_prog in $ac_prefix_list
9106 # Extract the first word of "$ac_prog", so it can be a program name with args.
9107 set dummy $ac_prog; ac_word=$2
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9109 $as_echo_n "checking for $ac_word... " >&6; }
9110 if ${ac_cv_prog_CROSSCC+:} false; then :
9111 $as_echo_n "(cached) " >&6
9112 else
9113 if test -n "$CROSSCC"; then
9114 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9115 else
9116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9117 for as_dir in $PATH
9119 IFS=$as_save_IFS
9120 test -z "$as_dir" && as_dir=.
9121 for ac_exec_ext in '' $ac_executable_extensions; do
9122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9123 ac_cv_prog_CROSSCC="$ac_prog"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9125 break 2
9127 done
9128 done
9129 IFS=$as_save_IFS
9133 CROSSCC=$ac_cv_prog_CROSSCC
9134 if test -n "$CROSSCC"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9136 $as_echo "$CROSSCC" >&6; }
9137 else
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 $as_echo "no" >&6; }
9143 test -n "$CROSSCC" && break
9144 done
9145 test -n "$CROSSCC" || CROSSCC="false"
9147 if test "$CROSSCC" != "false"
9148 then
9149 ac_save_CC="$CC"
9150 CC="$CROSSCC"
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9152 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9157 main ()
9161 return 0;
9163 _ACEOF
9164 if ac_fn_c_try_compile "$LINENO"; then :
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9166 $as_echo "yes" >&6; }
9167 set x $CROSSCC
9168 shift
9169 while test $# -ge 1
9171 case "$1" in
9172 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9173 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9174 esac
9175 shift
9176 done
9177 else
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9179 $as_echo "no" >&6; }
9181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9182 CC="$ac_save_CC"
9183 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9189 if test "$ac_cv_header_pthread_h" = "yes"
9190 then
9191 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9192 if test "x$ac_cv_func_pthread_create" = xyes; then :
9194 else
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9196 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9197 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9198 $as_echo_n "(cached) " >&6
9199 else
9200 ac_check_lib_save_LIBS=$LIBS
9201 LIBS="-lpthread $LIBS"
9202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9205 /* Override any GCC internal prototype to avoid an error.
9206 Use char because int might match the return type of a GCC
9207 builtin and then its argument prototype would still apply. */
9208 #ifdef __cplusplus
9209 extern "C"
9210 #endif
9211 char pthread_create ();
9213 main ()
9215 return pthread_create ();
9217 return 0;
9219 _ACEOF
9220 if ac_fn_c_try_link "$LINENO"; then :
9221 ac_cv_lib_pthread_pthread_create=yes
9222 else
9223 ac_cv_lib_pthread_pthread_create=no
9225 rm -f core conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9227 LIBS=$ac_check_lib_save_LIBS
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9230 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9231 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9232 PTHREAD_LIBS="-lpthread"
9239 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9240 case "x$with_pthread" in
9241 xno) ;;
9242 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9243 Wine cannot support threads without libpthread.
9244 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9245 esac
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9251 $as_echo_n "checking for X... " >&6; }
9254 # Check whether --with-x was given.
9255 if test "${with_x+set}" = set; then :
9256 withval=$with_x;
9259 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9260 if test "x$with_x" = xno; then
9261 # The user explicitly disabled X.
9262 have_x=disabled
9263 else
9264 case $x_includes,$x_libraries in #(
9265 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9266 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9267 $as_echo_n "(cached) " >&6
9268 else
9269 # One or both of the vars are not set, and there is no cached value.
9270 ac_x_includes=no ac_x_libraries=no
9271 rm -f -r conftest.dir
9272 if mkdir conftest.dir; then
9273 cd conftest.dir
9274 cat >Imakefile <<'_ACEOF'
9275 incroot:
9276 @echo incroot='${INCROOT}'
9277 usrlibdir:
9278 @echo usrlibdir='${USRLIBDIR}'
9279 libdir:
9280 @echo libdir='${LIBDIR}'
9281 _ACEOF
9282 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9283 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9284 for ac_var in incroot usrlibdir libdir; do
9285 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9286 done
9287 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9288 for ac_extension in a so sl dylib la dll; do
9289 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9290 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9291 ac_im_usrlibdir=$ac_im_libdir; break
9293 done
9294 # Screen out bogus values from the imake configuration. They are
9295 # bogus both because they are the default anyway, and because
9296 # using them would break gcc on systems where it needs fixed includes.
9297 case $ac_im_incroot in
9298 /usr/include) ac_x_includes= ;;
9299 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9300 esac
9301 case $ac_im_usrlibdir in
9302 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9303 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9304 esac
9306 cd ..
9307 rm -f -r conftest.dir
9310 # Standard set of common directories for X headers.
9311 # Check X11 before X11Rn because it is often a symlink to the current release.
9312 ac_x_header_dirs='
9313 /usr/X11/include
9314 /usr/X11R7/include
9315 /usr/X11R6/include
9316 /usr/X11R5/include
9317 /usr/X11R4/include
9319 /usr/include/X11
9320 /usr/include/X11R7
9321 /usr/include/X11R6
9322 /usr/include/X11R5
9323 /usr/include/X11R4
9325 /usr/local/X11/include
9326 /usr/local/X11R7/include
9327 /usr/local/X11R6/include
9328 /usr/local/X11R5/include
9329 /usr/local/X11R4/include
9331 /usr/local/include/X11
9332 /usr/local/include/X11R7
9333 /usr/local/include/X11R6
9334 /usr/local/include/X11R5
9335 /usr/local/include/X11R4
9337 /usr/X386/include
9338 /usr/x386/include
9339 /usr/XFree86/include/X11
9341 /usr/include
9342 /usr/local/include
9343 /usr/unsupported/include
9344 /usr/athena/include
9345 /usr/local/x11r5/include
9346 /usr/lpp/Xamples/include
9348 /usr/openwin/include
9349 /usr/openwin/share/include'
9351 if test "$ac_x_includes" = no; then
9352 # Guess where to find include files, by looking for Xlib.h.
9353 # First, try using that file with no special directory specified.
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9356 #include <X11/Xlib.h>
9357 _ACEOF
9358 if ac_fn_c_try_cpp "$LINENO"; then :
9359 # We can compile using X headers with no special include directory.
9360 ac_x_includes=
9361 else
9362 for ac_dir in $ac_x_header_dirs; do
9363 if test -r "$ac_dir/X11/Xlib.h"; then
9364 ac_x_includes=$ac_dir
9365 break
9367 done
9369 rm -f conftest.err conftest.i conftest.$ac_ext
9370 fi # $ac_x_includes = no
9372 if test "$ac_x_libraries" = no; then
9373 # Check for the libraries.
9374 # See if we find them without any special options.
9375 # Don't add to $LIBS permanently.
9376 ac_save_LIBS=$LIBS
9377 LIBS="-lX11 $LIBS"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9380 #include <X11/Xlib.h>
9382 main ()
9384 XrmInitialize ()
9386 return 0;
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 LIBS=$ac_save_LIBS
9391 # We can link X programs with no special library path.
9392 ac_x_libraries=
9393 else
9394 LIBS=$ac_save_LIBS
9395 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9397 # Don't even attempt the hair of trying to link an X program!
9398 for ac_extension in a so sl dylib la dll; do
9399 if test -r "$ac_dir/libX11.$ac_extension"; then
9400 ac_x_libraries=$ac_dir
9401 break 2
9403 done
9404 done
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 fi # $ac_x_libraries = no
9410 case $ac_x_includes,$ac_x_libraries in #(
9411 no,* | *,no | *\'*)
9412 # Didn't find X, or a directory has "'" in its name.
9413 ac_cv_have_x="have_x=no";; #(
9415 # Record where we found X for the cache.
9416 ac_cv_have_x="have_x=yes\
9417 ac_x_includes='$ac_x_includes'\
9418 ac_x_libraries='$ac_x_libraries'"
9419 esac
9421 ;; #(
9422 *) have_x=yes;;
9423 esac
9424 eval "$ac_cv_have_x"
9425 fi # $with_x != no
9427 if test "$have_x" != yes; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9429 $as_echo "$have_x" >&6; }
9430 no_x=yes
9431 else
9432 # If each of the values was on the command line, it overrides each guess.
9433 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9434 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9435 # Update the cache value to reflect the command line values.
9436 ac_cv_have_x="have_x=yes\
9437 ac_x_includes='$x_includes'\
9438 ac_x_libraries='$x_libraries'"
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9440 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9443 if test "$no_x" = yes; then
9444 # Not all programs may use this symbol, but it does not hurt to define it.
9446 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9448 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9449 else
9450 if test -n "$x_includes"; then
9451 X_CFLAGS="$X_CFLAGS -I$x_includes"
9454 # It would also be nice to do this for all -L options, not just this one.
9455 if test -n "$x_libraries"; then
9456 X_LIBS="$X_LIBS -L$x_libraries"
9457 # For Solaris; some versions of Sun CC require a space after -R and
9458 # others require no space. Words are not sufficient . . . .
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9460 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9461 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9462 ac_xsave_c_werror_flag=$ac_c_werror_flag
9463 ac_c_werror_flag=yes
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9468 main ()
9472 return 0;
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9477 $as_echo "no" >&6; }
9478 X_LIBS="$X_LIBS -R$x_libraries"
9479 else
9480 LIBS="$ac_xsave_LIBS -R $x_libraries"
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9485 main ()
9489 return 0;
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9494 $as_echo "yes" >&6; }
9495 X_LIBS="$X_LIBS -R $x_libraries"
9496 else
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9498 $as_echo "neither works" >&6; }
9500 rm -f core conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 ac_c_werror_flag=$ac_xsave_c_werror_flag
9506 LIBS=$ac_xsave_LIBS
9509 # Check for system-dependent libraries X programs must link with.
9510 # Do this before checking for the system-independent R6 libraries
9511 # (-lICE), since we may need -lsocket or whatever for X linking.
9513 if test "$ISC" = yes; then
9514 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9515 else
9516 # Martyn Johnson says this is needed for Ultrix, if the X
9517 # libraries were built with DECnet support. And Karl Berry says
9518 # the Alpha needs dnet_stub (dnet does not exist).
9519 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9526 #ifdef __cplusplus
9527 extern "C"
9528 #endif
9529 char XOpenDisplay ();
9531 main ()
9533 return XOpenDisplay ();
9535 return 0;
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9540 else
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9542 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9543 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_lib_save_LIBS=$LIBS
9547 LIBS="-ldnet $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char dnet_ntoa ();
9559 main ()
9561 return dnet_ntoa ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 ac_cv_lib_dnet_dnet_ntoa=yes
9568 else
9569 ac_cv_lib_dnet_dnet_ntoa=no
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9576 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9577 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9578 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9581 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9583 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9584 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_check_lib_save_LIBS=$LIBS
9588 LIBS="-ldnet_stub $LIBS"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char dnet_ntoa ();
9600 main ()
9602 return dnet_ntoa ();
9604 return 0;
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9609 else
9610 ac_cv_lib_dnet_stub_dnet_ntoa=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9617 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9618 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9619 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS="$ac_xsave_LIBS"
9628 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9629 # to get the SysV transport functions.
9630 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9631 # needs -lnsl.
9632 # The nsl library prevents programs from opening the X display
9633 # on Irix 5.2, according to T.E. Dickey.
9634 # The functions gethostbyname, getservbyname, and inet_addr are
9635 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9636 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9637 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9641 if test $ac_cv_func_gethostbyname = no; then
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9643 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9644 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 ac_check_lib_save_LIBS=$LIBS
9648 LIBS="-lnsl $LIBS"
9649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 char gethostbyname ();
9660 main ()
9662 return gethostbyname ();
9664 return 0;
9666 _ACEOF
9667 if ac_fn_c_try_link "$LINENO"; then :
9668 ac_cv_lib_nsl_gethostbyname=yes
9669 else
9670 ac_cv_lib_nsl_gethostbyname=no
9672 rm -f core conftest.err conftest.$ac_objext \
9673 conftest$ac_exeext conftest.$ac_ext
9674 LIBS=$ac_check_lib_save_LIBS
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9677 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9678 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9679 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9682 if test $ac_cv_lib_nsl_gethostbyname = no; then
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9684 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9685 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9686 $as_echo_n "(cached) " >&6
9687 else
9688 ac_check_lib_save_LIBS=$LIBS
9689 LIBS="-lbsd $LIBS"
9690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9693 /* Override any GCC internal prototype to avoid an error.
9694 Use char because int might match the return type of a GCC
9695 builtin and then its argument prototype would still apply. */
9696 #ifdef __cplusplus
9697 extern "C"
9698 #endif
9699 char gethostbyname ();
9701 main ()
9703 return gethostbyname ();
9705 return 0;
9707 _ACEOF
9708 if ac_fn_c_try_link "$LINENO"; then :
9709 ac_cv_lib_bsd_gethostbyname=yes
9710 else
9711 ac_cv_lib_bsd_gethostbyname=no
9713 rm -f core conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9715 LIBS=$ac_check_lib_save_LIBS
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9718 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9719 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9720 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9726 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9727 # socket/setsockopt and other routines are undefined under SCO ODT
9728 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9729 # on later versions), says Simon Leinen: it contains gethostby*
9730 # variants that don't use the name server (or something). -lsocket
9731 # must be given before -lnsl if both are needed. We assume that
9732 # if connect needs -lnsl, so does gethostbyname.
9733 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9734 if test "x$ac_cv_func_connect" = xyes; then :
9738 if test $ac_cv_func_connect = no; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9740 $as_echo_n "checking for connect in -lsocket... " >&6; }
9741 if ${ac_cv_lib_socket_connect+:} false; then :
9742 $as_echo_n "(cached) " >&6
9743 else
9744 ac_check_lib_save_LIBS=$LIBS
9745 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9749 /* Override any GCC internal prototype to avoid an error.
9750 Use char because int might match the return type of a GCC
9751 builtin and then its argument prototype would still apply. */
9752 #ifdef __cplusplus
9753 extern "C"
9754 #endif
9755 char connect ();
9757 main ()
9759 return connect ();
9761 return 0;
9763 _ACEOF
9764 if ac_fn_c_try_link "$LINENO"; then :
9765 ac_cv_lib_socket_connect=yes
9766 else
9767 ac_cv_lib_socket_connect=no
9769 rm -f core conftest.err conftest.$ac_objext \
9770 conftest$ac_exeext conftest.$ac_ext
9771 LIBS=$ac_check_lib_save_LIBS
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9774 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9775 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9776 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9781 # Guillermo Gomez says -lposix is necessary on A/UX.
9782 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9783 if test "x$ac_cv_func_remove" = xyes; then :
9787 if test $ac_cv_func_remove = no; then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9789 $as_echo_n "checking for remove in -lposix... " >&6; }
9790 if ${ac_cv_lib_posix_remove+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 ac_check_lib_save_LIBS=$LIBS
9794 LIBS="-lposix $LIBS"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9798 /* Override any GCC internal prototype to avoid an error.
9799 Use char because int might match the return type of a GCC
9800 builtin and then its argument prototype would still apply. */
9801 #ifdef __cplusplus
9802 extern "C"
9803 #endif
9804 char remove ();
9806 main ()
9808 return remove ();
9810 return 0;
9812 _ACEOF
9813 if ac_fn_c_try_link "$LINENO"; then :
9814 ac_cv_lib_posix_remove=yes
9815 else
9816 ac_cv_lib_posix_remove=no
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_lib_save_LIBS
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9823 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9824 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9825 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9830 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9831 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9832 if test "x$ac_cv_func_shmat" = xyes; then :
9836 if test $ac_cv_func_shmat = no; then
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9838 $as_echo_n "checking for shmat in -lipc... " >&6; }
9839 if ${ac_cv_lib_ipc_shmat+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_check_lib_save_LIBS=$LIBS
9843 LIBS="-lipc $LIBS"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char shmat ();
9855 main ()
9857 return shmat ();
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 ac_cv_lib_ipc_shmat=yes
9864 else
9865 ac_cv_lib_ipc_shmat=no
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_lib_save_LIBS
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9872 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9873 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9874 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9880 # Check for libraries that X11R6 Xt/Xaw programs need.
9881 ac_save_LDFLAGS=$LDFLAGS
9882 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9883 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9884 # check for ICE first), but we must link in the order -lSM -lICE or
9885 # we get undefined symbols. So assume we have SM if we have ICE.
9886 # These have to be linked with before -lX11, unlike the other
9887 # libraries we check for below, so use a different variable.
9888 # John Interrante, Karl Berry
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9890 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9891 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_lib_save_LIBS=$LIBS
9895 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char IceConnectionNumber ();
9907 main ()
9909 return IceConnectionNumber ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_lib_ICE_IceConnectionNumber=yes
9916 else
9917 ac_cv_lib_ICE_IceConnectionNumber=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_lib_save_LIBS
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9924 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9925 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9926 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9929 LDFLAGS=$ac_save_LDFLAGS
9934 if test "$have_x" = "yes"
9935 then
9936 ac_save_CPPFLAGS="$CPPFLAGS"
9937 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9940 $as_echo_n "checking for -lX11... " >&6; }
9941 if ${ac_cv_lib_soname_X11+:} false; then :
9942 $as_echo_n "(cached) " >&6
9943 else
9944 ac_check_soname_save_LIBS=$LIBS
9945 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 #ifdef __cplusplus
9953 extern "C"
9954 #endif
9955 char XCreateWindow ();
9957 main ()
9959 return XCreateWindow ();
9961 return 0;
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"; then :
9965 case "$LIBEXT" in
9966 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9967 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'` ;;
9968 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9969 if ${ac_cv_lib_soname_X11:+false} :; then :
9970 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9971 fi ;;
9972 esac
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 LIBS=$ac_check_soname_save_LIBS
9978 if ${ac_cv_lib_soname_X11:+false} :; then :
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9980 $as_echo "not found" >&6; }
9982 else
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9984 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9986 cat >>confdefs.h <<_ACEOF
9987 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9988 _ACEOF
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9993 $as_echo_n "checking for -lXext... " >&6; }
9994 if ${ac_cv_lib_soname_Xext+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 char XextCreateExtension ();
10010 main ()
10012 return XextCreateExtension ();
10014 return 0;
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 case "$LIBEXT" in
10019 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10022 if ${ac_cv_lib_soname_Xext:+false} :; then :
10023 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 fi ;;
10025 esac
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LIBS=$ac_check_soname_save_LIBS
10031 if ${ac_cv_lib_soname_Xext:+false} :; then :
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10033 $as_echo "not found" >&6; }
10035 else
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10037 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10039 cat >>confdefs.h <<_ACEOF
10040 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10041 _ACEOF
10043 X_LIBS="$X_LIBS -lXext"
10045 X_LIBS="$X_LIBS -lX11"
10047 for ac_header in X11/Xlib.h \
10048 X11/XKBlib.h \
10049 X11/Xutil.h \
10050 X11/Xcursor/Xcursor.h \
10051 X11/extensions/shape.h \
10052 X11/extensions/XInput.h \
10053 X11/extensions/XInput2.h \
10054 X11/extensions/XShm.h \
10055 X11/extensions/Xcomposite.h \
10056 X11/extensions/Xfixes.h \
10057 X11/extensions/Xinerama.h \
10058 X11/extensions/Xrandr.h \
10059 X11/extensions/Xrender.h \
10060 X11/extensions/xf86vmode.h \
10061 X11/extensions/xf86vmproto.h
10062 do :
10063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10064 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10065 # include <X11/Xlib.h>
10066 #endif
10067 #ifdef HAVE_X11_XUTIL_H
10068 # include <X11/Xutil.h>
10069 #endif
10071 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10072 cat >>confdefs.h <<_ACEOF
10073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10074 _ACEOF
10078 done
10081 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10082 then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10084 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10085 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_check_lib_save_LIBS=$LIBS
10089 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10096 #ifdef __cplusplus
10097 extern "C"
10098 #endif
10099 char XkbQueryExtension ();
10101 main ()
10103 return XkbQueryExtension ();
10105 return 0;
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_lib_X11_XkbQueryExtension=yes
10110 else
10111 ac_cv_lib_X11_XkbQueryExtension=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_lib_save_LIBS
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10118 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10119 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10121 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10127 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10128 then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10130 $as_echo_n "checking for -lXcursor... " >&6; }
10131 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_check_soname_save_LIBS=$LIBS
10135 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char XcursorImageLoadCursor ();
10147 main ()
10149 return XcursorImageLoadCursor ();
10151 return 0;
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 case "$LIBEXT" in
10156 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10157 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'` ;;
10158 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10159 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10160 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10161 fi ;;
10162 esac
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 LIBS=$ac_check_soname_save_LIBS
10168 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10170 $as_echo "not found" >&6; }
10172 else
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10174 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10176 cat >>confdefs.h <<_ACEOF
10177 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10178 _ACEOF
10183 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10184 case "x$with_xcursor" in
10185 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10186 xno) ;;
10187 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10188 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10189 esac
10193 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10194 then
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10196 $as_echo_n "checking for -lXi... " >&6; }
10197 if ${ac_cv_lib_soname_Xi+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 ac_check_soname_save_LIBS=$LIBS
10201 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10208 #ifdef __cplusplus
10209 extern "C"
10210 #endif
10211 char XOpenDevice ();
10213 main ()
10215 return XOpenDevice ();
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 case "$LIBEXT" in
10222 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10223 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'` ;;
10224 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10225 if ${ac_cv_lib_soname_Xi:+false} :; then :
10226 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10227 fi ;;
10228 esac
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_soname_save_LIBS
10234 if ${ac_cv_lib_soname_Xi:+false} :; then :
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10236 $as_echo "not found" >&6; }
10238 else
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10240 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10242 cat >>confdefs.h <<_ACEOF
10243 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10244 _ACEOF
10249 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10250 case "x$with_xinput" in
10251 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10252 xno) ;;
10253 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10254 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10255 esac
10259 if test "x$ac_cv_lib_soname_Xi" != x
10260 then
10261 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10262 case "x$with_xinput2" in
10263 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10264 xno) ;;
10265 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10266 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10267 esac
10272 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10273 then
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10275 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10276 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 ac_check_lib_save_LIBS=$LIBS
10280 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10284 /* Override any GCC internal prototype to avoid an error.
10285 Use char because int might match the return type of a GCC
10286 builtin and then its argument prototype would still apply. */
10287 #ifdef __cplusplus
10288 extern "C"
10289 #endif
10290 char XShmQueryExtension ();
10292 main ()
10294 return XShmQueryExtension ();
10296 return 0;
10298 _ACEOF
10299 if ac_fn_c_try_link "$LINENO"; then :
10300 ac_cv_lib_Xext_XShmQueryExtension=yes
10301 else
10302 ac_cv_lib_Xext_XShmQueryExtension=no
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_lib_save_LIBS
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10309 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10310 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10312 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10317 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10318 case "x$with_xshm" in
10319 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10320 xno) ;;
10321 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10322 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10323 esac
10327 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10328 then
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10330 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10331 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10332 $as_echo_n "(cached) " >&6
10333 else
10334 ac_check_lib_save_LIBS=$LIBS
10335 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10339 /* Override any GCC internal prototype to avoid an error.
10340 Use char because int might match the return type of a GCC
10341 builtin and then its argument prototype would still apply. */
10342 #ifdef __cplusplus
10343 extern "C"
10344 #endif
10345 char XShapeQueryExtension ();
10347 main ()
10349 return XShapeQueryExtension ();
10351 return 0;
10353 _ACEOF
10354 if ac_fn_c_try_link "$LINENO"; then :
10355 ac_cv_lib_Xext_XShapeQueryExtension=yes
10356 else
10357 ac_cv_lib_Xext_XShapeQueryExtension=no
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LIBS=$ac_check_lib_save_LIBS
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10364 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10365 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10367 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10372 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10373 case "x$with_xshape" in
10374 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10375 xno) ;;
10376 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10377 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10378 esac
10382 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10383 then
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10385 $as_echo_n "checking for -lXxf86vm... " >&6; }
10386 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10387 $as_echo_n "(cached) " >&6
10388 else
10389 ac_check_soname_save_LIBS=$LIBS
10390 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10394 /* Override any GCC internal prototype to avoid an error.
10395 Use char because int might match the return type of a GCC
10396 builtin and then its argument prototype would still apply. */
10397 #ifdef __cplusplus
10398 extern "C"
10399 #endif
10400 char XF86VidModeQueryExtension ();
10402 main ()
10404 return XF86VidModeQueryExtension ();
10406 return 0;
10408 _ACEOF
10409 if ac_fn_c_try_link "$LINENO"; then :
10410 case "$LIBEXT" in
10411 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10412 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'` ;;
10413 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10414 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10415 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10416 fi ;;
10417 esac
10419 rm -f core conftest.err conftest.$ac_objext \
10420 conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_soname_save_LIBS
10423 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10425 $as_echo "not found" >&6; }
10427 else
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10429 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10431 cat >>confdefs.h <<_ACEOF
10432 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10433 _ACEOF
10438 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10439 case "x$with_xxf86vm" in
10440 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10441 xno) ;;
10442 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10443 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10444 esac
10448 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10449 then
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10451 $as_echo_n "checking for -lXrender... " >&6; }
10452 if ${ac_cv_lib_soname_Xrender+:} false; then :
10453 $as_echo_n "(cached) " >&6
10454 else
10455 ac_check_soname_save_LIBS=$LIBS
10456 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10463 #ifdef __cplusplus
10464 extern "C"
10465 #endif
10466 char XRenderQueryExtension ();
10468 main ()
10470 return XRenderQueryExtension ();
10472 return 0;
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 case "$LIBEXT" in
10477 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10478 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'` ;;
10479 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10480 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10481 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10482 fi ;;
10483 esac
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_soname_save_LIBS
10489 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10491 $as_echo "not found" >&6; }
10493 else
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10495 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10497 cat >>confdefs.h <<_ACEOF
10498 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10499 _ACEOF
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10502 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10503 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10504 $as_echo_n "(cached) " >&6
10505 else
10506 ac_check_lib_save_LIBS=$LIBS
10507 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10514 #ifdef __cplusplus
10515 extern "C"
10516 #endif
10517 char XRenderSetPictureTransform ();
10519 main ()
10521 return XRenderSetPictureTransform ();
10523 return 0;
10525 _ACEOF
10526 if ac_fn_c_try_link "$LINENO"; then :
10527 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10528 else
10529 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10531 rm -f core conftest.err conftest.$ac_objext \
10532 conftest$ac_exeext conftest.$ac_ext
10533 LIBS=$ac_check_lib_save_LIBS
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10536 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10537 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10539 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10544 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10545 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_lib_save_LIBS=$LIBS
10549 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char XRenderCreateLinearGradient ();
10561 main ()
10563 return XRenderCreateLinearGradient ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10570 else
10571 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10578 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10579 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10581 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10588 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10589 case "x$with_xrender" in
10590 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10591 xno) ;;
10592 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10593 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10594 esac
10598 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10599 then
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10602 #include <X11/Xlib.h>
10603 #include <X11/extensions/Xrandr.h>
10605 main ()
10607 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10609 return 0;
10611 _ACEOF
10612 if ac_fn_c_try_compile "$LINENO"; then :
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10614 $as_echo_n "checking for -lXrandr... " >&6; }
10615 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_check_soname_save_LIBS=$LIBS
10619 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10626 #ifdef __cplusplus
10627 extern "C"
10628 #endif
10629 char XRRQueryExtension ();
10631 main ()
10633 return XRRQueryExtension ();
10635 return 0;
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 case "$LIBEXT" in
10640 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10641 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'` ;;
10642 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10643 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10644 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10645 fi ;;
10646 esac
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 LIBS=$ac_check_soname_save_LIBS
10652 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10654 $as_echo "not found" >&6; }
10656 else
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10658 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10660 cat >>confdefs.h <<_ACEOF
10661 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10662 _ACEOF
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10666 #include <X11/Xlib.h>
10667 #include <X11/extensions/Xrandr.h>
10669 main ()
10671 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10673 return 0;
10675 _ACEOF
10676 if ac_fn_c_try_compile "$LINENO"; then :
10678 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10686 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10687 case "x$with_xrandr" in
10688 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10689 xno) ;;
10690 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10691 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10692 esac
10696 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10697 then
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10700 #include <X11/Xlib.h>
10701 #include <X11/extensions/Xfixes.h>
10703 main ()
10705 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10707 return 0;
10709 _ACEOF
10710 if ac_fn_c_try_compile "$LINENO"; then :
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10712 $as_echo_n "checking for -lXfixes... " >&6; }
10713 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_soname_save_LIBS=$LIBS
10717 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char XFixesQueryVersion ();
10729 main ()
10731 return XFixesQueryVersion ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 case "$LIBEXT" in
10738 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10739 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'` ;;
10740 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10741 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10742 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10743 fi ;;
10744 esac
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 LIBS=$ac_check_soname_save_LIBS
10750 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10752 $as_echo "not found" >&6; }
10754 else
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10756 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10758 cat >>confdefs.h <<_ACEOF
10759 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10760 _ACEOF
10765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10767 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10768 case "x$with_xfixes" in
10769 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10770 xno) ;;
10771 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10772 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10773 esac
10777 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10778 then
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10781 #include <X11/Xlib.h>
10782 #include <X11/extensions/Xinerama.h>
10784 main ()
10786 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_compile "$LINENO"; then :
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10793 $as_echo_n "checking for -lXinerama... " >&6; }
10794 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10795 $as_echo_n "(cached) " >&6
10796 else
10797 ac_check_soname_save_LIBS=$LIBS
10798 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 #ifdef __cplusplus
10806 extern "C"
10807 #endif
10808 char XineramaQueryScreens ();
10810 main ()
10812 return XineramaQueryScreens ();
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 case "$LIBEXT" in
10819 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10820 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'` ;;
10821 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10822 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10823 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10824 fi ;;
10825 esac
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_soname_save_LIBS
10831 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10833 $as_echo "not found" >&6; }
10835 else
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10837 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10839 cat >>confdefs.h <<_ACEOF
10840 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10841 _ACEOF
10846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10848 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10849 case "x$with_xinerama" in
10850 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10851 xno) ;;
10852 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10853 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10854 esac
10858 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10859 then
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10861 $as_echo_n "checking for -lXcomposite... " >&6; }
10862 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10863 $as_echo_n "(cached) " >&6
10864 else
10865 ac_check_soname_save_LIBS=$LIBS
10866 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10873 #ifdef __cplusplus
10874 extern "C"
10875 #endif
10876 char XCompositeRedirectWindow ();
10878 main ()
10880 return XCompositeRedirectWindow ();
10882 return 0;
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 case "$LIBEXT" in
10887 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10888 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'` ;;
10889 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10890 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10891 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10892 fi ;;
10893 esac
10895 rm -f core conftest.err conftest.$ac_objext \
10896 conftest$ac_exeext conftest.$ac_ext
10897 LIBS=$ac_check_soname_save_LIBS
10899 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10901 $as_echo "not found" >&6; }
10903 else
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10905 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10907 cat >>confdefs.h <<_ACEOF
10908 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10909 _ACEOF
10914 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10915 case "x$with_xcomposite" in
10916 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10917 xno) ;;
10918 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10919 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10920 esac
10924 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10925 #include <X11/Xlib.h>
10926 #endif
10928 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10930 cat >>confdefs.h <<_ACEOF
10931 #define HAVE_XICCALLBACK_CALLBACK 1
10932 _ACEOF
10936 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10937 #include <X11/Xlib.h>
10938 #endif
10940 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10942 cat >>confdefs.h <<_ACEOF
10943 #define HAVE_XEVENT_XCOOKIE 1
10944 _ACEOF
10951 opengl_msg=""
10952 if test "x$with_opengl" != "xno"
10953 then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10955 $as_echo_n "checking for -lGL... " >&6; }
10956 if ${ac_cv_lib_soname_GL+:} false; then :
10957 $as_echo_n "(cached) " >&6
10958 else
10959 ac_check_soname_save_LIBS=$LIBS
10960 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10967 #ifdef __cplusplus
10968 extern "C"
10969 #endif
10970 char glXCreateContext ();
10972 main ()
10974 return glXCreateContext ();
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_link "$LINENO"; then :
10980 case "$LIBEXT" in
10981 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10982 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'` ;;
10983 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10984 if ${ac_cv_lib_soname_GL:+false} :; then :
10985 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10986 fi ;;
10987 esac
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_soname_save_LIBS
10993 if ${ac_cv_lib_soname_GL:+false} :; then :
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10995 $as_echo "not found" >&6; }
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10997 $as_echo_n "checking for -lGL... " >&6; }
10998 if ${ac_cv_lib_soname_GL+:} false; then :
10999 $as_echo_n "(cached) " >&6
11000 else
11001 ac_check_soname_save_LIBS=$LIBS
11002 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"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11009 #ifdef __cplusplus
11010 extern "C"
11011 #endif
11012 char glXCreateContext ();
11014 main ()
11016 return glXCreateContext ();
11018 return 0;
11020 _ACEOF
11021 if ac_fn_c_try_link "$LINENO"; then :
11022 case "$LIBEXT" in
11023 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11024 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'` ;;
11025 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11026 if ${ac_cv_lib_soname_GL:+false} :; then :
11027 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11028 fi ;;
11029 esac
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_soname_save_LIBS
11035 if ${ac_cv_lib_soname_GL:+false} :; then :
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11037 $as_echo "not found" >&6; }
11038 if test -f /usr/X11R6/lib/libGL.a
11039 then
11040 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11041 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11042 else
11043 opengl_msg="No OpenGL library found on this system."
11045 else
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11047 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11049 cat >>confdefs.h <<_ACEOF
11050 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11051 _ACEOF
11053 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"
11055 else
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11057 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11059 cat >>confdefs.h <<_ACEOF
11060 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11061 _ACEOF
11063 OPENGL_LIBS="-lGL"
11065 if test "x$with_glu" != "xno"
11066 then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11068 $as_echo_n "checking for -lGLU... " >&6; }
11069 if ${ac_cv_lib_soname_GLU+:} false; then :
11070 $as_echo_n "(cached) " >&6
11071 else
11072 ac_check_soname_save_LIBS=$LIBS
11073 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11080 #ifdef __cplusplus
11081 extern "C"
11082 #endif
11083 char gluLookAt ();
11085 main ()
11087 return gluLookAt ();
11089 return 0;
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"; then :
11093 case "$LIBEXT" in
11094 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11095 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'` ;;
11096 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11097 if ${ac_cv_lib_soname_GLU:+false} :; then :
11098 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11099 fi ;;
11100 esac
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_soname_save_LIBS
11106 if ${ac_cv_lib_soname_GLU:+false} :; then :
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11108 $as_echo "not found" >&6; }
11110 else
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11112 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11114 cat >>confdefs.h <<_ACEOF
11115 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11116 _ACEOF
11120 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11121 case "x$with_glu" in
11122 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11123 xno) ;;
11124 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11125 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11126 esac
11131 if test "x$with_osmesa" != "xno"
11132 then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11134 $as_echo_n "checking for -lOSMesa... " >&6; }
11135 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11136 $as_echo_n "(cached) " >&6
11137 else
11138 ac_check_soname_save_LIBS=$LIBS
11139 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char OSMesaGetProcAddress ();
11151 main ()
11153 return OSMesaGetProcAddress ();
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 case "$LIBEXT" in
11160 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11161 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'` ;;
11162 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11163 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11164 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11165 fi ;;
11166 esac
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_soname_save_LIBS
11172 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11174 $as_echo "not found" >&6; }
11176 else
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11178 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11180 cat >>confdefs.h <<_ACEOF
11181 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11182 _ACEOF
11186 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11187 case "x$with_osmesa" in
11188 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11189 xno) ;;
11190 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11191 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11192 esac
11197 if test -n "$opengl_msg"; then :
11198 case "x$with_opengl" in
11199 x) as_fn_append wine_warnings "|$opengl_msg
11200 OpenGL and Direct3D won't be supported." ;;
11201 xno) ;;
11202 *) as_fn_error $? "$opengl_msg
11203 OpenGL and Direct3D won't be supported.
11204 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11205 esac
11209 CPPFLAGS="$ac_save_CPPFLAGS"
11210 else
11211 X_CFLAGS=""
11212 X_LIBS=""
11215 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11216 then
11217 if test "x$X_LIBS" = "x"; then :
11218 case "x$with_x" in
11219 xno) ;;
11220 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11221 without X support, which probably isn't what you want. You will need
11222 to install ${notice_platform}development packages of Xlib at the very least.
11223 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11224 esac
11225 enable_winex11_drv=${enable_winex11_drv:-no}
11227 else
11228 if test "x$X_LIBS" = "x"; then :
11229 case "x$with_x" in
11230 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11231 xno) ;;
11232 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11233 This is an error since --with-x was requested." "$LINENO" 5 ;;
11234 esac
11235 enable_winex11_drv=${enable_winex11_drv:-no}
11239 if test "$ac_cv_header_CL_cl_h" = "yes"
11240 then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11242 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11243 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-lOpenCL $LIBS"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char clGetPlatformInfo ();
11259 main ()
11261 return clGetPlatformInfo ();
11263 return 0;
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11268 else
11269 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_lib_save_LIBS
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11276 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11277 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11278 OPENCL_LIBS="-lOpenCL"
11283 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11284 case "x$with_opencl" in
11285 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11286 xno) ;;
11287 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11288 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11289 esac
11290 enable_opencl=${enable_opencl:-no}
11293 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11294 then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11296 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11297 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11298 $as_echo_n "(cached) " >&6
11299 else
11300 ac_check_lib_save_LIBS=$LIBS
11301 LIBS="-lpcap $LIBS"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11308 #ifdef __cplusplus
11309 extern "C"
11310 #endif
11311 char pcap_create ();
11313 main ()
11315 return pcap_create ();
11317 return 0;
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"; then :
11321 ac_cv_lib_pcap_pcap_create=yes
11322 else
11323 ac_cv_lib_pcap_pcap_create=no
11325 rm -f core conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_lib_save_LIBS
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11330 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11331 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11332 PCAP_LIBS="-lpcap"
11337 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11338 case "x$with_pcap" in
11339 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11340 xno) ;;
11341 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11342 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11343 esac
11344 enable_wpcap=${enable_wpcap:-no}
11348 if test "x$with_xml" != "xno"
11349 then
11350 if ${XML2_CFLAGS:+false} :; then :
11351 if ${PKG_CONFIG+:} false; then :
11352 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11355 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11356 if ${XML2_LIBS:+false} :; then :
11357 if ${PKG_CONFIG+:} false; then :
11358 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11361 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11362 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11364 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11365 ac_save_CPPFLAGS=$CPPFLAGS
11366 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11367 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11368 do :
11369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11370 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11371 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11372 cat >>confdefs.h <<_ACEOF
11373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11374 _ACEOF
11378 done
11380 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"
11381 then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11383 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11384 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-lxml2 $XML2_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char xmlParseMemory ();
11400 main ()
11402 return xmlParseMemory ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_xml2_xmlParseMemory=yes
11409 else
11410 ac_cv_lib_xml2_xmlParseMemory=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11417 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11418 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11420 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11422 else
11423 XML2_LIBS=""
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11427 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11428 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-lxml2 $XML2_LIBS $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char xmlReadMemory ();
11444 main ()
11446 return xmlReadMemory ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 ac_cv_lib_xml2_xmlReadMemory=yes
11453 else
11454 ac_cv_lib_xml2_xmlReadMemory=no
11456 rm -f core conftest.err conftest.$ac_objext \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11461 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11462 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11464 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11469 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11470 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lxml2 $XML2_LIBS $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char xmlNewDocPI ();
11486 main ()
11488 return xmlNewDocPI ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 ac_cv_lib_xml2_xmlNewDocPI=yes
11495 else
11496 ac_cv_lib_xml2_xmlNewDocPI=no
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_lib_save_LIBS
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11503 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11504 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11506 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11511 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11512 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-lxml2 $XML2_LIBS $LIBS"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char xmlSchemaSetParserStructuredErrors ();
11528 main ()
11530 return xmlSchemaSetParserStructuredErrors ();
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11537 else
11538 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LIBS=$ac_check_lib_save_LIBS
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11545 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11546 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11548 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11553 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11554 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 ac_check_lib_save_LIBS=$LIBS
11558 LIBS="-lxml2 $XML2_LIBS $LIBS"
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11565 #ifdef __cplusplus
11566 extern "C"
11567 #endif
11568 char xmlSchemaSetValidStructuredErrors ();
11570 main ()
11572 return xmlSchemaSetValidStructuredErrors ();
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"; then :
11578 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11579 else
11580 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11582 rm -f core conftest.err conftest.$ac_objext \
11583 conftest$ac_exeext conftest.$ac_ext
11584 LIBS=$ac_check_lib_save_LIBS
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11587 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11588 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11590 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11595 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11596 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_lib_save_LIBS=$LIBS
11600 LIBS="-lxml2 $XML2_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char xmlFirstElementChild ();
11612 main ()
11614 return xmlFirstElementChild ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 ac_cv_lib_xml2_xmlFirstElementChild=yes
11621 else
11622 ac_cv_lib_xml2_xmlFirstElementChild=no
11624 rm -f core conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11629 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11630 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11632 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11636 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11638 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11640 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11644 else
11645 XML2_CFLAGS=""
11646 XML2_LIBS=""
11648 CPPFLAGS=$ac_save_CPPFLAGS
11649 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11650 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11653 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11654 case "x$with_xml" in
11655 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11656 xno) ;;
11657 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11658 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11659 esac
11663 if test "x$with_xslt" != "xno"
11664 then
11665 if ${XSLT_CFLAGS:+false} :; then :
11666 if ${PKG_CONFIG+:} false; then :
11667 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11670 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11671 if ${XSLT_LIBS:+false} :; then :
11672 if ${PKG_CONFIG+:} false; then :
11673 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11676 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11677 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11678 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11679 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11680 ac_save_CPPFLAGS=$CPPFLAGS
11681 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11682 for ac_header in libxslt/pattern.h libxslt/transform.h
11683 do :
11684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11686 # include <libxslt/pattern.h>
11687 #endif
11689 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11690 cat >>confdefs.h <<_ACEOF
11691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11692 _ACEOF
11696 done
11698 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11699 then
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11701 $as_echo_n "checking for -lxslt... " >&6; }
11702 if ${ac_cv_lib_soname_xslt+:} false; then :
11703 $as_echo_n "(cached) " >&6
11704 else
11705 ac_check_soname_save_LIBS=$LIBS
11706 LIBS="-lxslt $XSLT_LIBS $LIBS"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11710 /* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11713 #ifdef __cplusplus
11714 extern "C"
11715 #endif
11716 char xsltCompilePattern ();
11718 main ()
11720 return xsltCompilePattern ();
11722 return 0;
11724 _ACEOF
11725 if ac_fn_c_try_link "$LINENO"; then :
11726 case "$LIBEXT" in
11727 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11728 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'` ;;
11729 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11730 if ${ac_cv_lib_soname_xslt:+false} :; then :
11731 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11732 fi ;;
11733 esac
11735 rm -f core conftest.err conftest.$ac_objext \
11736 conftest$ac_exeext conftest.$ac_ext
11737 LIBS=$ac_check_soname_save_LIBS
11739 if ${ac_cv_lib_soname_xslt:+false} :; then :
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11741 $as_echo "not found" >&6; }
11743 else
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11745 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11747 cat >>confdefs.h <<_ACEOF
11748 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11749 _ACEOF
11753 else
11754 XSLT_CFLAGS=""
11756 CPPFLAGS=$ac_save_CPPFLAGS
11757 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11758 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11761 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11762 case "x$with_xslt" in
11763 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11764 xno) ;;
11765 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11766 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11767 esac
11771 if test "x$with_dbus" != "xno"
11772 then
11773 if ${DBUS_CFLAGS:+false} :; then :
11774 if ${PKG_CONFIG+:} false; then :
11775 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11779 if ${DBUS_LIBS:+false} :; then :
11780 if ${PKG_CONFIG+:} false; then :
11781 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11786 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11787 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11788 ac_save_CPPFLAGS=$CPPFLAGS
11789 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11790 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11791 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11793 $as_echo_n "checking for -ldbus-1... " >&6; }
11794 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_soname_save_LIBS=$LIBS
11798 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char dbus_connection_close ();
11810 main ()
11812 return dbus_connection_close ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"; then :
11818 case "$LIBEXT" in
11819 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11820 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'` ;;
11821 *) 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'`
11822 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11823 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11824 fi ;;
11825 esac
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_soname_save_LIBS
11831 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11834 DBUS_CFLAGS=""
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11837 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11839 cat >>confdefs.h <<_ACEOF
11840 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11841 _ACEOF
11845 else
11846 DBUS_CFLAGS=""
11850 CPPFLAGS=$ac_save_CPPFLAGS
11851 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11852 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11855 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11856 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11857 case "x$with_dbus" in
11858 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11859 xno) ;;
11860 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11861 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11862 esac
11866 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11867 then
11868 if ${HAL_CFLAGS:+false} :; then :
11869 if ${PKG_CONFIG+:} false; then :
11870 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11874 if ${HAL_LIBS:+false} :; then :
11875 if ${PKG_CONFIG+:} false; then :
11876 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11880 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11881 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11882 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11883 ac_save_CPPFLAGS=$CPPFLAGS
11884 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11885 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11886 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11888 $as_echo_n "checking for -lhal... " >&6; }
11889 if ${ac_cv_lib_soname_hal+:} false; then :
11890 $as_echo_n "(cached) " >&6
11891 else
11892 ac_check_soname_save_LIBS=$LIBS
11893 LIBS="-lhal $HAL_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 char libhal_ctx_new ();
11905 main ()
11907 return libhal_ctx_new ();
11909 return 0;
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"; then :
11913 case "$LIBEXT" in
11914 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11915 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'` ;;
11916 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11917 if ${ac_cv_lib_soname_hal:+false} :; then :
11918 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11919 fi ;;
11920 esac
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_soname_save_LIBS
11926 if ${ac_cv_lib_soname_hal:+false} :; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11928 $as_echo "not found" >&6; }
11929 HAL_CFLAGS=""
11930 else
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11932 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11934 cat >>confdefs.h <<_ACEOF
11935 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11936 _ACEOF
11940 else
11941 HAL_CFLAGS=""
11945 CPPFLAGS=$ac_save_CPPFLAGS
11946 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11947 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11949 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11950 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11951 case "x$with_hal" in
11952 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11953 xno) ;;
11954 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11955 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11956 esac
11961 if test "x$with_gnutls" != "xno"
11962 then
11963 if ${GNUTLS_CFLAGS:+false} :; then :
11964 if ${PKG_CONFIG+:} false; then :
11965 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11969 if ${GNUTLS_LIBS:+false} :; then :
11970 if ${PKG_CONFIG+:} false; then :
11971 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11976 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11977 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11978 ac_save_CPPFLAGS=$CPPFLAGS
11979 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11980 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11981 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11984 #include <gnutls/gnutls.h>
11985 #include <gnutls/crypto.h>
11987 main ()
11989 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_compile "$LINENO"; then :
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11996 $as_echo_n "checking for -lgnutls... " >&6; }
11997 if ${ac_cv_lib_soname_gnutls+:} false; then :
11998 $as_echo_n "(cached) " >&6
11999 else
12000 ac_check_soname_save_LIBS=$LIBS
12001 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12008 #ifdef __cplusplus
12009 extern "C"
12010 #endif
12011 char gnutls_global_init ();
12013 main ()
12015 return gnutls_global_init ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"; then :
12021 case "$LIBEXT" in
12022 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12023 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'` ;;
12024 *) 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'`
12025 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12026 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'`
12027 fi ;;
12028 esac
12030 rm -f core conftest.err conftest.$ac_objext \
12031 conftest$ac_exeext conftest.$ac_ext
12032 LIBS=$ac_check_soname_save_LIBS
12034 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12036 $as_echo "not found" >&6; }
12037 GNUTLS_CFLAGS=""
12038 else
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12040 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12042 cat >>confdefs.h <<_ACEOF
12043 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12044 _ACEOF
12048 ac_wine_check_funcs_save_LIBS="$LIBS"
12049 LIBS="$LIBS $GNUTLS_LIBS"
12050 for ac_func in gnutls_cipher_init
12051 do :
12052 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12053 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12054 cat >>confdefs.h <<_ACEOF
12055 #define HAVE_GNUTLS_CIPHER_INIT 1
12056 _ACEOF
12058 else
12059 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12061 done
12063 LIBS="$ac_wine_check_funcs_save_LIBS"
12065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12066 else
12067 GNUTLS_CFLAGS=""
12071 CPPFLAGS=$ac_save_CPPFLAGS
12072 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12073 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12076 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12077 case "x$with_gnutls" in
12078 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12079 xno) ;;
12080 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12081 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12082 esac
12086 CURSES_LIBS=""
12087 if test "$ac_cv_header_ncurses_h" = "yes"
12088 then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12090 $as_echo_n "checking for -lncurses... " >&6; }
12091 if ${ac_cv_lib_soname_ncurses+:} false; then :
12092 $as_echo_n "(cached) " >&6
12093 else
12094 ac_check_soname_save_LIBS=$LIBS
12095 LIBS="-lncurses $LIBS"
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12102 #ifdef __cplusplus
12103 extern "C"
12104 #endif
12105 char waddch ();
12107 main ()
12109 return waddch ();
12111 return 0;
12113 _ACEOF
12114 if ac_fn_c_try_link "$LINENO"; then :
12115 case "$LIBEXT" in
12116 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12117 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'` ;;
12118 *) 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'`
12119 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12120 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12121 fi ;;
12122 esac
12124 rm -f core conftest.err conftest.$ac_objext \
12125 conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_soname_save_LIBS
12128 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12130 $as_echo "not found" >&6; }
12132 else
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12134 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12136 cat >>confdefs.h <<_ACEOF
12137 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12138 _ACEOF
12140 CURSES_LIBS="-lncurses"
12142 elif test "$ac_cv_header_curses_h" = "yes"
12143 then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12145 $as_echo_n "checking for -lcurses... " >&6; }
12146 if ${ac_cv_lib_soname_curses+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 ac_check_soname_save_LIBS=$LIBS
12150 LIBS="-lcurses $LIBS"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
12160 char waddch ();
12162 main ()
12164 return waddch ();
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12170 case "$LIBEXT" in
12171 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12172 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'` ;;
12173 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12174 if ${ac_cv_lib_soname_curses:+false} :; then :
12175 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12176 fi ;;
12177 esac
12179 rm -f core conftest.err conftest.$ac_objext \
12180 conftest$ac_exeext conftest.$ac_ext
12181 LIBS=$ac_check_soname_save_LIBS
12183 if ${ac_cv_lib_soname_curses:+false} :; then :
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12185 $as_echo "not found" >&6; }
12187 else
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12189 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12191 cat >>confdefs.h <<_ACEOF
12192 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12193 _ACEOF
12195 CURSES_LIBS="-lcurses"
12198 ac_save_LIBS="$LIBS"
12199 LIBS="$LIBS $CURSES_LIBS"
12200 for ac_func in mousemask
12201 do :
12202 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12203 if test "x$ac_cv_func_mousemask" = xyes; then :
12204 cat >>confdefs.h <<_ACEOF
12205 #define HAVE_MOUSEMASK 1
12206 _ACEOF
12209 done
12211 LIBS="$ac_save_LIBS"
12212 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12213 case "x$with_curses" in
12214 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12215 xno) ;;
12216 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12217 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12218 esac
12222 if test "x$with_sane" != "xno"
12223 then
12224 if ${SANE_CFLAGS:+false} :; then :
12225 if ${PKG_CONFIG+:} false; then :
12226 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12229 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12230 if ${SANE_LIBS:+false} :; then :
12231 if ${PKG_CONFIG+:} false; then :
12232 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12235 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12237 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12238 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12239 ac_save_CPPFLAGS=$CPPFLAGS
12240 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12241 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12242 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12244 $as_echo_n "checking for -lsane... " >&6; }
12245 if ${ac_cv_lib_soname_sane+:} false; then :
12246 $as_echo_n "(cached) " >&6
12247 else
12248 ac_check_soname_save_LIBS=$LIBS
12249 LIBS="-lsane $SANE_LIBS $LIBS"
12250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12253 /* Override any GCC internal prototype to avoid an error.
12254 Use char because int might match the return type of a GCC
12255 builtin and then its argument prototype would still apply. */
12256 #ifdef __cplusplus
12257 extern "C"
12258 #endif
12259 char sane_init ();
12261 main ()
12263 return sane_init ();
12265 return 0;
12267 _ACEOF
12268 if ac_fn_c_try_link "$LINENO"; then :
12269 case "$LIBEXT" in
12270 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12271 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'` ;;
12272 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12273 if ${ac_cv_lib_soname_sane:+false} :; then :
12274 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12275 fi ;;
12276 esac
12278 rm -f core conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_soname_save_LIBS
12282 if ${ac_cv_lib_soname_sane:+false} :; then :
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12284 $as_echo "not found" >&6; }
12285 SANE_CFLAGS=""
12286 else
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12288 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12290 cat >>confdefs.h <<_ACEOF
12291 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12292 _ACEOF
12296 else
12297 SANE_CFLAGS=""
12301 CPPFLAGS=$ac_save_CPPFLAGS
12302 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12303 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12306 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12307 case "x$with_sane" in
12308 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12309 xno) ;;
12310 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12311 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12312 esac
12316 if test "x$with_v4l" != "xno"
12317 then
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12319 $as_echo_n "checking for -lv4l1... " >&6; }
12320 if ${ac_cv_lib_soname_v4l1+:} false; then :
12321 $as_echo_n "(cached) " >&6
12322 else
12323 ac_check_soname_save_LIBS=$LIBS
12324 LIBS="-lv4l1 $LIBS"
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12328 /* Override any GCC internal prototype to avoid an error.
12329 Use char because int might match the return type of a GCC
12330 builtin and then its argument prototype would still apply. */
12331 #ifdef __cplusplus
12332 extern "C"
12333 #endif
12334 char v4l1_open ();
12336 main ()
12338 return v4l1_open ();
12340 return 0;
12342 _ACEOF
12343 if ac_fn_c_try_link "$LINENO"; then :
12344 case "$LIBEXT" in
12345 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12346 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'` ;;
12347 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12348 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12349 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12350 fi ;;
12351 esac
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_soname_save_LIBS
12357 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12359 $as_echo "not found" >&6; }
12361 else
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12363 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12365 cat >>confdefs.h <<_ACEOF
12366 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12367 _ACEOF
12372 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12373 case "x$with_v4l" in
12374 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12375 xno) ;;
12376 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12377 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12378 esac
12382 if test "x$with_gphoto" != "xno"
12383 then
12384 if ${GPHOTO2_CFLAGS:+false} :; then :
12385 if ${PKG_CONFIG+:} false; then :
12386 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12389 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12390 if ${GPHOTO2_LIBS:+false} :; then :
12391 if ${PKG_CONFIG+:} false; then :
12392 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12395 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12396 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12397 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12398 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12399 ac_save_CPPFLAGS=$CPPFLAGS
12400 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12401 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12402 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12404 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12405 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12406 $as_echo_n "(cached) " >&6
12407 else
12408 ac_check_lib_save_LIBS=$LIBS
12409 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12413 /* Override any GCC internal prototype to avoid an error.
12414 Use char because int might match the return type of a GCC
12415 builtin and then its argument prototype would still apply. */
12416 #ifdef __cplusplus
12417 extern "C"
12418 #endif
12419 char gp_camera_new ();
12421 main ()
12423 return gp_camera_new ();
12425 return 0;
12427 _ACEOF
12428 if ac_fn_c_try_link "$LINENO"; then :
12429 ac_cv_lib_gphoto2_gp_camera_new=yes
12430 else
12431 ac_cv_lib_gphoto2_gp_camera_new=no
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 LIBS=$ac_check_lib_save_LIBS
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12438 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12439 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12441 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12443 else
12444 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12447 else
12448 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12453 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12454 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12456 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12457 if ${PKG_CONFIG+:} false; then :
12458 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12461 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12462 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12463 if ${PKG_CONFIG+:} false; then :
12464 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12467 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12468 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12469 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12470 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12471 ac_save_CPPFLAGS=$CPPFLAGS
12472 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12473 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12474 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12476 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12477 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12478 $as_echo_n "(cached) " >&6
12479 else
12480 ac_check_lib_save_LIBS=$LIBS
12481 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12488 #ifdef __cplusplus
12489 extern "C"
12490 #endif
12491 char gp_port_info_list_new ();
12493 main ()
12495 return gp_port_info_list_new ();
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12502 else
12503 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_lib_save_LIBS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12510 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12511 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12513 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12515 else
12516 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12519 else
12520 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12524 CPPFLAGS=$ac_save_CPPFLAGS
12525 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12526 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12529 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12530 case "x$with_gphoto" in
12531 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12532 xno) ;;
12533 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12534 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12535 esac
12538 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12539 case "x$with_gphoto" in
12540 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12541 xno) ;;
12542 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12543 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12544 esac
12549 if test "$ac_cv_header_resolv_h" = "yes"
12550 then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12552 $as_echo_n "checking for resolver library... " >&6; }
12553 if ${ac_cv_have_resolv+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_save_LIBS="$LIBS"
12557 for lib in '' -lresolv
12559 LIBS="$lib $ac_save_LIBS"
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12562 #ifdef HAVE_NETINET_IN_H
12563 #include <netinet/in.h>
12564 #endif
12565 #include <resolv.h>
12567 main ()
12569 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12571 return 0;
12573 _ACEOF
12574 if ac_fn_c_try_link "$LINENO"; then :
12575 ac_cv_have_resolv=${lib:-"none required"}
12576 else
12577 ac_cv_have_resolv="not found"
12579 rm -f core conftest.err conftest.$ac_objext \
12580 conftest$ac_exeext conftest.$ac_ext
12581 test "x$ac_cv_have_resolv" = "xnot found" || break
12582 done
12583 LIBS="$ac_save_LIBS"
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12586 $as_echo "$ac_cv_have_resolv" >&6; }
12588 case "$ac_cv_have_resolv" in
12589 "not found") ;;
12590 "none required")
12592 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12595 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12597 RESOLV_LIBS=$ac_cv_have_resolv
12599 esac
12602 if test "x$with_cms" != "xno"
12603 then
12604 if ${LCMS2_CFLAGS:+false} :; then :
12605 if ${PKG_CONFIG+:} false; then :
12606 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12610 if ${LCMS2_LIBS:+false} :; then :
12611 if ${PKG_CONFIG+:} false; then :
12612 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12616 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12617 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12618 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12619 ac_save_CPPFLAGS=$CPPFLAGS
12620 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12621 for ac_header in lcms2.h
12622 do :
12623 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12624 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12625 cat >>confdefs.h <<_ACEOF
12626 #define HAVE_LCMS2_H 1
12627 _ACEOF
12631 done
12633 if test "$ac_cv_header_lcms2_h" = "yes"
12634 then
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12636 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12637 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12638 $as_echo_n "(cached) " >&6
12639 else
12640 ac_check_lib_save_LIBS=$LIBS
12641 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12643 /* end confdefs.h. */
12645 /* Override any GCC internal prototype to avoid an error.
12646 Use char because int might match the return type of a GCC
12647 builtin and then its argument prototype would still apply. */
12648 #ifdef __cplusplus
12649 extern "C"
12650 #endif
12651 char cmsOpenProfileFromFile ();
12653 main ()
12655 return cmsOpenProfileFromFile ();
12657 return 0;
12659 _ACEOF
12660 if ac_fn_c_try_link "$LINENO"; then :
12661 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12662 else
12663 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12665 rm -f core conftest.err conftest.$ac_objext \
12666 conftest$ac_exeext conftest.$ac_ext
12667 LIBS=$ac_check_lib_save_LIBS
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12670 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12671 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12673 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12675 else
12676 LCMS2_LIBS=""
12679 else
12680 LCMS2_CFLAGS=""
12681 LCMS2_LIBS=""
12683 CPPFLAGS=$ac_save_CPPFLAGS
12684 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12685 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12688 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12689 case "x$with_cms" in
12690 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12691 xno) ;;
12692 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12693 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12694 esac
12698 if test "x$with_freetype" != "xno"
12699 then
12700 if ${FREETYPE_CFLAGS:+false} :; then :
12701 if ${PKG_CONFIG+:} false; then :
12702 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12705 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12706 if ${FREETYPE_LIBS:+false} :; then :
12707 if ${PKG_CONFIG+:} false; then :
12708 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12711 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12712 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12713 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12714 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12715 ac_save_CPPFLAGS=$CPPFLAGS
12716 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12717 for ac_header in ft2build.h
12718 do :
12719 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12720 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12721 cat >>confdefs.h <<_ACEOF
12722 #define HAVE_FT2BUILD_H 1
12723 _ACEOF
12727 done
12729 if test "$ac_cv_header_ft2build_h" = "yes"
12730 then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12732 $as_echo_n "checking for -lfreetype... " >&6; }
12733 if ${ac_cv_lib_soname_freetype+:} false; then :
12734 $as_echo_n "(cached) " >&6
12735 else
12736 ac_check_soname_save_LIBS=$LIBS
12737 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12744 #ifdef __cplusplus
12745 extern "C"
12746 #endif
12747 char FT_Init_FreeType ();
12749 main ()
12751 return FT_Init_FreeType ();
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_link "$LINENO"; then :
12757 case "$LIBEXT" in
12758 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12759 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'` ;;
12760 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12761 if ${ac_cv_lib_soname_freetype:+false} :; then :
12762 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12763 fi ;;
12764 esac
12766 rm -f core conftest.err conftest.$ac_objext \
12767 conftest$ac_exeext conftest.$ac_ext
12768 LIBS=$ac_check_soname_save_LIBS
12770 if ${ac_cv_lib_soname_freetype:+false} :; then :
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12772 $as_echo "not found" >&6; }
12773 FREETYPE_LIBS=""
12774 else
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12776 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12778 cat >>confdefs.h <<_ACEOF
12779 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12780 _ACEOF
12783 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12785 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12786 #include FT_MODULE_H
12788 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12790 cat >>confdefs.h <<_ACEOF
12791 #define HAVE_FT_TRUETYPEENGINETYPE 1
12792 _ACEOF
12798 else
12799 FREETYPE_CFLAGS=""
12800 FREETYPE_LIBS=""
12802 CPPFLAGS=$ac_save_CPPFLAGS
12803 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12804 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12807 if test "x$ac_cv_lib_soname_freetype" = x; then :
12808 case "x$with_freetype" in
12809 xno) ;;
12810 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12811 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12812 esac
12813 enable_fonts=${enable_fonts:-no}
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12817 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12818 if ${ac_cv_c_ppdev+:} false; then :
12819 $as_echo_n "(cached) " >&6
12820 else
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12823 #ifdef HAVE_SYS_IOCTL_H
12824 # include <sys/ioctl.h>
12825 #endif
12826 #include <linux/ppdev.h>
12828 main ()
12830 ioctl (1,PPCLAIM,0)
12832 return 0;
12834 _ACEOF
12835 if ac_fn_c_try_compile "$LINENO"; then :
12836 ac_cv_c_ppdev="yes"
12837 else
12838 ac_cv_c_ppdev="no"
12840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12843 $as_echo "$ac_cv_c_ppdev" >&6; }
12844 if test "$ac_cv_c_ppdev" = "yes"
12845 then
12847 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12851 ac_wine_check_funcs_save_LIBS="$LIBS"
12852 LIBS="$LIBS $PTHREAD_LIBS"
12853 for ac_func in \
12854 pthread_attr_get_np \
12855 pthread_getattr_np \
12856 pthread_getthreadid_np \
12857 pthread_get_stackaddr_np \
12858 pthread_get_stacksize_np
12859 do :
12860 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12861 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12862 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12863 cat >>confdefs.h <<_ACEOF
12864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12865 _ACEOF
12868 done
12870 LIBS="$ac_wine_check_funcs_save_LIBS"
12872 if test "$ac_cv_header_zlib_h" = "yes"
12873 then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12875 $as_echo_n "checking for inflate in -lz... " >&6; }
12876 if ${ac_cv_lib_z_inflate+:} false; then :
12877 $as_echo_n "(cached) " >&6
12878 else
12879 ac_check_lib_save_LIBS=$LIBS
12880 LIBS="-lz $LIBS"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12887 #ifdef __cplusplus
12888 extern "C"
12889 #endif
12890 char inflate ();
12892 main ()
12894 return inflate ();
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_link "$LINENO"; then :
12900 ac_cv_lib_z_inflate=yes
12901 else
12902 ac_cv_lib_z_inflate=no
12904 rm -f core conftest.err conftest.$ac_objext \
12905 conftest$ac_exeext conftest.$ac_ext
12906 LIBS=$ac_check_lib_save_LIBS
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12909 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12910 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12912 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12914 Z_LIBS="-lz"
12919 if test "x$Z_LIBS" = "x"; then :
12920 case "x$with_zlib" in
12921 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12922 xno) ;;
12923 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12924 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12925 esac
12929 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12930 then
12931 if test "$ac_cv_header_gettext_po_h" = "yes"
12932 then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12934 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12935 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12936 $as_echo_n "(cached) " >&6
12937 else
12938 ac_check_lib_save_LIBS=$LIBS
12939 LIBS="-lgettextpo $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 #ifdef __cplusplus
12947 extern "C"
12948 #endif
12949 char po_message_msgctxt ();
12951 main ()
12953 return po_message_msgctxt ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12960 else
12961 ac_cv_lib_gettextpo_po_message_msgctxt=no
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12965 LIBS=$ac_check_lib_save_LIBS
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12968 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12969 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12971 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12973 GETTEXTPO_LIBS="-lgettextpo"
12978 if test "x$GETTEXTPO_LIBS" = "x"; then :
12979 case "x$with_gettextpo" in
12980 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12981 xno) ;;
12982 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12983 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12984 esac
12987 if test "$srcdir" != .; then :
12988 case "x$with_gettextpo" in
12989 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12990 xno) ;;
12991 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12992 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12993 esac
12998 if test "x$with_pulse" != "xno";
12999 then
13000 if ${PULSE_CFLAGS:+false} :; then :
13001 if ${PKG_CONFIG+:} false; then :
13002 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13006 if ${PULSE_LIBS:+false} :; then :
13007 if ${PKG_CONFIG+:} false; then :
13008 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13013 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13014 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13015 ac_save_CPPFLAGS=$CPPFLAGS
13016 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13017 for ac_header in pulse/pulseaudio.h
13018 do :
13019 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13020 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13021 cat >>confdefs.h <<_ACEOF
13022 #define HAVE_PULSE_PULSEAUDIO_H 1
13023 _ACEOF
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13025 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13026 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13027 $as_echo_n "(cached) " >&6
13028 else
13029 ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-lpulse $PULSE_LIBS $LIBS"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13037 #ifdef __cplusplus
13038 extern "C"
13039 #endif
13040 char pa_stream_is_corked ();
13042 main ()
13044 return pa_stream_is_corked ();
13046 return 0;
13048 _ACEOF
13049 if ac_fn_c_try_link "$LINENO"; then :
13050 ac_cv_lib_pulse_pa_stream_is_corked=yes
13051 else
13052 ac_cv_lib_pulse_pa_stream_is_corked=no
13054 rm -f core conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13056 LIBS=$ac_check_lib_save_LIBS
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13059 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13060 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13062 else
13063 PULSE_LIBS=""
13066 else
13067 PULSE_LIBS=""
13070 done
13072 CPPFLAGS=$ac_save_CPPFLAGS
13073 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13074 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13077 if test -z "$PULSE_LIBS"; then :
13078 case "x$with_pulse" in
13079 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13080 xno) ;;
13081 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13082 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13083 esac
13084 enable_winepulse_drv=${enable_winepulse_drv:-no}
13087 if test "x$with_gstreamer" != "xno"
13088 then
13089 if ${GSTREAMER_CFLAGS:+false} :; then :
13090 if ${PKG_CONFIG+:} false; then :
13091 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13095 if ${GSTREAMER_LIBS:+false} :; then :
13096 if ${PKG_CONFIG+:} false; then :
13097 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13102 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13104 ac_save_CPPFLAGS=$CPPFLAGS
13105 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13106 ac_gst_incl=""
13107 for i in $GSTREAMER_CFLAGS
13109 case "$i" in
13110 -I*) ac_gst_incl="$ac_gst_incl $i";;
13111 esac
13112 done
13113 GSTREAMER_CFLAGS=$ac_gst_incl
13114 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13115 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13116 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13118 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13121 #include <gst/gst.h>
13123 main ()
13125 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_compile "$LINENO"; then :
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13132 $as_echo "yes" >&6; }
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13134 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13135 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13136 $as_echo_n "(cached) " >&6
13137 else
13138 ac_check_lib_save_LIBS=$LIBS
13139 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13146 #ifdef __cplusplus
13147 extern "C"
13148 #endif
13149 char gst_pad_new ();
13151 main ()
13153 return gst_pad_new ();
13155 return 0;
13157 _ACEOF
13158 if ac_fn_c_try_link "$LINENO"; then :
13159 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13160 else
13161 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13163 rm -f core conftest.err conftest.$ac_objext \
13164 conftest$ac_exeext conftest.$ac_ext
13165 LIBS=$ac_check_lib_save_LIBS
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13168 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13169 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13173 else
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13176 ac_glib2_broken=yes
13177 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13183 CPPFLAGS=$ac_save_CPPFLAGS
13184 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13185 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13188 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 :
13189 case "x$with_gstreamer" in
13190 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13191 xno) ;;
13192 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13193 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13194 esac
13197 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13199 ALSA_LIBS=""
13201 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13202 then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13204 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13205 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_lib_save_LIBS=$LIBS
13209 LIBS="-lasound $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char snd_pcm_hw_params_get_access_mask ();
13221 main ()
13223 return snd_pcm_hw_params_get_access_mask ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13230 else
13231 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13233 rm -f core conftest.err conftest.$ac_objext \
13234 conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13238 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13239 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13242 #ifdef HAVE_ALSA_ASOUNDLIB_H
13243 #include <alsa/asoundlib.h>
13244 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13245 #include <sys/asoundlib.h>
13246 #endif
13248 main ()
13250 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13252 return 0;
13254 _ACEOF
13255 if ac_fn_c_try_compile "$LINENO"; then :
13256 ALSA_LIBS="-lasound"
13258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13262 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13264 if test "x$with_oss" != xno
13265 then
13266 ac_save_CPPFLAGS="$CPPFLAGS"
13267 if test -f /etc/oss.conf
13268 then
13269 . /etc/oss.conf
13271 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13272 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13273 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13274 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13275 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13277 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13279 cat >>confdefs.h <<_ACEOF
13280 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13281 _ACEOF
13283 OSS4_CFLAGS="$ac_oss_incl"
13290 CPPFLAGS="$ac_save_CPPFLAGS"
13292 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13293 case "x$with_oss" in
13294 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13295 xno) ;;
13296 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13297 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13298 esac
13299 enable_wineoss_drv=${enable_wineoss_drv:-no}
13302 if test "x$with_udev" != "xno"
13303 then
13304 if ${UDEV_CFLAGS:+false} :; then :
13305 if ${PKG_CONFIG+:} false; then :
13306 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13310 if ${UDEV_LIBS:+false} :; then :
13311 if ${PKG_CONFIG+:} false; then :
13312 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13316 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13317 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13318 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13319 ac_save_CPPFLAGS=$CPPFLAGS
13320 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13321 for ac_header in libudev.h
13322 do :
13323 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13324 if test "x$ac_cv_header_libudev_h" = xyes; then :
13325 cat >>confdefs.h <<_ACEOF
13326 #define HAVE_LIBUDEV_H 1
13327 _ACEOF
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13329 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13330 if ${ac_cv_lib_udev_udev_new+:} false; then :
13331 $as_echo_n "(cached) " >&6
13332 else
13333 ac_check_lib_save_LIBS=$LIBS
13334 LIBS="-ludev $UDEV_LIBS $LIBS"
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13341 #ifdef __cplusplus
13342 extern "C"
13343 #endif
13344 char udev_new ();
13346 main ()
13348 return udev_new ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"; then :
13354 ac_cv_lib_udev_udev_new=yes
13355 else
13356 ac_cv_lib_udev_udev_new=no
13358 rm -f core conftest.err conftest.$ac_objext \
13359 conftest$ac_exeext conftest.$ac_ext
13360 LIBS=$ac_check_lib_save_LIBS
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13363 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13364 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13366 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13368 else
13369 UDEV_LIBS=""
13372 else
13373 UDEV_LIBS=""
13376 done
13378 CPPFLAGS=$ac_save_CPPFLAGS
13379 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13380 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13383 if test "x$UDEV_LIBS" = "x"; then :
13384 case "x$with_udev" in
13385 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13386 xno) ;;
13387 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13388 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13389 esac
13393 if test "x$with_capi" != "xno"
13394 then
13395 if ${CAPI20_CFLAGS:+false} :; then :
13396 if ${PKG_CONFIG+:} false; then :
13397 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13401 if ${CAPI20_LIBS:+false} :; then :
13402 if ${PKG_CONFIG+:} false; then :
13403 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13408 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13409 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13410 ac_save_CPPFLAGS=$CPPFLAGS
13411 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13412 for ac_header in capi20.h linux/capi.h
13413 do :
13414 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13415 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13417 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13418 cat >>confdefs.h <<_ACEOF
13419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13420 _ACEOF
13424 done
13426 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13427 then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13429 $as_echo_n "checking for -lcapi20... " >&6; }
13430 if ${ac_cv_lib_soname_capi20+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char capi20_register ();
13446 main ()
13448 return capi20_register ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_capi20:+false} :; then :
13459 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_capi20:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13473 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13477 _ACEOF
13482 CPPFLAGS=$ac_save_CPPFLAGS
13483 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13484 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13487 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13488 case "x$with_capi" in
13489 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13490 xno) ;;
13491 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13492 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13493 esac
13497 if test "x$with_cups" != "xno"
13498 then
13499 if ${CUPS_CFLAGS:+false} :; then :
13500 if ${PKG_CONFIG+:} false; then :
13501 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13504 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13505 if ${CUPS_LIBS:+false} :; then :
13506 if ${PKG_CONFIG+:} false; then :
13507 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13510 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13511 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13512 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13513 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13514 ac_save_CPPFLAGS=$CPPFLAGS
13515 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13516 for ac_header in cups/cups.h cups/ppd.h
13517 do :
13518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13519 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13520 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13521 cat >>confdefs.h <<_ACEOF
13522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13523 _ACEOF
13527 done
13529 if test "$ac_cv_header_cups_cups_h" = "yes"
13530 then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13532 $as_echo_n "checking for -lcups... " >&6; }
13533 if ${ac_cv_lib_soname_cups+:} false; then :
13534 $as_echo_n "(cached) " >&6
13535 else
13536 ac_check_soname_save_LIBS=$LIBS
13537 LIBS="-lcups $CUPS_LIBS $LIBS"
13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13541 /* Override any GCC internal prototype to avoid an error.
13542 Use char because int might match the return type of a GCC
13543 builtin and then its argument prototype would still apply. */
13544 #ifdef __cplusplus
13545 extern "C"
13546 #endif
13547 char cupsGetDefault ();
13549 main ()
13551 return cupsGetDefault ();
13553 return 0;
13555 _ACEOF
13556 if ac_fn_c_try_link "$LINENO"; then :
13557 case "$LIBEXT" in
13558 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13559 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'` ;;
13560 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13561 if ${ac_cv_lib_soname_cups:+false} :; then :
13562 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13563 fi ;;
13564 esac
13566 rm -f core conftest.err conftest.$ac_objext \
13567 conftest$ac_exeext conftest.$ac_ext
13568 LIBS=$ac_check_soname_save_LIBS
13570 if ${ac_cv_lib_soname_cups:+false} :; then :
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13572 $as_echo "not found" >&6; }
13573 CUPS_LIBS=""
13574 else
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13576 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13578 cat >>confdefs.h <<_ACEOF
13579 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13580 _ACEOF
13584 else
13585 CUPS_CFLAGS=""
13586 CUPS_LIBS=""
13588 CPPFLAGS=$ac_save_CPPFLAGS
13589 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13590 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13593 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13594 case "x$with_cups" in
13595 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13596 xno) ;;
13597 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13598 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13599 esac
13603 if test "x$with_fontconfig" != "xno"
13604 then
13605 if ${FONTCONFIG_CFLAGS:+false} :; then :
13606 if ${PKG_CONFIG+:} false; then :
13607 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13610 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13611 if ${FONTCONFIG_LIBS:+false} :; then :
13612 if ${PKG_CONFIG+:} false; then :
13613 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13616 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13618 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13619 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13620 ac_save_CPPFLAGS=$CPPFLAGS
13621 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13622 for ac_header in fontconfig/fontconfig.h
13623 do :
13624 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13625 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13626 cat >>confdefs.h <<_ACEOF
13627 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13628 _ACEOF
13632 done
13634 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13635 then
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13637 $as_echo_n "checking for -lfontconfig... " >&6; }
13638 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13639 $as_echo_n "(cached) " >&6
13640 else
13641 ac_check_soname_save_LIBS=$LIBS
13642 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13649 #ifdef __cplusplus
13650 extern "C"
13651 #endif
13652 char FcInit ();
13654 main ()
13656 return FcInit ();
13658 return 0;
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"; then :
13662 case "$LIBEXT" in
13663 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13664 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'` ;;
13665 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13666 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13667 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13668 fi ;;
13669 esac
13671 rm -f core conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_soname_save_LIBS
13675 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13677 $as_echo "not found" >&6; }
13678 FONTCONFIG_CFLAGS=""
13679 else
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13681 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13683 cat >>confdefs.h <<_ACEOF
13684 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13685 _ACEOF
13689 else
13690 FONTCONFIG_CFLAGS=""
13692 CPPFLAGS=$ac_save_CPPFLAGS
13693 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13694 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13697 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13698 case "x$with_fontconfig" in
13699 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13700 xno) ;;
13701 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13702 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13703 esac
13707 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13708 then
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13710 $as_echo_n "checking for -lgsm... " >&6; }
13711 if ${ac_cv_lib_soname_gsm+:} false; then :
13712 $as_echo_n "(cached) " >&6
13713 else
13714 ac_check_soname_save_LIBS=$LIBS
13715 LIBS="-lgsm $LIBS"
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13719 /* Override any GCC internal prototype to avoid an error.
13720 Use char because int might match the return type of a GCC
13721 builtin and then its argument prototype would still apply. */
13722 #ifdef __cplusplus
13723 extern "C"
13724 #endif
13725 char gsm_create ();
13727 main ()
13729 return gsm_create ();
13731 return 0;
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 case "$LIBEXT" in
13736 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13737 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'` ;;
13738 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13739 if ${ac_cv_lib_soname_gsm:+false} :; then :
13740 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13741 fi ;;
13742 esac
13744 rm -f core conftest.err conftest.$ac_objext \
13745 conftest$ac_exeext conftest.$ac_ext
13746 LIBS=$ac_check_soname_save_LIBS
13748 if ${ac_cv_lib_soname_gsm:+false} :; then :
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13750 $as_echo "not found" >&6; }
13752 else
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13754 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13756 cat >>confdefs.h <<_ACEOF
13757 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13758 _ACEOF
13763 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13764 case "x$with_gsm" in
13765 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13766 xno) ;;
13767 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13768 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13769 esac
13773 if test "x$with_krb5" != "xno"
13774 then
13775 if ${KRB5_CFLAGS:+false} :; then :
13776 if ${PKG_CONFIG+:} false; then :
13777 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13780 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13781 if ${KRB5_LIBS:+false} :; then :
13782 if ${PKG_CONFIG+:} false; then :
13783 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13786 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13788 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13789 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13790 ac_save_CPPFLAGS=$CPPFLAGS
13791 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13792 for ac_header in krb5/krb5.h
13793 do :
13794 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13796 cat >>confdefs.h <<_ACEOF
13797 #define HAVE_KRB5_KRB5_H 1
13798 _ACEOF
13802 done
13804 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13805 then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13807 $as_echo_n "checking for -lkrb5... " >&6; }
13808 if ${ac_cv_lib_soname_krb5+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_soname_save_LIBS=$LIBS
13812 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char krb5_init_context ();
13824 main ()
13826 return krb5_init_context ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 case "$LIBEXT" in
13833 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13834 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'` ;;
13835 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13836 if ${ac_cv_lib_soname_krb5:+false} :; then :
13837 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13838 fi ;;
13839 esac
13841 rm -f core conftest.err conftest.$ac_objext \
13842 conftest$ac_exeext conftest.$ac_ext
13843 LIBS=$ac_check_soname_save_LIBS
13845 if ${ac_cv_lib_soname_krb5:+false} :; then :
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13847 $as_echo "not found" >&6; }
13848 KRB5_CFLAGS=""
13849 else
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13851 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13853 cat >>confdefs.h <<_ACEOF
13854 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13855 _ACEOF
13859 else
13860 KRB5_CFLAGS=""
13862 CPPFLAGS=$ac_save_CPPFLAGS
13863 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13864 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13867 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13868 case "x$with_krb5" in
13869 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13870 xno) ;;
13871 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13872 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13873 esac
13877 if test "x$with_jpeg" != "xno"
13878 then
13879 if ${JPEG_CFLAGS:+false} :; then :
13880 if ${PKG_CONFIG+:} false; then :
13881 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13885 if ${JPEG_LIBS:+false} :; then :
13886 if ${PKG_CONFIG+:} false; then :
13887 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13892 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13893 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13894 ac_save_CPPFLAGS=$CPPFLAGS
13895 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13896 for ac_header in jpeglib.h
13897 do :
13898 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13899 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13900 cat >>confdefs.h <<_ACEOF
13901 #define HAVE_JPEGLIB_H 1
13902 _ACEOF
13906 done
13908 if test "$ac_cv_header_jpeglib_h" = "yes"
13909 then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13911 $as_echo_n "checking for -ljpeg... " >&6; }
13912 if ${ac_cv_lib_soname_jpeg+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_check_soname_save_LIBS=$LIBS
13916 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13920 /* Override any GCC internal prototype to avoid an error.
13921 Use char because int might match the return type of a GCC
13922 builtin and then its argument prototype would still apply. */
13923 #ifdef __cplusplus
13924 extern "C"
13925 #endif
13926 char jpeg_start_decompress ();
13928 main ()
13930 return jpeg_start_decompress ();
13932 return 0;
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 case "$LIBEXT" in
13937 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13938 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'` ;;
13939 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13940 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13941 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13942 fi ;;
13943 esac
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_soname_save_LIBS
13949 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13951 $as_echo "not found" >&6; }
13952 JPEG_CFLAGS=""
13953 else
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13955 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13957 cat >>confdefs.h <<_ACEOF
13958 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13959 _ACEOF
13963 else
13964 JPEG_CFLAGS=""
13966 CPPFLAGS=$ac_save_CPPFLAGS
13967 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13968 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13971 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13972 case "x$with_jpeg" in
13973 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13974 xno) ;;
13975 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13976 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13977 esac
13981 if test "x$with_png" != "xno"
13982 then
13983 if ${PNG_CFLAGS:+false} :; then :
13984 if ${PKG_CONFIG+:} false; then :
13985 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13988 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13989 if ${PNG_LIBS:+false} :; then :
13990 if ${PKG_CONFIG+:} false; then :
13991 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13994 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13996 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13997 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13998 ac_save_CPPFLAGS=$CPPFLAGS
13999 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14000 for ac_header in png.h
14001 do :
14002 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14003 if test "x$ac_cv_header_png_h" = xyes; then :
14004 cat >>confdefs.h <<_ACEOF
14005 #define HAVE_PNG_H 1
14006 _ACEOF
14010 done
14012 if test "$ac_cv_header_png_h" = "yes"
14013 then
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14015 $as_echo_n "checking for -lpng... " >&6; }
14016 if ${ac_cv_lib_soname_png+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 ac_check_soname_save_LIBS=$LIBS
14020 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14024 /* Override any GCC internal prototype to avoid an error.
14025 Use char because int might match the return type of a GCC
14026 builtin and then its argument prototype would still apply. */
14027 #ifdef __cplusplus
14028 extern "C"
14029 #endif
14030 char png_create_read_struct ();
14032 main ()
14034 return png_create_read_struct ();
14036 return 0;
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 case "$LIBEXT" in
14041 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14042 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'` ;;
14043 *) 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'`
14044 if ${ac_cv_lib_soname_png:+false} :; then :
14045 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14046 fi ;;
14047 esac
14049 rm -f core conftest.err conftest.$ac_objext \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_soname_save_LIBS
14053 if ${ac_cv_lib_soname_png:+false} :; then :
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14055 $as_echo "not found" >&6; }
14056 PNG_CFLAGS=""
14057 else
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14059 $as_echo "$ac_cv_lib_soname_png" >&6; }
14061 cat >>confdefs.h <<_ACEOF
14062 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14063 _ACEOF
14067 else
14068 PNG_CFLAGS=""
14070 CPPFLAGS=$ac_save_CPPFLAGS
14071 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14072 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14075 if test "x$ac_cv_lib_soname_png" = "x"; then :
14076 case "x$with_png" in
14077 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14078 xno) ;;
14079 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14080 This is an error since --with-png was requested." "$LINENO" 5 ;;
14081 esac
14085 if test "x$with_tiff" != "xno"
14086 then
14087 if ${TIFF_CFLAGS:+false} :; then :
14088 if ${PKG_CONFIG+:} false; then :
14089 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14093 if ${TIFF_LIBS:+false} :; then :
14094 if ${PKG_CONFIG+:} false; then :
14095 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14100 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14101 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14102 ac_save_CPPFLAGS=$CPPFLAGS
14103 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14104 for ac_header in tiffio.h
14105 do :
14106 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14107 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14108 cat >>confdefs.h <<_ACEOF
14109 #define HAVE_TIFFIO_H 1
14110 _ACEOF
14114 done
14116 if test "$ac_cv_header_tiffio_h" = "yes"
14117 then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14119 $as_echo_n "checking for -ltiff... " >&6; }
14120 if ${ac_cv_lib_soname_tiff+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_check_soname_save_LIBS=$LIBS
14124 LIBS="-ltiff $TIFF_LIBS $LIBS"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14131 #ifdef __cplusplus
14132 extern "C"
14133 #endif
14134 char TIFFClientOpen ();
14136 main ()
14138 return TIFFClientOpen ();
14140 return 0;
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"; then :
14144 case "$LIBEXT" in
14145 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14146 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'` ;;
14147 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14148 if ${ac_cv_lib_soname_tiff:+false} :; then :
14149 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14150 fi ;;
14151 esac
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_soname_save_LIBS
14157 if ${ac_cv_lib_soname_tiff:+false} :; then :
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14159 $as_echo "not found" >&6; }
14161 else
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14163 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14165 cat >>confdefs.h <<_ACEOF
14166 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14167 _ACEOF
14172 CPPFLAGS=$ac_save_CPPFLAGS
14173 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14174 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14177 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14178 case "x$with_tiff" in
14179 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14180 xno) ;;
14181 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14182 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14183 esac
14187 if test "x$with_mpg123" != "xno"
14188 then
14189 if ${MPG123_CFLAGS:+false} :; then :
14190 if ${PKG_CONFIG+:} false; then :
14191 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14195 if ${MPG123_LIBS:+false} :; then :
14196 if ${PKG_CONFIG+:} false; then :
14197 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14201 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14202 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14203 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14204 ac_save_CPPFLAGS=$CPPFLAGS
14205 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14206 for ac_header in mpg123.h
14207 do :
14208 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14209 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14210 cat >>confdefs.h <<_ACEOF
14211 #define HAVE_MPG123_H 1
14212 _ACEOF
14216 done
14218 if test "$ac_cv_header_mpg123_h" = "yes"
14219 then
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14221 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14222 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 ac_check_lib_save_LIBS=$LIBS
14226 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14230 /* Override any GCC internal prototype to avoid an error.
14231 Use char because int might match the return type of a GCC
14232 builtin and then its argument prototype would still apply. */
14233 #ifdef __cplusplus
14234 extern "C"
14235 #endif
14236 char mpg123_feed ();
14238 main ()
14240 return mpg123_feed ();
14242 return 0;
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"; then :
14246 ac_cv_lib_mpg123_mpg123_feed=yes
14247 else
14248 ac_cv_lib_mpg123_mpg123_feed=no
14250 rm -f core conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14252 LIBS=$ac_check_lib_save_LIBS
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14255 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14256 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14258 else
14259 MPG123_LIBS=""
14262 else
14263 MPG123_CFLAGS=""
14264 MPG123_LIBS=""
14266 CPPFLAGS=$ac_save_CPPFLAGS
14267 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14268 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14271 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14272 case "x$with_mpg123" in
14273 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14274 xno) ;;
14275 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14276 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14277 esac
14278 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14281 if test "$ac_cv_header_AL_al_h" = "yes"
14282 then
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14284 $as_echo_n "checking for -lopenal... " >&6; }
14285 if ${ac_cv_lib_soname_openal+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 ac_check_soname_save_LIBS=$LIBS
14289 LIBS="-lopenal $LIBS"
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14296 #ifdef __cplusplus
14297 extern "C"
14298 #endif
14299 char alGetSource3i ();
14301 main ()
14303 return alGetSource3i ();
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 case "$LIBEXT" in
14310 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14311 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'` ;;
14312 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14313 if ${ac_cv_lib_soname_openal:+false} :; then :
14314 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14315 fi ;;
14316 esac
14318 rm -f core conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS=$ac_check_soname_save_LIBS
14322 if ${ac_cv_lib_soname_openal:+false} :; then :
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14324 $as_echo "not found" >&6; }
14326 else
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14328 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14330 cat >>confdefs.h <<_ACEOF
14331 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14332 _ACEOF
14334 OPENAL_LIBS="-lopenal"
14336 ac_cv_lib_openal=yes
14338 cat >>confdefs.h <<_ACEOF
14339 #define HAVE_OPENAL 1
14340 _ACEOF
14344 if test "x$ac_cv_lib_openal" != xyes; then :
14345 case "x$with_openal" in
14346 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14347 xno) ;;
14348 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14349 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14350 esac
14351 enable_openal32=${enable_openal32:-no}
14354 if test "x$ac_cv_lib_openal" = xyes
14355 then
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14357 $as_echo_n "checking for openal-soft... " >&6; }
14358 if ${ac_cv_have_openalsoft+:} false; then :
14359 $as_echo_n "(cached) " >&6
14360 else
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 #include <AL/al.h>
14364 #include <AL/alc.h>
14365 #include <AL/alext.h>
14366 LPALCRENDERSAMPLESSOFT x;
14368 main ()
14372 return 0;
14374 _ACEOF
14375 if ac_fn_c_try_compile "$LINENO"; then :
14376 ac_cv_have_openalsoft=yes
14377 else
14378 ac_cv_have_openalsoft=no
14380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14383 $as_echo "$ac_cv_have_openalsoft" >&6; }
14385 if test "x$ac_cv_have_openalsoft" != xyes
14386 then
14387 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14388 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14389 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14390 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14391 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14392 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14393 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14394 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14395 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14396 enable_xapofx1_1=${enable_xapofx1_1:-no}
14397 enable_xapofx1_2=${enable_xapofx1_2:-no}
14398 enable_xapofx1_3=${enable_xapofx1_3:-no}
14399 enable_xapofx1_4=${enable_xapofx1_4:-no}
14400 enable_xapofx1_5=${enable_xapofx1_5:-no}
14401 enable_xaudio2_0=${enable_xaudio2_0:-no}
14402 enable_xaudio2_1=${enable_xaudio2_1:-no}
14403 enable_xaudio2_2=${enable_xaudio2_2:-no}
14404 enable_xaudio2_3=${enable_xaudio2_3:-no}
14405 enable_xaudio2_4=${enable_xaudio2_4:-no}
14406 enable_xaudio2_5=${enable_xaudio2_5:-no}
14407 enable_xaudio2_6=${enable_xaudio2_6:-no}
14408 enable_xaudio2_7=${enable_xaudio2_7:-no}
14409 enable_xaudio2_8=${enable_xaudio2_8:-no}
14410 enable_xaudio2_9=${enable_xaudio2_9:-no}
14413 if test "$ac_cv_header_kstat_h" = "yes"
14414 then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14416 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14417 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_check_lib_save_LIBS=$LIBS
14421 LIBS="-lkstat $LIBS"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14425 /* Override any GCC internal prototype to avoid an error.
14426 Use char because int might match the return type of a GCC
14427 builtin and then its argument prototype would still apply. */
14428 #ifdef __cplusplus
14429 extern "C"
14430 #endif
14431 char kstat_open ();
14433 main ()
14435 return kstat_open ();
14437 return 0;
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_lib_kstat_kstat_open=yes
14442 else
14443 ac_cv_lib_kstat_kstat_open=no
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 LIBS=$ac_check_lib_save_LIBS
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14450 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14451 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14453 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14455 KSTAT_LIBS="-lkstat"
14461 if test "$ac_cv_header_libprocstat_h" = "yes"
14462 then
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14464 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14465 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_check_lib_save_LIBS=$LIBS
14469 LIBS="-lprocstat $LIBS"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14473 /* Override any GCC internal prototype to avoid an error.
14474 Use char because int might match the return type of a GCC
14475 builtin and then its argument prototype would still apply. */
14476 #ifdef __cplusplus
14477 extern "C"
14478 #endif
14479 char procstat_open_sysctl ();
14481 main ()
14483 return procstat_open_sysctl ();
14485 return 0;
14487 _ACEOF
14488 if ac_fn_c_try_link "$LINENO"; then :
14489 ac_cv_lib_procstat_procstat_open_sysctl=yes
14490 else
14491 ac_cv_lib_procstat_procstat_open_sysctl=no
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14495 LIBS=$ac_check_lib_save_LIBS
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14498 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14499 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14501 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14503 PROCSTAT_LIBS="-lprocstat"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14510 $as_echo_n "checking for -lodbc... " >&6; }
14511 if ${ac_cv_lib_soname_odbc+:} false; then :
14512 $as_echo_n "(cached) " >&6
14513 else
14514 ac_check_soname_save_LIBS=$LIBS
14515 LIBS="-lodbc $LIBS"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply. */
14522 #ifdef __cplusplus
14523 extern "C"
14524 #endif
14525 char SQLConnect ();
14527 main ()
14529 return SQLConnect ();
14531 return 0;
14533 _ACEOF
14534 if ac_fn_c_try_link "$LINENO"; then :
14535 case "$LIBEXT" in
14536 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14537 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'` ;;
14538 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14539 if ${ac_cv_lib_soname_odbc:+false} :; then :
14540 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14541 fi ;;
14542 esac
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LIBS=$ac_check_soname_save_LIBS
14548 if ${ac_cv_lib_soname_odbc:+false} :; then :
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14550 $as_echo "not found" >&6; }
14551 cat >>confdefs.h <<_ACEOF
14552 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14553 _ACEOF
14555 else
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14557 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14559 cat >>confdefs.h <<_ACEOF
14560 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14561 _ACEOF
14566 if test "x$with_netapi" != "xno"
14567 then
14568 if ${NETAPI_CFLAGS:+false} :; then :
14569 if ${PKG_CONFIG+:} false; then :
14570 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14574 if ${NETAPI_LIBS:+false} :; then :
14575 if ${PKG_CONFIG+:} false; then :
14576 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14581 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14582 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14583 ac_save_CPPFLAGS=$CPPFLAGS
14584 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14586 $as_echo_n "checking for -lnetapi... " >&6; }
14587 if ${ac_cv_lib_soname_netapi+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_check_soname_save_LIBS=$LIBS
14591 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 #ifdef __cplusplus
14599 extern "C"
14600 #endif
14601 char libnetapi_init ();
14603 main ()
14605 return libnetapi_init ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 case "$LIBEXT" in
14612 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14613 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'` ;;
14614 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14615 if ${ac_cv_lib_soname_netapi:+false} :; then :
14616 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14617 fi ;;
14618 esac
14620 rm -f core conftest.err conftest.$ac_objext \
14621 conftest$ac_exeext conftest.$ac_ext
14622 LIBS=$ac_check_soname_save_LIBS
14624 if ${ac_cv_lib_soname_netapi:+false} :; then :
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14626 $as_echo "not found" >&6; }
14627 cat >>confdefs.h <<_ACEOF
14628 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14629 _ACEOF
14631 else
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14633 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14635 cat >>confdefs.h <<_ACEOF
14636 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14637 _ACEOF
14641 CPPFLAGS=$ac_save_CPPFLAGS
14642 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14643 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14647 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14648 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14649 then
14650 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14654 EXTRACFLAGS=""
14656 if test "x${GCC}" = "xyes"
14657 then
14658 EXTRACFLAGS="-Wall -pipe"
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14661 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14662 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14663 $as_echo_n "(cached) " >&6
14664 else
14665 if test "$cross_compiling" = yes; then :
14666 ac_cv_c_gcc_strength_bug="no"
14667 else
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 int L[4] = {0,1,2,3};
14672 main ()
14674 static int Array[3];
14675 unsigned int B = 3;
14676 int i;
14677 for(i=0; i<B; i++) Array[i] = i - 3;
14678 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14679 L[i] = 4;
14680 return (Array[1] != -2 || L[2] != 3)
14682 return 0;
14684 _ACEOF
14685 if ac_fn_c_try_run "$LINENO"; then :
14686 ac_cv_c_gcc_strength_bug="no"
14687 else
14688 ac_cv_c_gcc_strength_bug="yes"
14690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14691 conftest.$ac_objext conftest.beam conftest.$ac_ext
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14696 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14697 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14698 then
14699 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14703 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14704 if ${ac_cv_cflags__fno_builtin+:} false; then :
14705 $as_echo_n "(cached) " >&6
14706 else
14707 ac_wine_try_cflags_saved=$CFLAGS
14708 CFLAGS="$CFLAGS -fno-builtin"
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14711 int main(int argc, char **argv) { return 0; }
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"; then :
14714 ac_cv_cflags__fno_builtin=yes
14715 else
14716 ac_cv_cflags__fno_builtin=no
14718 rm -f core conftest.err conftest.$ac_objext \
14719 conftest$ac_exeext conftest.$ac_ext
14720 CFLAGS=$ac_wine_try_cflags_saved
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14723 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14724 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14725 BUILTINFLAG="-fno-builtin"
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14729 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14730 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14731 $as_echo_n "(cached) " >&6
14732 else
14733 ac_wine_try_cflags_saved=$CFLAGS
14734 CFLAGS="$CFLAGS -fno-strict-aliasing"
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14737 int main(int argc, char **argv) { return 0; }
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_cflags__fno_strict_aliasing=yes
14741 else
14742 ac_cv_cflags__fno_strict_aliasing=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 CFLAGS=$ac_wine_try_cflags_saved
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14749 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14750 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14751 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14754 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14755 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_wine_try_cflags_saved=$CFLAGS
14759 CFLAGS="$CFLAGS -fexcess-precision=standard"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 int main(int argc, char **argv) { return 0; }
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_cflags__fexcess_precision_standard=yes
14766 else
14767 ac_cv_cflags__fexcess_precision_standard=no
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14771 CFLAGS=$ac_wine_try_cflags_saved
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14774 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14775 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14776 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14779 saved_CFLAGS=$CFLAGS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14781 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14782 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_wine_try_cflags_saved=$CFLAGS
14786 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_cflags__Werror_unknown_warning_option=yes
14793 else
14794 ac_cv_cflags__Werror_unknown_warning_option=no
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14798 CFLAGS=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14801 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14802 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14803 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14806 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14807 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 ac_wine_try_cflags_saved=$CFLAGS
14811 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14814 int main(int argc, char **argv) { return 0; }
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_cflags__Wdeclaration_after_statement=yes
14818 else
14819 ac_cv_cflags__Wdeclaration_after_statement=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 CFLAGS=$ac_wine_try_cflags_saved
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14826 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14827 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14828 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14831 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14832 if ${ac_cv_cflags__Wempty_body+:} false; then :
14833 $as_echo_n "(cached) " >&6
14834 else
14835 ac_wine_try_cflags_saved=$CFLAGS
14836 CFLAGS="$CFLAGS -Wempty-body"
14837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14839 int main(int argc, char **argv) { return 0; }
14840 _ACEOF
14841 if ac_fn_c_try_link "$LINENO"; then :
14842 ac_cv_cflags__Wempty_body=yes
14843 else
14844 ac_cv_cflags__Wempty_body=no
14846 rm -f core conftest.err conftest.$ac_objext \
14847 conftest$ac_exeext conftest.$ac_ext
14848 CFLAGS=$ac_wine_try_cflags_saved
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14851 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14852 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14853 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14856 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14857 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14858 $as_echo_n "(cached) " >&6
14859 else
14860 ac_wine_try_cflags_saved=$CFLAGS
14861 CFLAGS="$CFLAGS -Wignored-qualifiers"
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14864 int main(int argc, char **argv) { return 0; }
14865 _ACEOF
14866 if ac_fn_c_try_link "$LINENO"; then :
14867 ac_cv_cflags__Wignored_qualifiers=yes
14868 else
14869 ac_cv_cflags__Wignored_qualifiers=no
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14873 CFLAGS=$ac_wine_try_cflags_saved
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14876 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14877 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14878 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-packed-not-aligned" >&5
14881 $as_echo_n "checking whether the compiler supports -Wno-packed-not-aligned... " >&6; }
14882 if ${ac_cv_cflags__Wno_packed_not_aligned+:} false; then :
14883 $as_echo_n "(cached) " >&6
14884 else
14885 ac_wine_try_cflags_saved=$CFLAGS
14886 CFLAGS="$CFLAGS -Wno-packed-not-aligned"
14887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14889 int main(int argc, char **argv) { return 0; }
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"; then :
14892 ac_cv_cflags__Wno_packed_not_aligned=yes
14893 else
14894 ac_cv_cflags__Wno_packed_not_aligned=no
14896 rm -f core conftest.err conftest.$ac_objext \
14897 conftest$ac_exeext conftest.$ac_ext
14898 CFLAGS=$ac_wine_try_cflags_saved
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_packed_not_aligned" >&5
14901 $as_echo "$ac_cv_cflags__Wno_packed_not_aligned" >&6; }
14902 if test "x$ac_cv_cflags__Wno_packed_not_aligned" = xyes; then :
14903 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14906 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14907 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14908 $as_echo_n "(cached) " >&6
14909 else
14910 ac_wine_try_cflags_saved=$CFLAGS
14911 CFLAGS="$CFLAGS -Wshift-overflow=2"
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 int main(int argc, char **argv) { return 0; }
14915 _ACEOF
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 ac_cv_cflags__Wshift_overflow_2=yes
14918 else
14919 ac_cv_cflags__Wshift_overflow_2=no
14921 rm -f core conftest.err conftest.$ac_objext \
14922 conftest$ac_exeext conftest.$ac_ext
14923 CFLAGS=$ac_wine_try_cflags_saved
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14926 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14927 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14928 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14931 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14932 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 ac_wine_try_cflags_saved=$CFLAGS
14936 CFLAGS="$CFLAGS -Wstrict-prototypes"
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14939 int main(int argc, char **argv) { return 0; }
14940 _ACEOF
14941 if ac_fn_c_try_link "$LINENO"; then :
14942 ac_cv_cflags__Wstrict_prototypes=yes
14943 else
14944 ac_cv_cflags__Wstrict_prototypes=no
14946 rm -f core conftest.err conftest.$ac_objext \
14947 conftest$ac_exeext conftest.$ac_ext
14948 CFLAGS=$ac_wine_try_cflags_saved
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14951 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14952 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14953 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14956 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14957 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 ac_wine_try_cflags_saved=$CFLAGS
14961 CFLAGS="$CFLAGS -Wtype-limits"
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 int main(int argc, char **argv) { return 0; }
14965 _ACEOF
14966 if ac_fn_c_try_link "$LINENO"; then :
14967 ac_cv_cflags__Wtype_limits=yes
14968 else
14969 ac_cv_cflags__Wtype_limits=no
14971 rm -f core conftest.err conftest.$ac_objext \
14972 conftest$ac_exeext conftest.$ac_ext
14973 CFLAGS=$ac_wine_try_cflags_saved
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14976 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14977 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14978 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14981 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14982 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14983 $as_echo_n "(cached) " >&6
14984 else
14985 ac_wine_try_cflags_saved=$CFLAGS
14986 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14989 int main(int argc, char **argv) { return 0; }
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"; then :
14992 ac_cv_cflags__Wunused_but_set_parameter=yes
14993 else
14994 ac_cv_cflags__Wunused_but_set_parameter=no
14996 rm -f core conftest.err conftest.$ac_objext \
14997 conftest$ac_exeext conftest.$ac_ext
14998 CFLAGS=$ac_wine_try_cflags_saved
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15001 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15002 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15003 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15006 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15007 if ${ac_cv_cflags__Wvla+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 ac_wine_try_cflags_saved=$CFLAGS
15011 CFLAGS="$CFLAGS -Wvla"
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15014 int main(int argc, char **argv) { return 0; }
15015 _ACEOF
15016 if ac_fn_c_try_link "$LINENO"; then :
15017 ac_cv_cflags__Wvla=yes
15018 else
15019 ac_cv_cflags__Wvla=no
15021 rm -f core conftest.err conftest.$ac_objext \
15022 conftest$ac_exeext conftest.$ac_ext
15023 CFLAGS=$ac_wine_try_cflags_saved
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15026 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15027 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15028 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15031 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15032 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15033 $as_echo_n "(cached) " >&6
15034 else
15035 ac_wine_try_cflags_saved=$CFLAGS
15036 CFLAGS="$CFLAGS -Wwrite-strings"
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 int main(int argc, char **argv) { return 0; }
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 ac_cv_cflags__Wwrite_strings=yes
15043 else
15044 ac_cv_cflags__Wwrite_strings=no
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext conftest.$ac_ext
15048 CFLAGS=$ac_wine_try_cflags_saved
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15051 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15052 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15053 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15057 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15058 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15059 $as_echo_n "(cached) " >&6
15060 else
15061 ac_wine_try_cflags_saved=$CFLAGS
15062 CFLAGS="$CFLAGS -Wpointer-arith"
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15065 int main(int argc, char **argv) { return 0; }
15066 _ACEOF
15067 if ac_fn_c_try_link "$LINENO"; then :
15068 ac_cv_cflags__Wpointer_arith=yes
15069 else
15070 ac_cv_cflags__Wpointer_arith=no
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15074 CFLAGS=$ac_wine_try_cflags_saved
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15077 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15078 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15079 saved_string_h_CFLAGS=$CFLAGS
15080 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15082 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15083 if ${ac_cv_c_string_h_warnings+:} false; then :
15084 $as_echo_n "(cached) " >&6
15085 else
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15088 #include <string.h>
15090 main ()
15094 return 0;
15096 _ACEOF
15097 if ac_fn_c_try_compile "$LINENO"; then :
15098 ac_cv_c_string_h_warnings=no
15099 else
15100 ac_cv_c_string_h_warnings=yes
15102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15105 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15106 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15107 CFLAGS=$saved_string_h_CFLAGS
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15111 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15112 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_wine_try_cflags_saved=$CFLAGS
15116 CFLAGS="$CFLAGS -Wlogical-op"
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15119 int main(int argc, char **argv) { return 0; }
15120 _ACEOF
15121 if ac_fn_c_try_link "$LINENO"; then :
15122 ac_cv_cflags__Wlogical_op=yes
15123 else
15124 ac_cv_cflags__Wlogical_op=no
15126 rm -f core conftest.err conftest.$ac_objext \
15127 conftest$ac_exeext conftest.$ac_ext
15128 CFLAGS=$ac_wine_try_cflags_saved
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15131 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15132 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15133 saved_string_h_CFLAGS=$CFLAGS
15134 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15136 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15137 if ${ac_cv_c_logicalop_noisy+:} false; then :
15138 $as_echo_n "(cached) " >&6
15139 else
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 #include <string.h>
15143 char*f(const char *h,char n) {return strchr(h,n);}
15145 main ()
15149 return 0;
15151 _ACEOF
15152 if ac_fn_c_try_compile "$LINENO"; then :
15153 ac_cv_c_logicalop_noisy=no
15154 else
15155 ac_cv_c_logicalop_noisy=yes
15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15160 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15161 CFLAGS=$saved_string_h_CFLAGS
15162 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15165 CFLAGS=$saved_CFLAGS
15167 for ac_flag in $CFLAGS; do
15168 case $ac_flag in
15169 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15170 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15171 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 ac_wine_try_cflags_saved=$CFLAGS
15175 CFLAGS="$CFLAGS -gdwarf-2"
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__gdwarf_2=yes
15182 else
15183 ac_cv_cflags__gdwarf_2=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__gdwarf_2" >&5
15190 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15191 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15192 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15195 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15196 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15197 $as_echo_n "(cached) " >&6
15198 else
15199 ac_wine_try_cflags_saved=$CFLAGS
15200 CFLAGS="$CFLAGS -gstrict-dwarf"
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15203 int main(int argc, char **argv) { return 0; }
15204 _ACEOF
15205 if ac_fn_c_try_link "$LINENO"; then :
15206 ac_cv_cflags__gstrict_dwarf=yes
15207 else
15208 ac_cv_cflags__gstrict_dwarf=no
15210 rm -f core conftest.err conftest.$ac_objext \
15211 conftest$ac_exeext conftest.$ac_ext
15212 CFLAGS=$ac_wine_try_cflags_saved
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15215 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15216 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15217 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15218 fi ;;
15219 esac
15220 done
15222 case $host_cpu in
15223 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15224 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15225 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15226 $as_echo_n "(cached) " >&6
15227 else
15228 ac_wine_try_cflags_saved=$CFLAGS
15229 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 int main(int argc, char **argv) { return 0; }
15233 _ACEOF
15234 if ac_fn_c_try_link "$LINENO"; then :
15235 ac_cv_cflags__fno_omit_frame_pointer=yes
15236 else
15237 ac_cv_cflags__fno_omit_frame_pointer=no
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241 CFLAGS=$ac_wine_try_cflags_saved
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15244 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15245 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15246 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15247 fi ;;
15248 esac
15250 case $host in
15251 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15252 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15253 if ${ac_cv_cflags__Wno_format+:} false; then :
15254 $as_echo_n "(cached) " >&6
15255 else
15256 ac_wine_try_cflags_saved=$CFLAGS
15257 CFLAGS="$CFLAGS -Wno-format"
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15260 int main(int argc, char **argv) { return 0; }
15261 _ACEOF
15262 if ac_fn_c_try_link "$LINENO"; then :
15263 ac_cv_cflags__Wno_format=yes
15264 else
15265 ac_cv_cflags__Wno_format=no
15267 rm -f core conftest.err conftest.$ac_objext \
15268 conftest$ac_exeext conftest.$ac_ext
15269 CFLAGS=$ac_wine_try_cflags_saved
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15272 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15273 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15274 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15275 fi ;;
15276 esac
15278 if test "x$enable_maintainer_mode" = "xyes"
15279 then
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15281 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15282 if ${ac_cv_cflags__Werror+:} false; then :
15283 $as_echo_n "(cached) " >&6
15284 else
15285 ac_wine_try_cflags_saved=$CFLAGS
15286 CFLAGS="$CFLAGS -Werror"
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 int main(int argc, char **argv) { return 0; }
15290 _ACEOF
15291 if ac_fn_c_try_link "$LINENO"; then :
15292 ac_cv_cflags__Werror=yes
15293 else
15294 ac_cv_cflags__Werror=no
15296 rm -f core conftest.err conftest.$ac_objext \
15297 conftest$ac_exeext conftest.$ac_ext
15298 CFLAGS=$ac_wine_try_cflags_saved
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15301 $as_echo "$ac_cv_cflags__Werror" >&6; }
15302 if test "x$ac_cv_cflags__Werror" = xyes; then :
15303 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15307 saved_CFLAGS="$CFLAGS"
15308 CFLAGS="$CFLAGS -Werror"
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15310 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15311 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15316 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15318 main ()
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_compile "$LINENO"; then :
15326 ac_cv_have_ms_hook_prologue="yes"
15327 else
15328 ac_cv_have_ms_hook_prologue="no"
15330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15333 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15334 CFLAGS="$saved_CFLAGS"
15335 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15336 then
15338 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15340 else
15341 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15348 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15349 if ${ac_cv_c_fortify_enabled+:} false; then :
15350 $as_echo_n "(cached) " >&6
15351 else
15352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15354 #include <string.h>
15356 main ()
15358 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15359 #error Fortify enabled
15360 #endif
15362 return 0;
15364 _ACEOF
15365 if ac_fn_c_try_compile "$LINENO"; then :
15366 ac_cv_c_fortify_enabled=no
15367 else
15368 ac_cv_c_fortify_enabled=yes
15370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15373 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15374 if test "$ac_cv_c_fortify_enabled" = yes
15375 then
15376 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15381 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15382 if ${ac_cv_c_extern_prefix+:} false; then :
15383 $as_echo_n "(cached) " >&6
15384 else
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15387 extern int ac_test;
15389 main ()
15391 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 ac_cv_c_extern_prefix="yes"
15398 else
15399 ac_cv_c_extern_prefix="no"
15401 rm -f core conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext conftest.$ac_ext
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15405 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15407 case $host_cpu in
15408 *i[3456789]86*)
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15410 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15411 if ${ac_cv_c_stdcall_suffix+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 #ifndef _MSC_VER
15417 #define __stdcall __attribute__((__stdcall__))
15418 #endif
15419 int __stdcall ac_test(int i) { return i; }
15421 main ()
15423 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15425 return 0;
15427 _ACEOF
15428 if ac_fn_c_try_link "$LINENO"; then :
15429 ac_cv_c_stdcall_suffix="yes"
15430 else
15431 ac_cv_c_stdcall_suffix="no"
15433 rm -f core conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext conftest.$ac_ext
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15437 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15438 *) ac_cv_c_stdcall_suffix="no" ;;
15439 esac
15442 if test "$ac_cv_c_extern_prefix" = "yes"
15443 then
15444 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15446 asm_name_prefix="_"
15447 else
15448 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15450 asm_name_prefix=""
15454 if test "$ac_cv_c_stdcall_suffix" = "yes"
15455 then
15456 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15458 else
15459 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15465 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15466 if ${ac_cv_asm_func_def+:} false; then :
15467 $as_echo_n "(cached) " >&6
15468 else
15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15473 main ()
15475 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15477 return 0;
15479 _ACEOF
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 ac_cv_asm_func_def=".def"
15482 else
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15487 main ()
15489 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15491 return 0;
15493 _ACEOF
15494 if ac_fn_c_try_link "$LINENO"; then :
15495 ac_cv_asm_func_def=".type @function"
15496 else
15497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15498 /* end confdefs.h. */
15501 main ()
15503 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15505 return 0;
15507 _ACEOF
15508 if ac_fn_c_try_link "$LINENO"; then :
15509 ac_cv_asm_func_def=".type 2"
15510 else
15511 ac_cv_asm_func_def="unknown"
15513 rm -f core conftest.err conftest.$ac_objext \
15514 conftest$ac_exeext conftest.$ac_ext
15516 rm -f core conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15519 rm -f core conftest.err conftest.$ac_objext \
15520 conftest$ac_exeext conftest.$ac_ext
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15523 $as_echo "$ac_cv_asm_func_def" >&6; }
15526 case "$ac_cv_asm_func_def" in
15527 ".def")
15528 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15530 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15531 ".type @function")
15532 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15534 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15535 ".type 2")
15536 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15538 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15540 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15542 asm_func_header="" ;;
15543 esac
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15546 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15547 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15548 $as_echo_n "(cached) " >&6
15549 else
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15552 asm(".text\n\t.long 0");
15554 main ()
15558 return 0;
15560 _ACEOF
15561 if ac_fn_c_try_compile "$LINENO"; then :
15562 ac_cv_c_asm_outside_funcs="yes"
15563 else
15564 ac_cv_c_asm_outside_funcs="no"
15566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15569 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15572 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15573 if ${ac_cv_c_dot_previous+:} false; then :
15574 $as_echo_n "(cached) " >&6
15575 else
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15580 main ()
15582 asm(".text\nac_test:\t.long 0\n\t.previous");
15584 return 0;
15586 _ACEOF
15587 if ac_fn_c_try_link "$LINENO"; then :
15588 ac_cv_c_dot_previous="yes"
15589 else
15590 ac_cv_c_dot_previous="no"
15592 rm -f core conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15596 $as_echo "$ac_cv_c_dot_previous" >&6; }
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15599 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15600 if ${ac_cv_c_cfi_support+:} false; then :
15601 $as_echo_n "(cached) " >&6
15602 else
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15605 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15607 main ()
15611 return 0;
15613 _ACEOF
15614 if ac_fn_c_try_compile "$LINENO"; then :
15615 ac_cv_c_cfi_support="yes"
15616 else
15617 ac_cv_c_cfi_support="no"
15619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15622 $as_echo "$ac_cv_c_cfi_support" >&6; }
15624 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15625 asm_func_trailer=""
15626 if test "$ac_cv_c_dot_previous" = "yes"
15627 then
15628 asm_func_trailer="\\n\\t.previous"
15630 if test "$ac_cv_c_cfi_support" = "yes"
15631 then
15632 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15633 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15635 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15637 UNWINDFLAGS=-fasynchronous-unwind-tables
15639 else
15640 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15642 if test "x$enable_win64" = "xyes"
15643 then
15644 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15648 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15651 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15652 then
15653 cat >>confdefs.h <<_ACEOF
15654 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15655 _ACEOF
15657 else
15658 cat >>confdefs.h <<_ACEOF
15659 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15660 _ACEOF
15664 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15667 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15671 case $build_os in
15672 cygwin*|mingw32*) TOOLSEXT=".exe"
15674 esac
15676 case $host_os in
15677 linux*)
15678 case $host_cpu in
15679 *i[3456789]86*|x86_64*|*aarch64*)
15680 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15681 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15683 esac
15685 esac
15688 ac_save_CFLAGS="$CFLAGS"
15689 CFLAGS="$CFLAGS $BUILTINFLAG"
15690 for ac_func in \
15691 __res_get_state \
15692 __res_getservers \
15693 _finite \
15694 _isnan \
15695 _pclose \
15696 _popen \
15697 _snprintf \
15698 _spawnvp \
15699 _strdup \
15700 _stricmp \
15701 _strnicmp \
15702 _strtoi64 \
15703 _strtoui64 \
15704 _vsnprintf \
15705 asctime_r \
15706 chsize \
15707 dlopen \
15708 epoll_create \
15709 ffs \
15710 finitef \
15711 fnmatch \
15712 fork \
15713 fpclass \
15714 fstatfs \
15715 fstatvfs \
15716 ftruncate \
15717 futimens \
15718 futimes \
15719 futimesat \
15720 getattrlist \
15721 getauxval \
15722 getifaddrs \
15723 getopt_long_only \
15724 getpwuid \
15725 gettimeofday \
15726 getuid \
15727 isnanf \
15728 kqueue \
15729 lstat \
15730 memmove \
15731 mmap \
15732 pclose \
15733 pipe2 \
15734 poll \
15735 popen \
15736 port_create \
15737 prctl \
15738 pread \
15739 proc_pidinfo \
15740 pwrite \
15741 readdir \
15742 readlink \
15743 sched_yield \
15744 select \
15745 setproctitle \
15746 setprogname \
15747 setrlimit \
15748 settimeofday \
15749 sigaltstack \
15750 sigprocmask \
15751 snprintf \
15752 statfs \
15753 statvfs \
15754 strcasecmp \
15755 strdup \
15756 strerror \
15757 strncasecmp \
15758 strtold \
15759 strtoll \
15760 strtoull \
15761 symlink \
15762 sysinfo \
15763 tcdrain \
15764 thr_kill2 \
15765 timegm \
15766 usleep \
15767 vsnprintf
15769 do :
15770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15772 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15775 _ACEOF
15778 done
15780 CFLAGS="$ac_save_CFLAGS"
15782 if test "$ac_cv_func_dlopen" = no
15783 then
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15785 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15786 if ${ac_cv_lib_dl_dlopen+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 ac_check_lib_save_LIBS=$LIBS
15790 LIBS="-ldl $LIBS"
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char dlopen ();
15802 main ()
15804 return dlopen ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810 ac_cv_lib_dl_dlopen=yes
15811 else
15812 ac_cv_lib_dl_dlopen=no
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_lib_save_LIBS
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15819 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15820 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15821 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15822 DL_LIBS="-ldl"
15827 ac_wine_check_funcs_save_LIBS="$LIBS"
15828 LIBS="$LIBS $DL_LIBS"
15829 for ac_func in dladdr
15830 do :
15831 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15832 if test "x$ac_cv_func_dladdr" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_DLADDR 1
15835 _ACEOF
15838 done
15840 LIBS="$ac_wine_check_funcs_save_LIBS"
15842 if test "$ac_cv_func_poll" = no
15843 then
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15845 $as_echo_n "checking for poll in -lpoll... " >&6; }
15846 if ${ac_cv_lib_poll_poll+:} false; then :
15847 $as_echo_n "(cached) " >&6
15848 else
15849 ac_check_lib_save_LIBS=$LIBS
15850 LIBS="-lpoll $LIBS"
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15854 /* Override any GCC internal prototype to avoid an error.
15855 Use char because int might match the return type of a GCC
15856 builtin and then its argument prototype would still apply. */
15857 #ifdef __cplusplus
15858 extern "C"
15859 #endif
15860 char poll ();
15862 main ()
15864 return poll ();
15866 return 0;
15868 _ACEOF
15869 if ac_fn_c_try_link "$LINENO"; then :
15870 ac_cv_lib_poll_poll=yes
15871 else
15872 ac_cv_lib_poll_poll=no
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876 LIBS=$ac_check_lib_save_LIBS
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15879 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15880 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15881 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15882 POLL_LIBS="-lpoll"
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15889 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15890 if ${ac_cv_search_gethostbyname+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 ac_func_search_save_LIBS=$LIBS
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15897 /* Override any GCC internal prototype to avoid an error.
15898 Use char because int might match the return type of a GCC
15899 builtin and then its argument prototype would still apply. */
15900 #ifdef __cplusplus
15901 extern "C"
15902 #endif
15903 char gethostbyname ();
15905 main ()
15907 return gethostbyname ();
15909 return 0;
15911 _ACEOF
15912 for ac_lib in '' nsl; do
15913 if test -z "$ac_lib"; then
15914 ac_res="none required"
15915 else
15916 ac_res=-l$ac_lib
15917 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15919 if ac_fn_c_try_link "$LINENO"; then :
15920 ac_cv_search_gethostbyname=$ac_res
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext
15924 if ${ac_cv_search_gethostbyname+:} false; then :
15925 break
15927 done
15928 if ${ac_cv_search_gethostbyname+:} false; then :
15930 else
15931 ac_cv_search_gethostbyname=no
15933 rm conftest.$ac_ext
15934 LIBS=$ac_func_search_save_LIBS
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15937 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15938 ac_res=$ac_cv_search_gethostbyname
15939 if test "$ac_res" != no; then :
15940 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15946 $as_echo_n "checking for library containing connect... " >&6; }
15947 if ${ac_cv_search_connect+:} false; then :
15948 $as_echo_n "(cached) " >&6
15949 else
15950 ac_func_search_save_LIBS=$LIBS
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15954 /* Override any GCC internal prototype to avoid an error.
15955 Use char because int might match the return type of a GCC
15956 builtin and then its argument prototype would still apply. */
15957 #ifdef __cplusplus
15958 extern "C"
15959 #endif
15960 char connect ();
15962 main ()
15964 return connect ();
15966 return 0;
15968 _ACEOF
15969 for ac_lib in '' socket; do
15970 if test -z "$ac_lib"; then
15971 ac_res="none required"
15972 else
15973 ac_res=-l$ac_lib
15974 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15976 if ac_fn_c_try_link "$LINENO"; then :
15977 ac_cv_search_connect=$ac_res
15979 rm -f core conftest.err conftest.$ac_objext \
15980 conftest$ac_exeext
15981 if ${ac_cv_search_connect+:} false; then :
15982 break
15984 done
15985 if ${ac_cv_search_connect+:} false; then :
15987 else
15988 ac_cv_search_connect=no
15990 rm conftest.$ac_ext
15991 LIBS=$ac_func_search_save_LIBS
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15994 $as_echo "$ac_cv_search_connect" >&6; }
15995 ac_res=$ac_cv_search_connect
15996 if test "$ac_res" != no; then :
15997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16003 $as_echo_n "checking for library containing inet_aton... " >&6; }
16004 if ${ac_cv_search_inet_aton+:} false; then :
16005 $as_echo_n "(cached) " >&6
16006 else
16007 ac_func_search_save_LIBS=$LIBS
16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009 /* end confdefs.h. */
16011 /* Override any GCC internal prototype to avoid an error.
16012 Use char because int might match the return type of a GCC
16013 builtin and then its argument prototype would still apply. */
16014 #ifdef __cplusplus
16015 extern "C"
16016 #endif
16017 char inet_aton ();
16019 main ()
16021 return inet_aton ();
16023 return 0;
16025 _ACEOF
16026 for ac_lib in '' resolv; do
16027 if test -z "$ac_lib"; then
16028 ac_res="none required"
16029 else
16030 ac_res=-l$ac_lib
16031 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16033 if ac_fn_c_try_link "$LINENO"; then :
16034 ac_cv_search_inet_aton=$ac_res
16036 rm -f core conftest.err conftest.$ac_objext \
16037 conftest$ac_exeext
16038 if ${ac_cv_search_inet_aton+:} false; then :
16039 break
16041 done
16042 if ${ac_cv_search_inet_aton+:} false; then :
16044 else
16045 ac_cv_search_inet_aton=no
16047 rm conftest.$ac_ext
16048 LIBS=$ac_func_search_save_LIBS
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16051 $as_echo "$ac_cv_search_inet_aton" >&6; }
16052 ac_res=$ac_cv_search_inet_aton
16053 if test "$ac_res" != no; then :
16054 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16059 for ac_func in \
16060 getaddrinfo \
16061 getnameinfo \
16062 getnetbyname \
16063 getprotobyname \
16064 getprotobynumber \
16065 getservbyport \
16066 inet_addr \
16067 inet_network \
16068 inet_ntop \
16069 inet_pton \
16070 sendmsg \
16071 socketpair \
16073 do :
16074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16079 _ACEOF
16082 done
16085 ac_save_LIBS=$LIBS
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16087 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16088 if ${ac_cv_search_clock_gettime+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_func_search_save_LIBS=$LIBS
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 #ifdef __cplusplus
16099 extern "C"
16100 #endif
16101 char clock_gettime ();
16103 main ()
16105 return clock_gettime ();
16107 return 0;
16109 _ACEOF
16110 for ac_lib in '' rt; do
16111 if test -z "$ac_lib"; then
16112 ac_res="none required"
16113 else
16114 ac_res=-l$ac_lib
16115 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16117 if ac_fn_c_try_link "$LINENO"; then :
16118 ac_cv_search_clock_gettime=$ac_res
16120 rm -f core conftest.err conftest.$ac_objext \
16121 conftest$ac_exeext
16122 if ${ac_cv_search_clock_gettime+:} false; then :
16123 break
16125 done
16126 if ${ac_cv_search_clock_gettime+:} false; then :
16128 else
16129 ac_cv_search_clock_gettime=no
16131 rm conftest.$ac_ext
16132 LIBS=$ac_func_search_save_LIBS
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16135 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16136 ac_res=$ac_cv_search_clock_gettime
16137 if test "$ac_res" != no; then :
16138 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16140 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16142 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16146 LIBS=$ac_save_LIBS
16148 if test "x$with_ldap" != "xno"
16149 then
16150 if ${LDAP_CFLAGS:+false} :; then :
16151 if ${PKG_CONFIG+:} false; then :
16152 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16156 if ${LDAP_LIBS:+false} :; then :
16157 if ${PKG_CONFIG+:} false; then :
16158 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16162 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16163 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16164 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16165 ac_save_CPPFLAGS=$CPPFLAGS
16166 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16167 for ac_header in ldap.h lber.h
16168 do :
16169 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16170 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16171 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16174 _ACEOF
16178 done
16180 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16181 then
16182 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16184 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16186 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16187 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 ac_check_lib_save_LIBS=$LIBS
16191 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16195 /* Override any GCC internal prototype to avoid an error.
16196 Use char because int might match the return type of a GCC
16197 builtin and then its argument prototype would still apply. */
16198 #ifdef __cplusplus
16199 extern "C"
16200 #endif
16201 char ldap_initialize ();
16203 main ()
16205 return ldap_initialize ();
16207 return 0;
16209 _ACEOF
16210 if ac_fn_c_try_link "$LINENO"; then :
16211 ac_cv_lib_ldap_r_ldap_initialize=yes
16212 else
16213 ac_cv_lib_ldap_r_ldap_initialize=no
16215 rm -f core conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16217 LIBS=$ac_check_lib_save_LIBS
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16220 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16221 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16223 $as_echo_n "checking for ber_init in -llber... " >&6; }
16224 if ${ac_cv_lib_lber_ber_init+:} false; then :
16225 $as_echo_n "(cached) " >&6
16226 else
16227 ac_check_lib_save_LIBS=$LIBS
16228 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16235 #ifdef __cplusplus
16236 extern "C"
16237 #endif
16238 char ber_init ();
16240 main ()
16242 return ber_init ();
16244 return 0;
16246 _ACEOF
16247 if ac_fn_c_try_link "$LINENO"; then :
16248 ac_cv_lib_lber_ber_init=yes
16249 else
16250 ac_cv_lib_lber_ber_init=no
16252 rm -f core conftest.err conftest.$ac_objext \
16253 conftest$ac_exeext conftest.$ac_ext
16254 LIBS=$ac_check_lib_save_LIBS
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16257 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16258 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16260 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16262 else
16263 LDAP_LIBS=""
16266 else
16267 LDAP_LIBS=""
16270 else
16271 LDAP_LIBS=""
16274 ac_wine_check_funcs_save_LIBS="$LIBS"
16275 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16276 for ac_func in \
16277 ldap_count_references \
16278 ldap_first_reference \
16279 ldap_next_reference \
16280 ldap_parse_reference \
16281 ldap_parse_sort_control \
16282 ldap_parse_sortresponse_control \
16283 ldap_parse_vlv_control \
16284 ldap_parse_vlvresponse_control
16285 do :
16286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16288 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16291 _ACEOF
16294 done
16296 LIBS="$ac_wine_check_funcs_save_LIBS"
16297 else
16298 LDAP_LIBS=""
16300 CPPFLAGS=$ac_save_CPPFLAGS
16301 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16302 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16305 if test "x$LDAP_LIBS" = "x"; then :
16306 case "x$with_ldap" in
16307 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16308 xno) ;;
16309 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16310 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16311 esac
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16316 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16317 if ${wine_cv_one_arg_mkdir+:} false; then :
16318 $as_echo_n "(cached) " >&6
16319 else
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16322 #include <sys/stat.h>
16324 main ()
16326 mkdir("foo");
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_compile "$LINENO"; then :
16332 wine_cv_one_arg_mkdir=yes
16333 else
16334 wine_cv_one_arg_mkdir=no
16336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16339 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16340 if test "$wine_cv_one_arg_mkdir" = "yes"
16341 then
16343 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16348 $as_echo_n "checking for sched_setaffinity... " >&6; }
16349 if ${wine_cv_have_sched_setaffinity+:} false; then :
16350 $as_echo_n "(cached) " >&6
16351 else
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16354 #define _GNU_SOURCE
16355 #include <sched.h>
16357 main ()
16359 sched_setaffinity(0, 0, 0);
16361 return 0;
16363 _ACEOF
16364 if ac_fn_c_try_link "$LINENO"; then :
16365 wine_cv_have_sched_setaffinity=yes
16366 else
16367 wine_cv_have_sched_setaffinity=no
16369 rm -f core conftest.err conftest.$ac_objext \
16370 conftest$ac_exeext conftest.$ac_ext
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16373 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16374 if test "$wine_cv_have_sched_setaffinity" = "yes"
16375 then
16377 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16382 $as_echo_n "checking for fallocate... " >&6; }
16383 if ${wine_cv_have_fallocate+:} false; then :
16384 $as_echo_n "(cached) " >&6
16385 else
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #define _GNU_SOURCE
16389 #include <fcntl.h>
16391 main ()
16393 fallocate(-1, 0, 0, 0);
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"; then :
16399 wine_cv_have_fallocate=yes
16400 else
16401 wine_cv_have_fallocate=no
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16407 $as_echo "$wine_cv_have_fallocate" >&6; }
16408 if test "$wine_cv_have_fallocate" = "yes"
16409 then
16411 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16417 $as_echo_n "checking for inline... " >&6; }
16418 if ${ac_cv_c_inline+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 ac_cv_c_inline=no
16422 for ac_kw in inline __inline__ __inline; do
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 #ifndef __cplusplus
16426 typedef int foo_t;
16427 static $ac_kw foo_t static_foo () {return 0; }
16428 $ac_kw foo_t foo () {return 0; }
16429 #endif
16431 _ACEOF
16432 if ac_fn_c_try_compile "$LINENO"; then :
16433 ac_cv_c_inline=$ac_kw
16435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16436 test "$ac_cv_c_inline" != no && break
16437 done
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16441 $as_echo "$ac_cv_c_inline" >&6; }
16443 case $ac_cv_c_inline in
16444 inline | yes) ;;
16446 case $ac_cv_c_inline in
16447 no) ac_val=;;
16448 *) ac_val=$ac_cv_c_inline;;
16449 esac
16450 cat >>confdefs.h <<_ACEOF
16451 #ifndef __cplusplus
16452 #define inline $ac_val
16453 #endif
16454 _ACEOF
16456 esac
16458 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16459 if test "x$ac_cv_type_mode_t" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_MODE_T 1
16463 _ACEOF
16467 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16468 if test "x$ac_cv_type_off_t" = xyes; then :
16470 cat >>confdefs.h <<_ACEOF
16471 #define HAVE_OFF_T 1
16472 _ACEOF
16476 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16477 if test "x$ac_cv_type_pid_t" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_PID_T 1
16481 _ACEOF
16485 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16486 if test "x$ac_cv_type_size_t" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_SIZE_T 1
16490 _ACEOF
16494 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16495 if test "x$ac_cv_type_ssize_t" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_SSIZE_T 1
16499 _ACEOF
16503 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16504 if test "x$ac_cv_type_long_long" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_LONG_LONG 1
16508 _ACEOF
16512 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16513 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_FSBLKCNT_T 1
16517 _ACEOF
16521 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16522 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_FSFILCNT_T 1
16526 _ACEOF
16531 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16532 #include <signal.h>
16534 if test "x$ac_cv_type_sigset_t" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_SIGSET_T 1
16538 _ACEOF
16543 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16545 if test "x$ac_cv_type_request_sense" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_REQUEST_SENSE 1
16549 _ACEOF
16555 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16556 #ifdef HAVE_SYS_SOCKET_H
16557 #include <sys/socket.h>
16558 #endif
16559 #ifdef HAVE_SYS_SOCKETVAR_H
16560 #include <sys/socketvar.h>
16561 #endif
16562 #ifdef HAVE_NET_ROUTE_H
16563 #include <net/route.h>
16564 #endif
16565 #ifdef HAVE_NETINET_IN_H
16566 #include <netinet/in.h>
16567 #endif
16568 #ifdef HAVE_NETINET_IN_SYSTM_H
16569 #include <netinet/in_systm.h>
16570 #endif
16571 #ifdef HAVE_NETINET_IP_H
16572 #include <netinet/ip.h>
16573 #endif
16574 #ifdef HAVE_NETINET_IN_PCB_H
16575 #include <netinet/in_pcb.h>
16576 #endif
16578 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_XINPGEN 1
16582 _ACEOF
16588 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16589 #include <link.h>
16590 #endif
16591 #ifdef HAVE_SYS_LINK_H
16592 #include <sys/link.h>
16593 #endif
16595 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_R_DEBUG 1
16599 _ACEOF
16603 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16604 #include <link.h>
16605 #endif
16606 #ifdef HAVE_SYS_LINK_H
16607 #include <sys/link.h>
16608 #endif
16610 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_LINK_MAP 1
16614 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16621 #include <linux/input.h>
16622 #endif
16624 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16626 cat >>confdefs.h <<_ACEOF
16627 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16628 _ACEOF
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16635 $as_echo_n "checking for if_nameindex... " >&6; }
16636 if ${wine_cv_have_if_nameindex+:} false; then :
16637 $as_echo_n "(cached) " >&6
16638 else
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 #ifdef HAVE_SYS_TYPES_H
16642 #include <sys/types.h>
16643 #endif
16644 #ifdef HAVE_SYS_SOCKET_H
16645 #include <sys/socket.h>
16646 #endif
16647 #ifdef HAVE_NET_IF_H
16648 # include <net/if.h>
16649 #endif
16651 main ()
16653 struct if_nameindex *p = if_nameindex(); return p->if_index;
16655 return 0;
16657 _ACEOF
16658 if ac_fn_c_try_link "$LINENO"; then :
16659 wine_cv_have_if_nameindex=yes
16660 else
16661 wine_cv_have_if_nameindex=no
16663 rm -f core conftest.err conftest.$ac_objext \
16664 conftest$ac_exeext conftest.$ac_ext
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16667 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16668 if test "$wine_cv_have_if_nameindex" = "yes"
16669 then
16671 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16676 $as_echo_n "checking for sigaddset... " >&6; }
16677 if ${wine_cv_have_sigaddset+:} false; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16681 /* end confdefs.h. */
16682 #include <signal.h>
16684 main ()
16686 sigset_t set; sigaddset(&set,SIGTERM);
16688 return 0;
16690 _ACEOF
16691 if ac_fn_c_try_link "$LINENO"; then :
16692 wine_cv_have_sigaddset=yes
16693 else
16694 wine_cv_have_sigaddset=no
16696 rm -f core conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16700 $as_echo "$wine_cv_have_sigaddset" >&6; }
16701 if test "$wine_cv_have_sigaddset" = "yes"
16702 then
16704 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16710 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16711 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16716 #include <netdb.h>
16718 main ()
16721 char *name=0;
16722 struct hostent he;
16723 struct hostent *result;
16724 char *buf=0;
16725 int bufsize=0;
16726 int errnr;
16727 char *addr=0;
16728 int addrlen=0;
16729 int addrtype=0;
16730 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16731 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16734 return 0;
16736 _ACEOF
16737 if ac_fn_c_try_link "$LINENO"; then :
16738 wine_cv_linux_gethostbyname_r_6=yes
16739 else
16740 wine_cv_linux_gethostbyname_r_6=no
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16748 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16749 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16750 then
16752 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16756 if test "$ac_cv_header_linux_joystick_h" = "yes"
16757 then
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16759 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16760 if ${wine_cv_linux_joystick_22_api+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 #include <sys/ioctl.h>
16767 #include <sys/types.h>
16768 #include <linux/joystick.h>
16770 struct js_event blub;
16771 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16772 #error "no 2.2 header"
16773 #endif
16776 main ()
16778 /*empty*/
16780 return 0;
16782 _ACEOF
16783 if ac_fn_c_try_compile "$LINENO"; then :
16784 wine_cv_linux_joystick_22_api=yes
16785 else
16786 wine_cv_linux_joystick_22_api=no
16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16792 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16793 if test "$wine_cv_linux_joystick_22_api" = "yes"
16794 then
16796 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16802 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16803 #ifdef HAVE_SYS_PARAM_H
16804 # include <sys/param.h>
16805 #endif
16806 #ifdef HAVE_SYS_MOUNT_H
16807 # include <sys/mount.h>
16808 #endif
16809 #ifdef HAVE_SYS_VFS_H
16810 # include <sys/vfs.h>
16811 #endif
16812 #ifdef HAVE_SYS_STATFS_H
16813 # include <sys/statfs.h>
16814 #endif
16816 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_STATFS_F_BFREE 1
16820 _ACEOF
16824 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16825 #ifdef HAVE_SYS_PARAM_H
16826 # include <sys/param.h>
16827 #endif
16828 #ifdef HAVE_SYS_MOUNT_H
16829 # include <sys/mount.h>
16830 #endif
16831 #ifdef HAVE_SYS_VFS_H
16832 # include <sys/vfs.h>
16833 #endif
16834 #ifdef HAVE_SYS_STATFS_H
16835 # include <sys/statfs.h>
16836 #endif
16838 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16842 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16847 #ifdef HAVE_SYS_PARAM_H
16848 # include <sys/param.h>
16849 #endif
16850 #ifdef HAVE_SYS_MOUNT_H
16851 # include <sys/mount.h>
16852 #endif
16853 #ifdef HAVE_SYS_VFS_H
16854 # include <sys/vfs.h>
16855 #endif
16856 #ifdef HAVE_SYS_STATFS_H
16857 # include <sys/statfs.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16864 _ACEOF
16868 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16869 #ifdef HAVE_SYS_PARAM_H
16870 # include <sys/param.h>
16871 #endif
16872 #ifdef HAVE_SYS_MOUNT_H
16873 # include <sys/mount.h>
16874 #endif
16875 #ifdef HAVE_SYS_VFS_H
16876 # include <sys/vfs.h>
16877 #endif
16878 #ifdef HAVE_SYS_STATFS_H
16879 # include <sys/statfs.h>
16880 #endif
16882 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_STRUCT_STATFS_F_FFREE 1
16886 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16891 #ifdef HAVE_SYS_PARAM_H
16892 # include <sys/param.h>
16893 #endif
16894 #ifdef HAVE_SYS_MOUNT_H
16895 # include <sys/mount.h>
16896 #endif
16897 #ifdef HAVE_SYS_VFS_H
16898 # include <sys/vfs.h>
16899 #endif
16900 #ifdef HAVE_SYS_STATFS_H
16901 # include <sys/statfs.h>
16902 #endif
16904 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16908 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16913 #ifdef HAVE_SYS_PARAM_H
16914 # include <sys/param.h>
16915 #endif
16916 #ifdef HAVE_SYS_MOUNT_H
16917 # include <sys/mount.h>
16918 #endif
16919 #ifdef HAVE_SYS_VFS_H
16920 # include <sys/vfs.h>
16921 #endif
16922 #ifdef HAVE_SYS_STATFS_H
16923 # include <sys/statfs.h>
16924 #endif
16926 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16928 cat >>confdefs.h <<_ACEOF
16929 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16930 _ACEOF
16936 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16937 #include <sys/statvfs.h>
16938 #endif
16940 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16944 _ACEOF
16950 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16951 #include <dirent.h>
16952 #endif
16954 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16956 cat >>confdefs.h <<_ACEOF
16957 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16958 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16965 #ifdef HAVE_SYS_SOCKET_H
16966 # include <sys/socket.h>
16967 #endif
16968 #ifdef HAVE_SYS_UN_H
16969 # include <sys/un.h>
16970 #endif
16972 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16976 _ACEOF
16980 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16981 #ifdef HAVE_SYS_SOCKET_H
16982 # include <sys/socket.h>
16983 #endif
16984 #ifdef HAVE_SYS_UN_H
16985 # include <sys/un.h>
16986 #endif
16988 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16992 _ACEOF
16996 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16997 #ifdef HAVE_SYS_SOCKET_H
16998 # include <sys/socket.h>
16999 #endif
17000 #ifdef HAVE_SYS_UN_H
17001 # include <sys/un.h>
17002 #endif
17004 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17008 _ACEOF
17014 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17015 #ifdef HAVE_SCSI_SG_H
17016 #include <scsi/sg.h>
17017 #endif
17019 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_SCSIREQ_T_CMD 1
17023 _ACEOF
17027 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>
17028 #ifdef HAVE_SCSI_SG_H
17029 #include <scsi/sg.h>
17030 #endif
17032 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17034 cat >>confdefs.h <<_ACEOF
17035 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17036 _ACEOF
17042 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17044 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17046 cat >>confdefs.h <<_ACEOF
17047 #define HAVE_SIGINFO_T_SI_FD 1
17048 _ACEOF
17054 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17055 #ifdef HAVE_SYS_MTIO_H
17056 #include <sys/mtio.h>
17057 #endif
17059 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17063 _ACEOF
17067 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17068 #ifdef HAVE_SYS_MTIO_H
17069 #include <sys/mtio.h>
17070 #endif
17072 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17074 cat >>confdefs.h <<_ACEOF
17075 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17076 _ACEOF
17080 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17081 #ifdef HAVE_SYS_MTIO_H
17082 #include <sys/mtio.h>
17083 #endif
17085 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17089 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17096 #include <getopt.h>
17097 #endif
17099 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define HAVE_STRUCT_OPTION_NAME 1
17103 _ACEOF
17109 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17110 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17112 cat >>confdefs.h <<_ACEOF
17113 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17114 _ACEOF
17118 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17119 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_STRUCT_STAT_ST_MTIM 1
17123 _ACEOF
17127 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17128 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17130 cat >>confdefs.h <<_ACEOF
17131 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17132 _ACEOF
17136 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17137 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17139 cat >>confdefs.h <<_ACEOF
17140 #define HAVE_STRUCT_STAT_ST_CTIM 1
17141 _ACEOF
17145 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17146 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17150 _ACEOF
17154 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17155 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17157 cat >>confdefs.h <<_ACEOF
17158 #define HAVE_STRUCT_STAT_ST_ATIM 1
17159 _ACEOF
17163 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17164 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17168 _ACEOF
17172 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17173 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17177 _ACEOF
17181 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17182 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17186 _ACEOF
17190 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17191 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17193 cat >>confdefs.h <<_ACEOF
17194 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17195 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17200 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17204 _ACEOF
17208 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17209 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17211 cat >>confdefs.h <<_ACEOF
17212 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17213 _ACEOF
17219 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
17220 #include <sys/types.h>
17221 #endif
17222 #ifdef HAVE_NETINET_IN_H
17223 #include <netinet/in.h>
17224 #endif
17226 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17230 _ACEOF
17236 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17237 #include <sys/types.h>
17238 #endif
17239 #ifdef HAVE_NETINET_IN_H
17240 #include <netinet/in.h>
17241 #endif
17242 #ifdef HAVE_RESOLV_H
17243 #include <resolv.h>
17244 #endif
17246 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17248 cat >>confdefs.h <<_ACEOF
17249 #define HAVE_STRUCT___RES_STATE 1
17250 _ACEOF
17256 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
17257 #include <resolv.h>
17258 #endif
17260 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17262 cat >>confdefs.h <<_ACEOF
17263 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17264 _ACEOF
17270 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17271 #include <sys/types.h>
17272 #endif
17273 #ifdef HAVE_NETINET_IN_H
17274 # include <netinet/in.h>
17275 #endif
17276 #ifdef HAVE_ARPA_NAMESER_H
17277 # include <arpa/nameser.h>
17278 #endif
17280 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_NS_MSG__MSG_PTR 1
17284 _ACEOF
17290 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17291 #include <sys/types.h>
17292 #endif
17293 #ifdef HAVE_NETINET_IN_H
17294 #include <netinet/in.h>
17295 #endif
17296 #ifdef HAVE_NETINET_IP_H
17297 #include <netinet/ip.h>
17298 #endif
17299 #ifdef HAVE_NETINET_IP_ICMP_H
17300 #include <netinet/ip_icmp.h>
17301 #endif
17302 #ifdef HAVE_NETINET_ICMP_VAR_H
17303 #include <netinet/icmp_var.h>
17304 #endif
17306 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17308 cat >>confdefs.h <<_ACEOF
17309 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17310 _ACEOF
17316 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17317 #include <sys/types.h>
17318 #endif
17319 #ifdef HAVE_ALIAS_H
17320 #include <alias.h>
17321 #endif
17322 #ifdef HAVE_SYS_SOCKET_H
17323 #include <sys/socket.h>
17324 #endif
17325 #ifdef HAVE_SYS_SOCKETVAR_H
17326 #include <sys/socketvar.h>
17327 #endif
17328 #ifdef HAVE_SYS_TIMEOUT_H
17329 #include <sys/timeout.h>
17330 #endif
17331 #ifdef HAVE_NETINET_IN_H
17332 #include <netinet/in.h>
17333 #endif
17334 #ifdef HAVE_NETINET_IN_SYSTM_H
17335 #include <netinet/in_systm.h>
17336 #endif
17337 #ifdef HAVE_NETINET_IP_H
17338 #include <netinet/ip.h>
17339 #endif
17340 #ifdef HAVE_NETINET_IP_VAR_H
17341 #include <netinet/ip_var.h>
17342 #endif
17343 #ifdef HAVE_NETINET_IP_ICMP_H
17344 #include <netinet/ip_icmp.h>
17345 #endif
17346 #ifdef HAVE_NETINET_ICMP_VAR_H
17347 #include <netinet/icmp_var.h>
17348 #endif
17350 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17352 cat >>confdefs.h <<_ACEOF
17353 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17354 _ACEOF
17360 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17361 #include <sys/types.h>
17362 #endif
17363 #ifdef HAVE_SYS_SOCKETVAR_H
17364 #include <sys/socketvar.h>
17365 #endif
17366 #ifdef HAVE_NETINET_IN_H
17367 #include <netinet/in.h>
17368 #endif
17369 #ifdef HAVE_NETINET_IP_VAR_H
17370 #include <netinet/ip_var.h>
17371 #endif
17373 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17375 cat >>confdefs.h <<_ACEOF
17376 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17377 _ACEOF
17383 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
17384 #include <netinet/ip_var.h>
17385 #endif
17387 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17389 cat >>confdefs.h <<_ACEOF
17390 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17391 _ACEOF
17397 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17398 #include <sys/types.h>
17399 #endif
17400 #ifdef HAVE_SYS_SOCKETVAR_H
17401 #include <sys/socketvar.h>
17402 #endif
17403 #ifdef HAVE_NETINET_IN_H
17404 #include <netinet/in.h>
17405 #endif
17406 #ifdef HAVE_NETINET_TCP_H
17407 #include <netinet/tcp.h>
17408 #endif
17409 #ifdef HAVE_NETINET_TCP_VAR_H
17410 #include <netinet/tcp_var.h>
17411 #endif
17413 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17415 cat >>confdefs.h <<_ACEOF
17416 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17417 _ACEOF
17423 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
17424 #include <netinet/tcp_var.h>
17425 #endif
17427 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17429 cat >>confdefs.h <<_ACEOF
17430 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17431 _ACEOF
17437 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17438 #include <sys/types.h>
17439 #endif
17440 #ifdef HAVE_NETINET_IN_H
17441 #include <netinet/in.h>
17442 #endif
17443 #ifdef HAVE_NETINET_IP_VAR_H
17444 #include <netinet/ip_var.h>
17445 #endif
17446 #ifdef HAVE_NETINET_UDP_H
17447 #include <netinet/udp.h>
17448 #endif
17449 #ifdef HAVE_NETINET_UDP_VAR_H
17450 #include <netinet/udp_var.h>
17451 #endif
17453 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17455 cat >>confdefs.h <<_ACEOF
17456 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17457 _ACEOF
17463 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17464 #include <sys/types.h>
17465 #endif
17466 #ifdef HAVE_NET_IF_H
17467 # include <net/if.h>
17468 #endif
17470 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17472 cat >>confdefs.h <<_ACEOF
17473 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17474 _ACEOF
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17481 $as_echo_n "checking for timezone variable... " >&6; }
17482 if ${ac_cv_have_timezone+:} false; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 #include <time.h>
17489 main ()
17491 timezone = 1
17493 return 0;
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_have_timezone="yes"
17498 else
17499 ac_cv_have_timezone="no"
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17505 $as_echo "$ac_cv_have_timezone" >&6; }
17506 if test "$ac_cv_have_timezone" = "yes"
17507 then
17509 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17513 $as_echo_n "checking for daylight variable... " >&6; }
17514 if ${ac_cv_have_daylight+:} false; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 #include <time.h>
17521 main ()
17523 daylight = 1
17525 return 0;
17527 _ACEOF
17528 if ac_fn_c_try_link "$LINENO"; then :
17529 ac_cv_have_daylight="yes"
17530 else
17531 ac_cv_have_daylight="no"
17533 rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17537 $as_echo "$ac_cv_have_daylight" >&6; }
17538 if test "$ac_cv_have_daylight" = "yes"
17539 then
17541 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17545 ac_save_LIBS="$LIBS"
17546 LIBS="$LIBS -lm"
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17548 $as_echo_n "checking for isfinite... " >&6; }
17549 if ${ac_cv_have_isfinite+:} false; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17554 #define _GNU_SOURCE
17555 #include <math.h>
17557 main ()
17559 float f = 0.0; return isfinite(f)
17561 return 0;
17563 _ACEOF
17564 if ac_fn_c_try_link "$LINENO"; then :
17565 ac_cv_have_isfinite="yes"
17566 else
17567 ac_cv_have_isfinite="no"
17569 rm -f core conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17573 $as_echo "$ac_cv_have_isfinite" >&6; }
17574 if test "$ac_cv_have_isfinite" = "yes"
17575 then
17577 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17582 $as_echo_n "checking for isinf... " >&6; }
17583 if ${ac_cv_have_isinf+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <math.h>
17590 main ()
17592 float f = 0.0; return isinf(f)
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"; then :
17598 ac_cv_have_isinf="yes"
17599 else
17600 ac_cv_have_isinf="no"
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17606 $as_echo "$ac_cv_have_isinf" >&6; }
17607 if test "$ac_cv_have_isinf" = "yes"
17608 then
17610 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17615 $as_echo_n "checking for isnan... " >&6; }
17616 if ${ac_cv_have_isnan+:} false; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #include <math.h>
17623 main ()
17625 float f = 0.0; return isnan(f)
17627 return 0;
17629 _ACEOF
17630 if ac_fn_c_try_link "$LINENO"; then :
17631 ac_cv_have_isnan="yes"
17632 else
17633 ac_cv_have_isnan="no"
17635 rm -f core conftest.err conftest.$ac_objext \
17636 conftest$ac_exeext conftest.$ac_ext
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17639 $as_echo "$ac_cv_have_isnan" >&6; }
17640 if test "$ac_cv_have_isnan" = "yes"
17641 then
17643 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17647 for ac_func in \
17648 acosh \
17649 acoshf \
17650 asinh \
17651 asinhf \
17652 atanh \
17653 atanhf \
17654 cbrt \
17655 cbrtf \
17656 erf \
17657 erfc \
17658 erfcf \
17659 erff \
17660 exp2 \
17661 exp2f \
17662 expm1 \
17663 expm1f \
17664 lgamma \
17665 lgammaf \
17666 llrint \
17667 llrintf \
17668 llround \
17669 llroundf \
17670 log1p \
17671 log1pf \
17672 log2 \
17673 log2f \
17674 lrint \
17675 lrintf \
17676 lround \
17677 lroundf \
17678 nearbyint \
17679 nearbyintf \
17680 powl \
17681 remainder \
17682 remainderf \
17683 rint \
17684 rintf \
17685 round \
17686 roundf \
17687 trunc \
17688 truncf
17690 do :
17691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17693 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17694 cat >>confdefs.h <<_ACEOF
17695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17696 _ACEOF
17699 done
17701 LIBS="$ac_save_LIBS"
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17704 $as_echo_n "checking for __builtin_clz... " >&6; }
17705 if ${ac_cv_have___builtin_clz+:} false; then :
17706 $as_echo_n "(cached) " >&6
17707 else
17708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17709 /* end confdefs.h. */
17712 main ()
17714 return __builtin_clz(1)
17716 return 0;
17718 _ACEOF
17719 if ac_fn_c_try_link "$LINENO"; then :
17720 ac_cv_have___builtin_clz="yes"
17721 else
17722 ac_cv_have___builtin_clz="no"
17724 rm -f core conftest.err conftest.$ac_objext \
17725 conftest$ac_exeext conftest.$ac_ext
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17728 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17729 if test "$ac_cv_have___builtin_clz" = "yes"
17730 then
17732 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17737 $as_echo_n "checking for __builtin_popcount... " >&6; }
17738 if ${ac_cv_have___builtin_popcount+:} false; then :
17739 $as_echo_n "(cached) " >&6
17740 else
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17745 main ()
17747 return __builtin_popcount(1)
17749 return 0;
17751 _ACEOF
17752 if ac_fn_c_try_link "$LINENO"; then :
17753 ac_cv_have___builtin_popcount="yes"
17754 else
17755 ac_cv_have___builtin_popcount="no"
17757 rm -f core conftest.err conftest.$ac_objext \
17758 conftest$ac_exeext conftest.$ac_ext
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17761 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17762 if test "$ac_cv_have___builtin_popcount" = "yes"
17763 then
17765 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17770 case $host_cpu in
17771 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17772 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17773 if ${ac_cv_cpp_def___i386__+:} false; then :
17774 $as_echo_n "(cached) " >&6
17775 else
17776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17778 #ifndef __i386__
17780 #endif
17781 _ACEOF
17782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17783 $EGREP "yes" >/dev/null 2>&1; then :
17784 ac_cv_cpp_def___i386__=yes
17785 else
17786 ac_cv_cpp_def___i386__=no
17788 rm -f conftest*
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17792 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17793 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17794 CFLAGS="$CFLAGS -D__i386__"
17795 LINTFLAGS="$LINTFLAGS -D__i386__"
17796 fi ;;
17797 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17798 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17799 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804 #ifndef __x86_64__
17806 #endif
17807 _ACEOF
17808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17809 $EGREP "yes" >/dev/null 2>&1; then :
17810 ac_cv_cpp_def___x86_64__=yes
17811 else
17812 ac_cv_cpp_def___x86_64__=no
17814 rm -f conftest*
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17818 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17819 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17820 CFLAGS="$CFLAGS -D__x86_64__"
17821 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17822 fi ;;
17823 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17824 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17825 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17826 $as_echo_n "(cached) " >&6
17827 else
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17830 #ifndef __sparc64__
17832 #endif
17833 _ACEOF
17834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17835 $EGREP "yes" >/dev/null 2>&1; then :
17836 ac_cv_cpp_def___sparc64__=yes
17837 else
17838 ac_cv_cpp_def___sparc64__=no
17840 rm -f conftest*
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17844 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17845 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17846 CFLAGS="$CFLAGS -D__sparc64__"
17847 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17848 fi ;;
17849 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17850 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17851 if ${ac_cv_cpp_def___sparc__+:} false; then :
17852 $as_echo_n "(cached) " >&6
17853 else
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #ifndef __sparc__
17858 #endif
17859 _ACEOF
17860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17861 $EGREP "yes" >/dev/null 2>&1; then :
17862 ac_cv_cpp_def___sparc__=yes
17863 else
17864 ac_cv_cpp_def___sparc__=no
17866 rm -f conftest*
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17870 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17871 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17872 CFLAGS="$CFLAGS -D__sparc__"
17873 LINTFLAGS="$LINTFLAGS -D__sparc__"
17874 fi ;;
17875 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17876 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17877 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17882 #ifndef __powerpc64__
17884 #endif
17885 _ACEOF
17886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17887 $EGREP "yes" >/dev/null 2>&1; then :
17888 ac_cv_cpp_def___powerpc64__=yes
17889 else
17890 ac_cv_cpp_def___powerpc64__=no
17892 rm -f conftest*
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17896 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17897 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17898 CFLAGS="$CFLAGS -D__powerpc64__"
17899 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17900 fi ;;
17901 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17902 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17903 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17904 $as_echo_n "(cached) " >&6
17905 else
17906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17907 /* end confdefs.h. */
17908 #ifndef __powerpc__
17910 #endif
17911 _ACEOF
17912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17913 $EGREP "yes" >/dev/null 2>&1; then :
17914 ac_cv_cpp_def___powerpc__=yes
17915 else
17916 ac_cv_cpp_def___powerpc__=no
17918 rm -f conftest*
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17922 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17923 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17924 CFLAGS="$CFLAGS -D__powerpc__"
17925 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17926 fi ;;
17927 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17928 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17929 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17930 $as_echo_n "(cached) " >&6
17931 else
17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17934 #ifndef __aarch64__
17936 #endif
17937 _ACEOF
17938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17939 $EGREP "yes" >/dev/null 2>&1; then :
17940 ac_cv_cpp_def___aarch64__=yes
17941 else
17942 ac_cv_cpp_def___aarch64__=no
17944 rm -f conftest*
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17948 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17949 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17950 CFLAGS="$CFLAGS -D__aarch64__"
17951 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17952 fi ;;
17953 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17954 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17955 if ${ac_cv_cpp_def___arm__+:} false; then :
17956 $as_echo_n "(cached) " >&6
17957 else
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 #ifndef __arm__
17962 #endif
17963 _ACEOF
17964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17965 $EGREP "yes" >/dev/null 2>&1; then :
17966 ac_cv_cpp_def___arm__=yes
17967 else
17968 ac_cv_cpp_def___arm__=no
17970 rm -f conftest*
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17974 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17975 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17976 CFLAGS="$CFLAGS -D__arm__"
17977 LINTFLAGS="$LINTFLAGS -D__arm__"
17978 fi ;;
17979 esac
17981 case $host_vendor in
17982 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17983 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17984 if ${ac_cv_cpp_def___sun__+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 #ifndef __sun__
17991 #endif
17992 _ACEOF
17993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17994 $EGREP "yes" >/dev/null 2>&1; then :
17995 ac_cv_cpp_def___sun__=yes
17996 else
17997 ac_cv_cpp_def___sun__=no
17999 rm -f conftest*
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18003 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18004 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18005 CFLAGS="$CFLAGS -D__sun__"
18006 LINTFLAGS="$LINTFLAGS -D__sun__"
18007 fi ;;
18008 esac
18014 ac_config_commands="$ac_config_commands include/stamp-h"
18016 $as_echo_n "creating Makefile rules..." >&6
18018 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18019 SOCKET_LIBS = $SOCKET_LIBS
18020 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18021 IOKIT_LIBS = $IOKIT_LIBS
18022 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18023 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18024 CORESERVICES_LIBS = $CORESERVICES_LIBS
18025 APPKIT_LIBS = $APPKIT_LIBS
18026 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18027 SECURITY_LIBS = $SECURITY_LIBS
18028 COREAUDIO_LIBS = $COREAUDIO_LIBS
18029 OPENAL_LIBS = $OPENAL_LIBS
18030 OPENCL_LIBS = $OPENCL_LIBS
18031 QUICKTIME_LIBS = $QUICKTIME_LIBS
18032 CARBON_LIBS = $CARBON_LIBS
18033 PTHREAD_LIBS = $PTHREAD_LIBS
18034 X_CFLAGS = $X_CFLAGS
18035 X_PRE_LIBS = $X_PRE_LIBS
18036 X_LIBS = $X_LIBS
18037 X_EXTRA_LIBS = $X_EXTRA_LIBS
18038 PCAP_LIBS = $PCAP_LIBS
18039 XML2_CFLAGS = $XML2_CFLAGS
18040 XML2_LIBS = $XML2_LIBS
18041 XSLT_CFLAGS = $XSLT_CFLAGS
18042 XSLT_LIBS = $XSLT_LIBS
18043 DBUS_CFLAGS = $DBUS_CFLAGS
18044 DBUS_LIBS = $DBUS_LIBS
18045 HAL_CFLAGS = $HAL_CFLAGS
18046 HAL_LIBS = $HAL_LIBS
18047 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18048 GNUTLS_LIBS = $GNUTLS_LIBS
18049 SANE_CFLAGS = $SANE_CFLAGS
18050 SANE_LIBS = $SANE_LIBS
18051 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18052 GPHOTO2_LIBS = $GPHOTO2_LIBS
18053 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18054 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18055 RESOLV_LIBS = $RESOLV_LIBS
18056 LCMS2_CFLAGS = $LCMS2_CFLAGS
18057 LCMS2_LIBS = $LCMS2_LIBS
18058 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18059 FREETYPE_LIBS = $FREETYPE_LIBS
18060 Z_LIBS = $Z_LIBS
18061 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18062 PULSE_CFLAGS = $PULSE_CFLAGS
18063 PULSE_LIBS = $PULSE_LIBS
18064 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18065 GSTREAMER_LIBS = $GSTREAMER_LIBS
18066 ALSA_LIBS = $ALSA_LIBS
18067 OSS4_CFLAGS = $OSS4_CFLAGS
18068 UDEV_CFLAGS = $UDEV_CFLAGS
18069 UDEV_LIBS = $UDEV_LIBS
18070 CAPI20_CFLAGS = $CAPI20_CFLAGS
18071 CAPI20_LIBS = $CAPI20_LIBS
18072 CUPS_CFLAGS = $CUPS_CFLAGS
18073 CUPS_LIBS = $CUPS_LIBS
18074 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18075 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18076 KRB5_CFLAGS = $KRB5_CFLAGS
18077 KRB5_LIBS = $KRB5_LIBS
18078 JPEG_CFLAGS = $JPEG_CFLAGS
18079 JPEG_LIBS = $JPEG_LIBS
18080 PNG_CFLAGS = $PNG_CFLAGS
18081 PNG_LIBS = $PNG_LIBS
18082 TIFF_CFLAGS = $TIFF_CFLAGS
18083 TIFF_LIBS = $TIFF_LIBS
18084 MPG123_CFLAGS = $MPG123_CFLAGS
18085 MPG123_LIBS = $MPG123_LIBS
18086 KSTAT_LIBS = $KSTAT_LIBS
18087 PROCSTAT_LIBS = $PROCSTAT_LIBS
18088 NETAPI_CFLAGS = $NETAPI_CFLAGS
18089 NETAPI_LIBS = $NETAPI_LIBS
18090 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18091 DL_LIBS = $DL_LIBS
18092 POLL_LIBS = $POLL_LIBS
18093 RT_LIBS = $RT_LIBS
18094 LDAP_CFLAGS = $LDAP_CFLAGS
18095 LDAP_LIBS = $LDAP_LIBS
18100 wine_fn_append_rule "
18101 # Rules automatically generated by configure
18103 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18105 .INIT: Makefile
18106 .MAKEFILEDEPS:
18107 all: Makefile
18108 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18109 @./config.status Make.tmp Makefile
18110 depend: \$(MAKEDEP) dummy
18111 \$(MAKEDEP)"
18113 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18114 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18116 if test "x$enable_fonts" != xno; then
18117 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18118 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18119 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18120 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18121 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18122 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18124 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18125 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18126 ac_config_links="$ac_config_links wine:tools/winewrapper"
18127 wine_fn_config_symlink wine
18128 if test "x$enable_win64" != xno; then
18129 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18130 wine_fn_config_symlink wine64
18133 wine_fn_config_dll acledit enable_acledit
18134 wine_fn_config_dll aclui enable_aclui implib
18135 wine_fn_config_dll activeds enable_activeds implib
18136 wine_fn_config_dll actxprxy enable_actxprxy clean
18137 wine_fn_config_lib adsiid
18138 wine_fn_config_dll adsldpc enable_adsldpc
18139 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18140 wine_fn_config_test dlls/advapi32/tests advapi32_test
18141 wine_fn_config_dll advpack enable_advpack implib
18142 wine_fn_config_test dlls/advpack/tests advpack_test
18143 wine_fn_config_dll amstream enable_amstream clean
18144 wine_fn_config_test dlls/amstream/tests amstream_test
18145 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18146 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18147 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18148 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18149 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18150 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18151 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18152 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18153 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18154 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18155 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18156 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18157 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18158 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18159 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18160 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18161 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18162 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18163 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18164 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18165 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18166 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18167 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18168 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18169 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18170 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18171 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18172 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18173 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18174 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18175 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18176 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18177 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18178 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18179 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18180 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18181 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18182 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18183 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18184 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18185 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18186 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18187 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18188 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18189 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18190 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18191 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18192 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18193 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18194 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18195 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18196 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18197 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18198 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18199 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18200 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18201 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18202 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18203 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18204 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18205 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18206 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18207 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18208 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18209 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18210 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18211 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18212 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18213 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18214 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18215 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18216 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18217 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18218 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18219 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18220 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18221 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18222 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18223 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18224 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18225 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18226 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18227 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18228 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18229 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18230 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18231 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18232 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18233 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18234 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18235 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18236 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18237 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18238 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18239 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18240 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18241 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18242 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18243 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18244 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18245 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18246 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18247 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18248 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18249 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18250 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18251 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18252 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18253 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18254 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18256 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18257 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18258 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18259 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18260 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18261 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18262 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18263 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18264 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18265 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18266 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18267 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18268 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18269 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18270 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18271 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18272 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18273 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18274 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18275 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18276 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18277 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18278 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18279 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18280 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18281 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18282 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18283 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18284 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18285 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18286 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18287 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18288 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18289 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18290 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18291 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18292 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18293 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18294 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18295 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18296 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18297 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18298 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18299 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18300 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18301 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18302 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18303 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18304 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18305 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18306 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18307 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18308 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18309 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18310 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18311 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18312 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18313 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18314 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18315 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18316 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18317 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18318 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18319 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18320 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18321 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18322 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18323 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18324 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18325 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18326 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18327 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18328 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18329 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18330 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18331 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18332 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18333 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18334 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18335 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18336 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18337 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18338 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18339 wine_fn_config_dll apphelp enable_apphelp
18340 wine_fn_config_test dlls/apphelp/tests apphelp_test
18341 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18342 wine_fn_config_dll atl enable_atl clean,implib
18343 wine_fn_config_test dlls/atl/tests atl_test
18344 wine_fn_config_dll atl100 enable_atl100 clean,implib
18345 wine_fn_config_test dlls/atl100/tests atl100_test
18346 wine_fn_config_dll atl110 enable_atl110 clean
18347 wine_fn_config_dll atl80 enable_atl80 clean,implib
18348 wine_fn_config_test dlls/atl80/tests atl80_test
18349 wine_fn_config_dll atl90 enable_atl90 clean
18350 wine_fn_config_dll authz enable_authz
18351 wine_fn_config_dll avicap32 enable_avicap32 implib
18352 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18353 wine_fn_config_test dlls/avifil32/tests avifil32_test
18354 wine_fn_config_dll avifile.dll16 enable_win16
18355 wine_fn_config_dll avrt enable_avrt implib
18356 wine_fn_config_dll bcrypt enable_bcrypt implib
18357 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18358 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18359 wine_fn_config_dll browseui enable_browseui clean
18360 wine_fn_config_test dlls/browseui/tests browseui_test
18361 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18362 wine_fn_config_dll cabinet enable_cabinet implib
18363 wine_fn_config_test dlls/cabinet/tests cabinet_test
18364 wine_fn_config_dll capi2032 enable_capi2032 implib
18365 wine_fn_config_dll cards enable_cards implib
18366 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18367 wine_fn_config_dll clusapi enable_clusapi implib
18368 wine_fn_config_dll combase enable_combase
18369 wine_fn_config_test dlls/combase/tests combase_test
18370 wine_fn_config_dll comcat enable_comcat
18371 wine_fn_config_test dlls/comcat/tests comcat_test
18372 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18373 wine_fn_config_test dlls/comctl32/tests comctl32_test
18374 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18375 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18376 wine_fn_config_dll comm.drv16 enable_win16
18377 wine_fn_config_dll commdlg.dll16 enable_win16
18378 wine_fn_config_dll compobj.dll16 enable_win16
18379 wine_fn_config_dll compstui enable_compstui implib
18380 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18381 wine_fn_config_dll concrt140 enable_concrt140
18382 wine_fn_config_dll connect enable_connect
18383 wine_fn_config_dll credui enable_credui clean,implib
18384 wine_fn_config_test dlls/credui/tests credui_test
18385 wine_fn_config_dll crtdll enable_crtdll
18386 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18387 wine_fn_config_test dlls/crypt32/tests crypt32_test
18388 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18389 wine_fn_config_dll cryptdll enable_cryptdll implib
18390 wine_fn_config_dll cryptext enable_cryptext
18391 wine_fn_config_dll cryptnet enable_cryptnet implib
18392 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18393 wine_fn_config_dll cryptui enable_cryptui clean,implib
18394 wine_fn_config_test dlls/cryptui/tests cryptui_test
18395 wine_fn_config_dll ctapi32 enable_ctapi32
18396 wine_fn_config_dll ctl3d.dll16 enable_win16
18397 wine_fn_config_dll ctl3d32 enable_ctl3d32
18398 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18399 wine_fn_config_dll d2d1 enable_d2d1 implib
18400 wine_fn_config_test dlls/d2d1/tests d2d1_test
18401 wine_fn_config_dll d3d10 enable_d3d10 implib
18402 wine_fn_config_test dlls/d3d10/tests d3d10_test
18403 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18404 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18405 wine_fn_config_dll d3d10core enable_d3d10core implib
18406 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18407 wine_fn_config_dll d3d11 enable_d3d11 implib
18408 wine_fn_config_test dlls/d3d11/tests d3d11_test
18409 wine_fn_config_dll d3d8 enable_d3d8 implib
18410 wine_fn_config_test dlls/d3d8/tests d3d8_test
18411 wine_fn_config_dll d3d9 enable_d3d9 implib
18412 wine_fn_config_test dlls/d3d9/tests d3d9_test
18413 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18414 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18415 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18416 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18417 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18418 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18419 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18420 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18421 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18422 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18423 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18424 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18425 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18426 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18427 wine_fn_config_dll d3dim enable_d3dim
18428 wine_fn_config_dll d3drm enable_d3drm implib
18429 wine_fn_config_test dlls/d3drm/tests d3drm_test
18430 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18431 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18432 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18433 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18434 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18435 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18436 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18437 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18438 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18439 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18440 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18441 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18442 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18443 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18444 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18445 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18446 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18447 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18448 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18449 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18450 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18451 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18452 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18453 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18454 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18455 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18456 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18457 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18458 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18459 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18460 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18461 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18462 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18463 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18464 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18465 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18466 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18467 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18468 wine_fn_config_dll davclnt enable_davclnt
18469 wine_fn_config_dll dbgeng enable_dbgeng implib
18470 wine_fn_config_dll dbghelp enable_dbghelp implib
18471 wine_fn_config_dll dciman32 enable_dciman32 implib
18472 wine_fn_config_dll ddeml.dll16 enable_win16
18473 wine_fn_config_dll ddraw enable_ddraw clean,implib
18474 wine_fn_config_test dlls/ddraw/tests ddraw_test
18475 wine_fn_config_dll ddrawex enable_ddrawex clean
18476 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18477 wine_fn_config_dll devenum enable_devenum clean
18478 wine_fn_config_test dlls/devenum/tests devenum_test
18479 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18480 wine_fn_config_dll difxapi enable_difxapi
18481 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18482 wine_fn_config_test dlls/dinput/tests dinput_test
18483 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18484 wine_fn_config_test dlls/dinput8/tests dinput8_test
18485 wine_fn_config_dll dispdib.dll16 enable_win16
18486 wine_fn_config_dll dispex enable_dispex clean
18487 wine_fn_config_test dlls/dispex/tests dispex_test
18488 wine_fn_config_dll display.drv16 enable_win16
18489 wine_fn_config_dll dmband enable_dmband clean
18490 wine_fn_config_test dlls/dmband/tests dmband_test
18491 wine_fn_config_dll dmcompos enable_dmcompos clean
18492 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18493 wine_fn_config_dll dmime enable_dmime clean
18494 wine_fn_config_test dlls/dmime/tests dmime_test
18495 wine_fn_config_dll dmloader enable_dmloader clean
18496 wine_fn_config_test dlls/dmloader/tests dmloader_test
18497 wine_fn_config_dll dmscript enable_dmscript clean
18498 wine_fn_config_test dlls/dmscript/tests dmscript_test
18499 wine_fn_config_dll dmstyle enable_dmstyle clean
18500 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18501 wine_fn_config_dll dmsynth enable_dmsynth clean
18502 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18503 wine_fn_config_dll dmusic enable_dmusic clean
18504 wine_fn_config_test dlls/dmusic/tests dmusic_test
18505 wine_fn_config_dll dmusic32 enable_dmusic32
18506 wine_fn_config_dll dnsapi enable_dnsapi implib
18507 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18508 wine_fn_config_dll dplay enable_dplay
18509 wine_fn_config_dll dplayx enable_dplayx clean,implib
18510 wine_fn_config_test dlls/dplayx/tests dplayx_test
18511 wine_fn_config_dll dpnaddr enable_dpnaddr
18512 wine_fn_config_dll dpnet enable_dpnet clean,implib
18513 wine_fn_config_test dlls/dpnet/tests dpnet_test
18514 wine_fn_config_dll dpnhpast enable_dpnhpast
18515 wine_fn_config_dll dpnlobby enable_dpnlobby
18516 wine_fn_config_dll dpvoice enable_dpvoice clean
18517 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18518 wine_fn_config_dll dpwsockx enable_dpwsockx
18519 wine_fn_config_dll drmclien enable_drmclien
18520 wine_fn_config_dll dsound enable_dsound clean,implib
18521 wine_fn_config_test dlls/dsound/tests dsound_test
18522 wine_fn_config_dll dsquery enable_dsquery clean
18523 wine_fn_config_dll dssenh enable_dssenh
18524 wine_fn_config_test dlls/dssenh/tests dssenh_test
18525 wine_fn_config_dll dswave enable_dswave clean
18526 wine_fn_config_test dlls/dswave/tests dswave_test
18527 wine_fn_config_dll dwmapi enable_dwmapi implib
18528 wine_fn_config_dll dwrite enable_dwrite implib
18529 wine_fn_config_test dlls/dwrite/tests dwrite_test
18530 wine_fn_config_dll dx8vb enable_dx8vb clean
18531 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18532 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18533 wine_fn_config_lib dxerr8
18534 wine_fn_config_lib dxerr9
18535 wine_fn_config_dll dxgi enable_dxgi implib
18536 wine_fn_config_test dlls/dxgi/tests dxgi_test
18537 wine_fn_config_lib dxguid
18538 wine_fn_config_dll dxva2 enable_dxva2
18539 wine_fn_config_dll esent enable_esent
18540 wine_fn_config_dll evr enable_evr clean
18541 wine_fn_config_test dlls/evr/tests evr_test
18542 wine_fn_config_dll explorerframe enable_explorerframe clean
18543 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18544 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18545 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18546 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18547 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18548 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18549 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18550 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18551 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18552 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18553 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18554 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18555 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18556 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18557 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18558 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18559 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18560 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18561 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18562 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
18563 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18564 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18565 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18566 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18567 wine_fn_config_dll faultrep enable_faultrep implib
18568 wine_fn_config_test dlls/faultrep/tests faultrep_test
18569 wine_fn_config_dll fltlib enable_fltlib
18570 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18571 wine_fn_config_dll fntcache enable_fntcache
18572 wine_fn_config_dll fontsub enable_fontsub
18573 wine_fn_config_dll fusion enable_fusion
18574 wine_fn_config_test dlls/fusion/tests fusion_test
18575 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18576 wine_fn_config_dll gameux enable_gameux clean
18577 wine_fn_config_test dlls/gameux/tests gameux_test
18578 wine_fn_config_dll gdi.exe16 enable_win16
18579 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18580 wine_fn_config_test dlls/gdi32/tests gdi32_test
18581 wine_fn_config_dll gdiplus enable_gdiplus implib
18582 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18583 wine_fn_config_dll glu32 enable_glu32 implib
18584 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18585 wine_fn_config_dll gpkcsp enable_gpkcsp
18586 wine_fn_config_dll hal enable_hal
18587 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18588 wine_fn_config_dll hid enable_hid implib
18589 wine_fn_config_test dlls/hid/tests hid_test
18590 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18591 wine_fn_config_dll hlink enable_hlink clean,implib
18592 wine_fn_config_test dlls/hlink/tests hlink_test
18593 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18594 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18595 wine_fn_config_dll httpapi enable_httpapi
18596 wine_fn_config_dll iccvid enable_iccvid clean
18597 wine_fn_config_dll icmp enable_icmp
18598 wine_fn_config_dll ieframe enable_ieframe clean,implib
18599 wine_fn_config_test dlls/ieframe/tests ieframe_test
18600 wine_fn_config_dll ieproxy enable_ieproxy clean
18601 wine_fn_config_dll ifsmgr.vxd enable_win16
18602 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18603 wine_fn_config_dll imagehlp enable_imagehlp implib
18604 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18605 wine_fn_config_dll imm.dll16 enable_win16
18606 wine_fn_config_dll imm32 enable_imm32 implib
18607 wine_fn_config_test dlls/imm32/tests imm32_test
18608 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18609 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18610 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18611 wine_fn_config_dll inetmib1 enable_inetmib1
18612 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18613 wine_fn_config_dll infosoft enable_infosoft clean
18614 wine_fn_config_test dlls/infosoft/tests infosoft_test
18615 wine_fn_config_dll initpki enable_initpki
18616 wine_fn_config_dll inkobj enable_inkobj
18617 wine_fn_config_dll inseng enable_inseng clean
18618 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18619 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18620 wine_fn_config_dll iprop enable_iprop
18621 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18622 wine_fn_config_dll itircl enable_itircl
18623 wine_fn_config_dll itss enable_itss clean
18624 wine_fn_config_test dlls/itss/tests itss_test
18625 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18626 wine_fn_config_dll jscript enable_jscript clean
18627 wine_fn_config_test dlls/jscript/tests jscript_test
18628 wine_fn_config_dll jsproxy enable_jsproxy implib
18629 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18630 wine_fn_config_dll kerberos enable_kerberos
18631 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18632 wine_fn_config_test dlls/kernel32/tests kernel32_test
18633 wine_fn_config_dll kernelbase enable_kernelbase
18634 wine_fn_config_dll keyboard.drv16 enable_win16
18635 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18636 wine_fn_config_dll ksuser enable_ksuser
18637 wine_fn_config_dll ktmw32 enable_ktmw32
18638 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18639 wine_fn_config_dll loadperf enable_loadperf implib
18640 wine_fn_config_dll localspl enable_localspl clean
18641 wine_fn_config_test dlls/localspl/tests localspl_test
18642 wine_fn_config_dll localui enable_localui clean
18643 wine_fn_config_test dlls/localui/tests localui_test
18644 wine_fn_config_dll lz32 enable_lz32 implib
18645 wine_fn_config_test dlls/lz32/tests lz32_test
18646 wine_fn_config_dll lzexpand.dll16 enable_win16
18647 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18648 wine_fn_config_test dlls/mapi32/tests mapi32_test
18649 wine_fn_config_dll mapistub enable_mapistub
18650 wine_fn_config_dll mciavi32 enable_mciavi32
18651 wine_fn_config_dll mcicda enable_mcicda
18652 wine_fn_config_dll mciqtz32 enable_mciqtz32
18653 wine_fn_config_dll mciseq enable_mciseq
18654 wine_fn_config_dll mciwave enable_mciwave
18655 wine_fn_config_dll mf enable_mf implib
18656 wine_fn_config_test dlls/mf/tests mf_test
18657 wine_fn_config_dll mf3216 enable_mf3216
18658 wine_fn_config_dll mfplat enable_mfplat implib
18659 wine_fn_config_test dlls/mfplat/tests mfplat_test
18660 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18661 wine_fn_config_lib mfuuid
18662 wine_fn_config_dll mgmtapi enable_mgmtapi
18663 wine_fn_config_dll midimap enable_midimap
18664 wine_fn_config_dll mlang enable_mlang clean,implib
18665 wine_fn_config_test dlls/mlang/tests mlang_test
18666 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18667 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18668 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18669 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18670 wine_fn_config_dll mmdevldr.vxd enable_win16
18671 wine_fn_config_dll mmsystem.dll16 enable_win16
18672 wine_fn_config_dll monodebg.vxd enable_win16
18673 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18674 wine_fn_config_dll mouse.drv16 enable_win16
18675 wine_fn_config_dll mpr enable_mpr clean,implib
18676 wine_fn_config_test dlls/mpr/tests mpr_test
18677 wine_fn_config_dll mprapi enable_mprapi implib
18678 wine_fn_config_dll msacm.dll16 enable_win16
18679 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18680 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18681 wine_fn_config_test dlls/msacm32/tests msacm32_test
18682 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18683 wine_fn_config_dll msasn1 enable_msasn1 implib
18684 wine_fn_config_dll mscat32 enable_mscat32
18685 wine_fn_config_dll mscms enable_mscms implib
18686 wine_fn_config_test dlls/mscms/tests mscms_test
18687 wine_fn_config_dll mscoree enable_mscoree clean
18688 wine_fn_config_test dlls/mscoree/tests mscoree_test
18689 wine_fn_config_dll msctf enable_msctf clean
18690 wine_fn_config_test dlls/msctf/tests msctf_test
18691 wine_fn_config_dll msctfp enable_msctfp clean
18692 wine_fn_config_dll msdaps enable_msdaps clean
18693 wine_fn_config_dll msdelta enable_msdelta
18694 wine_fn_config_dll msdmo enable_msdmo implib
18695 wine_fn_config_test dlls/msdmo/tests msdmo_test
18696 wine_fn_config_dll msdrm enable_msdrm
18697 wine_fn_config_dll msftedit enable_msftedit
18698 wine_fn_config_dll msg711.acm enable_msg711_acm
18699 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18700 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18701 wine_fn_config_dll mshtml enable_mshtml clean,implib
18702 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18703 wine_fn_config_dll msi enable_msi clean,implib
18704 wine_fn_config_test dlls/msi/tests msi_test
18705 wine_fn_config_dll msident enable_msident clean
18706 wine_fn_config_dll msimg32 enable_msimg32 implib
18707 wine_fn_config_dll msimsg enable_msimsg
18708 wine_fn_config_dll msimtf enable_msimtf clean
18709 wine_fn_config_dll msisip enable_msisip
18710 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18711 wine_fn_config_dll msls31 enable_msls31
18712 wine_fn_config_dll msnet32 enable_msnet32
18713 wine_fn_config_dll mspatcha enable_mspatcha implib
18714 wine_fn_config_dll msports enable_msports
18715 wine_fn_config_dll msrle32 enable_msrle32 clean
18716 wine_fn_config_test dlls/msrle32/tests msrle32_test
18717 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18718 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18719 wine_fn_config_dll mssign32 enable_mssign32
18720 wine_fn_config_dll mssip32 enable_mssip32
18721 wine_fn_config_dll mstask enable_mstask clean
18722 wine_fn_config_test dlls/mstask/tests mstask_test
18723 wine_fn_config_dll msvcirt enable_msvcirt
18724 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18725 wine_fn_config_dll msvcm80 enable_msvcm80
18726 wine_fn_config_dll msvcm90 enable_msvcm90
18727 wine_fn_config_dll msvcp100 enable_msvcp100
18728 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18729 wine_fn_config_dll msvcp110 enable_msvcp110
18730 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18731 wine_fn_config_dll msvcp120 enable_msvcp120
18732 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18733 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18734 wine_fn_config_dll msvcp140 enable_msvcp140
18735 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18736 wine_fn_config_dll msvcp60 enable_msvcp60
18737 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18738 wine_fn_config_dll msvcp70 enable_msvcp70
18739 wine_fn_config_dll msvcp71 enable_msvcp71
18740 wine_fn_config_dll msvcp80 enable_msvcp80
18741 wine_fn_config_dll msvcp90 enable_msvcp90
18742 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18743 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18744 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18745 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18746 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18747 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18748 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18749 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18750 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18751 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18752 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18753 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18754 wine_fn_config_dll msvcrt enable_msvcrt implib
18755 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18756 wine_fn_config_dll msvcrt20 enable_msvcrt20
18757 wine_fn_config_dll msvcrt40 enable_msvcrt40
18758 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18759 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18760 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18761 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18762 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18763 wine_fn_config_dll msvideo.dll16 enable_win16
18764 wine_fn_config_dll mswsock enable_mswsock implib
18765 wine_fn_config_dll msxml enable_msxml clean
18766 wine_fn_config_dll msxml2 enable_msxml2 clean
18767 wine_fn_config_dll msxml3 enable_msxml3 clean
18768 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18769 wine_fn_config_dll msxml4 enable_msxml4 clean
18770 wine_fn_config_dll msxml6 enable_msxml6 clean
18771 wine_fn_config_dll mtxdm enable_mtxdm
18772 wine_fn_config_dll ncrypt enable_ncrypt
18773 wine_fn_config_dll nddeapi enable_nddeapi implib
18774 wine_fn_config_dll ndis.sys enable_ndis_sys
18775 wine_fn_config_dll netapi32 enable_netapi32 implib
18776 wine_fn_config_test dlls/netapi32/tests netapi32_test
18777 wine_fn_config_dll netcfgx enable_netcfgx clean
18778 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18779 wine_fn_config_dll netprofm enable_netprofm clean
18780 wine_fn_config_test dlls/netprofm/tests netprofm_test
18781 wine_fn_config_dll newdev enable_newdev implib
18782 wine_fn_config_dll normaliz enable_normaliz implib
18783 wine_fn_config_dll npmshtml enable_npmshtml
18784 wine_fn_config_dll npptools enable_npptools
18785 wine_fn_config_dll ntdll enable_ntdll implib
18786 wine_fn_config_test dlls/ntdll/tests ntdll_test
18787 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18788 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18789 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18790 wine_fn_config_dll ntprint enable_ntprint
18791 wine_fn_config_test dlls/ntprint/tests ntprint_test
18792 wine_fn_config_dll objsel enable_objsel clean
18793 wine_fn_config_dll odbc32 enable_odbc32 implib
18794 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18795 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18796 wine_fn_config_dll odbccu32 enable_odbccu32
18797 wine_fn_config_dll ole2.dll16 enable_win16
18798 wine_fn_config_dll ole2conv.dll16 enable_win16
18799 wine_fn_config_dll ole2disp.dll16 enable_win16
18800 wine_fn_config_dll ole2nls.dll16 enable_win16
18801 wine_fn_config_dll ole2prox.dll16 enable_win16
18802 wine_fn_config_dll ole2thk.dll16 enable_win16
18803 wine_fn_config_dll ole32 enable_ole32 clean,implib
18804 wine_fn_config_test dlls/ole32/tests ole32_test
18805 wine_fn_config_dll oleacc enable_oleacc clean,implib
18806 wine_fn_config_test dlls/oleacc/tests oleacc_test
18807 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18808 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18809 wine_fn_config_dll olecli.dll16 enable_win16
18810 wine_fn_config_dll olecli32 enable_olecli32 implib
18811 wine_fn_config_dll oledb32 enable_oledb32 clean
18812 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18813 wine_fn_config_dll oledlg enable_oledlg clean,implib
18814 wine_fn_config_test dlls/oledlg/tests oledlg_test
18815 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18816 wine_fn_config_dll olesvr.dll16 enable_win16
18817 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18818 wine_fn_config_dll olethk32 enable_olethk32
18819 wine_fn_config_dll openal32 enable_openal32
18820 wine_fn_config_dll opencl enable_opencl
18821 wine_fn_config_dll opengl32 enable_opengl32 implib
18822 wine_fn_config_test dlls/opengl32/tests opengl32_test
18823 wine_fn_config_dll packager enable_packager clean
18824 wine_fn_config_test dlls/packager/tests packager_test
18825 wine_fn_config_dll pdh enable_pdh implib
18826 wine_fn_config_test dlls/pdh/tests pdh_test
18827 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18828 wine_fn_config_dll pidgen enable_pidgen
18829 wine_fn_config_dll powrprof enable_powrprof implib
18830 wine_fn_config_dll printui enable_printui
18831 wine_fn_config_dll prntvpt enable_prntvpt
18832 wine_fn_config_dll propsys enable_propsys clean,implib
18833 wine_fn_config_test dlls/propsys/tests propsys_test
18834 wine_fn_config_dll psapi enable_psapi implib
18835 wine_fn_config_test dlls/psapi/tests psapi_test
18836 wine_fn_config_dll pstorec enable_pstorec clean
18837 wine_fn_config_test dlls/pstorec/tests pstorec_test
18838 wine_fn_config_dll qcap enable_qcap
18839 wine_fn_config_test dlls/qcap/tests qcap_test
18840 wine_fn_config_dll qedit enable_qedit clean
18841 wine_fn_config_test dlls/qedit/tests qedit_test
18842 wine_fn_config_dll qmgr enable_qmgr clean
18843 wine_fn_config_test dlls/qmgr/tests qmgr_test
18844 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18845 wine_fn_config_dll quartz enable_quartz clean,implib
18846 wine_fn_config_test dlls/quartz/tests quartz_test clean
18847 wine_fn_config_dll query enable_query
18848 wine_fn_config_dll rasapi16.dll16 enable_win16
18849 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18850 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18851 wine_fn_config_dll rasdlg enable_rasdlg implib
18852 wine_fn_config_dll regapi enable_regapi
18853 wine_fn_config_dll resutils enable_resutils implib
18854 wine_fn_config_dll riched20 enable_riched20 clean,implib
18855 wine_fn_config_test dlls/riched20/tests riched20_test
18856 wine_fn_config_dll riched32 enable_riched32
18857 wine_fn_config_test dlls/riched32/tests riched32_test
18858 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18859 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18860 wine_fn_config_dll rsabase enable_rsabase
18861 wine_fn_config_dll rsaenh enable_rsaenh implib
18862 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18863 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18864 wine_fn_config_dll rtutils enable_rtutils implib
18865 wine_fn_config_dll samlib enable_samlib
18866 wine_fn_config_dll sane.ds enable_sane_ds clean
18867 wine_fn_config_dll sapi enable_sapi clean
18868 wine_fn_config_test dlls/sapi/tests sapi_test
18869 wine_fn_config_dll scarddlg enable_scarddlg
18870 wine_fn_config_dll sccbase enable_sccbase
18871 wine_fn_config_dll schannel enable_schannel
18872 wine_fn_config_test dlls/schannel/tests schannel_test
18873 wine_fn_config_dll schedsvc enable_schedsvc clean
18874 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18875 wine_fn_config_dll scrobj enable_scrobj clean
18876 wine_fn_config_dll scrrun enable_scrrun clean
18877 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18878 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18879 wine_fn_config_dll secur32 enable_secur32 implib
18880 wine_fn_config_test dlls/secur32/tests secur32_test
18881 wine_fn_config_dll security enable_security
18882 wine_fn_config_dll sensapi enable_sensapi implib
18883 wine_fn_config_dll serialui enable_serialui clean
18884 wine_fn_config_test dlls/serialui/tests serialui_test
18885 wine_fn_config_dll setupapi enable_setupapi clean,implib
18886 wine_fn_config_test dlls/setupapi/tests setupapi_test
18887 wine_fn_config_dll setupx.dll16 enable_win16
18888 wine_fn_config_dll sfc enable_sfc implib
18889 wine_fn_config_dll sfc_os enable_sfc_os implib
18890 wine_fn_config_dll shdoclc enable_shdoclc clean
18891 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18892 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18893 wine_fn_config_dll shell.dll16 enable_win16
18894 wine_fn_config_dll shell32 enable_shell32 clean,implib
18895 wine_fn_config_test dlls/shell32/tests shell32_test
18896 wine_fn_config_dll shfolder enable_shfolder implib
18897 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18898 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18899 wine_fn_config_dll slbcsp enable_slbcsp
18900 wine_fn_config_dll slc enable_slc implib
18901 wine_fn_config_test dlls/slc/tests slc_test
18902 wine_fn_config_dll snmpapi enable_snmpapi implib
18903 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18904 wine_fn_config_dll softpub enable_softpub
18905 wine_fn_config_dll sound.drv16 enable_win16
18906 wine_fn_config_dll spoolss enable_spoolss implib
18907 wine_fn_config_test dlls/spoolss/tests spoolss_test
18908 wine_fn_config_dll sspicli enable_sspicli
18909 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18910 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18911 wine_fn_config_dll sti enable_sti clean,implib
18912 wine_fn_config_test dlls/sti/tests sti_test
18913 wine_fn_config_dll storage.dll16 enable_win16
18914 wine_fn_config_dll stress.dll16 enable_win16
18915 wine_fn_config_lib strmbase
18916 wine_fn_config_lib strmiids
18917 wine_fn_config_dll svrapi enable_svrapi
18918 wine_fn_config_dll sxs enable_sxs implib
18919 wine_fn_config_test dlls/sxs/tests sxs_test
18920 wine_fn_config_dll system.drv16 enable_win16
18921 wine_fn_config_dll t2embed enable_t2embed implib
18922 wine_fn_config_test dlls/t2embed/tests t2embed_test
18923 wine_fn_config_dll tapi32 enable_tapi32 implib
18924 wine_fn_config_dll taskschd enable_taskschd clean
18925 wine_fn_config_test dlls/taskschd/tests taskschd_test
18926 wine_fn_config_dll tdh enable_tdh
18927 wine_fn_config_dll tdi.sys enable_tdi_sys
18928 wine_fn_config_dll toolhelp.dll16 enable_win16
18929 wine_fn_config_dll traffic enable_traffic
18930 wine_fn_config_dll twain.dll16 enable_win16
18931 wine_fn_config_dll twain_32 enable_twain_32 clean
18932 wine_fn_config_test dlls/twain_32/tests twain_32_test
18933 wine_fn_config_dll typelib.dll16 enable_win16
18934 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18935 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18936 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18937 wine_fn_config_dll uiribbon enable_uiribbon clean
18938 wine_fn_config_dll unicows enable_unicows implib
18939 wine_fn_config_dll updspapi enable_updspapi
18940 wine_fn_config_dll url enable_url implib
18941 wine_fn_config_dll urlmon enable_urlmon clean,implib
18942 wine_fn_config_test dlls/urlmon/tests urlmon_test
18943 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18944 wine_fn_config_dll user.exe16 enable_win16
18945 wine_fn_config_dll user32 enable_user32 clean,implib
18946 wine_fn_config_test dlls/user32/tests user32_test
18947 wine_fn_config_dll userenv enable_userenv implib
18948 wine_fn_config_test dlls/userenv/tests userenv_test
18949 wine_fn_config_dll usp10 enable_usp10 implib
18950 wine_fn_config_test dlls/usp10/tests usp10_test
18951 wine_fn_config_lib uuid
18952 wine_fn_config_dll uxtheme enable_uxtheme implib
18953 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18954 wine_fn_config_dll vbscript enable_vbscript clean
18955 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18956 wine_fn_config_dll vcomp enable_vcomp
18957 wine_fn_config_test dlls/vcomp/tests vcomp_test
18958 wine_fn_config_dll vcomp100 enable_vcomp100
18959 wine_fn_config_dll vcomp110 enable_vcomp110
18960 wine_fn_config_dll vcomp120 enable_vcomp120
18961 wine_fn_config_dll vcomp140 enable_vcomp140
18962 wine_fn_config_dll vcomp90 enable_vcomp90
18963 wine_fn_config_dll vcruntime140 enable_vcruntime140
18964 wine_fn_config_dll vdhcp.vxd enable_win16
18965 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18966 wine_fn_config_dll ver.dll16 enable_win16
18967 wine_fn_config_dll version enable_version implib
18968 wine_fn_config_test dlls/version/tests version_test
18969 wine_fn_config_dll virtdisk enable_virtdisk
18970 wine_fn_config_dll vmm.vxd enable_win16
18971 wine_fn_config_dll vnbt.vxd enable_win16
18972 wine_fn_config_dll vnetbios.vxd enable_win16
18973 wine_fn_config_dll vssapi enable_vssapi
18974 wine_fn_config_dll vtdapi.vxd enable_win16
18975 wine_fn_config_dll vwin32.vxd enable_win16
18976 wine_fn_config_dll w32skrnl enable_win16
18977 wine_fn_config_dll w32sys.dll16 enable_win16
18978 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18979 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18980 wine_fn_config_dll wbemprox enable_wbemprox clean
18981 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18982 wine_fn_config_dll wdscore enable_wdscore
18983 wine_fn_config_dll webservices enable_webservices implib
18984 wine_fn_config_test dlls/webservices/tests webservices_test
18985 wine_fn_config_dll wer enable_wer implib
18986 wine_fn_config_test dlls/wer/tests wer_test
18987 wine_fn_config_dll wevtapi enable_wevtapi
18988 wine_fn_config_dll wiaservc enable_wiaservc clean
18989 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18990 wine_fn_config_dll wimgapi enable_wimgapi
18991 wine_fn_config_dll win32s16.dll16 enable_win16
18992 wine_fn_config_dll win87em.dll16 enable_win16
18993 wine_fn_config_dll winaspi.dll16 enable_win16
18994 wine_fn_config_dll windebug.dll16 enable_win16
18995 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18996 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18997 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18998 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18999 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19000 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19001 wine_fn_config_dll winebus.sys enable_winebus_sys
19002 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19003 wine_fn_config_lib winecrt0
19004 wine_fn_config_dll wined3d enable_wined3d implib
19005 wine_fn_config_dll winegstreamer enable_winegstreamer
19006 wine_fn_config_dll winehid.sys enable_winehid_sys
19007 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19008 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19009 wine_fn_config_dll winemapi enable_winemapi
19010 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19011 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19012 wine_fn_config_dll wineps16.drv16 enable_win16
19013 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19014 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19015 wine_fn_config_dll winex11.drv enable_winex11_drv
19016 wine_fn_config_dll wing.dll16 enable_win16
19017 wine_fn_config_dll wing32 enable_wing32
19018 wine_fn_config_dll winhttp enable_winhttp clean,implib
19019 wine_fn_config_test dlls/winhttp/tests winhttp_test
19020 wine_fn_config_dll wininet enable_wininet clean,implib
19021 wine_fn_config_test dlls/wininet/tests wininet_test
19022 wine_fn_config_dll winmm enable_winmm clean,implib
19023 wine_fn_config_test dlls/winmm/tests winmm_test
19024 wine_fn_config_dll winnls.dll16 enable_win16
19025 wine_fn_config_dll winnls32 enable_winnls32 implib
19026 wine_fn_config_dll winscard enable_winscard implib
19027 wine_fn_config_dll winsock.dll16 enable_win16
19028 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19029 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19030 wine_fn_config_dll winsta enable_winsta
19031 wine_fn_config_dll wintab.dll16 enable_win16
19032 wine_fn_config_dll wintab32 enable_wintab32 implib
19033 wine_fn_config_test dlls/wintab32/tests wintab32_test
19034 wine_fn_config_dll wintrust enable_wintrust implib
19035 wine_fn_config_test dlls/wintrust/tests wintrust_test
19036 wine_fn_config_dll winusb enable_winusb
19037 wine_fn_config_dll wlanapi enable_wlanapi implib
19038 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19039 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19040 wine_fn_config_test dlls/wldap32/tests wldap32_test
19041 wine_fn_config_dll wmasf enable_wmasf
19042 wine_fn_config_dll wmi enable_wmi
19043 wine_fn_config_dll wmiutils enable_wmiutils clean
19044 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19045 wine_fn_config_dll wmp enable_wmp clean
19046 wine_fn_config_test dlls/wmp/tests wmp_test
19047 wine_fn_config_dll wmphoto enable_wmphoto clean
19048 wine_fn_config_dll wmvcore enable_wmvcore implib
19049 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19050 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19051 wine_fn_config_dll wow32 enable_win16 implib
19052 wine_fn_config_dll wpc enable_wpc clean
19053 wine_fn_config_test dlls/wpc/tests wpc_test
19054 wine_fn_config_dll wpcap enable_wpcap
19055 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19056 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19057 wine_fn_config_dll wsdapi enable_wsdapi implib
19058 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19059 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19060 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19061 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19062 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19063 wine_fn_config_dll wsock32 enable_wsock32 implib
19064 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19065 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19066 wine_fn_config_dll wuapi enable_wuapi clean
19067 wine_fn_config_dll wuaueng enable_wuaueng
19068 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19069 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19070 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19071 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19072 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19073 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19074 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19075 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19076 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19077 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19078 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19079 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19080 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19081 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19082 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19083 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19084 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19085 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19086 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19087 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19088 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19089 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19090 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19091 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19092 wine_fn_config_dll xinput1_1 enable_xinput1_1
19093 wine_fn_config_dll xinput1_2 enable_xinput1_2
19094 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19095 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19096 wine_fn_config_dll xinput1_4 enable_xinput1_4
19097 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19098 wine_fn_config_dll xmllite enable_xmllite implib
19099 wine_fn_config_test dlls/xmllite/tests xmllite_test
19100 wine_fn_config_dll xolehlp enable_xolehlp
19101 wine_fn_config_dll xpsprint enable_xpsprint
19102 wine_fn_config_dll xpssvcs enable_xpssvcs
19103 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19104 wine_fn_config_makefile include enable_include clean,install-dev
19105 wine_fn_config_makefile libs/port enable_libs_port
19106 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19107 wine_fn_config_makefile libs/wpp enable_libs_wpp
19108 wine_fn_config_makefile loader enable_loader clean,install-lib
19109 wine_fn_config_makefile po enable_po clean
19110 wine_fn_config_program arp enable_arp install
19111 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19112 wine_fn_config_program attrib enable_attrib clean,install
19113 wine_fn_config_program cabarc enable_cabarc install
19114 wine_fn_config_program cacls enable_cacls install
19115 wine_fn_config_program clock enable_clock clean,install
19116 wine_fn_config_program cmd enable_cmd clean,install
19117 wine_fn_config_test programs/cmd/tests cmd.exe_test
19118 wine_fn_config_program conhost enable_conhost install
19119 wine_fn_config_program control enable_control install
19120 wine_fn_config_program cscript enable_cscript clean,install
19121 wine_fn_config_program dpnsvr enable_dpnsvr install
19122 wine_fn_config_program dxdiag enable_dxdiag clean,install
19123 wine_fn_config_program eject enable_eject install
19124 wine_fn_config_program expand enable_expand install
19125 wine_fn_config_program explorer enable_explorer clean,install
19126 wine_fn_config_program extrac32 enable_extrac32 install
19127 wine_fn_config_program findstr enable_findstr install
19128 wine_fn_config_program fsutil enable_fsutil install
19129 wine_fn_config_program hh enable_hh install
19130 wine_fn_config_program hostname enable_hostname clean,install
19131 wine_fn_config_program icacls enable_icacls install
19132 wine_fn_config_program icinfo enable_icinfo install
19133 wine_fn_config_program iexplore enable_iexplore install
19134 wine_fn_config_program ipconfig enable_ipconfig clean,install
19135 wine_fn_config_program lodctr enable_lodctr install
19136 wine_fn_config_program mofcomp enable_mofcomp install
19137 wine_fn_config_program mshta enable_mshta install
19138 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19139 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19140 wine_fn_config_program net enable_net clean,install
19141 wine_fn_config_program netsh enable_netsh install
19142 wine_fn_config_program netstat enable_netstat clean,install
19143 wine_fn_config_program ngen enable_ngen install
19144 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19145 wine_fn_config_program oleview enable_oleview clean,install
19146 wine_fn_config_program ping enable_ping install
19147 wine_fn_config_program plugplay enable_plugplay install
19148 wine_fn_config_program powershell enable_powershell install
19149 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19150 wine_fn_config_program progman enable_progman clean,install
19151 wine_fn_config_program reg enable_reg clean,install
19152 wine_fn_config_test programs/reg/tests reg.exe_test
19153 wine_fn_config_program regasm enable_regasm install
19154 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19155 wine_fn_config_test programs/regedit/tests regedit.exe_test
19156 wine_fn_config_program regsvcs enable_regsvcs install
19157 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19158 wine_fn_config_program rpcss enable_rpcss clean,install
19159 wine_fn_config_program rundll.exe16 enable_win16 install
19160 wine_fn_config_program rundll32 enable_rundll32 install
19161 wine_fn_config_program sc enable_sc install
19162 wine_fn_config_program schtasks enable_schtasks install
19163 wine_fn_config_program sdbinst enable_sdbinst install
19164 wine_fn_config_program secedit enable_secedit install
19165 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19166 wine_fn_config_program services enable_services clean,install
19167 wine_fn_config_test programs/services/tests services.exe_test
19168 wine_fn_config_program shutdown enable_shutdown install
19169 wine_fn_config_program spoolsv enable_spoolsv install
19170 wine_fn_config_program start enable_start clean,install
19171 wine_fn_config_program subst enable_subst install
19172 wine_fn_config_program svchost enable_svchost install
19173 wine_fn_config_program systeminfo enable_systeminfo install
19174 wine_fn_config_program taskkill enable_taskkill clean,install
19175 wine_fn_config_program tasklist enable_tasklist install
19176 wine_fn_config_program taskmgr enable_taskmgr clean,install
19177 wine_fn_config_program termsv enable_termsv install
19178 wine_fn_config_program uninstaller enable_uninstaller clean,install
19179 wine_fn_config_program unlodctr enable_unlodctr install
19180 wine_fn_config_program view enable_view clean,install
19181 wine_fn_config_program wevtutil enable_wevtutil install
19182 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19183 wine_fn_config_program winebrowser enable_winebrowser install
19184 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19185 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19186 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19187 wine_fn_config_program winedevice enable_winedevice install
19188 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19189 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19190 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19191 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19192 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19193 wine_fn_config_program winetest enable_winetest clean
19194 wine_fn_config_program winevdm enable_win16 install
19195 wine_fn_config_program winhelp.exe16 enable_win16 install
19196 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19197 wine_fn_config_program winoldap.mod16 enable_win16 install
19198 wine_fn_config_program winver enable_winver install
19199 wine_fn_config_program wmic enable_wmic clean,install
19200 wine_fn_config_program wmplayer enable_wmplayer install
19201 wine_fn_config_program wordpad enable_wordpad clean,install
19202 wine_fn_config_program write enable_write clean,install
19203 wine_fn_config_program wscript enable_wscript clean,install
19204 wine_fn_config_test programs/wscript/tests wscript.exe_test
19205 wine_fn_config_program wusa enable_wusa install
19206 wine_fn_config_program xcopy enable_xcopy clean,install
19207 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19208 wine_fn_config_makefile server enable_server clean,install-lib
19209 wine_fn_config_tool tools clean
19210 wine_fn_config_tool tools/sfnt2fon clean
19211 wine_fn_config_tool tools/widl clean,install-dev
19212 wine_fn_config_tool tools/winebuild clean,install-dev
19213 wine_fn_config_tool tools/winedump clean,install-dev
19214 wine_fn_config_tool tools/winegcc clean,install-dev
19215 wine_fn_config_tool tools/winemaker clean,install-dev
19216 wine_fn_config_tool tools/wmc clean,install-dev
19217 wine_fn_config_tool tools/wrc clean,install-dev
19220 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19221 wine_fn_append_file CONFIGURE_TARGETS "tags"
19222 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19223 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19224 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19225 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19226 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19227 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19229 if test "x$enable_tools" != xno
19230 then
19231 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19232 ac_config_commands="$ac_config_commands tools/makedep"
19236 ac_config_commands="$ac_config_commands Makefile"
19239 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19243 if test "x$enable_maintainer_mode" = xyes
19244 then
19245 wine_fn_append_rule "configure: configure.ac aclocal.m4
19246 autoconf --warnings=all
19247 include/config.h.in: include/stamp-h.in
19248 include/stamp-h.in: configure.ac aclocal.m4
19249 autoheader --warnings=all
19250 @echo timestamp > \$@"
19253 if test "x$enable_tools" != xno
19254 then
19255 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19256 @./config.status tools/makedep
19257 Makefile: tools/makedep$ac_exeext"
19258 else
19259 wine_fn_append_rule "\$(MAKEDEP):
19260 @echo \"You need to run make in $TOOLSDIR first\" && false"
19263 if test -n "$with_wine64"
19264 then
19265 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19266 fonts server:
19267 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19268 $with_wine64/loader/wine:
19269 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19270 $with_wine64/loader/wine-preloader:
19271 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19272 clean::
19273 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19274 else
19275 WINELOADER_INSTALL="wine.inf"
19277 wine_fn_append_rule "install install-lib::
19278 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19279 .PHONY: l_intl.nls/uninstall
19280 l_intl.nls/uninstall::
19281 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19282 __uninstall__: l_intl.nls/uninstall"
19283 case $host_os in
19284 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19285 *) wine_fn_append_rule "install install-lib::
19286 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19287 uninstall::
19288 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19289 esac
19292 $as_echo " done" >&6
19293 cat >confcache <<\_ACEOF
19294 # This file is a shell script that caches the results of configure
19295 # tests run on this system so they can be shared between configure
19296 # scripts and configure runs, see configure's option --config-cache.
19297 # It is not useful on other systems. If it contains results you don't
19298 # want to keep, you may remove or edit it.
19300 # config.status only pays attention to the cache file if you give it
19301 # the --recheck option to rerun configure.
19303 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19305 # following values.
19307 _ACEOF
19309 # The following way of writing the cache mishandles newlines in values,
19310 # but we know of no workaround that is simple, portable, and efficient.
19311 # So, we kill variables containing newlines.
19312 # Ultrix sh set writes to stderr and can't be redirected directly,
19313 # and sets the high bit in the cache file unless we assign to the vars.
19315 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19316 eval ac_val=\$$ac_var
19317 case $ac_val in #(
19318 *${as_nl}*)
19319 case $ac_var in #(
19320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19322 esac
19323 case $ac_var in #(
19324 _ | IFS | as_nl) ;; #(
19325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19326 *) { eval $ac_var=; unset $ac_var;} ;;
19327 esac ;;
19328 esac
19329 done
19331 (set) 2>&1 |
19332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19333 *${as_nl}ac_space=\ *)
19334 # `set' does not quote correctly, so add quotes: double-quote
19335 # substitution turns \\\\ into \\, and sed turns \\ into \.
19336 sed -n \
19337 "s/'/'\\\\''/g;
19338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19339 ;; #(
19341 # `set' quotes correctly as required by POSIX, so do not add quotes.
19342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19344 esac |
19345 sort
19347 sed '
19348 /^ac_cv_env_/b end
19349 t clear
19350 :clear
19351 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19352 t end
19353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19354 :end' >>confcache
19355 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19356 if test -w "$cache_file"; then
19357 if test "x$cache_file" != "x/dev/null"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19359 $as_echo "$as_me: updating cache $cache_file" >&6;}
19360 if test ! -f "$cache_file" || test -h "$cache_file"; then
19361 cat confcache >"$cache_file"
19362 else
19363 case $cache_file in #(
19364 */* | ?:*)
19365 mv -f confcache "$cache_file"$$ &&
19366 mv -f "$cache_file"$$ "$cache_file" ;; #(
19368 mv -f confcache "$cache_file" ;;
19369 esac
19372 else
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19374 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19377 rm -f confcache
19379 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19380 # Let make expand exec_prefix.
19381 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19383 DEFS=-DHAVE_CONFIG_H
19385 ac_libobjs=
19386 ac_ltlibobjs=
19388 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19389 # 1. Remove the extension, and $U if already installed.
19390 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19391 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19392 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19393 # will be set to the directory where LIBOBJS objects are built.
19394 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19395 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19396 done
19397 LIBOBJS=$ac_libobjs
19399 LTLIBOBJS=$ac_ltlibobjs
19403 : "${CONFIG_STATUS=./config.status}"
19404 ac_write_fail=0
19405 ac_clean_files_save=$ac_clean_files
19406 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19408 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19409 as_write_fail=0
19410 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19411 #! $SHELL
19412 # Generated by $as_me.
19413 # Run this file to recreate the current configuration.
19414 # Compiler output produced by configure, useful for debugging
19415 # configure, is in config.log if it exists.
19417 debug=false
19418 ac_cs_recheck=false
19419 ac_cs_silent=false
19421 SHELL=\${CONFIG_SHELL-$SHELL}
19422 export SHELL
19423 _ASEOF
19424 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19425 ## -------------------- ##
19426 ## M4sh Initialization. ##
19427 ## -------------------- ##
19429 # Be more Bourne compatible
19430 DUALCASE=1; export DUALCASE # for MKS sh
19431 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19432 emulate sh
19433 NULLCMD=:
19434 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19435 # is contrary to our usage. Disable this feature.
19436 alias -g '${1+"$@"}'='"$@"'
19437 setopt NO_GLOB_SUBST
19438 else
19439 case `(set -o) 2>/dev/null` in #(
19440 *posix*) :
19441 set -o posix ;; #(
19442 *) :
19444 esac
19448 as_nl='
19450 export as_nl
19451 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19452 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19453 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19455 # Prefer a ksh shell builtin over an external printf program on Solaris,
19456 # but without wasting forks for bash or zsh.
19457 if test -z "$BASH_VERSION$ZSH_VERSION" \
19458 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19459 as_echo='print -r --'
19460 as_echo_n='print -rn --'
19461 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19462 as_echo='printf %s\n'
19463 as_echo_n='printf %s'
19464 else
19465 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19466 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19467 as_echo_n='/usr/ucb/echo -n'
19468 else
19469 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19470 as_echo_n_body='eval
19471 arg=$1;
19472 case $arg in #(
19473 *"$as_nl"*)
19474 expr "X$arg" : "X\\(.*\\)$as_nl";
19475 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19476 esac;
19477 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19479 export as_echo_n_body
19480 as_echo_n='sh -c $as_echo_n_body as_echo'
19482 export as_echo_body
19483 as_echo='sh -c $as_echo_body as_echo'
19486 # The user is always right.
19487 if test "${PATH_SEPARATOR+set}" != set; then
19488 PATH_SEPARATOR=:
19489 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19490 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19491 PATH_SEPARATOR=';'
19496 # IFS
19497 # We need space, tab and new line, in precisely that order. Quoting is
19498 # there to prevent editors from complaining about space-tab.
19499 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19500 # splitting by setting IFS to empty value.)
19501 IFS=" "" $as_nl"
19503 # Find who we are. Look in the path if we contain no directory separator.
19504 as_myself=
19505 case $0 in #((
19506 *[\\/]* ) as_myself=$0 ;;
19507 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19508 for as_dir in $PATH
19510 IFS=$as_save_IFS
19511 test -z "$as_dir" && as_dir=.
19512 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19513 done
19514 IFS=$as_save_IFS
19517 esac
19518 # We did not find ourselves, most probably we were run as `sh COMMAND'
19519 # in which case we are not to be found in the path.
19520 if test "x$as_myself" = x; then
19521 as_myself=$0
19523 if test ! -f "$as_myself"; then
19524 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19525 exit 1
19528 # Unset variables that we do not need and which cause bugs (e.g. in
19529 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19530 # suppresses any "Segmentation fault" message there. '((' could
19531 # trigger a bug in pdksh 5.2.14.
19532 for as_var in BASH_ENV ENV MAIL MAILPATH
19533 do eval test x\${$as_var+set} = xset \
19534 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19535 done
19536 PS1='$ '
19537 PS2='> '
19538 PS4='+ '
19540 # NLS nuisances.
19541 LC_ALL=C
19542 export LC_ALL
19543 LANGUAGE=C
19544 export LANGUAGE
19546 # CDPATH.
19547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19550 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19551 # ----------------------------------------
19552 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19553 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19554 # script with STATUS, using 1 if that was 0.
19555 as_fn_error ()
19557 as_status=$1; test $as_status -eq 0 && as_status=1
19558 if test "$4"; then
19559 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19560 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19562 $as_echo "$as_me: error: $2" >&2
19563 as_fn_exit $as_status
19564 } # as_fn_error
19567 # as_fn_set_status STATUS
19568 # -----------------------
19569 # Set $? to STATUS, without forking.
19570 as_fn_set_status ()
19572 return $1
19573 } # as_fn_set_status
19575 # as_fn_exit STATUS
19576 # -----------------
19577 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19578 as_fn_exit ()
19580 set +e
19581 as_fn_set_status $1
19582 exit $1
19583 } # as_fn_exit
19585 # as_fn_unset VAR
19586 # ---------------
19587 # Portably unset VAR.
19588 as_fn_unset ()
19590 { eval $1=; unset $1;}
19592 as_unset=as_fn_unset
19593 # as_fn_append VAR VALUE
19594 # ----------------------
19595 # Append the text in VALUE to the end of the definition contained in VAR. Take
19596 # advantage of any shell optimizations that allow amortized linear growth over
19597 # repeated appends, instead of the typical quadratic growth present in naive
19598 # implementations.
19599 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19600 eval 'as_fn_append ()
19602 eval $1+=\$2
19604 else
19605 as_fn_append ()
19607 eval $1=\$$1\$2
19609 fi # as_fn_append
19611 # as_fn_arith ARG...
19612 # ------------------
19613 # Perform arithmetic evaluation on the ARGs, and store the result in the
19614 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19615 # must be portable across $(()) and expr.
19616 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19617 eval 'as_fn_arith ()
19619 as_val=$(( $* ))
19621 else
19622 as_fn_arith ()
19624 as_val=`expr "$@" || test $? -eq 1`
19626 fi # as_fn_arith
19629 if expr a : '\(a\)' >/dev/null 2>&1 &&
19630 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19631 as_expr=expr
19632 else
19633 as_expr=false
19636 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19637 as_basename=basename
19638 else
19639 as_basename=false
19642 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19643 as_dirname=dirname
19644 else
19645 as_dirname=false
19648 as_me=`$as_basename -- "$0" ||
19649 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19650 X"$0" : 'X\(//\)$' \| \
19651 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19652 $as_echo X/"$0" |
19653 sed '/^.*\/\([^/][^/]*\)\/*$/{
19654 s//\1/
19657 /^X\/\(\/\/\)$/{
19658 s//\1/
19661 /^X\/\(\/\).*/{
19662 s//\1/
19665 s/.*/./; q'`
19667 # Avoid depending upon Character Ranges.
19668 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19669 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19670 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19671 as_cr_digits='0123456789'
19672 as_cr_alnum=$as_cr_Letters$as_cr_digits
19674 ECHO_C= ECHO_N= ECHO_T=
19675 case `echo -n x` in #(((((
19676 -n*)
19677 case `echo 'xy\c'` in
19678 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19679 xy) ECHO_C='\c';;
19680 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19681 ECHO_T=' ';;
19682 esac;;
19684 ECHO_N='-n';;
19685 esac
19687 rm -f conf$$ conf$$.exe conf$$.file
19688 if test -d conf$$.dir; then
19689 rm -f conf$$.dir/conf$$.file
19690 else
19691 rm -f conf$$.dir
19692 mkdir conf$$.dir 2>/dev/null
19694 if (echo >conf$$.file) 2>/dev/null; then
19695 if ln -s conf$$.file conf$$ 2>/dev/null; then
19696 as_ln_s='ln -s'
19697 # ... but there are two gotchas:
19698 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19699 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19700 # In both cases, we have to default to `cp -pR'.
19701 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19702 as_ln_s='cp -pR'
19703 elif ln conf$$.file conf$$ 2>/dev/null; then
19704 as_ln_s=ln
19705 else
19706 as_ln_s='cp -pR'
19708 else
19709 as_ln_s='cp -pR'
19711 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19712 rmdir conf$$.dir 2>/dev/null
19715 # as_fn_mkdir_p
19716 # -------------
19717 # Create "$as_dir" as a directory, including parents if necessary.
19718 as_fn_mkdir_p ()
19721 case $as_dir in #(
19722 -*) as_dir=./$as_dir;;
19723 esac
19724 test -d "$as_dir" || eval $as_mkdir_p || {
19725 as_dirs=
19726 while :; do
19727 case $as_dir in #(
19728 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19729 *) as_qdir=$as_dir;;
19730 esac
19731 as_dirs="'$as_qdir' $as_dirs"
19732 as_dir=`$as_dirname -- "$as_dir" ||
19733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19734 X"$as_dir" : 'X\(//\)[^/]' \| \
19735 X"$as_dir" : 'X\(//\)$' \| \
19736 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19737 $as_echo X"$as_dir" |
19738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19739 s//\1/
19742 /^X\(\/\/\)[^/].*/{
19743 s//\1/
19746 /^X\(\/\/\)$/{
19747 s//\1/
19750 /^X\(\/\).*/{
19751 s//\1/
19754 s/.*/./; q'`
19755 test -d "$as_dir" && break
19756 done
19757 test -z "$as_dirs" || eval "mkdir $as_dirs"
19758 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19761 } # as_fn_mkdir_p
19762 if mkdir -p . 2>/dev/null; then
19763 as_mkdir_p='mkdir -p "$as_dir"'
19764 else
19765 test -d ./-p && rmdir ./-p
19766 as_mkdir_p=false
19770 # as_fn_executable_p FILE
19771 # -----------------------
19772 # Test if FILE is an executable regular file.
19773 as_fn_executable_p ()
19775 test -f "$1" && test -x "$1"
19776 } # as_fn_executable_p
19777 as_test_x='test -x'
19778 as_executable_p=as_fn_executable_p
19780 # Sed expression to map a string onto a valid CPP name.
19781 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19783 # Sed expression to map a string onto a valid variable name.
19784 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19787 exec 6>&1
19788 ## ----------------------------------- ##
19789 ## Main body of $CONFIG_STATUS script. ##
19790 ## ----------------------------------- ##
19791 _ASEOF
19792 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19795 # Save the log message, to keep $0 and so on meaningful, and to
19796 # report actual input values of CONFIG_FILES etc. instead of their
19797 # values after options handling.
19798 ac_log="
19799 This file was extended by Wine $as_me 2.22, which was
19800 generated by GNU Autoconf 2.69. Invocation command line was
19802 CONFIG_FILES = $CONFIG_FILES
19803 CONFIG_HEADERS = $CONFIG_HEADERS
19804 CONFIG_LINKS = $CONFIG_LINKS
19805 CONFIG_COMMANDS = $CONFIG_COMMANDS
19806 $ $0 $@
19808 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19811 _ACEOF
19813 case $ac_config_files in *"
19814 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19815 esac
19817 case $ac_config_headers in *"
19818 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19819 esac
19822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19823 # Files that config.status was made for.
19824 config_files="$ac_config_files"
19825 config_headers="$ac_config_headers"
19826 config_links="$ac_config_links"
19827 config_commands="$ac_config_commands"
19829 _ACEOF
19831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19832 ac_cs_usage="\
19833 \`$as_me' instantiates files and other configuration actions
19834 from templates according to the current configuration. Unless the files
19835 and actions are specified as TAGs, all are instantiated by default.
19837 Usage: $0 [OPTION]... [TAG]...
19839 -h, --help print this help, then exit
19840 -V, --version print version number and configuration settings, then exit
19841 --config print configuration, then exit
19842 -q, --quiet, --silent
19843 do not print progress messages
19844 -d, --debug don't remove temporary files
19845 --recheck update $as_me by reconfiguring in the same conditions
19846 --file=FILE[:TEMPLATE]
19847 instantiate the configuration file FILE
19848 --header=FILE[:TEMPLATE]
19849 instantiate the configuration header FILE
19851 Configuration files:
19852 $config_files
19854 Configuration headers:
19855 $config_headers
19857 Configuration links:
19858 $config_links
19860 Configuration commands:
19861 $config_commands
19863 Report bugs to <wine-devel@winehq.org>.
19864 Wine home page: <https://www.winehq.org>."
19866 _ACEOF
19867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19868 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19869 ac_cs_version="\\
19870 Wine config.status 2.22
19871 configured by $0, generated by GNU Autoconf 2.69,
19872 with options \\"\$ac_cs_config\\"
19874 Copyright (C) 2012 Free Software Foundation, Inc.
19875 This config.status script is free software; the Free Software Foundation
19876 gives unlimited permission to copy, distribute and modify it."
19878 ac_pwd='$ac_pwd'
19879 srcdir='$srcdir'
19880 test -n "\$AWK" || AWK=awk
19881 _ACEOF
19883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19884 # The default lists apply if the user does not specify any file.
19885 ac_need_defaults=:
19886 while test $# != 0
19888 case $1 in
19889 --*=?*)
19890 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19891 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19892 ac_shift=:
19894 --*=)
19895 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19896 ac_optarg=
19897 ac_shift=:
19900 ac_option=$1
19901 ac_optarg=$2
19902 ac_shift=shift
19904 esac
19906 case $ac_option in
19907 # Handling of the options.
19908 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19909 ac_cs_recheck=: ;;
19910 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19911 $as_echo "$ac_cs_version"; exit ;;
19912 --config | --confi | --conf | --con | --co | --c )
19913 $as_echo "$ac_cs_config"; exit ;;
19914 --debug | --debu | --deb | --de | --d | -d )
19915 debug=: ;;
19916 --file | --fil | --fi | --f )
19917 $ac_shift
19918 case $ac_optarg in
19919 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19920 '') as_fn_error $? "missing file argument" ;;
19921 esac
19922 as_fn_append CONFIG_FILES " '$ac_optarg'"
19923 ac_need_defaults=false;;
19924 --header | --heade | --head | --hea )
19925 $ac_shift
19926 case $ac_optarg in
19927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19928 esac
19929 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19930 ac_need_defaults=false;;
19931 --he | --h)
19932 # Conflict between --help and --header
19933 as_fn_error $? "ambiguous option: \`$1'
19934 Try \`$0 --help' for more information.";;
19935 --help | --hel | -h )
19936 $as_echo "$ac_cs_usage"; exit ;;
19937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19938 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19939 ac_cs_silent=: ;;
19941 # This is an error.
19942 -*) as_fn_error $? "unrecognized option: \`$1'
19943 Try \`$0 --help' for more information." ;;
19945 *) as_fn_append ac_config_targets " $1"
19946 ac_need_defaults=false ;;
19948 esac
19949 shift
19950 done
19952 ac_configure_extra_args=
19954 if $ac_cs_silent; then
19955 exec 6>/dev/null
19956 ac_configure_extra_args="$ac_configure_extra_args --silent"
19959 _ACEOF
19960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19961 if \$ac_cs_recheck; then
19962 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19963 shift
19964 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19965 CONFIG_SHELL='$SHELL'
19966 export CONFIG_SHELL
19967 exec "\$@"
19970 _ACEOF
19971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19972 exec 5>>config.log
19974 echo
19975 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19976 ## Running $as_me. ##
19977 _ASBOX
19978 $as_echo "$ac_log"
19979 } >&5
19981 _ACEOF
19982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19984 # INIT-COMMANDS
19986 wine_fn_output_makedep ()
19988 as_dir=tools; as_fn_mkdir_p
19989 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19991 wine_fn_output_makefile ()
19993 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19994 `cat $wine_rules_file`
19995 _WINE_EOF
19996 as_fn_error $? "could not create Makefile" "$LINENO" 5
19999 _ACEOF
20001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20003 # Handling of arguments.
20004 for ac_config_target in $ac_config_targets
20006 case $ac_config_target in
20007 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20008 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20009 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20010 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20011 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20012 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20013 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20014 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20015 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20016 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20017 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20018 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20019 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20021 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20022 esac
20023 done
20026 # If the user did not use the arguments to specify the items to instantiate,
20027 # then the envvar interface is used. Set only those that are not.
20028 # We use the long form for the default assignment because of an extremely
20029 # bizarre bug on SunOS 4.1.3.
20030 if $ac_need_defaults; then
20031 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20032 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20033 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20034 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20037 # Have a temporary directory for convenience. Make it in the build tree
20038 # simply because there is no reason against having it here, and in addition,
20039 # creating and moving files from /tmp can sometimes cause problems.
20040 # Hook for its removal unless debugging.
20041 # Note that there is a small window in which the directory will not be cleaned:
20042 # after its creation but before its name has been assigned to `$tmp'.
20043 $debug ||
20045 tmp= ac_tmp=
20046 trap 'exit_status=$?
20047 : "${ac_tmp:=$tmp}"
20048 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20050 trap 'as_fn_exit 1' 1 2 13 15
20052 # Create a (secure) tmp directory for tmp files.
20055 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20056 test -d "$tmp"
20057 } ||
20059 tmp=./conf$$-$RANDOM
20060 (umask 077 && mkdir "$tmp")
20061 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20062 ac_tmp=$tmp
20064 # Set up the scripts for CONFIG_FILES section.
20065 # No need to generate them if there are no CONFIG_FILES.
20066 # This happens for instance with `./config.status config.h'.
20067 if test -n "$CONFIG_FILES"; then
20070 ac_cr=`echo X | tr X '\015'`
20071 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20072 # But we know of no other shell where ac_cr would be empty at this
20073 # point, so we can use a bashism as a fallback.
20074 if test "x$ac_cr" = x; then
20075 eval ac_cr=\$\'\\r\'
20077 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20078 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20079 ac_cs_awk_cr='\\r'
20080 else
20081 ac_cs_awk_cr=$ac_cr
20084 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20085 _ACEOF
20089 echo "cat >conf$$subs.awk <<_ACEOF" &&
20090 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20091 echo "_ACEOF"
20092 } >conf$$subs.sh ||
20093 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20094 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20095 ac_delim='%!_!# '
20096 for ac_last_try in false false false false false :; do
20097 . ./conf$$subs.sh ||
20098 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20100 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20101 if test $ac_delim_n = $ac_delim_num; then
20102 break
20103 elif $ac_last_try; then
20104 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20105 else
20106 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20108 done
20109 rm -f conf$$subs.sh
20111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20112 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20113 _ACEOF
20114 sed -n '
20116 s/^/S["/; s/!.*/"]=/
20119 s/^[^!]*!//
20120 :repl
20121 t repl
20122 s/'"$ac_delim"'$//
20123 t delim
20126 s/\(.\{148\}\)..*/\1/
20127 t more1
20128 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20131 b repl
20132 :more1
20133 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20136 s/.\{148\}//
20137 t nl
20138 :delim
20140 s/\(.\{148\}\)..*/\1/
20141 t more2
20142 s/["\\]/\\&/g; s/^/"/; s/$/"/
20145 :more2
20146 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20149 s/.\{148\}//
20150 t delim
20151 ' <conf$$subs.awk | sed '
20152 /^[^""]/{
20154 s/\n//
20156 ' >>$CONFIG_STATUS || ac_write_fail=1
20157 rm -f conf$$subs.awk
20158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20159 _ACAWK
20160 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20161 for (key in S) S_is_set[key] = 1
20162 FS = "\a"
20166 line = $ 0
20167 nfields = split(line, field, "@")
20168 substed = 0
20169 len = length(field[1])
20170 for (i = 2; i < nfields; i++) {
20171 key = field[i]
20172 keylen = length(key)
20173 if (S_is_set[key]) {
20174 value = S[key]
20175 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20176 len += length(value) + length(field[++i])
20177 substed = 1
20178 } else
20179 len += 1 + keylen
20182 print line
20185 _ACAWK
20186 _ACEOF
20187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20188 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20189 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20190 else
20192 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20193 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20194 _ACEOF
20196 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20197 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20198 # trailing colons and then remove the whole line if VPATH becomes empty
20199 # (actually we leave an empty line to preserve line numbers).
20200 if test "x$srcdir" = x.; then
20201 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20203 s///
20204 s/^/:/
20205 s/[ ]*$/:/
20206 s/:\$(srcdir):/:/g
20207 s/:\${srcdir}:/:/g
20208 s/:@srcdir@:/:/g
20209 s/^:*//
20210 s/:*$//
20212 s/\(=[ ]*\).*/\1/
20214 s/\n//
20215 s/^[^=]*=[ ]*$//
20219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20220 fi # test -n "$CONFIG_FILES"
20222 # Set up the scripts for CONFIG_HEADERS section.
20223 # No need to generate them if there are no CONFIG_HEADERS.
20224 # This happens for instance with `./config.status Makefile'.
20225 if test -n "$CONFIG_HEADERS"; then
20226 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20227 BEGIN {
20228 _ACEOF
20230 # Transform confdefs.h into an awk script `defines.awk', embedded as
20231 # here-document in config.status, that substitutes the proper values into
20232 # config.h.in to produce config.h.
20234 # Create a delimiter string that does not exist in confdefs.h, to ease
20235 # handling of long lines.
20236 ac_delim='%!_!# '
20237 for ac_last_try in false false :; do
20238 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20239 if test -z "$ac_tt"; then
20240 break
20241 elif $ac_last_try; then
20242 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20243 else
20244 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20246 done
20248 # For the awk script, D is an array of macro values keyed by name,
20249 # likewise P contains macro parameters if any. Preserve backslash
20250 # newline sequences.
20252 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20253 sed -n '
20254 s/.\{148\}/&'"$ac_delim"'/g
20255 t rset
20256 :rset
20257 s/^[ ]*#[ ]*define[ ][ ]*/ /
20258 t def
20260 :def
20261 s/\\$//
20262 t bsnl
20263 s/["\\]/\\&/g
20264 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20265 D["\1"]=" \3"/p
20266 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20268 :bsnl
20269 s/["\\]/\\&/g
20270 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20271 D["\1"]=" \3\\\\\\n"\\/p
20272 t cont
20273 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20274 t cont
20276 :cont
20278 s/.\{148\}/&'"$ac_delim"'/g
20279 t clear
20280 :clear
20281 s/\\$//
20282 t bsnlc
20283 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20285 :bsnlc
20286 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20287 b cont
20288 ' <confdefs.h | sed '
20289 s/'"$ac_delim"'/"\\\
20290 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20293 for (key in D) D_is_set[key] = 1
20294 FS = "\a"
20296 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20297 line = \$ 0
20298 split(line, arg, " ")
20299 if (arg[1] == "#") {
20300 defundef = arg[2]
20301 mac1 = arg[3]
20302 } else {
20303 defundef = substr(arg[1], 2)
20304 mac1 = arg[2]
20306 split(mac1, mac2, "(") #)
20307 macro = mac2[1]
20308 prefix = substr(line, 1, index(line, defundef) - 1)
20309 if (D_is_set[macro]) {
20310 # Preserve the white space surrounding the "#".
20311 print prefix "define", macro P[macro] D[macro]
20312 next
20313 } else {
20314 # Replace #undef with comments. This is necessary, for example,
20315 # in the case of _POSIX_SOURCE, which is predefined and required
20316 # on some systems where configure will not decide to define it.
20317 if (defundef == "undef") {
20318 print "/*", prefix defundef, macro, "*/"
20319 next
20323 { print }
20324 _ACAWK
20325 _ACEOF
20326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20327 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20328 fi # test -n "$CONFIG_HEADERS"
20331 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20332 shift
20333 for ac_tag
20335 case $ac_tag in
20336 :[FHLC]) ac_mode=$ac_tag; continue;;
20337 esac
20338 case $ac_mode$ac_tag in
20339 :[FHL]*:*);;
20340 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20341 :[FH]-) ac_tag=-:-;;
20342 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20343 esac
20344 ac_save_IFS=$IFS
20345 IFS=:
20346 set x $ac_tag
20347 IFS=$ac_save_IFS
20348 shift
20349 ac_file=$1
20350 shift
20352 case $ac_mode in
20353 :L) ac_source=$1;;
20354 :[FH])
20355 ac_file_inputs=
20356 for ac_f
20358 case $ac_f in
20359 -) ac_f="$ac_tmp/stdin";;
20360 *) # Look for the file first in the build tree, then in the source tree
20361 # (if the path is not absolute). The absolute path cannot be DOS-style,
20362 # because $ac_f cannot contain `:'.
20363 test -f "$ac_f" ||
20364 case $ac_f in
20365 [\\/$]*) false;;
20366 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20367 esac ||
20368 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20369 esac
20370 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20371 as_fn_append ac_file_inputs " '$ac_f'"
20372 done
20374 # Let's still pretend it is `configure' which instantiates (i.e., don't
20375 # use $as_me), people would be surprised to read:
20376 # /* config.h. Generated by config.status. */
20377 configure_input='Generated from '`
20378 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20379 `' by configure.'
20380 if test x"$ac_file" != x-; then
20381 configure_input="$ac_file. $configure_input"
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20383 $as_echo "$as_me: creating $ac_file" >&6;}
20385 # Neutralize special characters interpreted by sed in replacement strings.
20386 case $configure_input in #(
20387 *\&* | *\|* | *\\* )
20388 ac_sed_conf_input=`$as_echo "$configure_input" |
20389 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20390 *) ac_sed_conf_input=$configure_input;;
20391 esac
20393 case $ac_tag in
20394 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20395 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20396 esac
20398 esac
20400 ac_dir=`$as_dirname -- "$ac_file" ||
20401 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20402 X"$ac_file" : 'X\(//\)[^/]' \| \
20403 X"$ac_file" : 'X\(//\)$' \| \
20404 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20405 $as_echo X"$ac_file" |
20406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20407 s//\1/
20410 /^X\(\/\/\)[^/].*/{
20411 s//\1/
20414 /^X\(\/\/\)$/{
20415 s//\1/
20418 /^X\(\/\).*/{
20419 s//\1/
20422 s/.*/./; q'`
20423 as_dir="$ac_dir"; as_fn_mkdir_p
20424 ac_builddir=.
20426 case "$ac_dir" in
20427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20429 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20430 # A ".." for each directory in $ac_dir_suffix.
20431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20432 case $ac_top_builddir_sub in
20433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20435 esac ;;
20436 esac
20437 ac_abs_top_builddir=$ac_pwd
20438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20439 # for backward compatibility:
20440 ac_top_builddir=$ac_top_build_prefix
20442 case $srcdir in
20443 .) # We are building in place.
20444 ac_srcdir=.
20445 ac_top_srcdir=$ac_top_builddir_sub
20446 ac_abs_top_srcdir=$ac_pwd ;;
20447 [\\/]* | ?:[\\/]* ) # Absolute name.
20448 ac_srcdir=$srcdir$ac_dir_suffix;
20449 ac_top_srcdir=$srcdir
20450 ac_abs_top_srcdir=$srcdir ;;
20451 *) # Relative name.
20452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20453 ac_top_srcdir=$ac_top_build_prefix$srcdir
20454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20455 esac
20456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20459 case $ac_mode in
20462 # CONFIG_FILE
20465 _ACEOF
20467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20468 # If the template does not know about datarootdir, expand it.
20469 # FIXME: This hack should be removed a few years after 2.60.
20470 ac_datarootdir_hack=; ac_datarootdir_seen=
20471 ac_sed_dataroot='
20472 /datarootdir/ {
20476 /@datadir@/p
20477 /@docdir@/p
20478 /@infodir@/p
20479 /@localedir@/p
20480 /@mandir@/p'
20481 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20482 *datarootdir*) ac_datarootdir_seen=yes;;
20483 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20485 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20486 _ACEOF
20487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20488 ac_datarootdir_hack='
20489 s&@datadir@&$datadir&g
20490 s&@docdir@&$docdir&g
20491 s&@infodir@&$infodir&g
20492 s&@localedir@&$localedir&g
20493 s&@mandir@&$mandir&g
20494 s&\\\${datarootdir}&$datarootdir&g' ;;
20495 esac
20496 _ACEOF
20498 # Neutralize VPATH when `$srcdir' = `.'.
20499 # Shell code in configure.ac might set extrasub.
20500 # FIXME: do we really want to maintain this feature?
20501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20502 ac_sed_extra="$ac_vpsub
20503 $extrasub
20504 _ACEOF
20505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20508 s|@configure_input@|$ac_sed_conf_input|;t t
20509 s&@top_builddir@&$ac_top_builddir_sub&;t t
20510 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20511 s&@srcdir@&$ac_srcdir&;t t
20512 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20513 s&@top_srcdir@&$ac_top_srcdir&;t t
20514 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20515 s&@builddir@&$ac_builddir&;t t
20516 s&@abs_builddir@&$ac_abs_builddir&;t t
20517 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20518 $ac_datarootdir_hack
20520 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20521 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20523 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20524 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20525 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20526 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20528 which seems to be undefined. Please make sure it is defined" >&5
20529 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20530 which seems to be undefined. Please make sure it is defined" >&2;}
20532 rm -f "$ac_tmp/stdin"
20533 case $ac_file in
20534 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20535 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20536 esac \
20537 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20541 # CONFIG_HEADER
20543 if test x"$ac_file" != x-; then
20545 $as_echo "/* $configure_input */" \
20546 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20547 } >"$ac_tmp/config.h" \
20548 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20549 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20551 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20552 else
20553 rm -f "$ac_file"
20554 mv "$ac_tmp/config.h" "$ac_file" \
20555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20557 else
20558 $as_echo "/* $configure_input */" \
20559 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20560 || as_fn_error $? "could not create -" "$LINENO" 5
20565 # CONFIG_LINK
20568 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20570 else
20571 # Prefer the file from the source tree if names are identical.
20572 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20573 ac_source=$srcdir/$ac_source
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20577 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20579 if test ! -r "$ac_source"; then
20580 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20582 rm -f "$ac_file"
20584 # Try a relative symlink, then a hard link, then a copy.
20585 case $ac_source in
20586 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20587 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20588 esac
20589 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20590 ln "$ac_source" "$ac_file" 2>/dev/null ||
20591 cp -p "$ac_source" "$ac_file" ||
20592 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20595 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20596 $as_echo "$as_me: executing $ac_file commands" >&6;}
20598 esac
20601 case $ac_file$ac_mode in
20602 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20603 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20604 "Makefile":C) wine_fn_output_makefile Makefile ;;
20606 esac
20607 done # for ac_tag
20610 as_fn_exit 0
20611 _ACEOF
20612 ac_clean_files=$ac_clean_files_save
20614 test $ac_write_fail = 0 ||
20615 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20618 # configure is writing to config.log, and then calls config.status.
20619 # config.status does its own redirection, appending to config.log.
20620 # Unfortunately, on DOS this fails, as config.log is still kept open
20621 # by configure, so config.status won't be able to write to it; its
20622 # output is simply discarded. So we exec the FD to /dev/null,
20623 # effectively closing config.log, so it can be properly (re)opened and
20624 # appended to by config.status. When coming back to configure, we
20625 # need to make the FD available again.
20626 if test "$no_create" != yes; then
20627 ac_cs_success=:
20628 ac_config_status_args=
20629 test "$silent" = yes &&
20630 ac_config_status_args="$ac_config_status_args --quiet"
20631 exec 5>/dev/null
20632 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20633 exec 5>>config.log
20634 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20635 # would make configure fail if this is the last instruction.
20636 $ac_cs_success || as_fn_exit 1
20638 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20640 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20644 if test "$no_create" = "yes"
20645 then
20646 exit 0
20649 ac_save_IFS="$IFS"
20650 if test "x$wine_notices" != x; then
20651 echo >&6
20652 IFS="|"
20653 for msg in $wine_notices; do
20654 IFS="$ac_save_IFS"
20655 if ${msg:+false} :; then :
20657 else
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20659 $as_echo "$as_me: $msg" >&6;}
20661 done
20663 IFS="|"
20664 for msg in $wine_warnings; do
20665 IFS="$ac_save_IFS"
20666 if ${msg:+false} :; then :
20668 else
20669 echo >&2
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20671 $as_echo "$as_me: WARNING: $msg" >&2;}
20673 done
20674 IFS="$ac_save_IFS"
20676 $as_echo "
20677 $as_me: Finished. Do '${ac_make}' to compile Wine.
20678 " >&6