shell32/tests: Use the global memory allocation helpers.
[wine.git] / configure
blob3b6dbf0b3ca79083fc9d897a03de823543d69e36
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.2'
584 PACKAGE_STRING='Wine 3.2'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 UDEV_LIBS
662 UDEV_CFLAGS
663 OSS4_CFLAGS
664 ALSA_LIBS
665 GSTREAMER_LIBS
666 GSTREAMER_CFLAGS
667 PULSE_LIBS
668 PULSE_CFLAGS
669 GETTEXTPO_LIBS
670 Z_LIBS
671 FREETYPE_LIBS
672 FREETYPE_CFLAGS
673 LCMS2_LIBS
674 LCMS2_CFLAGS
675 RESOLV_LIBS
676 GPHOTO2_PORT_LIBS
677 GPHOTO2_PORT_CFLAGS
678 GPHOTO2_LIBS
679 GPHOTO2_CFLAGS
680 SANE_LIBS
681 SANE_CFLAGS
682 GNUTLS_LIBS
683 GNUTLS_CFLAGS
684 HAL_LIBS
685 HAL_CFLAGS
686 DBUS_LIBS
687 DBUS_CFLAGS
688 XSLT_LIBS
689 XSLT_CFLAGS
690 XML2_LIBS
691 XML2_CFLAGS
692 PCAP_LIBS
693 X_EXTRA_LIBS
694 X_LIBS
695 X_PRE_LIBS
696 X_CFLAGS
697 XMKMF
698 PTHREAD_LIBS
699 CROSSCFLAGS
700 CROSSCC
701 CROSSTARGET
702 PRELINK
703 WINELOADER_DEPENDS
704 CARBON_LIBS
705 QUICKTIME_LIBS
706 OPENCL_LIBS
707 OPENAL_LIBS
708 COREAUDIO_LIBS
709 SECURITY_LIBS
710 DISKARBITRATION_LIBS
711 APPKIT_LIBS
712 CORESERVICES_LIBS
713 APPLICATIONSERVICES_LIBS
714 FORCEFEEDBACK_LIBS
715 IOKIT_LIBS
716 COREFOUNDATION_LIBS
717 LIBWINE_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_INSTALL_DEV
720 LIBWINE_INSTALL_LIB
721 LIBWINE_IMPORTLIB
722 LIBWINE_SHAREDLIB
723 SOCKET_LIBS
724 DLLTOOL
725 WINELOADER_PROGRAMS
726 ALL_TEST_RESOURCES
727 CONFIGURE_TARGETS
728 DISABLED_SUBDIRS
729 SUBDIRS
730 READELF
731 OTOOL
733 WINELOADER_LDFLAGS
734 LDEXECFLAGS
735 LDRPATH_LOCAL
736 LDRPATH_INSTALL
737 DLLFLAGS
738 dlldir
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 TARGETFLAGS
761 CPPBIN
762 ac_ct_CXX
763 CXXFLAGS
765 OBJEXT
766 EXEEXT
767 ac_ct_CC
768 CPPFLAGS
769 LDFLAGS
770 CFLAGS
772 SET_MAKE
773 host_os
774 host_vendor
775 host_cpu
776 host
777 build_os
778 build_vendor
779 build_cpu
780 build
781 target_alias
782 host_alias
783 build_alias
784 LIBS
785 ECHO_T
786 ECHO_N
787 ECHO_C
788 DEFS
789 mandir
790 localedir
791 libdir
792 psdir
793 pdfdir
794 dvidir
795 htmldir
796 infodir
797 docdir
798 oldincludedir
799 includedir
800 runstatedir
801 localstatedir
802 sharedstatedir
803 sysconfdir
804 datadir
805 datarootdir
806 libexecdir
807 sbindir
808 bindir
809 program_transform_name
810 prefix
811 exec_prefix
812 PACKAGE_URL
813 PACKAGE_BUGREPORT
814 PACKAGE_STRING
815 PACKAGE_VERSION
816 PACKAGE_TARNAME
817 PACKAGE_NAME
818 PATH_SEPARATOR
819 SHELL'
820 ac_subst_files=''
821 ac_user_opts='
822 enable_option_checking
823 enable_win16
824 enable_win64
825 enable_tests
826 enable_maintainer_mode
827 with_alsa
828 with_capi
829 with_cms
830 with_coreaudio
831 with_cups
832 with_curses
833 with_dbus
834 with_float_abi
835 with_fontconfig
836 with_freetype
837 with_gettext
838 with_gettextpo
839 with_gphoto
840 with_glu
841 with_gnutls
842 with_gsm
843 with_gssapi
844 with_gstreamer
845 with_hal
846 with_jpeg
847 with_krb5
848 with_ldap
849 with_mpg123
850 with_netapi
851 with_openal
852 with_opencl
853 with_opengl
854 with_osmesa
855 with_oss
856 with_pcap
857 with_png
858 with_pthread
859 with_pulse
860 with_sane
861 with_tiff
862 with_udev
863 with_v4l
864 with_xcomposite
865 with_xcursor
866 with_xfixes
867 with_xinerama
868 with_xinput
869 with_xinput2
870 with_xml
871 with_xrandr
872 with_xrender
873 with_xshape
874 with_xshm
875 with_xslt
876 with_xxf86vm
877 with_zlib
878 with_wine_tools
879 with_wine64
880 enable_largefile
881 with_x
882 enable_acledit
883 enable_aclui
884 enable_activeds
885 enable_actxprxy
886 enable_adsldp
887 enable_adsldpc
888 enable_advapi32
889 enable_advpack
890 enable_amstream
891 enable_api_ms_win_appmodel_identity_l1_1_0
892 enable_api_ms_win_appmodel_runtime_l1_1_1
893 enable_api_ms_win_appmodel_runtime_l1_1_2
894 enable_api_ms_win_core_apiquery_l1_1_0
895 enable_api_ms_win_core_appcompat_l1_1_1
896 enable_api_ms_win_core_appinit_l1_1_0
897 enable_api_ms_win_core_atoms_l1_1_0
898 enable_api_ms_win_core_bem_l1_1_0
899 enable_api_ms_win_core_com_l1_1_0
900 enable_api_ms_win_core_com_l1_1_1
901 enable_api_ms_win_core_com_private_l1_1_0
902 enable_api_ms_win_core_console_l1_1_0
903 enable_api_ms_win_core_console_l2_1_0
904 enable_api_ms_win_core_crt_l1_1_0
905 enable_api_ms_win_core_crt_l2_1_0
906 enable_api_ms_win_core_datetime_l1_1_0
907 enable_api_ms_win_core_datetime_l1_1_1
908 enable_api_ms_win_core_debug_l1_1_0
909 enable_api_ms_win_core_debug_l1_1_1
910 enable_api_ms_win_core_delayload_l1_1_0
911 enable_api_ms_win_core_delayload_l1_1_1
912 enable_api_ms_win_core_errorhandling_l1_1_0
913 enable_api_ms_win_core_errorhandling_l1_1_1
914 enable_api_ms_win_core_errorhandling_l1_1_2
915 enable_api_ms_win_core_errorhandling_l1_1_3
916 enable_api_ms_win_core_fibers_l1_1_0
917 enable_api_ms_win_core_fibers_l1_1_1
918 enable_api_ms_win_core_file_l1_1_0
919 enable_api_ms_win_core_file_l1_2_0
920 enable_api_ms_win_core_file_l1_2_1
921 enable_api_ms_win_core_file_l1_2_2
922 enable_api_ms_win_core_file_l2_1_0
923 enable_api_ms_win_core_file_l2_1_1
924 enable_api_ms_win_core_file_l2_1_2
925 enable_api_ms_win_core_handle_l1_1_0
926 enable_api_ms_win_core_heap_l1_1_0
927 enable_api_ms_win_core_heap_l1_2_0
928 enable_api_ms_win_core_heap_l2_1_0
929 enable_api_ms_win_core_heap_obsolete_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_1_0
931 enable_api_ms_win_core_interlocked_l1_2_0
932 enable_api_ms_win_core_io_l1_1_0
933 enable_api_ms_win_core_io_l1_1_1
934 enable_api_ms_win_core_job_l1_1_0
935 enable_api_ms_win_core_job_l2_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_0
937 enable_api_ms_win_core_kernel32_legacy_l1_1_1
938 enable_api_ms_win_core_kernel32_private_l1_1_1
939 enable_api_ms_win_core_libraryloader_l1_1_0
940 enable_api_ms_win_core_libraryloader_l1_1_1
941 enable_api_ms_win_core_libraryloader_l1_2_0
942 enable_api_ms_win_core_libraryloader_l1_2_1
943 enable_api_ms_win_core_libraryloader_l1_2_2
944 enable_api_ms_win_core_localization_l1_1_0
945 enable_api_ms_win_core_localization_l1_2_0
946 enable_api_ms_win_core_localization_l1_2_1
947 enable_api_ms_win_core_localization_l2_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_1_0
949 enable_api_ms_win_core_localization_obsolete_l1_2_0
950 enable_api_ms_win_core_localization_obsolete_l1_3_0
951 enable_api_ms_win_core_localization_private_l1_1_0
952 enable_api_ms_win_core_localregistry_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_0
954 enable_api_ms_win_core_memory_l1_1_1
955 enable_api_ms_win_core_memory_l1_1_2
956 enable_api_ms_win_core_misc_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_1_0
958 enable_api_ms_win_core_namedpipe_l1_2_0
959 enable_api_ms_win_core_namespace_l1_1_0
960 enable_api_ms_win_core_normalization_l1_1_0
961 enable_api_ms_win_core_path_l1_1_0
962 enable_api_ms_win_core_privateprofile_l1_1_1
963 enable_api_ms_win_core_processenvironment_l1_1_0
964 enable_api_ms_win_core_processenvironment_l1_2_0
965 enable_api_ms_win_core_processthreads_l1_1_0
966 enable_api_ms_win_core_processthreads_l1_1_1
967 enable_api_ms_win_core_processthreads_l1_1_2
968 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
969 enable_api_ms_win_core_profile_l1_1_0
970 enable_api_ms_win_core_psapi_ansi_l1_1_0
971 enable_api_ms_win_core_psapi_l1_1_0
972 enable_api_ms_win_core_psapi_obsolete_l1_1_0
973 enable_api_ms_win_core_quirks_l1_1_0
974 enable_api_ms_win_core_realtime_l1_1_0
975 enable_api_ms_win_core_registry_l1_1_0
976 enable_api_ms_win_core_registry_l2_1_0
977 enable_api_ms_win_core_registryuserspecific_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_1_0
979 enable_api_ms_win_core_rtlsupport_l1_2_0
980 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
982 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
983 enable_api_ms_win_core_shutdown_l1_1_0
984 enable_api_ms_win_core_sidebyside_l1_1_0
985 enable_api_ms_win_core_string_l1_1_0
986 enable_api_ms_win_core_string_l2_1_0
987 enable_api_ms_win_core_string_obsolete_l1_1_0
988 enable_api_ms_win_core_stringansi_l1_1_0
989 enable_api_ms_win_core_synch_ansi_l1_1_0
990 enable_api_ms_win_core_synch_l1_1_0
991 enable_api_ms_win_core_synch_l1_2_0
992 enable_api_ms_win_core_synch_l1_2_1
993 enable_api_ms_win_core_sysinfo_l1_1_0
994 enable_api_ms_win_core_sysinfo_l1_2_0
995 enable_api_ms_win_core_sysinfo_l1_2_1
996 enable_api_ms_win_core_threadpool_l1_1_0
997 enable_api_ms_win_core_threadpool_l1_2_0
998 enable_api_ms_win_core_threadpool_legacy_l1_1_0
999 enable_api_ms_win_core_threadpool_private_l1_1_0
1000 enable_api_ms_win_core_timezone_l1_1_0
1001 enable_api_ms_win_core_toolhelp_l1_1_0
1002 enable_api_ms_win_core_url_l1_1_0
1003 enable_api_ms_win_core_util_l1_1_0
1004 enable_api_ms_win_core_version_l1_1_0
1005 enable_api_ms_win_core_version_l1_1_1
1006 enable_api_ms_win_core_version_private_l1_1_0
1007 enable_api_ms_win_core_versionansi_l1_1_0
1008 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1009 enable_api_ms_win_core_winrt_error_l1_1_0
1010 enable_api_ms_win_core_winrt_error_l1_1_1
1011 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1012 enable_api_ms_win_core_winrt_l1_1_0
1013 enable_api_ms_win_core_winrt_registration_l1_1_0
1014 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1015 enable_api_ms_win_core_winrt_string_l1_1_0
1016 enable_api_ms_win_core_wow64_l1_1_0
1017 enable_api_ms_win_core_wow64_l1_1_1
1018 enable_api_ms_win_core_xstate_l1_1_0
1019 enable_api_ms_win_core_xstate_l2_1_0
1020 enable_api_ms_win_crt_conio_l1_1_0
1021 enable_api_ms_win_crt_convert_l1_1_0
1022 enable_api_ms_win_crt_environment_l1_1_0
1023 enable_api_ms_win_crt_filesystem_l1_1_0
1024 enable_api_ms_win_crt_heap_l1_1_0
1025 enable_api_ms_win_crt_locale_l1_1_0
1026 enable_api_ms_win_crt_math_l1_1_0
1027 enable_api_ms_win_crt_multibyte_l1_1_0
1028 enable_api_ms_win_crt_private_l1_1_0
1029 enable_api_ms_win_crt_process_l1_1_0
1030 enable_api_ms_win_crt_runtime_l1_1_0
1031 enable_api_ms_win_crt_stdio_l1_1_0
1032 enable_api_ms_win_crt_string_l1_1_0
1033 enable_api_ms_win_crt_time_l1_1_0
1034 enable_api_ms_win_crt_utility_l1_1_0
1035 enable_api_ms_win_devices_config_l1_1_1
1036 enable_api_ms_win_devices_query_l1_1_1
1037 enable_api_ms_win_downlevel_advapi32_l1_1_0
1038 enable_api_ms_win_downlevel_advapi32_l2_1_0
1039 enable_api_ms_win_downlevel_normaliz_l1_1_0
1040 enable_api_ms_win_downlevel_ole32_l1_1_0
1041 enable_api_ms_win_downlevel_shell32_l1_1_0
1042 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1043 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1044 enable_api_ms_win_downlevel_user32_l1_1_0
1045 enable_api_ms_win_downlevel_version_l1_1_0
1046 enable_api_ms_win_dx_d3dkmt_l1_1_0
1047 enable_api_ms_win_eventing_classicprovider_l1_1_0
1048 enable_api_ms_win_eventing_consumer_l1_1_0
1049 enable_api_ms_win_eventing_controller_l1_1_0
1050 enable_api_ms_win_eventing_legacy_l1_1_0
1051 enable_api_ms_win_eventing_provider_l1_1_0
1052 enable_api_ms_win_eventlog_legacy_l1_1_0
1053 enable_api_ms_win_mm_joystick_l1_1_0
1054 enable_api_ms_win_mm_misc_l1_1_1
1055 enable_api_ms_win_mm_mme_l1_1_0
1056 enable_api_ms_win_mm_time_l1_1_0
1057 enable_api_ms_win_ntuser_dc_access_l1_1_0
1058 enable_api_ms_win_ntuser_rectangle_l1_1_0
1059 enable_api_ms_win_perf_legacy_l1_1_0
1060 enable_api_ms_win_power_base_l1_1_0
1061 enable_api_ms_win_power_setting_l1_1_0
1062 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1063 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1064 enable_api_ms_win_security_audit_l1_1_1
1065 enable_api_ms_win_security_base_l1_1_0
1066 enable_api_ms_win_security_base_l1_2_0
1067 enable_api_ms_win_security_base_private_l1_1_1
1068 enable_api_ms_win_security_credentials_l1_1_0
1069 enable_api_ms_win_security_grouppolicy_l1_1_0
1070 enable_api_ms_win_security_lsalookup_l1_1_0
1071 enable_api_ms_win_security_lsalookup_l1_1_1
1072 enable_api_ms_win_security_lsalookup_l2_1_0
1073 enable_api_ms_win_security_lsalookup_l2_1_1
1074 enable_api_ms_win_security_lsapolicy_l1_1_0
1075 enable_api_ms_win_security_provider_l1_1_0
1076 enable_api_ms_win_security_sddl_l1_1_0
1077 enable_api_ms_win_security_systemfunctions_l1_1_0
1078 enable_api_ms_win_service_core_l1_1_0
1079 enable_api_ms_win_service_core_l1_1_1
1080 enable_api_ms_win_service_management_l1_1_0
1081 enable_api_ms_win_service_management_l2_1_0
1082 enable_api_ms_win_service_private_l1_1_1
1083 enable_api_ms_win_service_winsvc_l1_1_0
1084 enable_api_ms_win_service_winsvc_l1_2_0
1085 enable_api_ms_win_shcore_scaling_l1_1_1
1086 enable_api_ms_win_shell_shellcom_l1_1_0
1087 enable_api_ms_win_shell_shellfolders_l1_1_0
1088 enable_apphelp
1089 enable_appwiz_cpl
1090 enable_atl
1091 enable_atl100
1092 enable_atl110
1093 enable_atl80
1094 enable_atl90
1095 enable_authz
1096 enable_avicap32
1097 enable_avifil32
1098 enable_avrt
1099 enable_bcrypt
1100 enable_bluetoothapis
1101 enable_browseui
1102 enable_bthprops_cpl
1103 enable_cabinet
1104 enable_capi2032
1105 enable_cards
1106 enable_cdosys
1107 enable_cfgmgr32
1108 enable_clusapi
1109 enable_combase
1110 enable_comcat
1111 enable_comctl32
1112 enable_comdlg32
1113 enable_compstui
1114 enable_comsvcs
1115 enable_concrt140
1116 enable_connect
1117 enable_credui
1118 enable_crtdll
1119 enable_crypt32
1120 enable_cryptdlg
1121 enable_cryptdll
1122 enable_cryptext
1123 enable_cryptnet
1124 enable_cryptui
1125 enable_ctapi32
1126 enable_ctl3d32
1127 enable_d2d1
1128 enable_d3d10
1129 enable_d3d10_1
1130 enable_d3d10core
1131 enable_d3d11
1132 enable_d3d12
1133 enable_d3d8
1134 enable_d3d9
1135 enable_d3dcompiler_33
1136 enable_d3dcompiler_34
1137 enable_d3dcompiler_35
1138 enable_d3dcompiler_36
1139 enable_d3dcompiler_37
1140 enable_d3dcompiler_38
1141 enable_d3dcompiler_39
1142 enable_d3dcompiler_40
1143 enable_d3dcompiler_41
1144 enable_d3dcompiler_42
1145 enable_d3dcompiler_43
1146 enable_d3dcompiler_46
1147 enable_d3dcompiler_47
1148 enable_d3dim
1149 enable_d3drm
1150 enable_d3dx10_33
1151 enable_d3dx10_34
1152 enable_d3dx10_35
1153 enable_d3dx10_36
1154 enable_d3dx10_37
1155 enable_d3dx10_38
1156 enable_d3dx10_39
1157 enable_d3dx10_40
1158 enable_d3dx10_41
1159 enable_d3dx10_42
1160 enable_d3dx10_43
1161 enable_d3dx11_42
1162 enable_d3dx11_43
1163 enable_d3dx9_24
1164 enable_d3dx9_25
1165 enable_d3dx9_26
1166 enable_d3dx9_27
1167 enable_d3dx9_28
1168 enable_d3dx9_29
1169 enable_d3dx9_30
1170 enable_d3dx9_31
1171 enable_d3dx9_32
1172 enable_d3dx9_33
1173 enable_d3dx9_34
1174 enable_d3dx9_35
1175 enable_d3dx9_36
1176 enable_d3dx9_37
1177 enable_d3dx9_38
1178 enable_d3dx9_39
1179 enable_d3dx9_40
1180 enable_d3dx9_41
1181 enable_d3dx9_42
1182 enable_d3dx9_43
1183 enable_d3dxof
1184 enable_davclnt
1185 enable_dbgeng
1186 enable_dbghelp
1187 enable_dciman32
1188 enable_ddraw
1189 enable_ddrawex
1190 enable_devenum
1191 enable_dhcpcsvc
1192 enable_dhtmled_ocx
1193 enable_difxapi
1194 enable_dinput
1195 enable_dinput8
1196 enable_dispex
1197 enable_dmband
1198 enable_dmcompos
1199 enable_dmime
1200 enable_dmloader
1201 enable_dmscript
1202 enable_dmstyle
1203 enable_dmsynth
1204 enable_dmusic
1205 enable_dmusic32
1206 enable_dnsapi
1207 enable_dplay
1208 enable_dplayx
1209 enable_dpnaddr
1210 enable_dpnet
1211 enable_dpnhpast
1212 enable_dpnlobby
1213 enable_dpvoice
1214 enable_dpwsockx
1215 enable_drmclien
1216 enable_dsound
1217 enable_dsquery
1218 enable_dssenh
1219 enable_dswave
1220 enable_dwmapi
1221 enable_dwrite
1222 enable_dx8vb
1223 enable_dxdiagn
1224 enable_dxgi
1225 enable_dxva2
1226 enable_esent
1227 enable_evr
1228 enable_explorerframe
1229 enable_ext_ms_win_authz_context_l1_1_0
1230 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1231 enable_ext_ms_win_gdi_dc_create_l1_1_1
1232 enable_ext_ms_win_gdi_dc_l1_2_0
1233 enable_ext_ms_win_gdi_devcaps_l1_1_0
1234 enable_ext_ms_win_gdi_draw_l1_1_1
1235 enable_ext_ms_win_gdi_render_l1_1_0
1236 enable_ext_ms_win_kernel32_package_current_l1_1_0
1237 enable_ext_ms_win_kernel32_package_l1_1_1
1238 enable_ext_ms_win_ntuser_message_l1_1_1
1239 enable_ext_ms_win_ntuser_private_l1_1_1
1240 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1241 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1242 enable_ext_ms_win_ntuser_window_l1_1_1
1243 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1244 enable_ext_ms_win_ras_rasapi32_l1_1_0
1245 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1246 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1247 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1248 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1249 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1250 enable_ext_ms_win_security_credui_l1_1_0
1251 enable_ext_ms_win_security_cryptui_l1_1_0
1252 enable_faultrep
1253 enable_fltlib
1254 enable_fltmgr_sys
1255 enable_fntcache
1256 enable_fontsub
1257 enable_fusion
1258 enable_fwpuclnt
1259 enable_gameux
1260 enable_gdi32
1261 enable_gdiplus
1262 enable_glu32
1263 enable_gphoto2_ds
1264 enable_gpkcsp
1265 enable_hal
1266 enable_hhctrl_ocx
1267 enable_hid
1268 enable_hidclass_sys
1269 enable_hlink
1270 enable_hnetcfg
1271 enable_httpapi
1272 enable_iccvid
1273 enable_icmp
1274 enable_ieframe
1275 enable_ieproxy
1276 enable_imaadp32_acm
1277 enable_imagehlp
1278 enable_imm32
1279 enable_inetcomm
1280 enable_inetcpl_cpl
1281 enable_inetmib1
1282 enable_infosoft
1283 enable_initpki
1284 enable_inkobj
1285 enable_inseng
1286 enable_iphlpapi
1287 enable_iprop
1288 enable_irprops_cpl
1289 enable_itircl
1290 enable_itss
1291 enable_joy_cpl
1292 enable_jscript
1293 enable_jsproxy
1294 enable_kerberos
1295 enable_kernel32
1296 enable_kernelbase
1297 enable_ksuser
1298 enable_ktmw32
1299 enable_l3codeca_acm
1300 enable_loadperf
1301 enable_localspl
1302 enable_localui
1303 enable_lz32
1304 enable_mapi32
1305 enable_mapistub
1306 enable_mciavi32
1307 enable_mcicda
1308 enable_mciqtz32
1309 enable_mciseq
1310 enable_mciwave
1311 enable_mf
1312 enable_mf3216
1313 enable_mfplat
1314 enable_mfreadwrite
1315 enable_mgmtapi
1316 enable_midimap
1317 enable_mlang
1318 enable_mmcndmgr
1319 enable_mmdevapi
1320 enable_mountmgr_sys
1321 enable_mpr
1322 enable_mprapi
1323 enable_msacm32_drv
1324 enable_msacm32
1325 enable_msadp32_acm
1326 enable_msasn1
1327 enable_mscat32
1328 enable_mscms
1329 enable_mscoree
1330 enable_msctf
1331 enable_msctfp
1332 enable_msdaps
1333 enable_msdelta
1334 enable_msdmo
1335 enable_msdrm
1336 enable_msftedit
1337 enable_msg711_acm
1338 enable_msgsm32_acm
1339 enable_mshtml_tlb
1340 enable_mshtml
1341 enable_msi
1342 enable_msident
1343 enable_msimg32
1344 enable_msimsg
1345 enable_msimtf
1346 enable_msisip
1347 enable_msisys_ocx
1348 enable_msls31
1349 enable_msnet32
1350 enable_mspatcha
1351 enable_msports
1352 enable_msrle32
1353 enable_msscript_ocx
1354 enable_mssign32
1355 enable_mssip32
1356 enable_mstask
1357 enable_msvcirt
1358 enable_msvcm80
1359 enable_msvcm90
1360 enable_msvcp100
1361 enable_msvcp110
1362 enable_msvcp120
1363 enable_msvcp120_app
1364 enable_msvcp140
1365 enable_msvcp60
1366 enable_msvcp70
1367 enable_msvcp71
1368 enable_msvcp80
1369 enable_msvcp90
1370 enable_msvcr100
1371 enable_msvcr110
1372 enable_msvcr120
1373 enable_msvcr120_app
1374 enable_msvcr70
1375 enable_msvcr71
1376 enable_msvcr80
1377 enable_msvcr90
1378 enable_msvcrt
1379 enable_msvcrt20
1380 enable_msvcrt40
1381 enable_msvcrtd
1382 enable_msvfw32
1383 enable_msvidc32
1384 enable_mswsock
1385 enable_msxml
1386 enable_msxml2
1387 enable_msxml3
1388 enable_msxml4
1389 enable_msxml6
1390 enable_mtxdm
1391 enable_ncrypt
1392 enable_nddeapi
1393 enable_ndis_sys
1394 enable_netapi32
1395 enable_netcfgx
1396 enable_netprofm
1397 enable_newdev
1398 enable_normaliz
1399 enable_npmshtml
1400 enable_npptools
1401 enable_ntdll
1402 enable_ntdsapi
1403 enable_ntoskrnl_exe
1404 enable_ntprint
1405 enable_objsel
1406 enable_odbc32
1407 enable_odbccp32
1408 enable_odbccu32
1409 enable_ole32
1410 enable_oleacc
1411 enable_oleaut32
1412 enable_olecli32
1413 enable_oledb32
1414 enable_oledlg
1415 enable_olepro32
1416 enable_olesvr32
1417 enable_olethk32
1418 enable_openal32
1419 enable_opencl
1420 enable_opengl32
1421 enable_packager
1422 enable_pdh
1423 enable_photometadatahandler
1424 enable_pidgen
1425 enable_powrprof
1426 enable_printui
1427 enable_prntvpt
1428 enable_propsys
1429 enable_psapi
1430 enable_pstorec
1431 enable_qcap
1432 enable_qedit
1433 enable_qmgr
1434 enable_qmgrprxy
1435 enable_quartz
1436 enable_query
1437 enable_rasapi32
1438 enable_rasdlg
1439 enable_regapi
1440 enable_resutils
1441 enable_riched20
1442 enable_riched32
1443 enable_rpcrt4
1444 enable_rsabase
1445 enable_rsaenh
1446 enable_rstrtmgr
1447 enable_rtutils
1448 enable_samlib
1449 enable_sane_ds
1450 enable_sapi
1451 enable_scarddlg
1452 enable_sccbase
1453 enable_schannel
1454 enable_schedsvc
1455 enable_scrobj
1456 enable_scrrun
1457 enable_scsiport_sys
1458 enable_secur32
1459 enable_security
1460 enable_sensapi
1461 enable_serialui
1462 enable_setupapi
1463 enable_sfc
1464 enable_sfc_os
1465 enable_shcore
1466 enable_shdoclc
1467 enable_shdocvw
1468 enable_shell32
1469 enable_shfolder
1470 enable_shlwapi
1471 enable_slbcsp
1472 enable_slc
1473 enable_snmpapi
1474 enable_softpub
1475 enable_spoolss
1476 enable_sspicli
1477 enable_stdole2_tlb
1478 enable_stdole32_tlb
1479 enable_sti
1480 enable_svrapi
1481 enable_sxs
1482 enable_t2embed
1483 enable_tapi32
1484 enable_taskschd
1485 enable_tdh
1486 enable_tdi_sys
1487 enable_traffic
1488 enable_twain_32
1489 enable_ucrtbase
1490 enable_uiautomationcore
1491 enable_uiribbon
1492 enable_unicows
1493 enable_updspapi
1494 enable_url
1495 enable_urlmon
1496 enable_usbd_sys
1497 enable_user32
1498 enable_userenv
1499 enable_usp10
1500 enable_uxtheme
1501 enable_vbscript
1502 enable_vcomp
1503 enable_vcomp100
1504 enable_vcomp110
1505 enable_vcomp120
1506 enable_vcomp140
1507 enable_vcomp90
1508 enable_vcruntime140
1509 enable_vdmdbg
1510 enable_version
1511 enable_virtdisk
1512 enable_vssapi
1513 enable_wbemdisp
1514 enable_wbemprox
1515 enable_wdscore
1516 enable_webservices
1517 enable_wer
1518 enable_wevtapi
1519 enable_wiaservc
1520 enable_wimgapi
1521 enable_windowscodecs
1522 enable_windowscodecsext
1523 enable_winealsa_drv
1524 enable_wineandroid_drv
1525 enable_winebus_sys
1526 enable_winecoreaudio_drv
1527 enable_wined3d
1528 enable_winegstreamer
1529 enable_winehid_sys
1530 enable_winejoystick_drv
1531 enable_winemac_drv
1532 enable_winemapi
1533 enable_wineoss_drv
1534 enable_wineps_drv
1535 enable_winepulse_drv
1536 enable_wineqtdecoder
1537 enable_winex11_drv
1538 enable_wing32
1539 enable_winhttp
1540 enable_wininet
1541 enable_winmm
1542 enable_winnls32
1543 enable_winscard
1544 enable_winspool_drv
1545 enable_winsta
1546 enable_wintab32
1547 enable_wintrust
1548 enable_winusb
1549 enable_wlanapi
1550 enable_wldap32
1551 enable_wmasf
1552 enable_wmi
1553 enable_wmiutils
1554 enable_wmp
1555 enable_wmphoto
1556 enable_wmvcore
1557 enable_wnaspi32
1558 enable_wpc
1559 enable_wpcap
1560 enable_ws2_32
1561 enable_wsdapi
1562 enable_wshom_ocx
1563 enable_wsnmp32
1564 enable_wsock32
1565 enable_wtsapi32
1566 enable_wuapi
1567 enable_wuaueng
1568 enable_x3daudio1_0
1569 enable_x3daudio1_1
1570 enable_x3daudio1_2
1571 enable_x3daudio1_3
1572 enable_x3daudio1_4
1573 enable_x3daudio1_5
1574 enable_x3daudio1_6
1575 enable_x3daudio1_7
1576 enable_xapofx1_1
1577 enable_xapofx1_2
1578 enable_xapofx1_3
1579 enable_xapofx1_4
1580 enable_xapofx1_5
1581 enable_xaudio2_0
1582 enable_xaudio2_1
1583 enable_xaudio2_2
1584 enable_xaudio2_3
1585 enable_xaudio2_4
1586 enable_xaudio2_5
1587 enable_xaudio2_6
1588 enable_xaudio2_7
1589 enable_xaudio2_8
1590 enable_xaudio2_9
1591 enable_xinput1_1
1592 enable_xinput1_2
1593 enable_xinput1_3
1594 enable_xinput1_4
1595 enable_xinput9_1_0
1596 enable_xmllite
1597 enable_xolehlp
1598 enable_xpsprint
1599 enable_xpssvcs
1600 enable_fonts
1601 enable_include
1602 enable_libs_port
1603 enable_libs_wine
1604 enable_libs_wpp
1605 enable_loader
1606 enable_po
1607 enable_arp
1608 enable_aspnet_regiis
1609 enable_attrib
1610 enable_cabarc
1611 enable_cacls
1612 enable_clock
1613 enable_cmd
1614 enable_conhost
1615 enable_control
1616 enable_cscript
1617 enable_dpnsvr
1618 enable_dxdiag
1619 enable_eject
1620 enable_expand
1621 enable_explorer
1622 enable_extrac32
1623 enable_findstr
1624 enable_fsutil
1625 enable_hh
1626 enable_hostname
1627 enable_icacls
1628 enable_icinfo
1629 enable_iexplore
1630 enable_ipconfig
1631 enable_lodctr
1632 enable_mofcomp
1633 enable_mshta
1634 enable_msiexec
1635 enable_msinfo32
1636 enable_net
1637 enable_netsh
1638 enable_netstat
1639 enable_ngen
1640 enable_notepad
1641 enable_oleview
1642 enable_ping
1643 enable_plugplay
1644 enable_powershell
1645 enable_presentationfontcache
1646 enable_progman
1647 enable_reg
1648 enable_regasm
1649 enable_regedit
1650 enable_regsvcs
1651 enable_regsvr32
1652 enable_rpcss
1653 enable_rundll32
1654 enable_sc
1655 enable_schtasks
1656 enable_sdbinst
1657 enable_secedit
1658 enable_servicemodelreg
1659 enable_services
1660 enable_shutdown
1661 enable_spoolsv
1662 enable_start
1663 enable_subst
1664 enable_svchost
1665 enable_systeminfo
1666 enable_taskkill
1667 enable_tasklist
1668 enable_taskmgr
1669 enable_termsv
1670 enable_uninstaller
1671 enable_unlodctr
1672 enable_view
1673 enable_wevtutil
1674 enable_wineboot
1675 enable_winebrowser
1676 enable_winecfg
1677 enable_wineconsole
1678 enable_winedbg
1679 enable_winedevice
1680 enable_winefile
1681 enable_winemenubuilder
1682 enable_winemine
1683 enable_winemsibuilder
1684 enable_winepath
1685 enable_winetest
1686 enable_winhlp32
1687 enable_winver
1688 enable_wmic
1689 enable_wmplayer
1690 enable_wordpad
1691 enable_write
1692 enable_wscript
1693 enable_wusa
1694 enable_xcopy
1695 enable_server
1696 enable_tools
1698 ac_precious_vars='build_alias
1699 host_alias
1700 target_alias
1702 CFLAGS
1703 LDFLAGS
1704 LIBS
1705 CPPFLAGS
1707 CXXFLAGS
1710 XMKMF
1711 XML2_CFLAGS
1712 XML2_LIBS
1713 XSLT_CFLAGS
1714 XSLT_LIBS
1715 DBUS_CFLAGS
1716 DBUS_LIBS
1717 HAL_CFLAGS
1718 HAL_LIBS
1719 GNUTLS_CFLAGS
1720 GNUTLS_LIBS
1721 SANE_CFLAGS
1722 SANE_LIBS
1723 GPHOTO2_CFLAGS
1724 GPHOTO2_LIBS
1725 GPHOTO2_PORT_CFLAGS
1726 GPHOTO2_PORT_LIBS
1727 LCMS2_CFLAGS
1728 LCMS2_LIBS
1729 FREETYPE_CFLAGS
1730 FREETYPE_LIBS
1731 PULSE_CFLAGS
1732 PULSE_LIBS
1733 GSTREAMER_CFLAGS
1734 GSTREAMER_LIBS
1735 UDEV_CFLAGS
1736 UDEV_LIBS
1737 CAPI20_CFLAGS
1738 CAPI20_LIBS
1739 CUPS_CFLAGS
1740 CUPS_LIBS
1741 FONTCONFIG_CFLAGS
1742 FONTCONFIG_LIBS
1743 KRB5_CFLAGS
1744 KRB5_LIBS
1745 GSSAPI_CFLAGS
1746 GSSAPI_LIBS
1747 JPEG_CFLAGS
1748 JPEG_LIBS
1749 PNG_CFLAGS
1750 PNG_LIBS
1751 TIFF_CFLAGS
1752 TIFF_LIBS
1753 MPG123_CFLAGS
1754 MPG123_LIBS
1755 NETAPI_CFLAGS
1756 NETAPI_LIBS
1757 LDAP_CFLAGS
1758 LDAP_LIBS'
1761 # Initialize some variables set by options.
1762 ac_init_help=
1763 ac_init_version=false
1764 ac_unrecognized_opts=
1765 ac_unrecognized_sep=
1766 # The variables have the same names as the options, with
1767 # dashes changed to underlines.
1768 cache_file=/dev/null
1769 exec_prefix=NONE
1770 no_create=
1771 no_recursion=
1772 prefix=NONE
1773 program_prefix=NONE
1774 program_suffix=NONE
1775 program_transform_name=s,x,x,
1776 silent=
1777 site=
1778 srcdir=
1779 verbose=
1780 x_includes=NONE
1781 x_libraries=NONE
1783 # Installation directory options.
1784 # These are left unexpanded so users can "make install exec_prefix=/foo"
1785 # and all the variables that are supposed to be based on exec_prefix
1786 # by default will actually change.
1787 # Use braces instead of parens because sh, perl, etc. also accept them.
1788 # (The list follows the same order as the GNU Coding Standards.)
1789 bindir='${exec_prefix}/bin'
1790 sbindir='${exec_prefix}/sbin'
1791 libexecdir='${exec_prefix}/libexec'
1792 datarootdir='${prefix}/share'
1793 datadir='${datarootdir}'
1794 sysconfdir='${prefix}/etc'
1795 sharedstatedir='${prefix}/com'
1796 localstatedir='${prefix}/var'
1797 runstatedir='${localstatedir}/run'
1798 includedir='${prefix}/include'
1799 oldincludedir='/usr/include'
1800 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1801 infodir='${datarootdir}/info'
1802 htmldir='${docdir}'
1803 dvidir='${docdir}'
1804 pdfdir='${docdir}'
1805 psdir='${docdir}'
1806 libdir='${exec_prefix}/lib'
1807 localedir='${datarootdir}/locale'
1808 mandir='${datarootdir}/man'
1810 ac_prev=
1811 ac_dashdash=
1812 for ac_option
1814 # If the previous option needs an argument, assign it.
1815 if test -n "$ac_prev"; then
1816 eval $ac_prev=\$ac_option
1817 ac_prev=
1818 continue
1821 case $ac_option in
1822 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1823 *=) ac_optarg= ;;
1824 *) ac_optarg=yes ;;
1825 esac
1827 # Accept the important Cygnus configure options, so we can diagnose typos.
1829 case $ac_dashdash$ac_option in
1831 ac_dashdash=yes ;;
1833 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1834 ac_prev=bindir ;;
1835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1836 bindir=$ac_optarg ;;
1838 -build | --build | --buil | --bui | --bu)
1839 ac_prev=build_alias ;;
1840 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1841 build_alias=$ac_optarg ;;
1843 -cache-file | --cache-file | --cache-fil | --cache-fi \
1844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1845 ac_prev=cache_file ;;
1846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1848 cache_file=$ac_optarg ;;
1850 --config-cache | -C)
1851 cache_file=config.cache ;;
1853 -datadir | --datadir | --datadi | --datad)
1854 ac_prev=datadir ;;
1855 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1856 datadir=$ac_optarg ;;
1858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1859 | --dataroo | --dataro | --datar)
1860 ac_prev=datarootdir ;;
1861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1863 datarootdir=$ac_optarg ;;
1865 -disable-* | --disable-*)
1866 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1867 # Reject names that are not valid shell variable names.
1868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1869 as_fn_error $? "invalid feature name: $ac_useropt"
1870 ac_useropt_orig=$ac_useropt
1871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1872 case $ac_user_opts in
1874 "enable_$ac_useropt"
1875 "*) ;;
1876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1877 ac_unrecognized_sep=', ';;
1878 esac
1879 eval enable_$ac_useropt=no ;;
1881 -docdir | --docdir | --docdi | --doc | --do)
1882 ac_prev=docdir ;;
1883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1884 docdir=$ac_optarg ;;
1886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1887 ac_prev=dvidir ;;
1888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1889 dvidir=$ac_optarg ;;
1891 -enable-* | --enable-*)
1892 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1893 # Reject names that are not valid shell variable names.
1894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1895 as_fn_error $? "invalid feature name: $ac_useropt"
1896 ac_useropt_orig=$ac_useropt
1897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1898 case $ac_user_opts in
1900 "enable_$ac_useropt"
1901 "*) ;;
1902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1903 ac_unrecognized_sep=', ';;
1904 esac
1905 eval enable_$ac_useropt=\$ac_optarg ;;
1907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1909 | --exec | --exe | --ex)
1910 ac_prev=exec_prefix ;;
1911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1913 | --exec=* | --exe=* | --ex=*)
1914 exec_prefix=$ac_optarg ;;
1916 -gas | --gas | --ga | --g)
1917 # Obsolete; use --with-gas.
1918 with_gas=yes ;;
1920 -help | --help | --hel | --he | -h)
1921 ac_init_help=long ;;
1922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1923 ac_init_help=recursive ;;
1924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1925 ac_init_help=short ;;
1927 -host | --host | --hos | --ho)
1928 ac_prev=host_alias ;;
1929 -host=* | --host=* | --hos=* | --ho=*)
1930 host_alias=$ac_optarg ;;
1932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1933 ac_prev=htmldir ;;
1934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1935 | --ht=*)
1936 htmldir=$ac_optarg ;;
1938 -includedir | --includedir | --includedi | --included | --include \
1939 | --includ | --inclu | --incl | --inc)
1940 ac_prev=includedir ;;
1941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1942 | --includ=* | --inclu=* | --incl=* | --inc=*)
1943 includedir=$ac_optarg ;;
1945 -infodir | --infodir | --infodi | --infod | --info | --inf)
1946 ac_prev=infodir ;;
1947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1948 infodir=$ac_optarg ;;
1950 -libdir | --libdir | --libdi | --libd)
1951 ac_prev=libdir ;;
1952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1953 libdir=$ac_optarg ;;
1955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1956 | --libexe | --libex | --libe)
1957 ac_prev=libexecdir ;;
1958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1959 | --libexe=* | --libex=* | --libe=*)
1960 libexecdir=$ac_optarg ;;
1962 -localedir | --localedir | --localedi | --localed | --locale)
1963 ac_prev=localedir ;;
1964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1965 localedir=$ac_optarg ;;
1967 -localstatedir | --localstatedir | --localstatedi | --localstated \
1968 | --localstate | --localstat | --localsta | --localst | --locals)
1969 ac_prev=localstatedir ;;
1970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1972 localstatedir=$ac_optarg ;;
1974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1975 ac_prev=mandir ;;
1976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1977 mandir=$ac_optarg ;;
1979 -nfp | --nfp | --nf)
1980 # Obsolete; use --without-fp.
1981 with_fp=no ;;
1983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1984 | --no-cr | --no-c | -n)
1985 no_create=yes ;;
1987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1989 no_recursion=yes ;;
1991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1993 | --oldin | --oldi | --old | --ol | --o)
1994 ac_prev=oldincludedir ;;
1995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1998 oldincludedir=$ac_optarg ;;
2000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2001 ac_prev=prefix ;;
2002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2003 prefix=$ac_optarg ;;
2005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2006 | --program-pre | --program-pr | --program-p)
2007 ac_prev=program_prefix ;;
2008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2010 program_prefix=$ac_optarg ;;
2012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2013 | --program-suf | --program-su | --program-s)
2014 ac_prev=program_suffix ;;
2015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2017 program_suffix=$ac_optarg ;;
2019 -program-transform-name | --program-transform-name \
2020 | --program-transform-nam | --program-transform-na \
2021 | --program-transform-n | --program-transform- \
2022 | --program-transform | --program-transfor \
2023 | --program-transfo | --program-transf \
2024 | --program-trans | --program-tran \
2025 | --progr-tra | --program-tr | --program-t)
2026 ac_prev=program_transform_name ;;
2027 -program-transform-name=* | --program-transform-name=* \
2028 | --program-transform-nam=* | --program-transform-na=* \
2029 | --program-transform-n=* | --program-transform-=* \
2030 | --program-transform=* | --program-transfor=* \
2031 | --program-transfo=* | --program-transf=* \
2032 | --program-trans=* | --program-tran=* \
2033 | --progr-tra=* | --program-tr=* | --program-t=*)
2034 program_transform_name=$ac_optarg ;;
2036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2037 ac_prev=pdfdir ;;
2038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2039 pdfdir=$ac_optarg ;;
2041 -psdir | --psdir | --psdi | --psd | --ps)
2042 ac_prev=psdir ;;
2043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2044 psdir=$ac_optarg ;;
2046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2047 | -silent | --silent | --silen | --sile | --sil)
2048 silent=yes ;;
2050 -runstatedir | --runstatedir | --runstatedi | --runstated \
2051 | --runstate | --runstat | --runsta | --runst | --runs \
2052 | --run | --ru | --r)
2053 ac_prev=runstatedir ;;
2054 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2055 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2056 | --run=* | --ru=* | --r=*)
2057 runstatedir=$ac_optarg ;;
2059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2060 ac_prev=sbindir ;;
2061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2062 | --sbi=* | --sb=*)
2063 sbindir=$ac_optarg ;;
2065 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2066 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2067 | --sharedst | --shareds | --shared | --share | --shar \
2068 | --sha | --sh)
2069 ac_prev=sharedstatedir ;;
2070 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2071 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2072 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2073 | --sha=* | --sh=*)
2074 sharedstatedir=$ac_optarg ;;
2076 -site | --site | --sit)
2077 ac_prev=site ;;
2078 -site=* | --site=* | --sit=*)
2079 site=$ac_optarg ;;
2081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2082 ac_prev=srcdir ;;
2083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2084 srcdir=$ac_optarg ;;
2086 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2087 | --syscon | --sysco | --sysc | --sys | --sy)
2088 ac_prev=sysconfdir ;;
2089 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2090 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2091 sysconfdir=$ac_optarg ;;
2093 -target | --target | --targe | --targ | --tar | --ta | --t)
2094 ac_prev=target_alias ;;
2095 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2096 target_alias=$ac_optarg ;;
2098 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2099 verbose=yes ;;
2101 -version | --version | --versio | --versi | --vers | -V)
2102 ac_init_version=: ;;
2104 -with-* | --with-*)
2105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2106 # Reject names that are not valid shell variable names.
2107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2108 as_fn_error $? "invalid package name: $ac_useropt"
2109 ac_useropt_orig=$ac_useropt
2110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2111 case $ac_user_opts in
2113 "with_$ac_useropt"
2114 "*) ;;
2115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2116 ac_unrecognized_sep=', ';;
2117 esac
2118 eval with_$ac_useropt=\$ac_optarg ;;
2120 -without-* | --without-*)
2121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2122 # Reject names that are not valid shell variable names.
2123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2124 as_fn_error $? "invalid package name: $ac_useropt"
2125 ac_useropt_orig=$ac_useropt
2126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2127 case $ac_user_opts in
2129 "with_$ac_useropt"
2130 "*) ;;
2131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2132 ac_unrecognized_sep=', ';;
2133 esac
2134 eval with_$ac_useropt=no ;;
2136 --x)
2137 # Obsolete; use --with-x.
2138 with_x=yes ;;
2140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2141 | --x-incl | --x-inc | --x-in | --x-i)
2142 ac_prev=x_includes ;;
2143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2145 x_includes=$ac_optarg ;;
2147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2149 ac_prev=x_libraries ;;
2150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2152 x_libraries=$ac_optarg ;;
2154 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2155 Try \`$0 --help' for more information"
2158 *=*)
2159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2160 # Reject names that are not valid shell variable names.
2161 case $ac_envvar in #(
2162 '' | [0-9]* | *[!_$as_cr_alnum]* )
2163 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2164 esac
2165 eval $ac_envvar=\$ac_optarg
2166 export $ac_envvar ;;
2169 # FIXME: should be removed in autoconf 3.0.
2170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2176 esac
2177 done
2179 if test -n "$ac_prev"; then
2180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2181 as_fn_error $? "missing argument to $ac_option"
2184 if test -n "$ac_unrecognized_opts"; then
2185 case $enable_option_checking in
2186 no) ;;
2187 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2189 esac
2192 # Check all directory arguments for consistency.
2193 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2194 datadir sysconfdir sharedstatedir localstatedir includedir \
2195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2196 libdir localedir mandir runstatedir
2198 eval ac_val=\$$ac_var
2199 # Remove trailing slashes.
2200 case $ac_val in
2201 */ )
2202 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2203 eval $ac_var=\$ac_val;;
2204 esac
2205 # Be sure to have absolute directory names.
2206 case $ac_val in
2207 [\\/$]* | ?:[\\/]* ) continue;;
2208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2209 esac
2210 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2211 done
2213 # There might be people who depend on the old broken behavior: `$host'
2214 # used to hold the argument of --host etc.
2215 # FIXME: To remove some day.
2216 build=$build_alias
2217 host=$host_alias
2218 target=$target_alias
2220 # FIXME: To remove some day.
2221 if test "x$host_alias" != x; then
2222 if test "x$build_alias" = x; then
2223 cross_compiling=maybe
2224 elif test "x$build_alias" != "x$host_alias"; then
2225 cross_compiling=yes
2229 ac_tool_prefix=
2230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2232 test "$silent" = yes && exec 6>/dev/null
2235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2236 ac_ls_di=`ls -di .` &&
2237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2238 as_fn_error $? "working directory cannot be determined"
2239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2240 as_fn_error $? "pwd does not report name of working directory"
2243 # Find the source files, if location was not specified.
2244 if test -z "$srcdir"; then
2245 ac_srcdir_defaulted=yes
2246 # Try the directory containing this script, then the parent directory.
2247 ac_confdir=`$as_dirname -- "$as_myself" ||
2248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2249 X"$as_myself" : 'X\(//\)[^/]' \| \
2250 X"$as_myself" : 'X\(//\)$' \| \
2251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2252 $as_echo X"$as_myself" |
2253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2254 s//\1/
2257 /^X\(\/\/\)[^/].*/{
2258 s//\1/
2261 /^X\(\/\/\)$/{
2262 s//\1/
2265 /^X\(\/\).*/{
2266 s//\1/
2269 s/.*/./; q'`
2270 srcdir=$ac_confdir
2271 if test ! -r "$srcdir/$ac_unique_file"; then
2272 srcdir=..
2274 else
2275 ac_srcdir_defaulted=no
2277 if test ! -r "$srcdir/$ac_unique_file"; then
2278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2279 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2282 ac_abs_confdir=`(
2283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2284 pwd)`
2285 # When building in place, set srcdir=.
2286 if test "$ac_abs_confdir" = "$ac_pwd"; then
2287 srcdir=.
2289 # Remove unnecessary trailing slashes from srcdir.
2290 # Double slashes in file names in object file debugging info
2291 # mess up M-x gdb in Emacs.
2292 case $srcdir in
2293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2294 esac
2295 for ac_var in $ac_precious_vars; do
2296 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2297 eval ac_env_${ac_var}_value=\$${ac_var}
2298 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2299 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2300 done
2303 # Report the --help message.
2305 if test "$ac_init_help" = "long"; then
2306 # Omit some internal or obsolete options to make the list less imposing.
2307 # This message is too long to be a string in the A/UX 3.1 sh.
2308 cat <<_ACEOF
2309 \`configure' configures Wine 3.2 to adapt to many kinds of systems.
2311 Usage: $0 [OPTION]... [VAR=VALUE]...
2313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2314 VAR=VALUE. See below for descriptions of some of the useful variables.
2316 Defaults for the options are specified in brackets.
2318 Configuration:
2319 -h, --help display this help and exit
2320 --help=short display options specific to this package
2321 --help=recursive display the short help of all the included packages
2322 -V, --version display version information and exit
2323 -q, --quiet, --silent do not print \`checking ...' messages
2324 --cache-file=FILE cache test results in FILE [disabled]
2325 -C, --config-cache alias for \`--cache-file=config.cache'
2326 -n, --no-create do not create output files
2327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2329 Installation directories:
2330 --prefix=PREFIX install architecture-independent files in PREFIX
2331 [$ac_default_prefix]
2332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2333 [PREFIX]
2335 By default, \`make install' will install all the files in
2336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2338 for instance \`--prefix=\$HOME'.
2340 For better control, use the options below.
2342 Fine tuning of the installation directories:
2343 --bindir=DIR user executables [EPREFIX/bin]
2344 --sbindir=DIR system admin executables [EPREFIX/sbin]
2345 --libexecdir=DIR program executables [EPREFIX/libexec]
2346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2349 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2350 --libdir=DIR object code libraries [EPREFIX/lib]
2351 --includedir=DIR C header files [PREFIX/include]
2352 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2353 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2354 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2355 --infodir=DIR info documentation [DATAROOTDIR/info]
2356 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2357 --mandir=DIR man documentation [DATAROOTDIR/man]
2358 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2359 --htmldir=DIR html documentation [DOCDIR]
2360 --dvidir=DIR dvi documentation [DOCDIR]
2361 --pdfdir=DIR pdf documentation [DOCDIR]
2362 --psdir=DIR ps documentation [DOCDIR]
2363 _ACEOF
2365 cat <<\_ACEOF
2367 X features:
2368 --x-includes=DIR X include files are in DIR
2369 --x-libraries=DIR X library files are in DIR
2371 System types:
2372 --build=BUILD configure for building on BUILD [guessed]
2373 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2374 _ACEOF
2377 if test -n "$ac_init_help"; then
2378 case $ac_init_help in
2379 short | recursive ) echo "Configuration of Wine 3.2:";;
2380 esac
2381 cat <<\_ACEOF
2383 Optional Features:
2384 --disable-option-checking ignore unrecognized --enable/--with options
2385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2387 --disable-win16 do not include Win16 support
2388 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2389 binaries)
2390 --disable-tests do not build the regression tests
2391 --enable-maintainer-mode
2392 enable maintainer-specific build rules
2393 --disable-largefile omit support for large files
2395 Optional Packages:
2396 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2397 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2398 --without-alsa do not use the Alsa sound support
2399 --without-capi do not use CAPI (ISDN support)
2400 --without-cms do not use CMS (color management support)
2401 --without-coreaudio do not use the CoreAudio sound support
2402 --without-cups do not use CUPS
2403 --without-curses do not use (n)curses
2404 --without-dbus do not use DBus (dynamic device support)
2405 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2406 --without-fontconfig do not use fontconfig
2407 --without-freetype do not use the FreeType library
2408 --without-gettext do not use gettext
2409 --with-gettextpo use the GetTextPO library to rebuild po files
2410 --without-gphoto do not use gphoto (Digital Camera support)
2411 --without-glu do not use the GLU library
2412 --without-gnutls do not use GnuTLS (schannel support)
2413 --without-gsm do not use libgsm (GSM 06.10 codec support)
2414 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2415 --without-gstreamer do not use GStreamer (codecs support)
2416 --without-hal do not use HAL (dynamic device support)
2417 --without-jpeg do not use JPEG
2418 --without-krb5 do not use krb5 (Kerberos)
2419 --without-ldap do not use LDAP
2420 --without-mpg123 do not use the mpg123 library
2421 --without-netapi do not use the Samba NetAPI library
2422 --without-openal do not use OpenAL
2423 --without-opencl do not use OpenCL
2424 --without-opengl do not use OpenGL
2425 --without-osmesa do not use the OSMesa library
2426 --without-oss do not use the OSS sound support
2427 --without-pcap do not use the Packet Capture library
2428 --without-png do not use PNG
2429 --without-pthread do not use the pthread library
2430 --without-pulse do not use PulseAudio sound support
2431 --without-sane do not use SANE (scanner support)
2432 --without-tiff do not use TIFF
2433 --without-udev do not use udev (plug and play support)
2434 --without-v4l do not use v4l1 (v4l support)
2435 --without-xcomposite do not use the Xcomposite extension
2436 --without-xcursor do not use the Xcursor extension
2437 --without-xfixes do not use Xfixes for clipboard change notifications
2438 --without-xinerama do not use Xinerama (multi-monitor support)
2439 --without-xinput do not use the Xinput extension
2440 --without-xinput2 do not use the Xinput 2 extension
2441 --without-xml do not use XML
2442 --without-xrandr do not use Xrandr (resolution changes)
2443 --without-xrender do not use the Xrender extension
2444 --without-xshape do not use the Xshape extension
2445 --without-xshm do not use XShm (shared memory extension)
2446 --without-xslt do not use XSLT
2447 --without-xxf86vm do not use XFree video mode extension
2448 --without-zlib do not use Zlib (data compression)
2449 --with-wine-tools=DIR use Wine tools from directory DIR
2450 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2451 --with-x use the X Window System
2453 Some influential environment variables:
2454 CC C compiler command
2455 CFLAGS C compiler flags
2456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2457 nonstandard directory <lib dir>
2458 LIBS libraries to pass to the linker, e.g. -l<library>
2459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2460 you have headers in a nonstandard directory <include dir>
2461 CXX C++ compiler command
2462 CXXFLAGS C++ compiler flags
2463 CPP C preprocessor
2464 XMKMF Path to xmkmf, Makefile generator for X Window System
2465 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2466 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2467 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2468 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2469 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2470 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2471 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2472 HAL_LIBS Linker flags for hal, overriding pkg-config
2473 GNUTLS_CFLAGS
2474 C compiler flags for gnutls, overriding pkg-config
2475 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2476 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2477 SANE_LIBS Linker flags for libsane, overriding pkg-config
2478 GPHOTO2_CFLAGS
2479 C compiler flags for libgphoto2, overriding pkg-config
2480 GPHOTO2_LIBS
2481 Linker flags for libgphoto2, overriding pkg-config
2482 GPHOTO2_PORT_CFLAGS
2483 C compiler flags for libgphoto2_port, overriding pkg-config
2484 GPHOTO2_PORT_LIBS
2485 Linker flags for libgphoto2_port, overriding pkg-config
2486 LCMS2_CFLAGS
2487 C compiler flags for lcms2, overriding pkg-config
2488 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2489 FREETYPE_CFLAGS
2490 C compiler flags for freetype2, overriding pkg-config
2491 FREETYPE_LIBS
2492 Linker flags for freetype2, overriding pkg-config
2493 PULSE_CFLAGS
2494 C compiler flags for libpulse, overriding pkg-config
2495 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2496 GSTREAMER_CFLAGS
2497 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2498 gstreamer-audio-1.0, overriding pkg-config
2499 GSTREAMER_LIBS
2500 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2501 gstreamer-audio-1.0, overriding pkg-config
2502 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2503 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2504 CAPI20_CFLAGS
2505 C compiler flags for capi20, overriding pkg-config
2506 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2507 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2508 CUPS_LIBS Linker flags for cups, overriding pkg-config
2509 FONTCONFIG_CFLAGS
2510 C compiler flags for fontconfig, overriding pkg-config
2511 FONTCONFIG_LIBS
2512 Linker flags for fontconfig, overriding pkg-config
2513 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2514 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2515 GSSAPI_CFLAGS
2516 C compiler flags for krb5-gssapi, overriding pkg-config
2517 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2518 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2519 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2520 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2521 PNG_LIBS Linker flags for libpng, overriding pkg-config
2522 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2523 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2524 MPG123_CFLAGS
2525 C compiler flags for libmpg123, overriding pkg-config
2526 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2527 NETAPI_CFLAGS
2528 C compiler flags for netapi, overriding pkg-config
2529 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2530 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2531 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2533 Use these variables to override the choices made by `configure' or to help
2534 it to find libraries and programs with nonstandard names/locations.
2536 Report bugs to <wine-devel@winehq.org>.
2537 Wine home page: <https://www.winehq.org>.
2538 _ACEOF
2539 ac_status=$?
2542 if test "$ac_init_help" = "recursive"; then
2543 # If there are subdirs, report their specific --help.
2544 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2545 test -d "$ac_dir" ||
2546 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2547 continue
2548 ac_builddir=.
2550 case "$ac_dir" in
2551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2553 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2554 # A ".." for each directory in $ac_dir_suffix.
2555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2556 case $ac_top_builddir_sub in
2557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2559 esac ;;
2560 esac
2561 ac_abs_top_builddir=$ac_pwd
2562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2563 # for backward compatibility:
2564 ac_top_builddir=$ac_top_build_prefix
2566 case $srcdir in
2567 .) # We are building in place.
2568 ac_srcdir=.
2569 ac_top_srcdir=$ac_top_builddir_sub
2570 ac_abs_top_srcdir=$ac_pwd ;;
2571 [\\/]* | ?:[\\/]* ) # Absolute name.
2572 ac_srcdir=$srcdir$ac_dir_suffix;
2573 ac_top_srcdir=$srcdir
2574 ac_abs_top_srcdir=$srcdir ;;
2575 *) # Relative name.
2576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2577 ac_top_srcdir=$ac_top_build_prefix$srcdir
2578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2579 esac
2580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2582 cd "$ac_dir" || { ac_status=$?; continue; }
2583 # Check for guested configure.
2584 if test -f "$ac_srcdir/configure.gnu"; then
2585 echo &&
2586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2587 elif test -f "$ac_srcdir/configure"; then
2588 echo &&
2589 $SHELL "$ac_srcdir/configure" --help=recursive
2590 else
2591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2592 fi || ac_status=$?
2593 cd "$ac_pwd" || { ac_status=$?; break; }
2594 done
2597 test -n "$ac_init_help" && exit $ac_status
2598 if $ac_init_version; then
2599 cat <<\_ACEOF
2600 Wine configure 3.2
2601 generated by GNU Autoconf 2.69
2603 Copyright (C) 2012 Free Software Foundation, Inc.
2604 This configure script is free software; the Free Software Foundation
2605 gives unlimited permission to copy, distribute and modify it.
2606 _ACEOF
2607 exit
2610 ## ------------------------ ##
2611 ## Autoconf initialization. ##
2612 ## ------------------------ ##
2614 # ac_fn_c_try_compile LINENO
2615 # --------------------------
2616 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2617 ac_fn_c_try_compile ()
2619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620 rm -f conftest.$ac_objext
2621 if { { ac_try="$ac_compile"
2622 case "(($ac_try" in
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2625 esac
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_compile") 2>conftest.err
2629 ac_status=$?
2630 if test -s conftest.err; then
2631 grep -v '^ *+' conftest.err >conftest.er1
2632 cat conftest.er1 >&5
2633 mv -f conftest.er1 conftest.err
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; } && {
2637 test -z "$ac_c_werror_flag" ||
2638 test ! -s conftest.err
2639 } && test -s conftest.$ac_objext; then :
2640 ac_retval=0
2641 else
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2645 ac_retval=1
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648 as_fn_set_status $ac_retval
2650 } # ac_fn_c_try_compile
2652 # ac_fn_cxx_try_compile LINENO
2653 # ----------------------------
2654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2655 ac_fn_cxx_try_compile ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 rm -f conftest.$ac_objext
2659 if { { ac_try="$ac_compile"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_compile") 2>conftest.err
2667 ac_status=$?
2668 if test -s conftest.err; then
2669 grep -v '^ *+' conftest.err >conftest.er1
2670 cat conftest.er1 >&5
2671 mv -f conftest.er1 conftest.err
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } && {
2675 test -z "$ac_cxx_werror_flag" ||
2676 test ! -s conftest.err
2677 } && test -s conftest.$ac_objext; then :
2678 ac_retval=0
2679 else
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2683 ac_retval=1
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2686 as_fn_set_status $ac_retval
2688 } # ac_fn_cxx_try_compile
2690 # ac_fn_c_try_link LINENO
2691 # -----------------------
2692 # Try to link conftest.$ac_ext, and return whether this succeeded.
2693 ac_fn_c_try_link ()
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 rm -f conftest.$ac_objext conftest$ac_exeext
2697 if { { ac_try="$ac_link"
2698 case "(($ac_try" in
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2701 esac
2702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703 $as_echo "$ac_try_echo"; } >&5
2704 (eval "$ac_link") 2>conftest.err
2705 ac_status=$?
2706 if test -s conftest.err; then
2707 grep -v '^ *+' conftest.err >conftest.er1
2708 cat conftest.er1 >&5
2709 mv -f conftest.er1 conftest.err
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; } && {
2713 test -z "$ac_c_werror_flag" ||
2714 test ! -s conftest.err
2715 } && test -s conftest$ac_exeext && {
2716 test "$cross_compiling" = yes ||
2717 test -x conftest$ac_exeext
2718 }; then :
2719 ac_retval=0
2720 else
2721 $as_echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 ac_retval=1
2726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2728 # interfere with the next link command; also delete a directory that is
2729 # left behind by Apple's compiler. We do this before executing the actions.
2730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732 as_fn_set_status $ac_retval
2734 } # ac_fn_c_try_link
2736 # ac_fn_c_try_cpp LINENO
2737 # ----------------------
2738 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2739 ac_fn_c_try_cpp ()
2741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2742 if { { ac_try="$ac_cpp conftest.$ac_ext"
2743 case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 $as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2750 ac_status=$?
2751 if test -s conftest.err; then
2752 grep -v '^ *+' conftest.err >conftest.er1
2753 cat conftest.er1 >&5
2754 mv -f conftest.er1 conftest.err
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } > conftest.i && {
2758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2759 test ! -s conftest.err
2760 }; then :
2761 ac_retval=0
2762 else
2763 $as_echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 ac_retval=1
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 as_fn_set_status $ac_retval
2771 } # ac_fn_c_try_cpp
2773 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2774 # -------------------------------------------------------
2775 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2776 # the include files in INCLUDES and setting the cache variable VAR
2777 # accordingly.
2778 ac_fn_c_check_header_mongrel ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 if eval \${$3+:} false; then :
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2783 $as_echo_n "checking for $2... " >&6; }
2784 if eval \${$3+:} false; then :
2785 $as_echo_n "(cached) " >&6
2787 eval ac_res=\$$3
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2790 else
2791 # Is the header compilable?
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2793 $as_echo_n "checking $2 usability... " >&6; }
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2797 #include <$2>
2798 _ACEOF
2799 if ac_fn_c_try_compile "$LINENO"; then :
2800 ac_header_compiler=yes
2801 else
2802 ac_header_compiler=no
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2806 $as_echo "$ac_header_compiler" >&6; }
2808 # Is the header present?
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2810 $as_echo_n "checking $2 presence... " >&6; }
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2813 #include <$2>
2814 _ACEOF
2815 if ac_fn_c_try_cpp "$LINENO"; then :
2816 ac_header_preproc=yes
2817 else
2818 ac_header_preproc=no
2820 rm -f conftest.err conftest.i conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2822 $as_echo "$ac_header_preproc" >&6; }
2824 # So? What about this header?
2825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2826 yes:no: )
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2828 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2832 no:yes:* )
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2834 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2836 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2838 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2840 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2842 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2843 ( $as_echo "## ------------------------------------ ##
2844 ## Report this to wine-devel@winehq.org ##
2845 ## ------------------------------------ ##"
2846 ) | sed "s/^/$as_me: WARNING: /" >&2
2848 esac
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2850 $as_echo_n "checking for $2... " >&6; }
2851 if eval \${$3+:} false; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 eval "$3=\$ac_header_compiler"
2856 eval ac_res=\$$3
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 } # ac_fn_c_check_header_mongrel
2864 # ac_fn_c_try_run LINENO
2865 # ----------------------
2866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2867 # that executables *can* be run.
2868 ac_fn_c_try_run ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 if { { ac_try="$ac_link"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_link") 2>&5
2879 ac_status=$?
2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2882 { { case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885 esac
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 $as_echo "$ac_try_echo"; } >&5
2888 (eval "$ac_try") 2>&5
2889 ac_status=$?
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; }; }; then :
2892 ac_retval=0
2893 else
2894 $as_echo "$as_me: program exited with status $ac_status" >&5
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2898 ac_retval=$ac_status
2900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_run
2906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2907 # -------------------------------------------------------
2908 # Tests whether HEADER exists and can be compiled using the include files in
2909 # INCLUDES, setting the cache variable VAR accordingly.
2910 ac_fn_c_check_header_compile ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2914 $as_echo_n "checking for $2... " >&6; }
2915 if eval \${$3+:} false; then :
2916 $as_echo_n "(cached) " >&6
2917 else
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2921 #include <$2>
2922 _ACEOF
2923 if ac_fn_c_try_compile "$LINENO"; then :
2924 eval "$3=yes"
2925 else
2926 eval "$3=no"
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 eval ac_res=\$$3
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2932 $as_echo "$ac_res" >&6; }
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 } # ac_fn_c_check_header_compile
2937 # ac_fn_c_check_func LINENO FUNC VAR
2938 # ----------------------------------
2939 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2940 ac_fn_c_check_func ()
2942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2944 $as_echo_n "checking for $2... " >&6; }
2945 if eval \${$3+:} false; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2952 #define $2 innocuous_$2
2954 /* System header to define __stub macros and hopefully few prototypes,
2955 which can conflict with char $2 (); below.
2956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2957 <limits.h> exists even on freestanding compilers. */
2959 #ifdef __STDC__
2960 # include <limits.h>
2961 #else
2962 # include <assert.h>
2963 #endif
2965 #undef $2
2967 /* Override any GCC internal prototype to avoid an error.
2968 Use char because int might match the return type of a GCC
2969 builtin and then its argument prototype would still apply. */
2970 #ifdef __cplusplus
2971 extern "C"
2972 #endif
2973 char $2 ();
2974 /* The GNU C library defines this for functions which it implements
2975 to always fail with ENOSYS. Some functions are actually named
2976 something starting with __ and the normal name is an alias. */
2977 #if defined __stub_$2 || defined __stub___$2
2978 choke me
2979 #endif
2982 main ()
2984 return $2 ();
2986 return 0;
2988 _ACEOF
2989 if ac_fn_c_try_link "$LINENO"; then :
2990 eval "$3=yes"
2991 else
2992 eval "$3=no"
2994 rm -f core conftest.err conftest.$ac_objext \
2995 conftest$ac_exeext conftest.$ac_ext
2997 eval ac_res=\$$3
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2999 $as_echo "$ac_res" >&6; }
3000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 } # ac_fn_c_check_func
3004 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3005 # ----------------------------------------------------
3006 # Tries to find if the field MEMBER exists in type AGGR, after including
3007 # INCLUDES, setting cache variable VAR accordingly.
3008 ac_fn_c_check_member ()
3010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3012 $as_echo_n "checking for $2.$3... " >&6; }
3013 if eval \${$4+:} false; then :
3014 $as_echo_n "(cached) " >&6
3015 else
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3020 main ()
3022 static $2 ac_aggr;
3023 if (ac_aggr.$3)
3024 return 0;
3026 return 0;
3028 _ACEOF
3029 if ac_fn_c_try_compile "$LINENO"; then :
3030 eval "$4=yes"
3031 else
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3036 main ()
3038 static $2 ac_aggr;
3039 if (sizeof ac_aggr.$3)
3040 return 0;
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"; then :
3046 eval "$4=yes"
3047 else
3048 eval "$4=no"
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 eval ac_res=\$$4
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3056 $as_echo "$ac_res" >&6; }
3057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3059 } # ac_fn_c_check_member
3061 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3062 # -------------------------------------------
3063 # Tests whether TYPE exists after having included INCLUDES, setting cache
3064 # variable VAR accordingly.
3065 ac_fn_c_check_type ()
3067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3069 $as_echo_n "checking for $2... " >&6; }
3070 if eval \${$3+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 eval "$3=no"
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3078 main ()
3080 if (sizeof ($2))
3081 return 0;
3083 return 0;
3085 _ACEOF
3086 if ac_fn_c_try_compile "$LINENO"; then :
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3091 main ()
3093 if (sizeof (($2)))
3094 return 0;
3096 return 0;
3098 _ACEOF
3099 if ac_fn_c_try_compile "$LINENO"; then :
3101 else
3102 eval "$3=yes"
3104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 eval ac_res=\$$3
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_type
3114 cat >config.log <<_ACEOF
3115 This file contains any messages produced by compilers while
3116 running configure, to aid debugging if configure makes a mistake.
3118 It was created by Wine $as_me 3.2, which was
3119 generated by GNU Autoconf 2.69. Invocation command line was
3121 $ $0 $@
3123 _ACEOF
3124 exec 5>>config.log
3126 cat <<_ASUNAME
3127 ## --------- ##
3128 ## Platform. ##
3129 ## --------- ##
3131 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3132 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3133 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3134 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3135 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3137 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3138 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3140 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3141 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3142 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3143 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3144 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3145 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3146 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3148 _ASUNAME
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 for as_dir in $PATH
3153 IFS=$as_save_IFS
3154 test -z "$as_dir" && as_dir=.
3155 $as_echo "PATH: $as_dir"
3156 done
3157 IFS=$as_save_IFS
3159 } >&5
3161 cat >&5 <<_ACEOF
3164 ## ----------- ##
3165 ## Core tests. ##
3166 ## ----------- ##
3168 _ACEOF
3171 # Keep a trace of the command line.
3172 # Strip out --no-create and --no-recursion so they do not pile up.
3173 # Strip out --silent because we don't want to record it for future runs.
3174 # Also quote any args containing shell meta-characters.
3175 # Make two passes to allow for proper duplicate-argument suppression.
3176 ac_configure_args=
3177 ac_configure_args0=
3178 ac_configure_args1=
3179 ac_must_keep_next=false
3180 for ac_pass in 1 2
3182 for ac_arg
3184 case $ac_arg in
3185 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3187 | -silent | --silent | --silen | --sile | --sil)
3188 continue ;;
3189 *\'*)
3190 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3191 esac
3192 case $ac_pass in
3193 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3195 as_fn_append ac_configure_args1 " '$ac_arg'"
3196 if test $ac_must_keep_next = true; then
3197 ac_must_keep_next=false # Got value, back to normal.
3198 else
3199 case $ac_arg in
3200 *=* | --config-cache | -C | -disable-* | --disable-* \
3201 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3202 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3203 | -with-* | --with-* | -without-* | --without-* | --x)
3204 case "$ac_configure_args0 " in
3205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3206 esac
3208 -* ) ac_must_keep_next=true ;;
3209 esac
3211 as_fn_append ac_configure_args " '$ac_arg'"
3213 esac
3214 done
3215 done
3216 { ac_configure_args0=; unset ac_configure_args0;}
3217 { ac_configure_args1=; unset ac_configure_args1;}
3219 # When interrupted or exit'd, cleanup temporary files, and complete
3220 # config.log. We remove comments because anyway the quotes in there
3221 # would cause problems or look ugly.
3222 # WARNING: Use '\'' to represent an apostrophe within the trap.
3223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3224 trap 'exit_status=$?
3225 # Save into config.log some information that might help in debugging.
3227 echo
3229 $as_echo "## ---------------- ##
3230 ## Cache variables. ##
3231 ## ---------------- ##"
3232 echo
3233 # The following way of writing the cache mishandles newlines in values,
3235 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3236 eval ac_val=\$$ac_var
3237 case $ac_val in #(
3238 *${as_nl}*)
3239 case $ac_var in #(
3240 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3241 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3242 esac
3243 case $ac_var in #(
3244 _ | IFS | as_nl) ;; #(
3245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3246 *) { eval $ac_var=; unset $ac_var;} ;;
3247 esac ;;
3248 esac
3249 done
3250 (set) 2>&1 |
3251 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3252 *${as_nl}ac_space=\ *)
3253 sed -n \
3254 "s/'\''/'\''\\\\'\'''\''/g;
3255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3256 ;; #(
3258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3260 esac |
3261 sort
3263 echo
3265 $as_echo "## ----------------- ##
3266 ## Output variables. ##
3267 ## ----------------- ##"
3268 echo
3269 for ac_var in $ac_subst_vars
3271 eval ac_val=\$$ac_var
3272 case $ac_val in
3273 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3274 esac
3275 $as_echo "$ac_var='\''$ac_val'\''"
3276 done | sort
3277 echo
3279 if test -n "$ac_subst_files"; then
3280 $as_echo "## ------------------- ##
3281 ## File substitutions. ##
3282 ## ------------------- ##"
3283 echo
3284 for ac_var in $ac_subst_files
3286 eval ac_val=\$$ac_var
3287 case $ac_val in
3288 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3289 esac
3290 $as_echo "$ac_var='\''$ac_val'\''"
3291 done | sort
3292 echo
3295 if test -s confdefs.h; then
3296 $as_echo "## ----------- ##
3297 ## confdefs.h. ##
3298 ## ----------- ##"
3299 echo
3300 cat confdefs.h
3301 echo
3303 test "$ac_signal" != 0 &&
3304 $as_echo "$as_me: caught signal $ac_signal"
3305 $as_echo "$as_me: exit $exit_status"
3306 } >&5
3307 rm -f core *.core core.conftest.* &&
3308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3309 exit $exit_status
3311 for ac_signal in 1 2 13 15; do
3312 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3313 done
3314 ac_signal=0
3316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3317 rm -f -r conftest* confdefs.h
3319 $as_echo "/* confdefs.h */" > confdefs.h
3321 # Predefined preprocessor variables.
3323 cat >>confdefs.h <<_ACEOF
3324 #define PACKAGE_NAME "$PACKAGE_NAME"
3325 _ACEOF
3327 cat >>confdefs.h <<_ACEOF
3328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3329 _ACEOF
3331 cat >>confdefs.h <<_ACEOF
3332 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3333 _ACEOF
3335 cat >>confdefs.h <<_ACEOF
3336 #define PACKAGE_STRING "$PACKAGE_STRING"
3337 _ACEOF
3339 cat >>confdefs.h <<_ACEOF
3340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3341 _ACEOF
3343 cat >>confdefs.h <<_ACEOF
3344 #define PACKAGE_URL "$PACKAGE_URL"
3345 _ACEOF
3348 # Let the site file select an alternate cache file if it wants to.
3349 # Prefer an explicitly selected file to automatically selected ones.
3350 ac_site_file1=NONE
3351 ac_site_file2=NONE
3352 if test -n "$CONFIG_SITE"; then
3353 # We do not want a PATH search for config.site.
3354 case $CONFIG_SITE in #((
3355 -*) ac_site_file1=./$CONFIG_SITE;;
3356 */*) ac_site_file1=$CONFIG_SITE;;
3357 *) ac_site_file1=./$CONFIG_SITE;;
3358 esac
3359 elif test "x$prefix" != xNONE; then
3360 ac_site_file1=$prefix/share/config.site
3361 ac_site_file2=$prefix/etc/config.site
3362 else
3363 ac_site_file1=$ac_default_prefix/share/config.site
3364 ac_site_file2=$ac_default_prefix/etc/config.site
3366 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3368 test "x$ac_site_file" = xNONE && continue
3369 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3371 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3372 sed 's/^/| /' "$ac_site_file" >&5
3373 . "$ac_site_file" \
3374 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 as_fn_error $? "failed to load site script $ac_site_file
3377 See \`config.log' for more details" "$LINENO" 5; }
3379 done
3381 if test -r "$cache_file"; then
3382 # Some versions of bash will fail to source /dev/null (special files
3383 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3384 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3386 $as_echo "$as_me: loading cache $cache_file" >&6;}
3387 case $cache_file in
3388 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3389 *) . "./$cache_file";;
3390 esac
3392 else
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3394 $as_echo "$as_me: creating cache $cache_file" >&6;}
3395 >$cache_file
3398 # Check that the precious variables saved in the cache have kept the same
3399 # value.
3400 ac_cache_corrupted=false
3401 for ac_var in $ac_precious_vars; do
3402 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3403 eval ac_new_set=\$ac_env_${ac_var}_set
3404 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3405 eval ac_new_val=\$ac_env_${ac_var}_value
3406 case $ac_old_set,$ac_new_set in
3407 set,)
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3409 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3410 ac_cache_corrupted=: ;;
3411 ,set)
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3413 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3414 ac_cache_corrupted=: ;;
3415 ,);;
3417 if test "x$ac_old_val" != "x$ac_new_val"; then
3418 # differences in whitespace do not lead to failure.
3419 ac_old_val_w=`echo x $ac_old_val`
3420 ac_new_val_w=`echo x $ac_new_val`
3421 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3423 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3424 ac_cache_corrupted=:
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3427 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3428 eval $ac_var=\$ac_old_val
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3431 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3433 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3434 fi;;
3435 esac
3436 # Pass precious variables to config.status.
3437 if test "$ac_new_set" = set; then
3438 case $ac_new_val in
3439 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3440 *) ac_arg=$ac_var=$ac_new_val ;;
3441 esac
3442 case " $ac_configure_args " in
3443 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3444 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3445 esac
3447 done
3448 if $ac_cache_corrupted; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3452 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3453 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3455 ## -------------------- ##
3456 ## Main body of script. ##
3457 ## -------------------- ##
3459 ac_ext=c
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 ac_config_headers="$ac_config_headers include/config.h"
3469 ac_aux_dir=
3470 for ac_dir in tools "$srcdir"/tools; do
3471 if test -f "$ac_dir/install-sh"; then
3472 ac_aux_dir=$ac_dir
3473 ac_install_sh="$ac_aux_dir/install-sh -c"
3474 break
3475 elif test -f "$ac_dir/install.sh"; then
3476 ac_aux_dir=$ac_dir
3477 ac_install_sh="$ac_aux_dir/install.sh -c"
3478 break
3479 elif test -f "$ac_dir/shtool"; then
3480 ac_aux_dir=$ac_dir
3481 ac_install_sh="$ac_aux_dir/shtool install -c"
3482 break
3484 done
3485 if test -z "$ac_aux_dir"; then
3486 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3489 # These three variables are undocumented and unsupported,
3490 # and are intended to be withdrawn in a future Autoconf release.
3491 # They can cause serious problems if a builder's source tree is in a directory
3492 # whose full name contains unusual characters.
3493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3495 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3499 libwine_version="1.0"
3503 # Check whether --enable-win16 was given.
3504 if test "${enable_win16+set}" = set; then :
3505 enableval=$enable_win16;
3508 # Check whether --enable-win64 was given.
3509 if test "${enable_win64+set}" = set; then :
3510 enableval=$enable_win64;
3513 # Check whether --enable-tests was given.
3514 if test "${enable_tests+set}" = set; then :
3515 enableval=$enable_tests;
3518 # Check whether --enable-maintainer-mode was given.
3519 if test "${enable_maintainer_mode+set}" = set; then :
3520 enableval=$enable_maintainer_mode;
3525 # Check whether --with-alsa was given.
3526 if test "${with_alsa+set}" = set; then :
3527 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3531 # Check whether --with-capi was given.
3532 if test "${with_capi+set}" = set; then :
3533 withval=$with_capi;
3537 # Check whether --with-cms was given.
3538 if test "${with_cms+set}" = set; then :
3539 withval=$with_cms;
3543 # Check whether --with-coreaudio was given.
3544 if test "${with_coreaudio+set}" = set; then :
3545 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3549 # Check whether --with-cups was given.
3550 if test "${with_cups+set}" = set; then :
3551 withval=$with_cups;
3555 # Check whether --with-curses was given.
3556 if test "${with_curses+set}" = set; then :
3557 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3561 # Check whether --with-dbus was given.
3562 if test "${with_dbus+set}" = set; then :
3563 withval=$with_dbus;
3567 # Check whether --with-float-abi was given.
3568 if test "${with_float_abi+set}" = set; then :
3569 withval=$with_float_abi;
3573 # Check whether --with-fontconfig was given.
3574 if test "${with_fontconfig+set}" = set; then :
3575 withval=$with_fontconfig;
3579 # Check whether --with-freetype was given.
3580 if test "${with_freetype+set}" = set; then :
3581 withval=$with_freetype;
3585 # Check whether --with-gettext was given.
3586 if test "${with_gettext+set}" = set; then :
3587 withval=$with_gettext;
3591 # Check whether --with-gettextpo was given.
3592 if test "${with_gettextpo+set}" = set; then :
3593 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3597 # Check whether --with-gphoto was given.
3598 if test "${with_gphoto+set}" = set; then :
3599 withval=$with_gphoto;
3603 # Check whether --with-glu was given.
3604 if test "${with_glu+set}" = set; then :
3605 withval=$with_glu;
3609 # Check whether --with-gnutls was given.
3610 if test "${with_gnutls+set}" = set; then :
3611 withval=$with_gnutls;
3615 # Check whether --with-gsm was given.
3616 if test "${with_gsm+set}" = set; then :
3617 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3621 # Check whether --with-gssapi was given.
3622 if test "${with_gssapi+set}" = set; then :
3623 withval=$with_gssapi;
3627 # Check whether --with-gstreamer was given.
3628 if test "${with_gstreamer+set}" = set; then :
3629 withval=$with_gstreamer;
3633 # Check whether --with-hal was given.
3634 if test "${with_hal+set}" = set; then :
3635 withval=$with_hal;
3639 # Check whether --with-jpeg was given.
3640 if test "${with_jpeg+set}" = set; then :
3641 withval=$with_jpeg;
3645 # Check whether --with-krb5 was given.
3646 if test "${with_krb5+set}" = set; then :
3647 withval=$with_krb5;
3651 # Check whether --with-ldap was given.
3652 if test "${with_ldap+set}" = set; then :
3653 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3657 # Check whether --with-mpg123 was given.
3658 if test "${with_mpg123+set}" = set; then :
3659 withval=$with_mpg123;
3663 # Check whether --with-netapi was given.
3664 if test "${with_netapi+set}" = set; then :
3665 withval=$with_netapi;
3669 # Check whether --with-openal was given.
3670 if test "${with_openal+set}" = set; then :
3671 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3675 # Check whether --with-opencl was given.
3676 if test "${with_opencl+set}" = set; then :
3677 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3681 # Check whether --with-opengl was given.
3682 if test "${with_opengl+set}" = set; then :
3683 withval=$with_opengl;
3687 # Check whether --with-osmesa was given.
3688 if test "${with_osmesa+set}" = set; then :
3689 withval=$with_osmesa;
3693 # Check whether --with-oss was given.
3694 if test "${with_oss+set}" = set; then :
3695 withval=$with_oss;
3699 # Check whether --with-pcap was given.
3700 if test "${with_pcap+set}" = set; then :
3701 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3705 # Check whether --with-png was given.
3706 if test "${with_png+set}" = set; then :
3707 withval=$with_png;
3711 # Check whether --with-pthread was given.
3712 if test "${with_pthread+set}" = set; then :
3713 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3717 # Check whether --with-pulse was given.
3718 if test "${with_pulse+set}" = set; then :
3719 withval=$with_pulse;
3723 # Check whether --with-sane was given.
3724 if test "${with_sane+set}" = set; then :
3725 withval=$with_sane;
3729 # Check whether --with-tiff was given.
3730 if test "${with_tiff+set}" = set; then :
3731 withval=$with_tiff;
3735 # Check whether --with-udev was given.
3736 if test "${with_udev+set}" = set; then :
3737 withval=$with_udev;
3741 # Check whether --with-v4l was given.
3742 if test "${with_v4l+set}" = set; then :
3743 withval=$with_v4l;
3747 # Check whether --with-xcomposite was given.
3748 if test "${with_xcomposite+set}" = set; then :
3749 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3753 # Check whether --with-xcursor was given.
3754 if test "${with_xcursor+set}" = set; then :
3755 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3759 # Check whether --with-xfixes was given.
3760 if test "${with_xfixes+set}" = set; then :
3761 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3765 # Check whether --with-xinerama was given.
3766 if test "${with_xinerama+set}" = set; then :
3767 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3771 # Check whether --with-xinput was given.
3772 if test "${with_xinput+set}" = set; then :
3773 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3777 # Check whether --with-xinput2 was given.
3778 if test "${with_xinput2+set}" = set; then :
3779 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3783 # Check whether --with-xml was given.
3784 if test "${with_xml+set}" = set; then :
3785 withval=$with_xml;
3789 # Check whether --with-xrandr was given.
3790 if test "${with_xrandr+set}" = set; then :
3791 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3795 # Check whether --with-xrender was given.
3796 if test "${with_xrender+set}" = set; then :
3797 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3801 # Check whether --with-xshape was given.
3802 if test "${with_xshape+set}" = set; then :
3803 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3807 # Check whether --with-xshm was given.
3808 if test "${with_xshm+set}" = set; then :
3809 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3813 # Check whether --with-xslt was given.
3814 if test "${with_xslt+set}" = set; then :
3815 withval=$with_xslt;
3819 # Check whether --with-xxf86vm was given.
3820 if test "${with_xxf86vm+set}" = set; then :
3821 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
3825 # Check whether --with-zlib was given.
3826 if test "${with_zlib+set}" = set; then :
3827 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3832 # Check whether --with-wine-tools was given.
3833 if test "${with_wine_tools+set}" = set; then :
3834 withval=$with_wine_tools;
3838 # Check whether --with-wine64 was given.
3839 if test "${with_wine64+set}" = set; then :
3840 withval=$with_wine64;
3844 # Make sure we can run config.sub.
3845 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3846 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3849 $as_echo_n "checking build system type... " >&6; }
3850 if ${ac_cv_build+:} false; then :
3851 $as_echo_n "(cached) " >&6
3852 else
3853 ac_build_alias=$build_alias
3854 test "x$ac_build_alias" = x &&
3855 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3856 test "x$ac_build_alias" = x &&
3857 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3858 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3859 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3863 $as_echo "$ac_cv_build" >&6; }
3864 case $ac_cv_build in
3865 *-*-*) ;;
3866 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3867 esac
3868 build=$ac_cv_build
3869 ac_save_IFS=$IFS; IFS='-'
3870 set x $ac_cv_build
3871 shift
3872 build_cpu=$1
3873 build_vendor=$2
3874 shift; shift
3875 # Remember, the first character of IFS is used to create $*,
3876 # except with old shells:
3877 build_os=$*
3878 IFS=$ac_save_IFS
3879 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3883 $as_echo_n "checking host system type... " >&6; }
3884 if ${ac_cv_host+:} false; then :
3885 $as_echo_n "(cached) " >&6
3886 else
3887 if test "x$host_alias" = x; then
3888 ac_cv_host=$ac_cv_build
3889 else
3890 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3891 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3896 $as_echo "$ac_cv_host" >&6; }
3897 case $ac_cv_host in
3898 *-*-*) ;;
3899 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3900 esac
3901 host=$ac_cv_host
3902 ac_save_IFS=$IFS; IFS='-'
3903 set x $ac_cv_host
3904 shift
3905 host_cpu=$1
3906 host_vendor=$2
3907 shift; shift
3908 # Remember, the first character of IFS is used to create $*,
3909 # except with old shells:
3910 host_os=$*
3911 IFS=$ac_save_IFS
3912 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3916 case "$srcdir" in
3917 .) ;;
3918 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3919 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3920 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3921 fi ;;
3922 esac
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3926 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3927 set x ${MAKE-make}
3928 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3929 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3930 $as_echo_n "(cached) " >&6
3931 else
3932 cat >conftest.make <<\_ACEOF
3933 SHELL = /bin/sh
3934 all:
3935 @echo '@@@%%%=$(MAKE)=@@@%%%'
3936 _ACEOF
3937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3939 *@@@%%%=?*=@@@%%%*)
3940 eval ac_cv_prog_make_${ac_make}_set=yes;;
3942 eval ac_cv_prog_make_${ac_make}_set=no;;
3943 esac
3944 rm -f conftest.make
3946 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948 $as_echo "yes" >&6; }
3949 SET_MAKE=
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3953 SET_MAKE="MAKE=${MAKE-make}"
3956 ac_ext=c
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3963 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CC+:} false; then :
3967 $as_echo_n "(cached) " >&6
3968 else
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC="$CC" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 break 2
3983 done
3984 done
3985 IFS=$as_save_IFS
3989 CC=$ac_cv_prog_CC
3990 if test -n "$CC"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3992 $as_echo "$CC" >&6; }
3993 else
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$ac_cv_prog_CC"; then
4001 ac_ct_CC=$CC
4002 # Extract the first word of "gcc", so it can be a program name with args.
4003 set dummy gcc; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 if test -n "$ac_ct_CC"; then
4010 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4011 else
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4015 IFS=$as_save_IFS
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_ac_ct_CC="gcc"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 break 2
4023 done
4024 done
4025 IFS=$as_save_IFS
4029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4030 if test -n "$ac_ct_CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4032 $as_echo "$ac_ct_CC" >&6; }
4033 else
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4038 if test "x$ac_ct_CC" = x; then
4039 CC=""
4040 else
4041 case $cross_compiling:$ac_tool_warned in
4042 yes:)
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned=yes ;;
4046 esac
4047 CC=$ac_ct_CC
4049 else
4050 CC="$ac_cv_prog_CC"
4053 if test -z "$CC"; then
4054 if test -n "$ac_tool_prefix"; then
4055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4056 set dummy ${ac_tool_prefix}cc; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if ${ac_cv_prog_CC+:} false; then :
4060 $as_echo_n "(cached) " >&6
4061 else
4062 if test -n "$CC"; then
4063 ac_cv_prog_CC="$CC" # Let the user override the test.
4064 else
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4066 for as_dir in $PATH
4068 IFS=$as_save_IFS
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_prog_CC="${ac_tool_prefix}cc"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 break 2
4076 done
4077 done
4078 IFS=$as_save_IFS
4082 CC=$ac_cv_prog_CC
4083 if test -n "$CC"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4085 $as_echo "$CC" >&6; }
4086 else
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4094 if test -z "$CC"; then
4095 # Extract the first word of "cc", so it can be a program name with args.
4096 set dummy cc; ac_word=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if ${ac_cv_prog_CC+:} false; then :
4100 $as_echo_n "(cached) " >&6
4101 else
4102 if test -n "$CC"; then
4103 ac_cv_prog_CC="$CC" # Let the user override the test.
4104 else
4105 ac_prog_rejected=no
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH
4109 IFS=$as_save_IFS
4110 test -z "$as_dir" && as_dir=.
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4114 ac_prog_rejected=yes
4115 continue
4117 ac_cv_prog_CC="cc"
4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 break 2
4121 done
4122 done
4123 IFS=$as_save_IFS
4125 if test $ac_prog_rejected = yes; then
4126 # We found a bogon in the path, so make sure we never use it.
4127 set dummy $ac_cv_prog_CC
4128 shift
4129 if test $# != 0; then
4130 # We chose a different compiler from the bogus one.
4131 # However, it has the same basename, so the bogon will be chosen
4132 # first if we set CC to just the basename; use the full file name.
4133 shift
4134 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4139 CC=$ac_cv_prog_CC
4140 if test -n "$CC"; then
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4142 $as_echo "$CC" >&6; }
4143 else
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4150 if test -z "$CC"; then
4151 if test -n "$ac_tool_prefix"; then
4152 for ac_prog in cl.exe
4154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_CC+:} false; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 if test -n "$CC"; then
4162 ac_cv_prog_CC="$CC" # Let the user override the test.
4163 else
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 for as_dir in $PATH
4167 IFS=$as_save_IFS
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 break 2
4175 done
4176 done
4177 IFS=$as_save_IFS
4181 CC=$ac_cv_prog_CC
4182 if test -n "$CC"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4184 $as_echo "$CC" >&6; }
4185 else
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4191 test -n "$CC" && break
4192 done
4194 if test -z "$CC"; then
4195 ac_ct_CC=$CC
4196 for ac_prog in cl.exe
4198 # Extract the first word of "$ac_prog", so it can be a program name with args.
4199 set dummy $ac_prog; ac_word=$2
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201 $as_echo_n "checking for $ac_word... " >&6; }
4202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 if test -n "$ac_ct_CC"; then
4206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4207 else
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4211 IFS=$as_save_IFS
4212 test -z "$as_dir" && as_dir=.
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_ac_ct_CC="$ac_prog"
4216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 break 2
4219 done
4220 done
4221 IFS=$as_save_IFS
4225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4226 if test -n "$ac_ct_CC"; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4228 $as_echo "$ac_ct_CC" >&6; }
4229 else
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4235 test -n "$ac_ct_CC" && break
4236 done
4238 if test "x$ac_ct_CC" = x; then
4239 CC=""
4240 else
4241 case $cross_compiling:$ac_tool_warned in
4242 yes:)
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4245 ac_tool_warned=yes ;;
4246 esac
4247 CC=$ac_ct_CC
4254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4256 as_fn_error $? "no acceptable C compiler found in \$PATH
4257 See \`config.log' for more details" "$LINENO" 5; }
4259 # Provide some information about the compiler.
4260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4261 set X $ac_compile
4262 ac_compiler=$2
4263 for ac_option in --version -v -V -qversion; do
4264 { { ac_try="$ac_compiler $ac_option >&5"
4265 case "(($ac_try" in
4266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4267 *) ac_try_echo=$ac_try;;
4268 esac
4269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4270 $as_echo "$ac_try_echo"; } >&5
4271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4272 ac_status=$?
4273 if test -s conftest.err; then
4274 sed '10a\
4275 ... rest of stderr output deleted ...
4276 10q' conftest.err >conftest.er1
4277 cat conftest.er1 >&5
4279 rm -f conftest.er1 conftest.err
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }
4282 done
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4288 main ()
4292 return 0;
4294 _ACEOF
4295 ac_clean_files_save=$ac_clean_files
4296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4297 # Try to create an executable without -o first, disregard a.out.
4298 # It will help us diagnose broken compilers, and finding out an intuition
4299 # of exeext.
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4301 $as_echo_n "checking whether the C compiler works... " >&6; }
4302 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4304 # The possible output files:
4305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4307 ac_rmfiles=
4308 for ac_file in $ac_files
4310 case $ac_file in
4311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4313 esac
4314 done
4315 rm -f $ac_rmfiles
4317 if { { ac_try="$ac_link_default"
4318 case "(($ac_try" in
4319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4321 esac
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link_default") 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4331 # so that the user can short-circuit this test for compilers unknown to
4332 # Autoconf.
4333 for ac_file in $ac_files ''
4335 test -f "$ac_file" || continue
4336 case $ac_file in
4337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4339 [ab].out )
4340 # We found the default executable, but exeext='' is most
4341 # certainly right.
4342 break;;
4343 *.* )
4344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4345 then :; else
4346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4348 # We set ac_cv_exeext here because the later test for it is not
4349 # safe: cross compilers may not add the suffix if given an `-o'
4350 # argument, so we may need to know it at that point already.
4351 # Even if this section looks crufty: it has the advantage of
4352 # actually working.
4353 break;;
4355 break;;
4356 esac
4357 done
4358 test "$ac_cv_exeext" = no && ac_cv_exeext=
4360 else
4361 ac_file=''
4363 if test -z "$ac_file"; then :
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4366 $as_echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.$ac_ext >&5
4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error 77 "C compiler cannot create executables
4372 See \`config.log' for more details" "$LINENO" 5; }
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4375 $as_echo "yes" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4378 $as_echo_n "checking for C compiler default output file name... " >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4380 $as_echo "$ac_file" >&6; }
4381 ac_exeext=$ac_cv_exeext
4383 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4384 ac_clean_files=$ac_clean_files_save
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4386 $as_echo_n "checking for suffix of executables... " >&6; }
4387 if { { ac_try="$ac_link"
4388 case "(($ac_try" in
4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4391 esac
4392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393 $as_echo "$ac_try_echo"; } >&5
4394 (eval "$ac_link") 2>&5
4395 ac_status=$?
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }; then :
4398 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4399 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4400 # work properly (i.e., refer to `conftest.exe'), while it won't with
4401 # `rm'.
4402 for ac_file in conftest.exe conftest conftest.*; do
4403 test -f "$ac_file" || continue
4404 case $ac_file in
4405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4406 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4407 break;;
4408 * ) break;;
4409 esac
4410 done
4411 else
4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4415 See \`config.log' for more details" "$LINENO" 5; }
4417 rm -f conftest conftest$ac_cv_exeext
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4419 $as_echo "$ac_cv_exeext" >&6; }
4421 rm -f conftest.$ac_ext
4422 EXEEXT=$ac_cv_exeext
4423 ac_exeext=$EXEEXT
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4426 #include <stdio.h>
4428 main ()
4430 FILE *f = fopen ("conftest.out", "w");
4431 return ferror (f) || fclose (f) != 0;
4434 return 0;
4436 _ACEOF
4437 ac_clean_files="$ac_clean_files conftest.out"
4438 # Check that the compiler produces executables we can run. If not, either
4439 # the compiler is broken, or we cross compile.
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4441 $as_echo_n "checking whether we are cross compiling... " >&6; }
4442 if test "$cross_compiling" != yes; then
4443 { { ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_link") 2>&5
4451 ac_status=$?
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }
4454 if { ac_try='./conftest$ac_cv_exeext'
4455 { { case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_try") 2>&5
4462 ac_status=$?
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }; }; then
4465 cross_compiling=no
4466 else
4467 if test "$cross_compiling" = maybe; then
4468 cross_compiling=yes
4469 else
4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $? "cannot run C compiled programs.
4473 If you meant to cross compile, use \`--host'.
4474 See \`config.log' for more details" "$LINENO" 5; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4479 $as_echo "$cross_compiling" >&6; }
4481 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4482 ac_clean_files=$ac_clean_files_save
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4484 $as_echo_n "checking for suffix of object files... " >&6; }
4485 if ${ac_cv_objext+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 rm -f conftest.o conftest.obj
4500 if { { ac_try="$ac_compile"
4501 case "(($ac_try" in
4502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4503 *) ac_try_echo=$ac_try;;
4504 esac
4505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4506 $as_echo "$ac_try_echo"; } >&5
4507 (eval "$ac_compile") 2>&5
4508 ac_status=$?
4509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4510 test $ac_status = 0; }; then :
4511 for ac_file in conftest.o conftest.obj conftest.*; do
4512 test -f "$ac_file" || continue;
4513 case $ac_file in
4514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4515 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4516 break;;
4517 esac
4518 done
4519 else
4520 $as_echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4525 as_fn_error $? "cannot compute suffix of object files: cannot compile
4526 See \`config.log' for more details" "$LINENO" 5; }
4528 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4531 $as_echo "$ac_cv_objext" >&6; }
4532 OBJEXT=$ac_cv_objext
4533 ac_objext=$OBJEXT
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4535 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4536 if ${ac_cv_c_compiler_gnu+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4545 #ifndef __GNUC__
4546 choke me
4547 #endif
4550 return 0;
4552 _ACEOF
4553 if ac_fn_c_try_compile "$LINENO"; then :
4554 ac_compiler_gnu=yes
4555 else
4556 ac_compiler_gnu=no
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4563 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4564 if test $ac_compiler_gnu = yes; then
4565 GCC=yes
4566 else
4567 GCC=
4569 ac_test_CFLAGS=${CFLAGS+set}
4570 ac_save_CFLAGS=$CFLAGS
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4572 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4573 if ${ac_cv_prog_cc_g+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 ac_save_c_werror_flag=$ac_c_werror_flag
4577 ac_c_werror_flag=yes
4578 ac_cv_prog_cc_g=no
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
4593 else
4594 CFLAGS=""
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_c_try_compile "$LINENO"; then :
4608 else
4609 ac_c_werror_flag=$ac_save_c_werror_flag
4610 CFLAGS="-g"
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4615 main ()
4619 return 0;
4621 _ACEOF
4622 if ac_fn_c_try_compile "$LINENO"; then :
4623 ac_cv_prog_cc_g=yes
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 ac_c_werror_flag=$ac_save_c_werror_flag
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4633 $as_echo "$ac_cv_prog_cc_g" >&6; }
4634 if test "$ac_test_CFLAGS" = set; then
4635 CFLAGS=$ac_save_CFLAGS
4636 elif test $ac_cv_prog_cc_g = yes; then
4637 if test "$GCC" = yes; then
4638 CFLAGS="-g -O2"
4639 else
4640 CFLAGS="-g"
4642 else
4643 if test "$GCC" = yes; then
4644 CFLAGS="-O2"
4645 else
4646 CFLAGS=
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4650 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4651 if ${ac_cv_prog_cc_c89+:} false; then :
4652 $as_echo_n "(cached) " >&6
4653 else
4654 ac_cv_prog_cc_c89=no
4655 ac_save_CC=$CC
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4658 #include <stdarg.h>
4659 #include <stdio.h>
4660 struct stat;
4661 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4662 struct buf { int x; };
4663 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4664 static char *e (p, i)
4665 char **p;
4666 int i;
4668 return p[i];
4670 static char *f (char * (*g) (char **, int), char **p, ...)
4672 char *s;
4673 va_list v;
4674 va_start (v,p);
4675 s = g (p, va_arg (v,int));
4676 va_end (v);
4677 return s;
4680 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4681 function prototypes and stuff, but not '\xHH' hex character constants.
4682 These don't provoke an error unfortunately, instead are silently treated
4683 as 'x'. The following induces an error, until -std is added to get
4684 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4685 array size at least. It's necessary to write '\x00'==0 to get something
4686 that's true only with -std. */
4687 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4689 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4690 inside strings and character constants. */
4691 #define FOO(x) 'x'
4692 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4694 int test (int i, double x);
4695 struct s1 {int (*f) (int a);};
4696 struct s2 {int (*f) (double a);};
4697 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4698 int argc;
4699 char **argv;
4701 main ()
4703 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4705 return 0;
4707 _ACEOF
4708 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4709 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4711 CC="$ac_save_CC $ac_arg"
4712 if ac_fn_c_try_compile "$LINENO"; then :
4713 ac_cv_prog_cc_c89=$ac_arg
4715 rm -f core conftest.err conftest.$ac_objext
4716 test "x$ac_cv_prog_cc_c89" != "xno" && break
4717 done
4718 rm -f conftest.$ac_ext
4719 CC=$ac_save_CC
4722 # AC_CACHE_VAL
4723 case "x$ac_cv_prog_cc_c89" in
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4726 $as_echo "none needed" >&6; } ;;
4727 xno)
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4729 $as_echo "unsupported" >&6; } ;;
4731 CC="$CC $ac_cv_prog_cc_c89"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4733 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4734 esac
4735 if test "x$ac_cv_prog_cc_c89" != xno; then :
4739 ac_ext=c
4740 ac_cpp='$CPP $CPPFLAGS'
4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745 ac_ext=cpp
4746 ac_cpp='$CXXCPP $CPPFLAGS'
4747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4750 if test -z "$CXX"; then
4751 if test -n "$CCC"; then
4752 CXX=$CCC
4753 else
4754 if test -n "$ac_tool_prefix"; then
4755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_CXX+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 if test -n "$CXX"; then
4765 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4766 else
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH
4770 IFS=$as_save_IFS
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4776 break 2
4778 done
4779 done
4780 IFS=$as_save_IFS
4784 CXX=$ac_cv_prog_CXX
4785 if test -n "$CXX"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4787 $as_echo "$CXX" >&6; }
4788 else
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 test -n "$CXX" && break
4795 done
4797 if test -z "$CXX"; then
4798 ac_ct_CXX=$CXX
4799 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4801 # Extract the first word of "$ac_prog", so it can be a program name with args.
4802 set dummy $ac_prog; ac_word=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4806 $as_echo_n "(cached) " >&6
4807 else
4808 if test -n "$ac_ct_CXX"; then
4809 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4810 else
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH
4814 IFS=$as_save_IFS
4815 test -z "$as_dir" && as_dir=.
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_ac_ct_CXX="$ac_prog"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 break 2
4822 done
4823 done
4824 IFS=$as_save_IFS
4828 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4829 if test -n "$ac_ct_CXX"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4831 $as_echo "$ac_ct_CXX" >&6; }
4832 else
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4838 test -n "$ac_ct_CXX" && break
4839 done
4841 if test "x$ac_ct_CXX" = x; then
4842 CXX="g++"
4843 else
4844 case $cross_compiling:$ac_tool_warned in
4845 yes:)
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4848 ac_tool_warned=yes ;;
4849 esac
4850 CXX=$ac_ct_CXX
4856 # Provide some information about the compiler.
4857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4858 set X $ac_compile
4859 ac_compiler=$2
4860 for ac_option in --version -v -V -qversion; do
4861 { { ac_try="$ac_compiler $ac_option >&5"
4862 case "(($ac_try" in
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4865 esac
4866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4867 $as_echo "$ac_try_echo"; } >&5
4868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4869 ac_status=$?
4870 if test -s conftest.err; then
4871 sed '10a\
4872 ... rest of stderr output deleted ...
4873 10q' conftest.err >conftest.er1
4874 cat conftest.er1 >&5
4876 rm -f conftest.er1 conftest.err
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }
4879 done
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4882 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4883 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4890 main ()
4892 #ifndef __GNUC__
4893 choke me
4894 #endif
4897 return 0;
4899 _ACEOF
4900 if ac_fn_cxx_try_compile "$LINENO"; then :
4901 ac_compiler_gnu=yes
4902 else
4903 ac_compiler_gnu=no
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4910 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4911 if test $ac_compiler_gnu = yes; then
4912 GXX=yes
4913 else
4914 GXX=
4916 ac_test_CXXFLAGS=${CXXFLAGS+set}
4917 ac_save_CXXFLAGS=$CXXFLAGS
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4919 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4920 if ${ac_cv_prog_cxx_g+:} false; then :
4921 $as_echo_n "(cached) " >&6
4922 else
4923 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4924 ac_cxx_werror_flag=yes
4925 ac_cv_prog_cxx_g=no
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
4940 else
4941 CXXFLAGS=""
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4946 main ()
4950 return 0;
4952 _ACEOF
4953 if ac_fn_cxx_try_compile "$LINENO"; then :
4955 else
4956 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4957 CXXFLAGS="-g"
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4962 main ()
4966 return 0;
4968 _ACEOF
4969 if ac_fn_cxx_try_compile "$LINENO"; then :
4970 ac_cv_prog_cxx_g=yes
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4980 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4981 if test "$ac_test_CXXFLAGS" = set; then
4982 CXXFLAGS=$ac_save_CXXFLAGS
4983 elif test $ac_cv_prog_cxx_g = yes; then
4984 if test "$GXX" = yes; then
4985 CXXFLAGS="-g -O2"
4986 else
4987 CXXFLAGS="-g"
4989 else
4990 if test "$GXX" = yes; then
4991 CXXFLAGS="-O2"
4992 else
4993 CXXFLAGS=
4996 ac_ext=c
4997 ac_cpp='$CPP $CPPFLAGS'
4998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5002 if test -n "$ac_tool_prefix"; then
5003 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5004 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_CPPBIN+:} false; then :
5008 $as_echo_n "(cached) " >&6
5009 else
5010 if test -n "$CPPBIN"; then
5011 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5012 else
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 for as_dir in $PATH
5016 IFS=$as_save_IFS
5017 test -z "$as_dir" && as_dir=.
5018 for ac_exec_ext in '' $ac_executable_extensions; do
5019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 break 2
5024 done
5025 done
5026 IFS=$as_save_IFS
5030 CPPBIN=$ac_cv_prog_CPPBIN
5031 if test -n "$CPPBIN"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5033 $as_echo "$CPPBIN" >&6; }
5034 else
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5041 if test -z "$ac_cv_prog_CPPBIN"; then
5042 ac_ct_CPPBIN=$CPPBIN
5043 # Extract the first word of "cpp", so it can be a program name with args.
5044 set dummy cpp; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5048 $as_echo_n "(cached) " >&6
5049 else
5050 if test -n "$ac_ct_CPPBIN"; then
5051 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5052 else
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 for as_dir in $PATH
5056 IFS=$as_save_IFS
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_ac_ct_CPPBIN="cpp"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 break 2
5064 done
5065 done
5066 IFS=$as_save_IFS
5070 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5071 if test -n "$ac_ct_CPPBIN"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5073 $as_echo "$ac_ct_CPPBIN" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5079 if test "x$ac_ct_CPPBIN" = x; then
5080 CPPBIN="cpp"
5081 else
5082 case $cross_compiling:$ac_tool_warned in
5083 yes:)
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned=yes ;;
5087 esac
5088 CPPBIN=$ac_ct_CPPBIN
5090 else
5091 CPPBIN="$ac_cv_prog_CPPBIN"
5095 cat >>confdefs.h <<_ACEOF
5096 #define EXEEXT "$ac_exeext"
5097 _ACEOF
5099 if test -n "$ac_tool_prefix"; then
5100 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5101 set dummy ${ac_tool_prefix}ld; ac_word=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_LD+:} false; then :
5105 $as_echo_n "(cached) " >&6
5106 else
5107 if test -n "$LD"; then
5108 ac_cv_prog_LD="$LD" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_LD="${ac_tool_prefix}ld"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 LD=$ac_cv_prog_LD
5128 if test -n "$LD"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5130 $as_echo "$LD" >&6; }
5131 else
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5138 if test -z "$ac_cv_prog_LD"; then
5139 ac_ct_LD=$LD
5140 # Extract the first word of "ld", so it can be a program name with args.
5141 set dummy ld; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$ac_ct_LD"; then
5148 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_ac_ct_LD="ld"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5168 if test -n "$ac_ct_LD"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5170 $as_echo "$ac_ct_LD" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5176 if test "x$ac_ct_LD" = x; then
5177 LD=""
5178 else
5179 case $cross_compiling:$ac_tool_warned in
5180 yes:)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned=yes ;;
5184 esac
5185 LD=$ac_ct_LD
5187 else
5188 LD="$ac_cv_prog_LD"
5192 case $host in
5193 *-darwin*)
5194 with_fontconfig=${with_fontconfig:-no}
5196 *-mingw32*|*-cygwin*)
5197 enable_win16=${enable_win16:-no}
5198 CFLAGS="$CFLAGS -D_WIN32"
5200 esac
5202 case $host in
5203 x86_64*|amd64*)
5204 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5205 then
5206 CC="$CC -m32"
5207 CXX="$CXX -m32"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5209 $as_echo_n "checking whether $CC works... " >&6; }
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5215 main ()
5219 return 0;
5221 _ACEOF
5222 if ac_fn_c_try_link "$LINENO"; then :
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5224 $as_echo "yes" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5228 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5230 rm -f core conftest.err conftest.$ac_objext \
5231 conftest$ac_exeext conftest.$ac_ext
5232 host_cpu="i386"
5233 notice_platform="32-bit "
5234 TARGETFLAGS="-m32"
5236 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5237 export PKG_CONFIG_PATH
5238 enable_win16=${enable_win16:-yes}
5239 else
5240 if test "x${GCC}" = "xyes"
5241 then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5243 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5246 #include <stdarg.h>
5248 main ()
5250 void func(__builtin_ms_va_list *args);
5252 return 0;
5254 _ACEOF
5255 if ac_fn_c_try_compile "$LINENO"; then :
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5257 $as_echo "yes" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5261 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5265 CC="$CC -m64"
5266 CXX="$CXX -m64"
5267 host_cpu="x86_64"
5268 notice_platform="64-bit "
5269 TARGETFLAGS="-m64"
5273 arm*)
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5275 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5278 int ac_test(int i) { return i; }
5280 main ()
5282 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5284 return 0;
5286 _ACEOF
5287 if ac_fn_c_try_link "$LINENO"; then :
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5289 $as_echo "yes" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5293 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5295 rm -f core conftest.err conftest.$ac_objext \
5296 conftest$ac_exeext conftest.$ac_ext
5297 case $with_float_abi in
5298 soft|softfp|hard)
5299 float_abi=$with_float_abi ;;
5301 case $host_os in
5302 *eabihf)
5303 float_abi=hard ;;
5305 float_abi=softfp
5306 saved_CFLAGS=$CFLAGS
5307 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5309 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5316 asm("vmrs r2,fpscr");
5318 return 0;
5320 _ACEOF
5321 if ac_fn_c_try_link "$LINENO"; then :
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5323 $as_echo "yes" >&6; }
5324 else
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5327 float_abi=soft
5328 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5330 rm -f core conftest.err conftest.$ac_objext \
5331 conftest$ac_exeext conftest.$ac_ext
5332 CFLAGS=$saved_CFLAGS
5333 esac
5335 esac
5336 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5337 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5340 i[3456789]86*)
5341 enable_win16=${enable_win16:-yes}
5343 esac
5345 enable_win16=${enable_win16:-no}
5346 enable_win64=${enable_win64:-no}
5348 enable_winetest=${enable_winetest:-$enable_tests}
5350 if test -n "$with_wine64"
5351 then
5352 if test "x$enable_win64" = "xyes"
5353 then
5354 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5355 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5357 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5358 You should create a separate build directory and run configure from there." "$LINENO" 5
5359 enable_fonts=${enable_fonts:-no}
5360 enable_server=${enable_server:-no}
5361 elif test "x$enable_win64" = "xyes"
5362 then
5363 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5367 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5368 if ${wine_cv_toolsdir+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 wine_cv_toolsdir="$with_wine_tools"
5372 if test -z "$with_wine_tools"; then
5373 if test "$cross_compiling" = "yes"; then
5374 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5375 elif test -n "$with_wine64"; then
5376 wine_cv_toolsdir="$with_wine64"
5379 if test -z "$wine_cv_toolsdir"; then
5380 wine_makedep=tools/makedep
5381 wine_cv_toolsdir="\$(top_builddir)"
5382 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5383 wine_makedep=$wine_cv_toolsdir/tools/makedep
5384 case "$wine_cv_toolsdir" in
5385 /*) ;;
5386 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5387 esac
5388 enable_tools=${enable_tools:-no}
5389 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5390 else
5391 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5395 $as_echo "$wine_cv_toolsdir" >&6; }
5396 TOOLSDIR=$wine_cv_toolsdir
5398 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5399 then
5400 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5404 for ac_prog in flex
5406 # Extract the first word of "$ac_prog", so it can be a program name with args.
5407 set dummy $ac_prog; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_FLEX+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$FLEX"; then
5414 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_FLEX="$ac_prog"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5433 FLEX=$ac_cv_prog_FLEX
5434 if test -n "$FLEX"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5436 $as_echo "$FLEX" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 test -n "$FLEX" && break
5444 done
5445 test -n "$FLEX" || FLEX="none"
5447 if test "$FLEX" = "none"
5448 then
5449 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5452 $as_echo_n "checking whether flex is recent enough... " >&6; }
5453 cat >conftest.l <<EOF
5454 %top{
5455 #include "prediluvian.h"
5459 if $FLEX -t conftest.l >/dev/null 2>&5
5460 then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 $as_echo "yes" >&6; }
5463 else
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5469 for ac_prog in bison
5471 # Extract the first word of "$ac_prog", so it can be a program name with args.
5472 set dummy $ac_prog; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_BISON+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if test -n "$BISON"; then
5479 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_BISON="$ac_prog"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 break 2
5492 done
5493 done
5494 IFS=$as_save_IFS
5498 BISON=$ac_cv_prog_BISON
5499 if test -n "$BISON"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5501 $as_echo "$BISON" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5508 test -n "$BISON" && break
5509 done
5510 test -n "$BISON" || BISON="none"
5512 if test "$BISON" = "none"
5513 then
5514 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5517 if test -n "$ac_tool_prefix"; then
5518 for ac_prog in ar gar
5520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_AR+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 if test -n "$AR"; then
5528 ac_cv_prog_AR="$AR" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 AR=$ac_cv_prog_AR
5548 if test -n "$AR"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5550 $as_echo "$AR" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5557 test -n "$AR" && break
5558 done
5560 if test -z "$AR"; then
5561 ac_ct_AR=$AR
5562 for ac_prog in ar gar
5564 # Extract the first word of "$ac_prog", so it can be a program name with args.
5565 set dummy $ac_prog; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$ac_ct_AR"; then
5572 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_ac_ct_AR="$ac_prog"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5592 if test -n "$ac_ct_AR"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5594 $as_echo "$ac_ct_AR" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5601 test -n "$ac_ct_AR" && break
5602 done
5604 if test "x$ac_ct_AR" = x; then
5605 AR="ar"
5606 else
5607 case $cross_compiling:$ac_tool_warned in
5608 yes:)
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5611 ac_tool_warned=yes ;;
5612 esac
5613 AR=$ac_ct_AR
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5619 set dummy ${ac_tool_prefix}strip; ac_word=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if ${ac_cv_prog_STRIP+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 if test -n "$STRIP"; then
5626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5627 else
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 break 2
5639 done
5640 done
5641 IFS=$as_save_IFS
5645 STRIP=$ac_cv_prog_STRIP
5646 if test -n "$STRIP"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5648 $as_echo "$STRIP" >&6; }
5649 else
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5656 if test -z "$ac_cv_prog_STRIP"; then
5657 ac_ct_STRIP=$STRIP
5658 # Extract the first word of "strip", so it can be a program name with args.
5659 set dummy strip; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5663 $as_echo_n "(cached) " >&6
5664 else
5665 if test -n "$ac_ct_STRIP"; then
5666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5671 IFS=$as_save_IFS
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_STRIP="strip"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5686 if test -n "$ac_ct_STRIP"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5688 $as_echo "$ac_ct_STRIP" >&6; }
5689 else
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5694 if test "x$ac_ct_STRIP" = x; then
5695 STRIP="strip"
5696 else
5697 case $cross_compiling:$ac_tool_warned in
5698 yes:)
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned=yes ;;
5702 esac
5703 STRIP=$ac_ct_STRIP
5705 else
5706 STRIP="$ac_cv_prog_STRIP"
5709 ARFLAGS=rc
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_RANLIB+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if test -n "$RANLIB"; then
5720 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5733 done
5734 done
5735 IFS=$as_save_IFS
5739 RANLIB=$ac_cv_prog_RANLIB
5740 if test -n "$RANLIB"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5742 $as_echo "$RANLIB" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5750 if test -z "$ac_cv_prog_RANLIB"; then
5751 ac_ct_RANLIB=$RANLIB
5752 # Extract the first word of "ranlib", so it can be a program name with args.
5753 set dummy ranlib; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$ac_ct_RANLIB"; then
5760 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_ac_ct_RANLIB="ranlib"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5780 if test -n "$ac_ct_RANLIB"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5782 $as_echo "$ac_ct_RANLIB" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5788 if test "x$ac_ct_RANLIB" = x; then
5789 RANLIB=":"
5790 else
5791 case $cross_compiling:$ac_tool_warned in
5792 yes:)
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned=yes ;;
5796 esac
5797 RANLIB=$ac_ct_RANLIB
5799 else
5800 RANLIB="$ac_cv_prog_RANLIB"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5804 $as_echo_n "checking whether ln -s works... " >&6; }
5805 LN_S=$as_ln_s
5806 if test "$LN_S" = "ln -s"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5808 $as_echo "yes" >&6; }
5809 else
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5811 $as_echo "no, using $LN_S" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5815 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5816 if ${ac_cv_path_GREP+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -z "$GREP"; then
5820 ac_path_GREP_found=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_prog in grep ggrep; do
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5830 as_fn_executable_p "$ac_path_GREP" || continue
5831 # Check for GNU ac_path_GREP and select it if it is found.
5832 # Check for GNU $ac_path_GREP
5833 case `"$ac_path_GREP" --version 2>&1` in
5834 *GNU*)
5835 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5837 ac_count=0
5838 $as_echo_n 0123456789 >"conftest.in"
5839 while :
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 $as_echo 'GREP' >> "conftest.nl"
5845 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5847 as_fn_arith $ac_count + 1 && ac_count=$as_val
5848 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_GREP="$ac_path_GREP"
5851 ac_path_GREP_max=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5855 done
5856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5857 esac
5859 $ac_path_GREP_found && break 3
5860 done
5861 done
5862 done
5863 IFS=$as_save_IFS
5864 if test -z "$ac_cv_path_GREP"; then
5865 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5867 else
5868 ac_cv_path_GREP=$GREP
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5873 $as_echo "$ac_cv_path_GREP" >&6; }
5874 GREP="$ac_cv_path_GREP"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5878 $as_echo_n "checking for egrep... " >&6; }
5879 if ${ac_cv_path_EGREP+:} false; then :
5880 $as_echo_n "(cached) " >&6
5881 else
5882 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5883 then ac_cv_path_EGREP="$GREP -E"
5884 else
5885 if test -z "$EGREP"; then
5886 ac_path_EGREP_found=false
5887 # Loop through the user's path and test for each of PROGNAME-LIST
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5891 IFS=$as_save_IFS
5892 test -z "$as_dir" && as_dir=.
5893 for ac_prog in egrep; do
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5896 as_fn_executable_p "$ac_path_EGREP" || continue
5897 # Check for GNU ac_path_EGREP and select it if it is found.
5898 # Check for GNU $ac_path_EGREP
5899 case `"$ac_path_EGREP" --version 2>&1` in
5900 *GNU*)
5901 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5903 ac_count=0
5904 $as_echo_n 0123456789 >"conftest.in"
5905 while :
5907 cat "conftest.in" "conftest.in" >"conftest.tmp"
5908 mv "conftest.tmp" "conftest.in"
5909 cp "conftest.in" "conftest.nl"
5910 $as_echo 'EGREP' >> "conftest.nl"
5911 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5912 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5913 as_fn_arith $ac_count + 1 && ac_count=$as_val
5914 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5915 # Best one so far, save it but keep looking for a better one
5916 ac_cv_path_EGREP="$ac_path_EGREP"
5917 ac_path_EGREP_max=$ac_count
5919 # 10*(2^10) chars as input seems more than enough
5920 test $ac_count -gt 10 && break
5921 done
5922 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5923 esac
5925 $ac_path_EGREP_found && break 3
5926 done
5927 done
5928 done
5929 IFS=$as_save_IFS
5930 if test -z "$ac_cv_path_EGREP"; then
5931 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5933 else
5934 ac_cv_path_EGREP=$EGREP
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5940 $as_echo "$ac_cv_path_EGREP" >&6; }
5941 EGREP="$ac_cv_path_EGREP"
5944 # Extract the first word of "ldconfig", so it can be a program name with args.
5945 set dummy ldconfig; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_path_LDCONFIG+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 case $LDCONFIG in
5952 [\\/]* | ?:[\\/]*)
5953 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in /sbin /usr/sbin $PATH
5959 IFS=$as_save_IFS
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 break 2
5967 done
5968 done
5969 IFS=$as_save_IFS
5971 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5973 esac
5975 LDCONFIG=$ac_cv_path_LDCONFIG
5976 if test -n "$LDCONFIG"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5978 $as_echo "$LDCONFIG" >&6; }
5979 else
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 for ac_prog in msgfmt
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy $ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_MSGFMT+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 if test -n "$MSGFMT"; then
5995 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_MSGFMT="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6014 MSGFMT=$ac_cv_prog_MSGFMT
6015 if test -n "$MSGFMT"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6017 $as_echo "$MSGFMT" >&6; }
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$MSGFMT" && break
6025 done
6026 test -n "$MSGFMT" || MSGFMT="false"
6028 if ${ac_tool_prefix+:} false; then :
6029 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6030 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 if test -n "$PKG_CONFIG"; then
6037 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6042 IFS=$as_save_IFS
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6057 if test -n "$PKG_CONFIG"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6059 $as_echo "$PKG_CONFIG" >&6; }
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6067 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6068 if test "x$cross_compiling" = xyes; then :
6070 else
6071 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6072 # Extract the first word of "pkg-config", so it can be a program name with args.
6073 set dummy pkg-config; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$PKG_CONFIG"; then
6080 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_PKG_CONFIG="pkg-config"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6100 if test -n "$PKG_CONFIG"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6102 $as_echo "$PKG_CONFIG" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6110 else
6111 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6114 if test "x$enable_maintainer_mode" != "xyes"
6115 then
6116 FONTFORGE=""
6117 RSVG=""
6118 CONVERT=""
6119 ICOTOOL=""
6120 else
6121 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6122 for ac_prog in fontforge
6124 # Extract the first word of "$ac_prog", so it can be a program name with args.
6125 set dummy $ac_prog; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if ${ac_cv_prog_FONTFORGE+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 if test -n "$FONTFORGE"; then
6132 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_FONTFORGE="$ac_prog"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 break 2
6145 done
6146 done
6147 IFS=$as_save_IFS
6151 FONTFORGE=$ac_cv_prog_FONTFORGE
6152 if test -n "$FONTFORGE"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6154 $as_echo "$FONTFORGE" >&6; }
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6161 test -n "$FONTFORGE" && break
6162 done
6163 test -n "$FONTFORGE" || FONTFORGE="false"
6165 for ac_prog in rsvg-convert rsvg
6167 # Extract the first word of "$ac_prog", so it can be a program name with args.
6168 set dummy $ac_prog; ac_word=$2
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6170 $as_echo_n "checking for $ac_word... " >&6; }
6171 if ${ac_cv_prog_RSVG+:} false; then :
6172 $as_echo_n "(cached) " >&6
6173 else
6174 if test -n "$RSVG"; then
6175 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6176 else
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 for as_dir in $PATH
6180 IFS=$as_save_IFS
6181 test -z "$as_dir" && as_dir=.
6182 for ac_exec_ext in '' $ac_executable_extensions; do
6183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_RSVG="$ac_prog"
6185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6186 break 2
6188 done
6189 done
6190 IFS=$as_save_IFS
6194 RSVG=$ac_cv_prog_RSVG
6195 if test -n "$RSVG"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6197 $as_echo "$RSVG" >&6; }
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6204 test -n "$RSVG" && break
6205 done
6206 test -n "$RSVG" || RSVG="false"
6208 for ac_prog in convert
6210 # Extract the first word of "$ac_prog", so it can be a program name with args.
6211 set dummy $ac_prog; ac_word=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if ${ac_cv_prog_CONVERT+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6217 if test -n "$CONVERT"; then
6218 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_CONVERT="$ac_prog"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6233 IFS=$as_save_IFS
6237 CONVERT=$ac_cv_prog_CONVERT
6238 if test -n "$CONVERT"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6240 $as_echo "$CONVERT" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6247 test -n "$CONVERT" && break
6248 done
6249 test -n "$CONVERT" || CONVERT="false"
6251 for ac_prog in icotool
6253 # Extract the first word of "$ac_prog", so it can be a program name with args.
6254 set dummy $ac_prog; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if ${ac_cv_prog_ICOTOOL+:} false; then :
6258 $as_echo_n "(cached) " >&6
6259 else
6260 if test -n "$ICOTOOL"; then
6261 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6262 else
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 for as_dir in $PATH
6266 IFS=$as_save_IFS
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_ICOTOOL="$ac_prog"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 break 2
6274 done
6275 done
6276 IFS=$as_save_IFS
6280 ICOTOOL=$ac_cv_prog_ICOTOOL
6281 if test -n "$ICOTOOL"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6283 $as_echo "$ICOTOOL" >&6; }
6284 else
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6290 test -n "$ICOTOOL" && break
6291 done
6292 test -n "$ICOTOOL" || ICOTOOL="false"
6294 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6295 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6297 if test "$CONVERT" = false
6298 then
6299 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6302 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6303 convert_version=`convert --version | head -n1`
6304 if test "x$convert_version" != "x"
6305 then
6306 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6307 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6308 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6309 then
6310 CONVERT=false
6313 if test "$CONVERT" = false
6314 then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6316 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6317 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6318 else
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6320 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6324 if test "$ICOTOOL" = false
6325 then
6326 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6327 else
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6329 $as_echo_n "checking for recent enough icotool... " >&6; }
6330 icotool_version=`icotool --version | head -n1`
6331 if test "x$icotool_version" != "x"
6332 then
6333 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6334 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6335 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6336 then
6337 ICOTOOL=false
6338 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6341 if test "$ICOTOOL" = false
6342 then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6344 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6345 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6346 else
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6348 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6352 with_gettext=yes
6353 with_gettextpo=yes
6354 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6357 test "x$with_gettext" != xno || MSGFMT=false
6358 if test "$MSGFMT" != "false"
6359 then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6361 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6362 cat >conftest.po <<EOF
6363 # comment
6364 msgctxt "ctxt"
6365 msgid "id"
6366 msgstr "str"
6368 if $MSGFMT -o /dev/null conftest.po 2>&5
6369 then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6371 $as_echo "yes" >&6; }
6372 else
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6375 MSGFMT=false
6378 if test "$MSGFMT" = false; then :
6379 case "x$with_gettext" in
6380 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6381 xno) ;;
6382 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6383 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6384 esac
6385 enable_po=${enable_po:-no}
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6390 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6391 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-li386 $LIBS"
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6399 /* Override any GCC internal prototype to avoid an error.
6400 Use char because int might match the return type of a GCC
6401 builtin and then its argument prototype would still apply. */
6402 #ifdef __cplusplus
6403 extern "C"
6404 #endif
6405 char i386_set_ldt ();
6407 main ()
6409 return i386_set_ldt ();
6411 return 0;
6413 _ACEOF
6414 if ac_fn_c_try_link "$LINENO"; then :
6415 ac_cv_lib_i386_i386_set_ldt=yes
6416 else
6417 ac_cv_lib_i386_i386_set_ldt=no
6419 rm -f core conftest.err conftest.$ac_objext \
6420 conftest$ac_exeext conftest.$ac_ext
6421 LIBS=$ac_check_lib_save_LIBS
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6424 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6425 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6426 cat >>confdefs.h <<_ACEOF
6427 #define HAVE_LIBI386 1
6428 _ACEOF
6430 LIBS="-li386 $LIBS"
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6435 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6436 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 ac_check_lib_save_LIBS=$LIBS
6440 LIBS="-lossaudio $LIBS"
6441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6444 /* Override any GCC internal prototype to avoid an error.
6445 Use char because int might match the return type of a GCC
6446 builtin and then its argument prototype would still apply. */
6447 #ifdef __cplusplus
6448 extern "C"
6449 #endif
6450 char _oss_ioctl ();
6452 main ()
6454 return _oss_ioctl ();
6456 return 0;
6458 _ACEOF
6459 if ac_fn_c_try_link "$LINENO"; then :
6460 ac_cv_lib_ossaudio__oss_ioctl=yes
6461 else
6462 ac_cv_lib_ossaudio__oss_ioctl=no
6464 rm -f core conftest.err conftest.$ac_objext \
6465 conftest$ac_exeext conftest.$ac_ext
6466 LIBS=$ac_check_lib_save_LIBS
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6469 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6470 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6471 cat >>confdefs.h <<_ACEOF
6472 #define HAVE_LIBOSSAUDIO 1
6473 _ACEOF
6475 LIBS="-lossaudio $LIBS"
6480 OPENGL_LIBS=""
6484 # Check whether --enable-largefile was given.
6485 if test "${enable_largefile+set}" = set; then :
6486 enableval=$enable_largefile;
6489 if test "$enable_largefile" != no; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6492 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6493 if ${ac_cv_sys_largefile_CC+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 ac_cv_sys_largefile_CC=no
6497 if test "$GCC" != yes; then
6498 ac_save_CC=$CC
6499 while :; do
6500 # IRIX 6.2 and later do not support large files by default,
6501 # so use the C compiler's -n32 option if that helps.
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #include <sys/types.h>
6505 /* Check that off_t can represent 2**63 - 1 correctly.
6506 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6507 since some C++ compilers masquerading as C compilers
6508 incorrectly reject 9223372036854775807. */
6509 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6510 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6511 && LARGE_OFF_T % 2147483647 == 1)
6512 ? 1 : -1];
6514 main ()
6518 return 0;
6520 _ACEOF
6521 if ac_fn_c_try_compile "$LINENO"; then :
6522 break
6524 rm -f core conftest.err conftest.$ac_objext
6525 CC="$CC -n32"
6526 if ac_fn_c_try_compile "$LINENO"; then :
6527 ac_cv_sys_largefile_CC=' -n32'; break
6529 rm -f core conftest.err conftest.$ac_objext
6530 break
6531 done
6532 CC=$ac_save_CC
6533 rm -f conftest.$ac_ext
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6537 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6538 if test "$ac_cv_sys_largefile_CC" != no; then
6539 CC=$CC$ac_cv_sys_largefile_CC
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6543 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6544 if ${ac_cv_sys_file_offset_bits+:} false; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 while :; do
6548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6550 #include <sys/types.h>
6551 /* Check that off_t can represent 2**63 - 1 correctly.
6552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6553 since some C++ compilers masquerading as C compilers
6554 incorrectly reject 9223372036854775807. */
6555 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6557 && LARGE_OFF_T % 2147483647 == 1)
6558 ? 1 : -1];
6560 main ()
6564 return 0;
6566 _ACEOF
6567 if ac_fn_c_try_compile "$LINENO"; then :
6568 ac_cv_sys_file_offset_bits=no; break
6570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #define _FILE_OFFSET_BITS 64
6574 #include <sys/types.h>
6575 /* Check that off_t can represent 2**63 - 1 correctly.
6576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6577 since some C++ compilers masquerading as C compilers
6578 incorrectly reject 9223372036854775807. */
6579 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6581 && LARGE_OFF_T % 2147483647 == 1)
6582 ? 1 : -1];
6584 main ()
6588 return 0;
6590 _ACEOF
6591 if ac_fn_c_try_compile "$LINENO"; then :
6592 ac_cv_sys_file_offset_bits=64; break
6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6595 ac_cv_sys_file_offset_bits=unknown
6596 break
6597 done
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6600 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6601 case $ac_cv_sys_file_offset_bits in #(
6602 no | unknown) ;;
6604 cat >>confdefs.h <<_ACEOF
6605 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6606 _ACEOF
6608 esac
6609 rm -rf conftest*
6610 if test $ac_cv_sys_file_offset_bits = unknown; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6612 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6613 if ${ac_cv_sys_large_files+:} false; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 while :; do
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 /* Check that off_t can represent 2**63 - 1 correctly.
6621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6622 since some C++ compilers masquerading as C compilers
6623 incorrectly reject 9223372036854775807. */
6624 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6626 && LARGE_OFF_T % 2147483647 == 1)
6627 ? 1 : -1];
6629 main ()
6633 return 0;
6635 _ACEOF
6636 if ac_fn_c_try_compile "$LINENO"; then :
6637 ac_cv_sys_large_files=no; break
6639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #define _LARGE_FILES 1
6643 #include <sys/types.h>
6644 /* Check that off_t can represent 2**63 - 1 correctly.
6645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6646 since some C++ compilers masquerading as C compilers
6647 incorrectly reject 9223372036854775807. */
6648 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6650 && LARGE_OFF_T % 2147483647 == 1)
6651 ? 1 : -1];
6653 main ()
6657 return 0;
6659 _ACEOF
6660 if ac_fn_c_try_compile "$LINENO"; then :
6661 ac_cv_sys_large_files=1; break
6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6664 ac_cv_sys_large_files=unknown
6665 break
6666 done
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6669 $as_echo "$ac_cv_sys_large_files" >&6; }
6670 case $ac_cv_sys_large_files in #(
6671 no | unknown) ;;
6673 cat >>confdefs.h <<_ACEOF
6674 #define _LARGE_FILES $ac_cv_sys_large_files
6675 _ACEOF
6677 esac
6678 rm -rf conftest*
6685 ac_ext=c
6686 ac_cpp='$CPP $CPPFLAGS'
6687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6692 # On Suns, sometimes $CPP names a directory.
6693 if test -n "$CPP" && test -d "$CPP"; then
6694 CPP=
6696 if test -z "$CPP"; then
6697 if ${ac_cv_prog_CPP+:} false; then :
6698 $as_echo_n "(cached) " >&6
6699 else
6700 # Double quotes because CPP needs to be expanded
6701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6703 ac_preproc_ok=false
6704 for ac_c_preproc_warn_flag in '' yes
6706 # Use a header file that comes with gcc, so configuring glibc
6707 # with a fresh cross-compiler works.
6708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6709 # <limits.h> exists even on freestanding compilers.
6710 # On the NeXT, cc -E runs the code through the compiler's parser,
6711 # not just through cpp. "Syntax error" is here to catch this case.
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6714 #ifdef __STDC__
6715 # include <limits.h>
6716 #else
6717 # include <assert.h>
6718 #endif
6719 Syntax error
6720 _ACEOF
6721 if ac_fn_c_try_cpp "$LINENO"; then :
6723 else
6724 # Broken: fails on valid input.
6725 continue
6727 rm -f conftest.err conftest.i conftest.$ac_ext
6729 # OK, works on sane cases. Now check whether nonexistent headers
6730 # can be detected and how.
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6733 #include <ac_nonexistent.h>
6734 _ACEOF
6735 if ac_fn_c_try_cpp "$LINENO"; then :
6736 # Broken: success on invalid input.
6737 continue
6738 else
6739 # Passes both tests.
6740 ac_preproc_ok=:
6741 break
6743 rm -f conftest.err conftest.i conftest.$ac_ext
6745 done
6746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6747 rm -f conftest.i conftest.err conftest.$ac_ext
6748 if $ac_preproc_ok; then :
6749 break
6752 done
6753 ac_cv_prog_CPP=$CPP
6756 CPP=$ac_cv_prog_CPP
6757 else
6758 ac_cv_prog_CPP=$CPP
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6761 $as_echo "$CPP" >&6; }
6762 ac_preproc_ok=false
6763 for ac_c_preproc_warn_flag in '' yes
6765 # Use a header file that comes with gcc, so configuring glibc
6766 # with a fresh cross-compiler works.
6767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6768 # <limits.h> exists even on freestanding compilers.
6769 # On the NeXT, cc -E runs the code through the compiler's parser,
6770 # not just through cpp. "Syntax error" is here to catch this case.
6771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6773 #ifdef __STDC__
6774 # include <limits.h>
6775 #else
6776 # include <assert.h>
6777 #endif
6778 Syntax error
6779 _ACEOF
6780 if ac_fn_c_try_cpp "$LINENO"; then :
6782 else
6783 # Broken: fails on valid input.
6784 continue
6786 rm -f conftest.err conftest.i conftest.$ac_ext
6788 # OK, works on sane cases. Now check whether nonexistent headers
6789 # can be detected and how.
6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6792 #include <ac_nonexistent.h>
6793 _ACEOF
6794 if ac_fn_c_try_cpp "$LINENO"; then :
6795 # Broken: success on invalid input.
6796 continue
6797 else
6798 # Passes both tests.
6799 ac_preproc_ok=:
6800 break
6802 rm -f conftest.err conftest.i conftest.$ac_ext
6804 done
6805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6806 rm -f conftest.i conftest.err conftest.$ac_ext
6807 if $ac_preproc_ok; then :
6809 else
6810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6812 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6813 See \`config.log' for more details" "$LINENO" 5; }
6816 ac_ext=c
6817 ac_cpp='$CPP $CPPFLAGS'
6818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6824 $as_echo_n "checking for ANSI C header files... " >&6; }
6825 if ${ac_cv_header_stdc+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6830 #include <stdlib.h>
6831 #include <stdarg.h>
6832 #include <string.h>
6833 #include <float.h>
6836 main ()
6840 return 0;
6842 _ACEOF
6843 if ac_fn_c_try_compile "$LINENO"; then :
6844 ac_cv_header_stdc=yes
6845 else
6846 ac_cv_header_stdc=no
6848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6850 if test $ac_cv_header_stdc = yes; then
6851 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6854 #include <string.h>
6856 _ACEOF
6857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6858 $EGREP "memchr" >/dev/null 2>&1; then :
6860 else
6861 ac_cv_header_stdc=no
6863 rm -f conftest*
6867 if test $ac_cv_header_stdc = yes; then
6868 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 #include <stdlib.h>
6873 _ACEOF
6874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6875 $EGREP "free" >/dev/null 2>&1; then :
6877 else
6878 ac_cv_header_stdc=no
6880 rm -f conftest*
6884 if test $ac_cv_header_stdc = yes; then
6885 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6886 if test "$cross_compiling" = yes; then :
6888 else
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 #include <ctype.h>
6892 #include <stdlib.h>
6893 #if ((' ' & 0x0FF) == 0x020)
6894 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6895 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6896 #else
6897 # define ISLOWER(c) \
6898 (('a' <= (c) && (c) <= 'i') \
6899 || ('j' <= (c) && (c) <= 'r') \
6900 || ('s' <= (c) && (c) <= 'z'))
6901 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6902 #endif
6904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6906 main ()
6908 int i;
6909 for (i = 0; i < 256; i++)
6910 if (XOR (islower (i), ISLOWER (i))
6911 || toupper (i) != TOUPPER (i))
6912 return 2;
6913 return 0;
6915 _ACEOF
6916 if ac_fn_c_try_run "$LINENO"; then :
6918 else
6919 ac_cv_header_stdc=no
6921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6922 conftest.$ac_objext conftest.beam conftest.$ac_ext
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6928 $as_echo "$ac_cv_header_stdc" >&6; }
6929 if test $ac_cv_header_stdc = yes; then
6931 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6935 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6936 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6937 inttypes.h stdint.h unistd.h
6938 do :
6939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 _ACEOF
6949 done
6952 for ac_header in \
6953 AL/al.h \
6954 ApplicationServices/ApplicationServices.h \
6955 AudioToolbox/AudioConverter.h \
6956 AudioUnit/AudioUnit.h \
6957 AudioUnit/AudioComponent.h \
6958 CL/cl.h \
6959 Carbon/Carbon.h \
6960 CommonCrypto/CommonCryptor.h \
6961 CoreAudio/CoreAudio.h \
6962 CoreServices/CoreServices.h \
6963 DiskArbitration/DiskArbitration.h \
6964 EGL/egl.h \
6965 IOKit/IOKitLib.h \
6966 IOKit/hid/IOHIDLib.h \
6967 OpenAL/al.h \
6968 OpenCL/opencl.h \
6969 QuickTime/ImageCompression.h \
6970 Security/Security.h \
6971 alias.h \
6972 alsa/asoundlib.h \
6973 arpa/inet.h \
6974 arpa/nameser.h \
6975 asm/types.h \
6976 asm/user.h \
6977 curses.h \
6978 direct.h \
6979 dirent.h \
6980 dlfcn.h \
6981 elf.h \
6982 float.h \
6983 fnmatch.h \
6984 getopt.h \
6985 gettext-po.h \
6986 grp.h \
6987 gsm.h \
6988 gsm/gsm.h \
6989 ieeefp.h \
6990 inet/mib2.h \
6991 io.h \
6992 kstat.h \
6993 libproc.h \
6994 link.h \
6995 linux/cdrom.h \
6996 linux/compiler.h \
6997 linux/filter.h \
6998 linux/hdreg.h \
6999 linux/hidraw.h \
7000 linux/input.h \
7001 linux/ioctl.h \
7002 linux/joystick.h \
7003 linux/major.h \
7004 linux/param.h \
7005 linux/serial.h \
7006 linux/types.h \
7007 linux/ucdrom.h \
7008 lwp.h \
7009 mach-o/nlist.h \
7010 mach-o/loader.h \
7011 mach/mach.h \
7012 mach/machine.h \
7013 machine/cpu.h \
7014 machine/limits.h \
7015 machine/sysarch.h \
7016 mntent.h \
7017 ncurses.h \
7018 netdb.h \
7019 netinet/in.h \
7020 netinet/in_systm.h \
7021 netinet/tcp.h \
7022 netinet/tcp_fsm.h \
7023 pcap/pcap.h \
7024 poll.h \
7025 port.h \
7026 process.h \
7027 pthread.h \
7028 pwd.h \
7029 sched.h \
7030 scsi/scsi.h \
7031 scsi/scsi_ioctl.h \
7032 scsi/sg.h \
7033 stdbool.h \
7034 stdint.h \
7035 stropts.h \
7036 sys/asoundlib.h \
7037 sys/attr.h \
7038 sys/auxv.h \
7039 sys/cdio.h \
7040 sys/elf32.h \
7041 sys/epoll.h \
7042 sys/event.h \
7043 sys/exec_elf.h \
7044 sys/filio.h \
7045 sys/inotify.h \
7046 sys/ioctl.h \
7047 sys/ipc.h \
7048 sys/limits.h \
7049 sys/link.h \
7050 sys/mman.h \
7051 sys/modem.h \
7052 sys/msg.h \
7053 sys/mtio.h \
7054 sys/param.h \
7055 sys/poll.h \
7056 sys/prctl.h \
7057 sys/protosw.h \
7058 sys/ptrace.h \
7059 sys/queue.h \
7060 sys/resource.h \
7061 sys/scsiio.h \
7062 sys/shm.h \
7063 sys/signal.h \
7064 sys/socket.h \
7065 sys/socketvar.h \
7066 sys/sockio.h \
7067 sys/statvfs.h \
7068 sys/strtio.h \
7069 sys/syscall.h \
7070 sys/sysinfo.h \
7071 sys/tihdr.h \
7072 sys/time.h \
7073 sys/timeout.h \
7074 sys/times.h \
7075 sys/uio.h \
7076 sys/user.h \
7077 sys/utsname.h \
7078 sys/vnode.h \
7079 sys/wait.h \
7080 syscall.h \
7081 termios.h \
7082 unistd.h \
7083 utime.h \
7084 valgrind/memcheck.h \
7085 valgrind/valgrind.h \
7086 zlib.h
7088 do :
7089 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7090 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7092 cat >>confdefs.h <<_ACEOF
7093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7094 _ACEOF
7098 done
7100 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7101 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7103 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7108 if test $ac_cv_header_sys_mkdev_h = no; then
7109 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7110 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7112 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7119 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7120 if ${ac_cv_header_stat_broken+:} false; then :
7121 $as_echo_n "(cached) " >&6
7122 else
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <sys/types.h>
7126 #include <sys/stat.h>
7128 #if defined S_ISBLK && defined S_IFDIR
7129 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7130 #endif
7132 #if defined S_ISBLK && defined S_IFCHR
7133 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7134 #endif
7136 #if defined S_ISLNK && defined S_IFREG
7137 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7138 #endif
7140 #if defined S_ISSOCK && defined S_IFREG
7141 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7142 #endif
7144 _ACEOF
7145 if ac_fn_c_try_compile "$LINENO"; then :
7146 ac_cv_header_stat_broken=no
7147 else
7148 ac_cv_header_stat_broken=yes
7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7153 $as_echo "$ac_cv_header_stat_broken" >&6; }
7154 if test $ac_cv_header_stat_broken = yes; then
7156 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7162 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7163 do :
7164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7165 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7166 #ifdef HAVE_SYS_PARAM_H
7167 # include <sys/param.h>
7168 #endif
7170 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7171 cat >>confdefs.h <<_ACEOF
7172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7173 _ACEOF
7177 done
7180 for ac_header in \
7181 netinet/ip.h \
7182 net/if.h \
7183 net/if_arp.h \
7184 net/if_dl.h \
7185 net/if_types.h \
7186 net/route.h \
7187 netinet/if_ether.h \
7188 netinet/if_inarp.h \
7189 netinet/in_pcb.h \
7190 netinet/ip_icmp.h \
7191 netinet/ip_var.h \
7192 netinet/udp.h \
7193 netipx/ipx.h \
7194 sys/un.h \
7196 do :
7197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7198 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7199 #ifdef HAVE_SYS_SOCKET_H
7200 # include <sys/socket.h>
7201 #endif
7202 #ifdef HAVE_SYS_SOCKETVAR_H
7203 # include <sys/socketvar.h>
7204 #endif
7205 #ifdef HAVE_NET_ROUTE_H
7206 # include <net/route.h>
7207 #endif
7208 #ifdef HAVE_NETINET_IN_H
7209 # include <netinet/in.h>
7210 #endif
7211 #ifdef HAVE_NETINET_IN_SYSTM_H
7212 # include <netinet/in_systm.h>
7213 #endif
7214 #ifdef HAVE_NET_IF_H
7215 # include <net/if.h>
7216 #endif
7217 #ifdef HAVE_NETINET_IP_H
7218 # include <netinet/ip.h>
7219 #endif
7221 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7224 _ACEOF
7228 done
7231 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7232 do :
7233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7235 #ifdef HAVE_ALIAS_H
7236 # include <alias.h>
7237 #endif
7238 #ifdef HAVE_SYS_SOCKET_H
7239 # include <sys/socket.h>
7240 #endif
7241 #ifdef HAVE_SYS_SOCKETVAR_H
7242 # include <sys/socketvar.h>
7243 #endif
7244 #ifdef HAVE_SYS_TIMEOUT_H
7245 # include <sys/timeout.h>
7246 #endif
7247 #ifdef HAVE_NETINET_IN_H
7248 # include <netinet/in.h>
7249 #endif
7250 #ifdef HAVE_NETINET_IN_SYSTM_H
7251 # include <netinet/in_systm.h>
7252 #endif
7253 #ifdef HAVE_NETINET_IP_H
7254 # include <netinet/ip.h>
7255 #endif
7256 #ifdef HAVE_NETINET_IP_VAR_H
7257 # include <netinet/ip_var.h>
7258 #endif
7259 #ifdef HAVE_NETINET_IP_ICMP_H
7260 # include <netinet/ip_icmp.h>
7261 #endif
7262 #ifdef HAVE_NETINET_UDP_H
7263 # include <netinet/udp.h>
7264 #endif
7265 #ifdef HAVE_NETINET_TCP_H
7266 # include <netinet/tcp.h>
7267 #endif
7268 #ifdef HAVE_NETINET_TCP_TIMER_H
7269 #include <netinet/tcp_timer.h>
7270 #endif
7272 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7273 cat >>confdefs.h <<_ACEOF
7274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 _ACEOF
7279 done
7282 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7283 do :
7284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7286 #ifdef HAVE_ASM_TYPES_H
7287 # include <asm/types.h>
7288 #endif
7289 #ifdef HAVE_SYS_SOCKET_H
7290 # include <sys/socket.h>
7291 #endif
7292 #ifdef HAVE_LINUX_TYPES_H
7293 # include <linux/types.h>
7294 #endif
7296 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7297 cat >>confdefs.h <<_ACEOF
7298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7299 _ACEOF
7303 done
7306 for ac_header in mach-o/dyld_images.h
7307 do :
7308 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7309 # include <stdbool.h>
7310 #endif
7311 #ifdef HAVE_STDINT_H
7312 # include <stdint.h>
7313 #endif
7315 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7316 cat >>confdefs.h <<_ACEOF
7317 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7318 _ACEOF
7322 done
7325 for ac_header in resolv.h
7326 do :
7327 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7328 #ifdef HAVE_SYS_SOCKET_H
7329 # include <sys/socket.h>
7330 #endif
7331 #ifdef HAVE_NETINET_IN_H
7332 # include <netinet/in.h>
7333 #endif
7334 #ifdef HAVE_ARPA_NAMESER_H
7335 # include <arpa/nameser.h>
7336 #endif
7338 if test "x$ac_cv_header_resolv_h" = xyes; then :
7339 cat >>confdefs.h <<_ACEOF
7340 #define HAVE_RESOLV_H 1
7341 _ACEOF
7345 done
7348 for ac_header in ifaddrs.h
7349 do :
7350 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7352 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7353 cat >>confdefs.h <<_ACEOF
7354 #define HAVE_IFADDRS_H 1
7355 _ACEOF
7359 done
7362 for ac_header in sys/ucontext.h
7363 do :
7364 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7366 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define HAVE_SYS_UCONTEXT_H 1
7369 _ACEOF
7373 done
7376 for ac_header in sys/thr.h
7377 do :
7378 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7379 #ifdef HAVE_SYS_UCONTEXT_H
7380 #include <sys/ucontext.h>
7381 #endif
7383 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7384 cat >>confdefs.h <<_ACEOF
7385 #define HAVE_SYS_THR_H 1
7386 _ACEOF
7390 done
7393 for ac_header in pthread_np.h
7394 do :
7395 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7396 #include <pthread.h>
7397 #endif
7399 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7400 cat >>confdefs.h <<_ACEOF
7401 #define HAVE_PTHREAD_NP_H 1
7402 _ACEOF
7406 done
7409 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7410 do :
7411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7412 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7413 #include <sys/time.h>
7414 #endif
7415 #include <sys/types.h>
7416 #ifdef HAVE_ASM_TYPES_H
7417 #include <asm/types.h>
7418 #endif
7420 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7421 cat >>confdefs.h <<_ACEOF
7422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7423 _ACEOF
7427 done
7430 for ac_header in libprocstat.h
7431 do :
7432 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7433 #include <sys/param.h>
7434 #endif
7435 #ifdef HAVE_SYS_QUEUE_H
7436 #include <sys/queue.h>
7437 #endif
7438 #ifdef HAVE_SYS_SOCKET_H
7439 #include <sys/socket.h>
7440 #endif
7442 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7443 cat >>confdefs.h <<_ACEOF
7444 #define HAVE_LIBPROCSTAT_H 1
7445 _ACEOF
7449 done
7453 dlldir="\${libdir}/wine"
7455 DLLFLAGS="-D_REENTRANT"
7457 LDRPATH_INSTALL=""
7459 LDRPATH_LOCAL=""
7461 LDEXECFLAGS=""
7463 WINELOADER_LDFLAGS=""
7465 LIBEXT="so"
7466 DLLEXT=".so"
7467 IMPLIBEXT="def"
7468 # Extract the first word of "ldd", so it can be a program name with args.
7469 set dummy ldd; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if ${ac_cv_path_LDD+:} false; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 case $LDD in
7476 [\\/]* | ?:[\\/]*)
7477 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 as_dummy="/sbin:/usr/sbin:$PATH"
7482 for as_dir in $as_dummy
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7496 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7498 esac
7500 LDD=$ac_cv_path_LDD
7501 if test -n "$LDD"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7503 $as_echo "$LDD" >&6; }
7504 else
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}otool; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if ${ac_cv_prog_OTOOL+:} false; then :
7516 $as_echo_n "(cached) " >&6
7517 else
7518 if test -n "$OTOOL"; then
7519 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7520 else
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH
7524 IFS=$as_save_IFS
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530 break 2
7532 done
7533 done
7534 IFS=$as_save_IFS
7538 OTOOL=$ac_cv_prog_OTOOL
7539 if test -n "$OTOOL"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7541 $as_echo "$OTOOL" >&6; }
7542 else
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7549 if test -z "$ac_cv_prog_OTOOL"; then
7550 ac_ct_OTOOL=$OTOOL
7551 # Extract the first word of "otool", so it can be a program name with args.
7552 set dummy otool; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7556 $as_echo_n "(cached) " >&6
7557 else
7558 if test -n "$ac_ct_OTOOL"; then
7559 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7560 else
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 for as_dir in $PATH
7564 IFS=$as_save_IFS
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_ac_ct_OTOOL="otool"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 break 2
7572 done
7573 done
7574 IFS=$as_save_IFS
7578 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7579 if test -n "$ac_ct_OTOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7581 $as_echo "$ac_ct_OTOOL" >&6; }
7582 else
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7587 if test "x$ac_ct_OTOOL" = x; then
7588 OTOOL="otool"
7589 else
7590 case $cross_compiling:$ac_tool_warned in
7591 yes:)
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned=yes ;;
7595 esac
7596 OTOOL=$ac_ct_OTOOL
7598 else
7599 OTOOL="$ac_cv_prog_OTOOL"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if ${ac_cv_prog_READELF+:} false; then :
7608 $as_echo_n "(cached) " >&6
7609 else
7610 if test -n "$READELF"; then
7611 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7612 else
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 for as_dir in $PATH
7616 IFS=$as_save_IFS
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622 break 2
7624 done
7625 done
7626 IFS=$as_save_IFS
7630 READELF=$ac_cv_prog_READELF
7631 if test -n "$READELF"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7633 $as_echo "$READELF" >&6; }
7634 else
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7641 if test -z "$ac_cv_prog_READELF"; then
7642 ac_ct_READELF=$READELF
7643 # Extract the first word of "readelf", so it can be a program name with args.
7644 set dummy readelf; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7648 $as_echo_n "(cached) " >&6
7649 else
7650 if test -n "$ac_ct_READELF"; then
7651 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7652 else
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 for as_dir in $PATH
7656 IFS=$as_save_IFS
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_ac_ct_READELF="readelf"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 break 2
7664 done
7665 done
7666 IFS=$as_save_IFS
7670 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7671 if test -n "$ac_ct_READELF"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7673 $as_echo "$ac_ct_READELF" >&6; }
7674 else
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7679 if test "x$ac_ct_READELF" = x; then
7680 READELF="true"
7681 else
7682 case $cross_compiling:$ac_tool_warned in
7683 yes:)
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7686 ac_tool_warned=yes ;;
7687 esac
7688 READELF=$ac_ct_READELF
7690 else
7691 READELF="$ac_cv_prog_READELF"
7694 wine_rules_file=conf$$rules.make
7695 rm -f $wine_rules_file
7696 SUBDIRS=""
7698 DISABLED_SUBDIRS=""
7700 CONFIGURE_TARGETS=""
7702 ALL_TEST_RESOURCES=""
7705 wine_fn_append_file ()
7707 as_fn_append $1 " \\$as_nl $2"
7710 wine_fn_append_rule ()
7712 $as_echo "$1" >>$wine_rules_file
7715 wine_fn_has_flag ()
7717 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7720 wine_fn_all_rules ()
7722 wine_fn_append_file SUBDIRS $ac_dir
7723 wine_fn_append_rule \
7724 "all: $ac_dir
7725 .PHONY: $ac_dir
7726 $ac_dir: dummy
7727 @cd $ac_dir && \$(MAKE)"
7730 wine_fn_install_rules ()
7732 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7734 wine_fn_append_rule \
7735 ".PHONY: $ac_dir/install $ac_dir/uninstall
7736 $ac_dir/install:: $ac_dir
7737 @cd $ac_dir && \$(MAKE) install
7738 $ac_dir/uninstall::
7739 @cd $ac_dir && \$(MAKE) uninstall
7740 install:: $ac_dir/install
7741 __uninstall__: $ac_dir/uninstall"
7743 if wine_fn_has_flag install-lib
7744 then
7745 wine_fn_append_rule \
7746 ".PHONY: $ac_dir/install-lib
7747 $ac_dir/install-lib:: $ac_dir
7748 @cd $ac_dir && \$(MAKE) install-lib
7749 install-lib:: $ac_dir/install-lib"
7752 if wine_fn_has_flag install-dev
7753 then
7754 wine_fn_append_rule \
7755 ".PHONY: $ac_dir/install-dev
7756 $ac_dir/install-dev:: $ac_dir
7757 @cd $ac_dir && \$(MAKE) install-dev
7758 install-dev:: $ac_dir/install-dev"
7762 wine_fn_disabled_rules ()
7764 wine_fn_append_file SUBDIRS $ac_dir
7765 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7768 wine_fn_config_makefile ()
7770 ac_dir=$1
7771 ac_enable=$2
7772 ac_flags=$3
7774 case $ac_dir in
7775 fonts|server) test -z "$with_wine64" || return ;;
7776 esac
7777 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7778 wine_fn_disabled_rules; return
7780 wine_fn_all_rules
7781 wine_fn_install_rules
7784 wine_fn_config_lib ()
7786 ac_name=$1
7787 ac_flags=$2
7788 ac_dir=dlls/$ac_name
7789 ac_deps="include"
7791 if test "x$enable_tools" = xno; then :
7793 else
7794 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7796 wine_fn_all_rules
7798 wine_fn_append_rule \
7799 ".PHONY: $ac_dir/install $ac_dir/uninstall
7800 $ac_dir/install:: $ac_dir
7801 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7802 $ac_dir/uninstall::
7803 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7804 install install-dev:: $ac_dir/install
7805 __uninstall__: $ac_dir/uninstall
7806 __builddeps__: $ac_dir
7807 $ac_dir: $ac_deps"
7810 wine_fn_config_dll ()
7812 ac_name=$1
7813 ac_dir=dlls/$ac_name
7814 ac_enable=$2
7815 ac_flags=$3
7816 ac_implib=${4:-$ac_name}
7817 ac_file=$ac_dir/lib$ac_implib
7818 ac_dll=$ac_name
7819 ac_deps="include"
7820 ac_implibflags=""
7822 if test "x$enable_tools" = xno; then :
7824 else
7825 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7827 case $ac_name in
7828 *.*16) ac_implibflags=" -m16" ;;
7829 *.*) ;;
7830 *) ac_dll=$ac_dll.dll ;;
7831 esac
7833 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7834 if test "$ac_enable" != enable_win16
7835 then
7836 wine_fn_append_file SUBDIRS $ac_dir
7837 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7838 else
7839 wine_fn_disabled_rules
7840 return
7842 else
7843 wine_fn_all_rules
7844 wine_fn_append_rule \
7845 "$ac_dir: __builddeps__
7846 manpages htmlpages sgmlpages xmlpages::
7847 @cd $ac_dir && \$(MAKE) \$@
7848 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7849 install install-lib:: $ac_dir/install-lib
7850 __uninstall__: $ac_dir/uninstall"
7851 if test -n "$DLLEXT"
7852 then
7853 wine_fn_append_rule \
7854 "$ac_dir/install-lib:: $ac_dir
7855 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7856 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7857 $ac_dir/uninstall::
7858 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7859 else
7860 wine_fn_append_rule \
7861 "$ac_dir/install-lib:: $ac_dir
7862 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7863 $ac_dir/uninstall::
7864 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7868 if wine_fn_has_flag staticimplib
7869 then
7870 wine_fn_append_rule \
7871 "__builddeps__: $ac_file.a
7872 $ac_file.a $ac_file.cross.a: $ac_deps
7873 $ac_file.a: dummy
7874 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7875 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7876 $ac_dir/install-dev:: $ac_file.a
7877 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7878 $ac_dir/uninstall::
7879 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7880 install install-dev:: $ac_dir/install-dev
7881 __uninstall__: $ac_dir/uninstall"
7883 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7884 then
7885 wine_fn_append_rule \
7886 "__builddeps__: $ac_file.cross.a
7887 $ac_file.cross.a: dummy
7888 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7891 elif wine_fn_has_flag implib
7892 then
7893 wine_fn_append_rule \
7894 "__builddeps__: $ac_file.$IMPLIBEXT
7895 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7896 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7897 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7898 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7899 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7900 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7901 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7902 $ac_dir/uninstall::
7903 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7904 install install-dev:: $ac_dir/install-dev
7905 __uninstall__: $ac_dir/uninstall"
7906 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7907 then
7908 wine_fn_append_rule \
7909 "__builddeps__: $ac_file.cross.a
7910 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7911 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7916 wine_fn_config_program ()
7918 ac_name=$1
7919 ac_dir=programs/$ac_name
7920 ac_enable=$2
7921 ac_flags=$3
7922 ac_program=$ac_name
7924 case $ac_name in
7925 *.*) ;;
7926 *) ac_program=$ac_program.exe ;;
7927 esac
7929 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7930 wine_fn_disabled_rules; return
7933 wine_fn_all_rules
7934 wine_fn_append_rule "$ac_dir: __builddeps__"
7936 wine_fn_has_flag install || return
7937 wine_fn_append_rule \
7938 ".PHONY: $ac_dir/install $ac_dir/uninstall
7939 install install-lib:: $ac_dir/install
7940 __uninstall__: $ac_dir/uninstall"
7942 if test -n "$DLLEXT"
7943 then
7944 wine_fn_append_rule \
7945 "$ac_dir/install:: $ac_dir
7946 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7947 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7948 $ac_dir/uninstall::
7949 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7951 if test -z "$with_wine64" && wine_fn_has_flag installbin
7952 then
7953 wine_fn_append_rule \
7954 "$ac_dir/install:: __tooldeps__
7955 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7956 $ac_dir/uninstall::
7957 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7959 else
7960 wine_fn_append_rule \
7961 "$ac_dir/install:: $ac_dir
7962 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7963 $ac_dir/uninstall::
7964 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7967 if test -z "$with_wine64" && wine_fn_has_flag manpage
7968 then
7969 wine_fn_append_rule \
7970 "$ac_dir/install:: $ac_dir
7971 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7972 $ac_dir/uninstall::
7973 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7977 wine_fn_config_test ()
7979 ac_dir=$1
7980 ac_name=$2
7981 ac_flags=$3
7983 if test "x$enable_tests" = xno; then :
7984 wine_fn_disabled_rules; return
7987 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7988 wine_fn_all_rules
7990 wine_fn_append_rule \
7991 "$ac_dir: __builddeps__
7992 programs/winetest: $ac_dir
7993 check test: $ac_dir/test
7994 .PHONY: $ac_dir/test
7995 $ac_dir/test: dummy
7996 @cd $ac_dir && \$(MAKE) test"
7998 if test -n "$CROSSTARGET"
7999 then
8000 wine_fn_append_rule \
8001 "crosstest: $ac_dir/crosstest
8002 .PHONY: $ac_dir/crosstest
8003 $ac_dir/crosstest: __builddeps__ dummy
8004 @cd $ac_dir && \$(MAKE) crosstest"
8008 wine_fn_config_tool ()
8010 ac_dir=$1
8011 ac_flags=$2
8012 if test "x$enable_tools" = xno; then :
8013 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8016 wine_fn_all_rules
8017 wine_fn_install_rules
8019 wine_fn_append_rule "__tooldeps__: $ac_dir"
8020 wine_fn_append_rule "$ac_dir: libs/port"
8021 case $ac_dir in
8022 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8023 esac
8026 wine_fn_config_symlink ()
8028 ac_linkdir=
8029 if test "x$1" = "x-d"
8030 then
8031 ac_linkdir=$2
8032 shift; shift
8034 ac_links=$@
8035 wine_fn_append_rule \
8036 "$ac_links:
8037 @./config.status \$@"
8038 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8039 test -n "$ac_linkdir" || return
8040 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8043 wine_binary="wine"
8044 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8045 WINELOADER_PROGRAMS="$wine_binary"
8047 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8049 case $host_os in
8050 cygwin*|mingw32*)
8051 if test -n "$ac_tool_prefix"; then
8052 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8053 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_prog_DLLTOOL+:} false; then :
8057 $as_echo_n "(cached) " >&6
8058 else
8059 if test -n "$DLLTOOL"; then
8060 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8061 else
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 for as_dir in $PATH
8065 IFS=$as_save_IFS
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 break 2
8073 done
8074 done
8075 IFS=$as_save_IFS
8079 DLLTOOL=$ac_cv_prog_DLLTOOL
8080 if test -n "$DLLTOOL"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8082 $as_echo "$DLLTOOL" >&6; }
8083 else
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8090 if test -z "$ac_cv_prog_DLLTOOL"; then
8091 ac_ct_DLLTOOL=$DLLTOOL
8092 # Extract the first word of "dlltool", so it can be a program name with args.
8093 set dummy dlltool; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8097 $as_echo_n "(cached) " >&6
8098 else
8099 if test -n "$ac_ct_DLLTOOL"; then
8100 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8101 else
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103 for as_dir in $PATH
8105 IFS=$as_save_IFS
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8109 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8111 break 2
8113 done
8114 done
8115 IFS=$as_save_IFS
8119 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8120 if test -n "$ac_ct_DLLTOOL"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8122 $as_echo "$ac_ct_DLLTOOL" >&6; }
8123 else
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8128 if test "x$ac_ct_DLLTOOL" = x; then
8129 DLLTOOL="false"
8130 else
8131 case $cross_compiling:$ac_tool_warned in
8132 yes:)
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8135 ac_tool_warned=yes ;;
8136 esac
8137 DLLTOOL=$ac_ct_DLLTOOL
8139 else
8140 DLLTOOL="$ac_cv_prog_DLLTOOL"
8143 LIBEXT="dll"
8144 DLLEXT=""
8145 IMPLIBEXT="a"
8146 enable_iphlpapi=${enable_iphlpapi:-no}
8147 enable_kernel32=${enable_kernel32:-no}
8148 enable_msvcrt=${enable_msvcrt:-no}
8149 enable_ntdll=${enable_ntdll:-no}
8150 enable_ws2_32=${enable_ws2_32:-no}
8151 enable_loader=${enable_loader:-no}
8152 enable_server=${enable_server:-no}
8153 with_x=${with_x:-no}
8154 with_pthread=${with_pthread:-no}
8156 crtlibs=""
8157 case $host_os in
8158 mingw32*)
8159 crtlibs="-lmsvcrt"
8160 SOCKET_LIBS="-lws2_32"
8162 esac
8164 LIBWINE_SHAREDLIB="libwine.dll"
8166 LIBWINE_IMPORTLIB="libwine.a"
8168 LIBWINE_INSTALL_LIB="libwine.dll"
8170 LIBWINE_INSTALL_DEV="libwine.a"
8172 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8174 LIBWINE_DEPENDS="wine.def"
8178 darwin*|macosx*)
8179 for ac_header in libunwind.h
8180 do :
8181 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8183 cat >>confdefs.h <<_ACEOF
8184 #define HAVE_LIBUNWIND_H 1
8185 _ACEOF
8189 done
8191 LIBEXT="dylib"
8192 DLLFLAGS="$DLLFLAGS -fPIC"
8193 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8194 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8195 COREFOUNDATION_LIBS="-framework CoreFoundation"
8197 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8199 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8201 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8203 CORESERVICES_LIBS="-framework CoreServices"
8205 APPKIT_LIBS="-framework AppKit"
8207 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8209 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8210 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 ac_wine_try_cflags_saved=$CFLAGS
8214 CFLAGS="$CFLAGS -Wl,-no_pie"
8215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8218 _ACEOF
8219 if ac_fn_c_try_link "$LINENO"; then :
8220 ac_cv_cflags__Wl__no_pie=yes
8221 else
8222 ac_cv_cflags__Wl__no_pie=no
8224 rm -f core conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 CFLAGS=$ac_wine_try_cflags_saved
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8229 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8230 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8231 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8233 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8234 then
8235 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8238 if test "$ac_cv_header_Security_Security_h" = "yes"
8239 then
8240 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8242 ac_save_LIBS="$LIBS"
8243 LIBS="$LIBS $SECURITY_LIBS"
8244 for ac_func in SSLCopyPeerCertificates
8245 do :
8246 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8247 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8248 cat >>confdefs.h <<_ACEOF
8249 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8250 _ACEOF
8253 done
8255 LIBS="$ac_save_LIBS"
8256 with_gnutls=${with_gnutls:-no}
8258 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8259 then
8260 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8261 then
8262 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8264 else
8265 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8268 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8269 ac_save_LIBS="$LIBS"
8270 LIBS="$LIBS $COREAUDIO_LIBS"
8271 for ac_func in AUGraphAddNode
8272 do :
8273 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8274 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8275 cat >>confdefs.h <<_ACEOF
8276 #define HAVE_AUGRAPHADDNODE 1
8277 _ACEOF
8280 done
8282 LIBS="$ac_save_LIBS"
8284 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8285 then
8286 OPENAL_LIBS="-framework OpenAL"
8289 cat >>confdefs.h <<_ACEOF
8290 #define HAVE_OPENAL 1
8291 _ACEOF
8293 ac_cv_lib_openal=yes
8295 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8296 then
8297 OPENCL_LIBS="-framework OpenCL"
8299 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8301 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8302 then
8303 ac_save_LIBS="$LIBS"
8304 LIBS="$LIBS $IOKIT_LIBS"
8305 for ac_func in IOHIDManagerCreate
8306 do :
8307 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8308 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8309 cat >>confdefs.h <<_ACEOF
8310 #define HAVE_IOHIDMANAGERCREATE 1
8311 _ACEOF
8314 done
8316 LIBS="$ac_save_LIBS"
8318 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8319 then
8320 ac_save_LIBS="$LIBS"
8321 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8323 $as_echo_n "checking for the QuickTime framework... " >&6; }
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 #include <QuickTime/ImageCompression.h>
8328 main ()
8330 CodecManagerVersion(NULL);
8332 return 0;
8334 _ACEOF
8335 if ac_fn_c_try_link "$LINENO"; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8337 $as_echo "yes" >&6; }
8338 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8340 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8341 else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8344 ac_cv_header_QuickTime_ImageCompression_h=no
8346 rm -f core conftest.err conftest.$ac_objext \
8347 conftest$ac_exeext conftest.$ac_ext
8348 LIBS="$ac_save_LIBS"
8350 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8351 then
8352 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8354 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8355 then
8356 CARBON_LIBS="-framework Carbon"
8360 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8361 then
8362 ac_save_LIBS="$LIBS"
8363 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8364 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8365 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8366 enable_winemac_drv=${enable_winemac_drv:-yes}
8369 LIBS="$ac_save_LIBS"
8372 if test "x$enable_win16" = "xyes"
8373 then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8375 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8376 if test "$cross_compiling" = yes; then :
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8378 $as_echo "cross-compiling, assuming yes" >&6; }
8379 else
8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8382 asm(".text\n"
8383 "bad:\tnop;nop\n"
8384 "good:\tnop;nop\n\t"
8385 ".globl _testfunc\n"
8386 "_testfunc:\tcallw good");
8387 extern void testfunc();
8389 main ()
8391 unsigned short *p = (unsigned short *)testfunc;
8392 return p[0] != 0xe866 || p[1] != 0xfffa
8394 return 0;
8396 _ACEOF
8397 if ac_fn_c_try_run "$LINENO"; then :
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8399 $as_echo "yes" >&6; }
8400 else
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8403 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
8405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8406 conftest.$ac_objext conftest.beam conftest.$ac_ext
8411 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8413 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8415 LIBWINE_INSTALL_DEV="libwine.dylib"
8417 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8419 WINELOADER_DEPENDS="wine_info.plist"
8423 linux-android*)
8424 DLLFLAGS="$DLLFLAGS -fPIC"
8425 LDEXECFLAGS="-Wl,-pie"
8426 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8428 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8429 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8430 $as_echo_n "(cached) " >&6
8431 else
8432 ac_wine_try_cflags_saved=$CFLAGS
8433 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8436 int main(int argc, char **argv) { return 0; }
8437 _ACEOF
8438 if ac_fn_c_try_link "$LINENO"; then :
8439 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8440 else
8441 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8443 rm -f core conftest.err conftest.$ac_objext \
8444 conftest$ac_exeext conftest.$ac_ext
8445 CFLAGS=$ac_wine_try_cflags_saved
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8448 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8449 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8450 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8452 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8454 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8455 if eval \${$as_ac_var+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 eval "$as_ac_var=yes"
8466 else
8467 eval "$as_ac_var=no"
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 eval ac_res=\$$as_ac_var
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8475 $as_echo "$ac_res" >&6; }
8476 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8477 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8478 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8479 else
8480 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8482 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8483 if eval \${$as_ac_var+:} false; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_wine_try_cflags_saved=$CFLAGS
8487 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 eval "$as_ac_var=yes"
8494 else
8495 eval "$as_ac_var=no"
8497 rm -f core conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 CFLAGS=$ac_wine_try_cflags_saved
8501 eval ac_res=\$$as_ac_var
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8503 $as_echo "$ac_res" >&6; }
8504 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8505 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8506 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8510 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8511 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8519 _ACEOF
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 ac_cv_cflags__Wl___enable_new_dtags=yes
8522 else
8523 ac_cv_cflags__Wl___enable_new_dtags=no
8525 rm -f core conftest.err conftest.$ac_objext \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8530 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8531 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8532 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8535 LIBWINE_SHAREDLIB="libwine.so"
8537 LIBWINE_INSTALL_LIB="libwine.so"
8539 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8543 $as_echo_n "checking for -lEGL... " >&6; }
8544 if ${ac_cv_lib_soname_EGL+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_check_soname_save_LIBS=$LIBS
8548 LIBS="-lEGL $LIBS"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 /* Override any GCC internal prototype to avoid an error.
8553 Use char because int might match the return type of a GCC
8554 builtin and then its argument prototype would still apply. */
8555 #ifdef __cplusplus
8556 extern "C"
8557 #endif
8558 char eglGetProcAddress ();
8560 main ()
8562 return eglGetProcAddress ();
8564 return 0;
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 case "$LIBEXT" in
8569 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8570 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'` ;;
8571 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8572 if ${ac_cv_lib_soname_EGL:+false} :; then :
8573 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8574 fi ;;
8575 esac
8577 rm -f core conftest.err conftest.$ac_objext \
8578 conftest$ac_exeext conftest.$ac_ext
8579 LIBS=$ac_check_soname_save_LIBS
8581 if ${ac_cv_lib_soname_EGL:+false} :; then :
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8583 $as_echo "not found" >&6; }
8585 else
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8587 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8589 cat >>confdefs.h <<_ACEOF
8590 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8591 _ACEOF
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8596 $as_echo_n "checking for -lGLESv2... " >&6; }
8597 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_check_soname_save_LIBS=$LIBS
8601 LIBS="-lGLESv2 $LIBS"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8605 /* Override any GCC internal prototype to avoid an error.
8606 Use char because int might match the return type of a GCC
8607 builtin and then its argument prototype would still apply. */
8608 #ifdef __cplusplus
8609 extern "C"
8610 #endif
8611 char glFlush ();
8613 main ()
8615 return glFlush ();
8617 return 0;
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 case "$LIBEXT" in
8622 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8623 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'` ;;
8624 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8625 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8626 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8627 fi ;;
8628 esac
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 LIBS=$ac_check_soname_save_LIBS
8634 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8636 $as_echo "not found" >&6; }
8638 else
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8640 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8642 cat >>confdefs.h <<_ACEOF
8643 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8644 _ACEOF
8649 if test "x$exec_prefix" = xNONE
8650 then
8651 case $host_cpu in
8652 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8653 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8654 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8655 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8656 esac
8661 DLLFLAGS="$DLLFLAGS -fPIC"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8663 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8664 if ${ac_cv_c_dll_gnuelf+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 void myfunc() {}
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_c_dll_gnuelf="yes"
8675 else
8676 ac_cv_c_dll_gnuelf="no"
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8683 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8684 if test "$ac_cv_c_dll_gnuelf" = "yes"
8685 then
8686 LIBWINE_LDFLAGS="-shared"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8688 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8689 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 int main(int argc, char **argv) { return 0; }
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8700 else
8701 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8708 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8709 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8710 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8711 else
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8713 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8714 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8725 else
8726 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8733 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8734 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8735 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8739 echo '{ global: *; };' >conftest.map
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8741 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8742 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8753 else
8754 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8761 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8762 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8763 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8765 rm -f conftest.map
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8768 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8769 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8780 else
8781 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8788 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8789 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8790 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8793 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8795 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8796 if eval \${$as_ac_var+:} false; then :
8797 $as_echo_n "(cached) " >&6
8798 else
8799 ac_wine_try_cflags_saved=$CFLAGS
8800 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8803 int main(int argc, char **argv) { return 0; }
8804 _ACEOF
8805 if ac_fn_c_try_link "$LINENO"; then :
8806 eval "$as_ac_var=yes"
8807 else
8808 eval "$as_ac_var=no"
8810 rm -f core conftest.err conftest.$ac_objext \
8811 conftest$ac_exeext conftest.$ac_ext
8812 CFLAGS=$ac_wine_try_cflags_saved
8814 eval ac_res=\$$as_ac_var
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8816 $as_echo "$ac_res" >&6; }
8817 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8818 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8819 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8820 else
8821 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8823 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8824 if eval \${$as_ac_var+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 eval "$as_ac_var=yes"
8835 else
8836 eval "$as_ac_var=no"
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 eval ac_res=\$$as_ac_var
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8844 $as_echo "$ac_res" >&6; }
8845 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8846 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8847 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8852 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8853 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 int main(int argc, char **argv) { return 0; }
8861 _ACEOF
8862 if ac_fn_c_try_link "$LINENO"; then :
8863 ac_cv_cflags__Wl___enable_new_dtags=yes
8864 else
8865 ac_cv_cflags__Wl___enable_new_dtags=no
8867 rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869 CFLAGS=$ac_wine_try_cflags_saved
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8872 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8873 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8874 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8877 case $host_cpu in
8878 *i[3456789]86* | x86_64 | *aarch64*)
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8880 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8881 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 ac_wine_try_cflags_saved=$CFLAGS
8885 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8888 int main(int argc, char **argv) { return 0; }
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8892 else
8893 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8897 CFLAGS=$ac_wine_try_cflags_saved
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8900 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8901 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8902 case $host_os in
8903 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8904 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8905 esac
8906 else
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8908 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8909 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 ac_wine_try_cflags_saved=$CFLAGS
8913 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8916 int main(int argc, char **argv) { return 0; }
8917 _ACEOF
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8920 else
8921 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8923 rm -f core conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8925 CFLAGS=$ac_wine_try_cflags_saved
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8928 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8929 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8930 case $host_os in
8931 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8932 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8933 esac
8935 # Extract the first word of "prelink", so it can be a program name with args.
8936 set dummy prelink; ac_word=$2
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8938 $as_echo_n "checking for $ac_word... " >&6; }
8939 if ${ac_cv_path_PRELINK+:} false; then :
8940 $as_echo_n "(cached) " >&6
8941 else
8942 case $PRELINK in
8943 [\\/]* | ?:[\\/]*)
8944 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 for as_dir in /sbin /usr/sbin $PATH
8950 IFS=$as_save_IFS
8951 test -z "$as_dir" && as_dir=.
8952 for ac_exec_ext in '' $ac_executable_extensions; do
8953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8954 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8956 break 2
8958 done
8959 done
8960 IFS=$as_save_IFS
8962 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8964 esac
8966 PRELINK=$ac_cv_path_PRELINK
8967 if test -n "$PRELINK"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8969 $as_echo "$PRELINK" >&6; }
8970 else
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8976 if test "x$PRELINK" = xfalse
8977 then
8978 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8982 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8983 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8984 $as_echo_n "(cached) " >&6
8985 else
8986 ac_wine_try_cflags_saved=$CFLAGS
8987 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8990 int main(int argc, char **argv) { return 0; }
8991 _ACEOF
8992 if ac_fn_c_try_link "$LINENO"; then :
8993 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8994 else
8995 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8997 rm -f core conftest.err conftest.$ac_objext \
8998 conftest$ac_exeext conftest.$ac_ext
8999 CFLAGS=$ac_wine_try_cflags_saved
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9002 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9003 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9004 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9007 esac
9009 else
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9011 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9012 if ${ac_cv_c_dll_unixware+:} false; then :
9013 $as_echo_n "(cached) " >&6
9014 else
9015 ac_wine_try_cflags_saved=$CFLAGS
9016 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 void myfunc() {}
9020 _ACEOF
9021 if ac_fn_c_try_link "$LINENO"; then :
9022 ac_cv_c_dll_unixware="yes"
9023 else
9024 ac_cv_c_dll_unixware="no"
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 CFLAGS=$ac_wine_try_cflags_saved
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9031 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9032 if test "$ac_cv_c_dll_unixware" = "yes"
9033 then
9034 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9037 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9039 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9041 LIBWINE_INSTALL_DEV="libwine.so"
9043 LIBWINE_DEPENDS="wine.map"
9046 esac
9048 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9049 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9050 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9051 enable_winemac_drv=${enable_winemac_drv:-no}
9052 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9054 CROSSTARGET=""
9056 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9057 then
9058 case "$host_cpu" in
9059 arm*)
9060 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9061 i[3456789]86*)
9062 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
9063 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9064 mingw32-gcc" ;;
9065 x86_64)
9066 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
9067 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9069 ac_prefix_list="" ;;
9070 esac
9071 for ac_prog in $ac_prefix_list
9073 # Extract the first word of "$ac_prog", so it can be a program name with args.
9074 set dummy $ac_prog; ac_word=$2
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9076 $as_echo_n "checking for $ac_word... " >&6; }
9077 if ${ac_cv_prog_CROSSCC+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 if test -n "$CROSSCC"; then
9081 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9082 else
9083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9084 for as_dir in $PATH
9086 IFS=$as_save_IFS
9087 test -z "$as_dir" && as_dir=.
9088 for ac_exec_ext in '' $ac_executable_extensions; do
9089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9090 ac_cv_prog_CROSSCC="$ac_prog"
9091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9092 break 2
9094 done
9095 done
9096 IFS=$as_save_IFS
9100 CROSSCC=$ac_cv_prog_CROSSCC
9101 if test -n "$CROSSCC"; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9103 $as_echo "$CROSSCC" >&6; }
9104 else
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9106 $as_echo "no" >&6; }
9110 test -n "$CROSSCC" && break
9111 done
9112 test -n "$CROSSCC" || CROSSCC="false"
9114 if test "$CROSSCC" != "false"
9115 then
9116 ac_save_CC="$CC"
9117 CC="$CROSSCC"
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9119 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9124 main ()
9128 return 0;
9130 _ACEOF
9131 if ac_fn_c_try_compile "$LINENO"; then :
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9133 $as_echo "yes" >&6; }
9134 set x $CROSSCC
9135 shift
9136 while test $# -ge 1
9138 case "$1" in
9139 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9140 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9141 esac
9142 shift
9143 done
9144 else
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9149 CC="$ac_save_CC"
9150 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9156 if test "$ac_cv_header_pthread_h" = "yes"
9157 then
9158 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9159 if test "x$ac_cv_func_pthread_create" = xyes; then :
9161 else
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9163 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9164 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9165 $as_echo_n "(cached) " >&6
9166 else
9167 ac_check_lib_save_LIBS=$LIBS
9168 LIBS="-lpthread $LIBS"
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9172 /* Override any GCC internal prototype to avoid an error.
9173 Use char because int might match the return type of a GCC
9174 builtin and then its argument prototype would still apply. */
9175 #ifdef __cplusplus
9176 extern "C"
9177 #endif
9178 char pthread_create ();
9180 main ()
9182 return pthread_create ();
9184 return 0;
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 ac_cv_lib_pthread_pthread_create=yes
9189 else
9190 ac_cv_lib_pthread_pthread_create=no
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 LIBS=$ac_check_lib_save_LIBS
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9197 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9198 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9199 PTHREAD_LIBS="-lpthread"
9206 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9207 case "x$with_pthread" in
9208 xno) ;;
9209 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9210 Wine cannot support threads without libpthread.
9211 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9212 esac
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9218 $as_echo_n "checking for X... " >&6; }
9221 # Check whether --with-x was given.
9222 if test "${with_x+set}" = set; then :
9223 withval=$with_x;
9226 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9227 if test "x$with_x" = xno; then
9228 # The user explicitly disabled X.
9229 have_x=disabled
9230 else
9231 case $x_includes,$x_libraries in #(
9232 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9233 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 # One or both of the vars are not set, and there is no cached value.
9237 ac_x_includes=no ac_x_libraries=no
9238 rm -f -r conftest.dir
9239 if mkdir conftest.dir; then
9240 cd conftest.dir
9241 cat >Imakefile <<'_ACEOF'
9242 incroot:
9243 @echo incroot='${INCROOT}'
9244 usrlibdir:
9245 @echo usrlibdir='${USRLIBDIR}'
9246 libdir:
9247 @echo libdir='${LIBDIR}'
9248 _ACEOF
9249 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9250 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9251 for ac_var in incroot usrlibdir libdir; do
9252 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9253 done
9254 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9255 for ac_extension in a so sl dylib la dll; do
9256 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9257 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9258 ac_im_usrlibdir=$ac_im_libdir; break
9260 done
9261 # Screen out bogus values from the imake configuration. They are
9262 # bogus both because they are the default anyway, and because
9263 # using them would break gcc on systems where it needs fixed includes.
9264 case $ac_im_incroot in
9265 /usr/include) ac_x_includes= ;;
9266 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9267 esac
9268 case $ac_im_usrlibdir in
9269 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9270 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9271 esac
9273 cd ..
9274 rm -f -r conftest.dir
9277 # Standard set of common directories for X headers.
9278 # Check X11 before X11Rn because it is often a symlink to the current release.
9279 ac_x_header_dirs='
9280 /usr/X11/include
9281 /usr/X11R7/include
9282 /usr/X11R6/include
9283 /usr/X11R5/include
9284 /usr/X11R4/include
9286 /usr/include/X11
9287 /usr/include/X11R7
9288 /usr/include/X11R6
9289 /usr/include/X11R5
9290 /usr/include/X11R4
9292 /usr/local/X11/include
9293 /usr/local/X11R7/include
9294 /usr/local/X11R6/include
9295 /usr/local/X11R5/include
9296 /usr/local/X11R4/include
9298 /usr/local/include/X11
9299 /usr/local/include/X11R7
9300 /usr/local/include/X11R6
9301 /usr/local/include/X11R5
9302 /usr/local/include/X11R4
9304 /usr/X386/include
9305 /usr/x386/include
9306 /usr/XFree86/include/X11
9308 /usr/include
9309 /usr/local/include
9310 /usr/unsupported/include
9311 /usr/athena/include
9312 /usr/local/x11r5/include
9313 /usr/lpp/Xamples/include
9315 /usr/openwin/include
9316 /usr/openwin/share/include'
9318 if test "$ac_x_includes" = no; then
9319 # Guess where to find include files, by looking for Xlib.h.
9320 # First, try using that file with no special directory specified.
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9323 #include <X11/Xlib.h>
9324 _ACEOF
9325 if ac_fn_c_try_cpp "$LINENO"; then :
9326 # We can compile using X headers with no special include directory.
9327 ac_x_includes=
9328 else
9329 for ac_dir in $ac_x_header_dirs; do
9330 if test -r "$ac_dir/X11/Xlib.h"; then
9331 ac_x_includes=$ac_dir
9332 break
9334 done
9336 rm -f conftest.err conftest.i conftest.$ac_ext
9337 fi # $ac_x_includes = no
9339 if test "$ac_x_libraries" = no; then
9340 # Check for the libraries.
9341 # See if we find them without any special options.
9342 # Don't add to $LIBS permanently.
9343 ac_save_LIBS=$LIBS
9344 LIBS="-lX11 $LIBS"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 #include <X11/Xlib.h>
9349 main ()
9351 XrmInitialize ()
9353 return 0;
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 LIBS=$ac_save_LIBS
9358 # We can link X programs with no special library path.
9359 ac_x_libraries=
9360 else
9361 LIBS=$ac_save_LIBS
9362 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9364 # Don't even attempt the hair of trying to link an X program!
9365 for ac_extension in a so sl dylib la dll; do
9366 if test -r "$ac_dir/libX11.$ac_extension"; then
9367 ac_x_libraries=$ac_dir
9368 break 2
9370 done
9371 done
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 fi # $ac_x_libraries = no
9377 case $ac_x_includes,$ac_x_libraries in #(
9378 no,* | *,no | *\'*)
9379 # Didn't find X, or a directory has "'" in its name.
9380 ac_cv_have_x="have_x=no";; #(
9382 # Record where we found X for the cache.
9383 ac_cv_have_x="have_x=yes\
9384 ac_x_includes='$ac_x_includes'\
9385 ac_x_libraries='$ac_x_libraries'"
9386 esac
9388 ;; #(
9389 *) have_x=yes;;
9390 esac
9391 eval "$ac_cv_have_x"
9392 fi # $with_x != no
9394 if test "$have_x" != yes; then
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9396 $as_echo "$have_x" >&6; }
9397 no_x=yes
9398 else
9399 # If each of the values was on the command line, it overrides each guess.
9400 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9401 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9402 # Update the cache value to reflect the command line values.
9403 ac_cv_have_x="have_x=yes\
9404 ac_x_includes='$x_includes'\
9405 ac_x_libraries='$x_libraries'"
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9407 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9410 if test "$no_x" = yes; then
9411 # Not all programs may use this symbol, but it does not hurt to define it.
9413 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9415 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9416 else
9417 if test -n "$x_includes"; then
9418 X_CFLAGS="$X_CFLAGS -I$x_includes"
9421 # It would also be nice to do this for all -L options, not just this one.
9422 if test -n "$x_libraries"; then
9423 X_LIBS="$X_LIBS -L$x_libraries"
9424 # For Solaris; some versions of Sun CC require a space after -R and
9425 # others require no space. Words are not sufficient . . . .
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9427 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9428 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9429 ac_xsave_c_werror_flag=$ac_c_werror_flag
9430 ac_c_werror_flag=yes
9431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9435 main ()
9439 return 0;
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9444 $as_echo "no" >&6; }
9445 X_LIBS="$X_LIBS -R$x_libraries"
9446 else
9447 LIBS="$ac_xsave_LIBS -R $x_libraries"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9452 main ()
9456 return 0;
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9461 $as_echo "yes" >&6; }
9462 X_LIBS="$X_LIBS -R $x_libraries"
9463 else
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9465 $as_echo "neither works" >&6; }
9467 rm -f core conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 ac_c_werror_flag=$ac_xsave_c_werror_flag
9473 LIBS=$ac_xsave_LIBS
9476 # Check for system-dependent libraries X programs must link with.
9477 # Do this before checking for the system-independent R6 libraries
9478 # (-lICE), since we may need -lsocket or whatever for X linking.
9480 if test "$ISC" = yes; then
9481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9482 else
9483 # Martyn Johnson says this is needed for Ultrix, if the X
9484 # libraries were built with DECnet support. And Karl Berry says
9485 # the Alpha needs dnet_stub (dnet does not exist).
9486 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9493 #ifdef __cplusplus
9494 extern "C"
9495 #endif
9496 char XOpenDisplay ();
9498 main ()
9500 return XOpenDisplay ();
9502 return 0;
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9507 else
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9509 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9510 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9511 $as_echo_n "(cached) " >&6
9512 else
9513 ac_check_lib_save_LIBS=$LIBS
9514 LIBS="-ldnet $LIBS"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9518 /* Override any GCC internal prototype to avoid an error.
9519 Use char because int might match the return type of a GCC
9520 builtin and then its argument prototype would still apply. */
9521 #ifdef __cplusplus
9522 extern "C"
9523 #endif
9524 char dnet_ntoa ();
9526 main ()
9528 return dnet_ntoa ();
9530 return 0;
9532 _ACEOF
9533 if ac_fn_c_try_link "$LINENO"; then :
9534 ac_cv_lib_dnet_dnet_ntoa=yes
9535 else
9536 ac_cv_lib_dnet_dnet_ntoa=no
9538 rm -f core conftest.err conftest.$ac_objext \
9539 conftest$ac_exeext conftest.$ac_ext
9540 LIBS=$ac_check_lib_save_LIBS
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9543 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9544 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9545 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9548 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9550 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9551 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9552 $as_echo_n "(cached) " >&6
9553 else
9554 ac_check_lib_save_LIBS=$LIBS
9555 LIBS="-ldnet_stub $LIBS"
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9559 /* Override any GCC internal prototype to avoid an error.
9560 Use char because int might match the return type of a GCC
9561 builtin and then its argument prototype would still apply. */
9562 #ifdef __cplusplus
9563 extern "C"
9564 #endif
9565 char dnet_ntoa ();
9567 main ()
9569 return dnet_ntoa ();
9571 return 0;
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9576 else
9577 ac_cv_lib_dnet_stub_dnet_ntoa=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_lib_save_LIBS
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9584 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9585 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9586 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 LIBS="$ac_xsave_LIBS"
9595 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9596 # to get the SysV transport functions.
9597 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9598 # needs -lnsl.
9599 # The nsl library prevents programs from opening the X display
9600 # on Irix 5.2, according to T.E. Dickey.
9601 # The functions gethostbyname, getservbyname, and inet_addr are
9602 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9603 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9604 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9608 if test $ac_cv_func_gethostbyname = no; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9610 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9611 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 ac_check_lib_save_LIBS=$LIBS
9615 LIBS="-lnsl $LIBS"
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9622 #ifdef __cplusplus
9623 extern "C"
9624 #endif
9625 char gethostbyname ();
9627 main ()
9629 return gethostbyname ();
9631 return 0;
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 ac_cv_lib_nsl_gethostbyname=yes
9636 else
9637 ac_cv_lib_nsl_gethostbyname=no
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9644 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9645 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9646 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9649 if test $ac_cv_lib_nsl_gethostbyname = no; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9651 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9652 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 ac_check_lib_save_LIBS=$LIBS
9656 LIBS="-lbsd $LIBS"
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9663 #ifdef __cplusplus
9664 extern "C"
9665 #endif
9666 char gethostbyname ();
9668 main ()
9670 return gethostbyname ();
9672 return 0;
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 ac_cv_lib_bsd_gethostbyname=yes
9677 else
9678 ac_cv_lib_bsd_gethostbyname=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_lib_save_LIBS
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9685 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9686 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9693 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9694 # socket/setsockopt and other routines are undefined under SCO ODT
9695 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9696 # on later versions), says Simon Leinen: it contains gethostby*
9697 # variants that don't use the name server (or something). -lsocket
9698 # must be given before -lnsl if both are needed. We assume that
9699 # if connect needs -lnsl, so does gethostbyname.
9700 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9701 if test "x$ac_cv_func_connect" = xyes; then :
9705 if test $ac_cv_func_connect = no; then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9707 $as_echo_n "checking for connect in -lsocket... " >&6; }
9708 if ${ac_cv_lib_socket_connect+:} false; then :
9709 $as_echo_n "(cached) " >&6
9710 else
9711 ac_check_lib_save_LIBS=$LIBS
9712 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9719 #ifdef __cplusplus
9720 extern "C"
9721 #endif
9722 char connect ();
9724 main ()
9726 return connect ();
9728 return 0;
9730 _ACEOF
9731 if ac_fn_c_try_link "$LINENO"; then :
9732 ac_cv_lib_socket_connect=yes
9733 else
9734 ac_cv_lib_socket_connect=no
9736 rm -f core conftest.err conftest.$ac_objext \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_lib_save_LIBS
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9741 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9742 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9743 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9748 # Guillermo Gomez says -lposix is necessary on A/UX.
9749 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9750 if test "x$ac_cv_func_remove" = xyes; then :
9754 if test $ac_cv_func_remove = no; then
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9756 $as_echo_n "checking for remove in -lposix... " >&6; }
9757 if ${ac_cv_lib_posix_remove+:} false; then :
9758 $as_echo_n "(cached) " >&6
9759 else
9760 ac_check_lib_save_LIBS=$LIBS
9761 LIBS="-lposix $LIBS"
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9765 /* Override any GCC internal prototype to avoid an error.
9766 Use char because int might match the return type of a GCC
9767 builtin and then its argument prototype would still apply. */
9768 #ifdef __cplusplus
9769 extern "C"
9770 #endif
9771 char remove ();
9773 main ()
9775 return remove ();
9777 return 0;
9779 _ACEOF
9780 if ac_fn_c_try_link "$LINENO"; then :
9781 ac_cv_lib_posix_remove=yes
9782 else
9783 ac_cv_lib_posix_remove=no
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 LIBS=$ac_check_lib_save_LIBS
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9790 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9791 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9792 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9797 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9798 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9799 if test "x$ac_cv_func_shmat" = xyes; then :
9803 if test $ac_cv_func_shmat = no; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9805 $as_echo_n "checking for shmat in -lipc... " >&6; }
9806 if ${ac_cv_lib_ipc_shmat+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_check_lib_save_LIBS=$LIBS
9810 LIBS="-lipc $LIBS"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9814 /* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9817 #ifdef __cplusplus
9818 extern "C"
9819 #endif
9820 char shmat ();
9822 main ()
9824 return shmat ();
9826 return 0;
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830 ac_cv_lib_ipc_shmat=yes
9831 else
9832 ac_cv_lib_ipc_shmat=no
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 LIBS=$ac_check_lib_save_LIBS
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9839 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9840 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9841 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9847 # Check for libraries that X11R6 Xt/Xaw programs need.
9848 ac_save_LDFLAGS=$LDFLAGS
9849 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9850 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9851 # check for ICE first), but we must link in the order -lSM -lICE or
9852 # we get undefined symbols. So assume we have SM if we have ICE.
9853 # These have to be linked with before -lX11, unlike the other
9854 # libraries we check for below, so use a different variable.
9855 # John Interrante, Karl Berry
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9857 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9858 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9859 $as_echo_n "(cached) " >&6
9860 else
9861 ac_check_lib_save_LIBS=$LIBS
9862 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9869 #ifdef __cplusplus
9870 extern "C"
9871 #endif
9872 char IceConnectionNumber ();
9874 main ()
9876 return IceConnectionNumber ();
9878 return 0;
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_lib_ICE_IceConnectionNumber=yes
9883 else
9884 ac_cv_lib_ICE_IceConnectionNumber=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LIBS=$ac_check_lib_save_LIBS
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9891 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9892 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9893 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9896 LDFLAGS=$ac_save_LDFLAGS
9901 if test "$have_x" = "yes"
9902 then
9903 ac_save_CPPFLAGS="$CPPFLAGS"
9904 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9907 $as_echo_n "checking for -lX11... " >&6; }
9908 if ${ac_cv_lib_soname_X11+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_check_soname_save_LIBS=$LIBS
9912 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9919 #ifdef __cplusplus
9920 extern "C"
9921 #endif
9922 char XCreateWindow ();
9924 main ()
9926 return XCreateWindow ();
9928 return 0;
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 case "$LIBEXT" in
9933 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9936 if ${ac_cv_lib_soname_X11:+false} :; then :
9937 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9938 fi ;;
9939 esac
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_soname_save_LIBS
9945 if ${ac_cv_lib_soname_X11:+false} :; then :
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9947 $as_echo "not found" >&6; }
9949 else
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9951 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9953 cat >>confdefs.h <<_ACEOF
9954 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9955 _ACEOF
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9960 $as_echo_n "checking for -lXext... " >&6; }
9961 if ${ac_cv_lib_soname_Xext+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_check_soname_save_LIBS=$LIBS
9965 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9972 #ifdef __cplusplus
9973 extern "C"
9974 #endif
9975 char XextCreateExtension ();
9977 main ()
9979 return XextCreateExtension ();
9981 return 0;
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 case "$LIBEXT" in
9986 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9987 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'` ;;
9988 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9989 if ${ac_cv_lib_soname_Xext:+false} :; then :
9990 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9991 fi ;;
9992 esac
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_soname_save_LIBS
9998 if ${ac_cv_lib_soname_Xext:+false} :; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 $as_echo "not found" >&6; }
10002 else
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10004 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10006 cat >>confdefs.h <<_ACEOF
10007 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10008 _ACEOF
10010 X_LIBS="$X_LIBS -lXext"
10012 X_LIBS="$X_LIBS -lX11"
10014 for ac_header in X11/Xlib.h \
10015 X11/XKBlib.h \
10016 X11/Xutil.h \
10017 X11/Xcursor/Xcursor.h \
10018 X11/extensions/shape.h \
10019 X11/extensions/XInput.h \
10020 X11/extensions/XInput2.h \
10021 X11/extensions/XShm.h \
10022 X11/extensions/Xcomposite.h \
10023 X11/extensions/Xfixes.h \
10024 X11/extensions/Xinerama.h \
10025 X11/extensions/Xrandr.h \
10026 X11/extensions/Xrender.h \
10027 X11/extensions/xf86vmode.h \
10028 X11/extensions/xf86vmproto.h
10029 do :
10030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10031 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10032 # include <X11/Xlib.h>
10033 #endif
10034 #ifdef HAVE_X11_XUTIL_H
10035 # include <X11/Xutil.h>
10036 #endif
10038 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10039 cat >>confdefs.h <<_ACEOF
10040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10041 _ACEOF
10045 done
10048 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10049 then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10051 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10052 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_check_lib_save_LIBS=$LIBS
10056 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10063 #ifdef __cplusplus
10064 extern "C"
10065 #endif
10066 char XkbQueryExtension ();
10068 main ()
10070 return XkbQueryExtension ();
10072 return 0;
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"; then :
10076 ac_cv_lib_X11_XkbQueryExtension=yes
10077 else
10078 ac_cv_lib_X11_XkbQueryExtension=no
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 LIBS=$ac_check_lib_save_LIBS
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10085 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10086 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10088 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10094 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10095 then
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10097 $as_echo_n "checking for -lXcursor... " >&6; }
10098 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10099 $as_echo_n "(cached) " >&6
10100 else
10101 ac_check_soname_save_LIBS=$LIBS
10102 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10106 /* Override any GCC internal prototype to avoid an error.
10107 Use char because int might match the return type of a GCC
10108 builtin and then its argument prototype would still apply. */
10109 #ifdef __cplusplus
10110 extern "C"
10111 #endif
10112 char XcursorImageLoadCursor ();
10114 main ()
10116 return XcursorImageLoadCursor ();
10118 return 0;
10120 _ACEOF
10121 if ac_fn_c_try_link "$LINENO"; then :
10122 case "$LIBEXT" in
10123 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10124 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'` ;;
10125 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10126 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10127 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10128 fi ;;
10129 esac
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_soname_save_LIBS
10135 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10137 $as_echo "not found" >&6; }
10139 else
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10141 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10143 cat >>confdefs.h <<_ACEOF
10144 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10145 _ACEOF
10150 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10151 case "x$with_xcursor" in
10152 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10153 xno) ;;
10154 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10155 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10156 esac
10160 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10161 then
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10163 $as_echo_n "checking for -lXi... " >&6; }
10164 if ${ac_cv_lib_soname_Xi+:} false; then :
10165 $as_echo_n "(cached) " >&6
10166 else
10167 ac_check_soname_save_LIBS=$LIBS
10168 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10172 /* Override any GCC internal prototype to avoid an error.
10173 Use char because int might match the return type of a GCC
10174 builtin and then its argument prototype would still apply. */
10175 #ifdef __cplusplus
10176 extern "C"
10177 #endif
10178 char XOpenDevice ();
10180 main ()
10182 return XOpenDevice ();
10184 return 0;
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 case "$LIBEXT" in
10189 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10190 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'` ;;
10191 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10192 if ${ac_cv_lib_soname_Xi:+false} :; then :
10193 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10194 fi ;;
10195 esac
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_soname_save_LIBS
10201 if ${ac_cv_lib_soname_Xi:+false} :; then :
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10203 $as_echo "not found" >&6; }
10205 else
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10207 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10209 cat >>confdefs.h <<_ACEOF
10210 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10211 _ACEOF
10216 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10217 case "x$with_xinput" in
10218 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10219 xno) ;;
10220 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10221 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10222 esac
10226 if test "x$ac_cv_lib_soname_Xi" != x
10227 then
10228 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10229 case "x$with_xinput2" in
10230 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10231 xno) ;;
10232 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10233 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10234 esac
10239 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10240 then
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10242 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10243 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_check_lib_save_LIBS=$LIBS
10247 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10254 #ifdef __cplusplus
10255 extern "C"
10256 #endif
10257 char XShmQueryExtension ();
10259 main ()
10261 return XShmQueryExtension ();
10263 return 0;
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 ac_cv_lib_Xext_XShmQueryExtension=yes
10268 else
10269 ac_cv_lib_Xext_XShmQueryExtension=no
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_lib_save_LIBS
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10276 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10277 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10279 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10284 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10285 case "x$with_xshm" in
10286 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10287 xno) ;;
10288 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10289 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10290 esac
10294 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10295 then
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10297 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10298 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_check_lib_save_LIBS=$LIBS
10302 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10309 #ifdef __cplusplus
10310 extern "C"
10311 #endif
10312 char XShapeQueryExtension ();
10314 main ()
10316 return XShapeQueryExtension ();
10318 return 0;
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 ac_cv_lib_Xext_XShapeQueryExtension=yes
10323 else
10324 ac_cv_lib_Xext_XShapeQueryExtension=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10328 LIBS=$ac_check_lib_save_LIBS
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10331 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10332 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10334 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10339 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10340 case "x$with_xshape" in
10341 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10342 xno) ;;
10343 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10344 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10345 esac
10349 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10350 then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10352 $as_echo_n "checking for -lXxf86vm... " >&6; }
10353 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_check_soname_save_LIBS=$LIBS
10357 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10364 #ifdef __cplusplus
10365 extern "C"
10366 #endif
10367 char XF86VidModeQueryExtension ();
10369 main ()
10371 return XF86VidModeQueryExtension ();
10373 return 0;
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 case "$LIBEXT" in
10378 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10379 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'` ;;
10380 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10381 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10382 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10383 fi ;;
10384 esac
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 LIBS=$ac_check_soname_save_LIBS
10390 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10392 $as_echo "not found" >&6; }
10394 else
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10396 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10398 cat >>confdefs.h <<_ACEOF
10399 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10400 _ACEOF
10405 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10406 case "x$with_xxf86vm" in
10407 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10408 xno) ;;
10409 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10410 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10411 esac
10415 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10416 then
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10418 $as_echo_n "checking for -lXrender... " >&6; }
10419 if ${ac_cv_lib_soname_Xrender+:} false; then :
10420 $as_echo_n "(cached) " >&6
10421 else
10422 ac_check_soname_save_LIBS=$LIBS
10423 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10430 #ifdef __cplusplus
10431 extern "C"
10432 #endif
10433 char XRenderQueryExtension ();
10435 main ()
10437 return XRenderQueryExtension ();
10439 return 0;
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 case "$LIBEXT" in
10444 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10445 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'` ;;
10446 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10447 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10448 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10449 fi ;;
10450 esac
10452 rm -f core conftest.err conftest.$ac_objext \
10453 conftest$ac_exeext conftest.$ac_ext
10454 LIBS=$ac_check_soname_save_LIBS
10456 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10458 $as_echo "not found" >&6; }
10460 else
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10462 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10464 cat >>confdefs.h <<_ACEOF
10465 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10466 _ACEOF
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10469 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10470 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_check_lib_save_LIBS=$LIBS
10474 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10481 #ifdef __cplusplus
10482 extern "C"
10483 #endif
10484 char XRenderSetPictureTransform ();
10486 main ()
10488 return XRenderSetPictureTransform ();
10490 return 0;
10492 _ACEOF
10493 if ac_fn_c_try_link "$LINENO"; then :
10494 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10495 else
10496 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10498 rm -f core conftest.err conftest.$ac_objext \
10499 conftest$ac_exeext conftest.$ac_ext
10500 LIBS=$ac_check_lib_save_LIBS
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10503 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10504 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10506 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10511 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10512 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 ac_check_lib_save_LIBS=$LIBS
10516 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10523 #ifdef __cplusplus
10524 extern "C"
10525 #endif
10526 char XRenderCreateLinearGradient ();
10528 main ()
10530 return XRenderCreateLinearGradient ();
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10537 else
10538 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 LIBS=$ac_check_lib_save_LIBS
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10545 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10546 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10548 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10555 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10556 case "x$with_xrender" in
10557 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10558 xno) ;;
10559 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10560 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10561 esac
10565 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10566 then
10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10569 #include <X11/Xlib.h>
10570 #include <X11/extensions/Xrandr.h>
10572 main ()
10574 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_compile "$LINENO"; then :
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10581 $as_echo_n "checking for -lXrandr... " >&6; }
10582 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10583 $as_echo_n "(cached) " >&6
10584 else
10585 ac_check_soname_save_LIBS=$LIBS
10586 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10590 /* Override any GCC internal prototype to avoid an error.
10591 Use char because int might match the return type of a GCC
10592 builtin and then its argument prototype would still apply. */
10593 #ifdef __cplusplus
10594 extern "C"
10595 #endif
10596 char XRRQueryExtension ();
10598 main ()
10600 return XRRQueryExtension ();
10602 return 0;
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 case "$LIBEXT" in
10607 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10608 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'` ;;
10609 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10610 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10611 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10612 fi ;;
10613 esac
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 LIBS=$ac_check_soname_save_LIBS
10619 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10621 $as_echo "not found" >&6; }
10623 else
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10625 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10627 cat >>confdefs.h <<_ACEOF
10628 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10629 _ACEOF
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10633 #include <X11/Xlib.h>
10634 #include <X11/extensions/Xrandr.h>
10636 main ()
10638 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10640 return 0;
10642 _ACEOF
10643 if ac_fn_c_try_compile "$LINENO"; then :
10645 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10653 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10654 case "x$with_xrandr" in
10655 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10656 xno) ;;
10657 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10658 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10659 esac
10663 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10664 then
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 #include <X11/Xlib.h>
10668 #include <X11/extensions/Xfixes.h>
10670 main ()
10672 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_compile "$LINENO"; then :
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10679 $as_echo_n "checking for -lXfixes... " >&6; }
10680 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10681 $as_echo_n "(cached) " >&6
10682 else
10683 ac_check_soname_save_LIBS=$LIBS
10684 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10691 #ifdef __cplusplus
10692 extern "C"
10693 #endif
10694 char XFixesQueryVersion ();
10696 main ()
10698 return XFixesQueryVersion ();
10700 return 0;
10702 _ACEOF
10703 if ac_fn_c_try_link "$LINENO"; then :
10704 case "$LIBEXT" in
10705 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10706 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'` ;;
10707 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10708 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10709 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10710 fi ;;
10711 esac
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_soname_save_LIBS
10717 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10719 $as_echo "not found" >&6; }
10721 else
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10723 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10725 cat >>confdefs.h <<_ACEOF
10726 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10727 _ACEOF
10732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10734 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10735 case "x$with_xfixes" in
10736 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10737 xno) ;;
10738 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10739 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10740 esac
10744 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10745 then
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10748 #include <X11/Xlib.h>
10749 #include <X11/extensions/Xinerama.h>
10751 main ()
10753 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10755 return 0;
10757 _ACEOF
10758 if ac_fn_c_try_compile "$LINENO"; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10760 $as_echo_n "checking for -lXinerama... " >&6; }
10761 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10762 $as_echo_n "(cached) " >&6
10763 else
10764 ac_check_soname_save_LIBS=$LIBS
10765 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10772 #ifdef __cplusplus
10773 extern "C"
10774 #endif
10775 char XineramaQueryScreens ();
10777 main ()
10779 return XineramaQueryScreens ();
10781 return 0;
10783 _ACEOF
10784 if ac_fn_c_try_link "$LINENO"; then :
10785 case "$LIBEXT" in
10786 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10787 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'` ;;
10788 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10789 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10790 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10791 fi ;;
10792 esac
10794 rm -f core conftest.err conftest.$ac_objext \
10795 conftest$ac_exeext conftest.$ac_ext
10796 LIBS=$ac_check_soname_save_LIBS
10798 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10800 $as_echo "not found" >&6; }
10802 else
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10804 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10806 cat >>confdefs.h <<_ACEOF
10807 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10808 _ACEOF
10813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10815 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10816 case "x$with_xinerama" in
10817 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10818 xno) ;;
10819 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10820 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10821 esac
10825 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10826 then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10828 $as_echo_n "checking for -lXcomposite... " >&6; }
10829 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_soname_save_LIBS=$LIBS
10833 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char XCompositeRedirectWindow ();
10845 main ()
10847 return XCompositeRedirectWindow ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 case "$LIBEXT" in
10854 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10855 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'` ;;
10856 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10857 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10858 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10859 fi ;;
10860 esac
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_soname_save_LIBS
10866 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10868 $as_echo "not found" >&6; }
10870 else
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10872 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10874 cat >>confdefs.h <<_ACEOF
10875 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10876 _ACEOF
10881 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10882 case "x$with_xcomposite" in
10883 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10884 xno) ;;
10885 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10886 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10887 esac
10891 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10892 #include <X11/Xlib.h>
10893 #endif
10895 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10897 cat >>confdefs.h <<_ACEOF
10898 #define HAVE_XICCALLBACK_CALLBACK 1
10899 _ACEOF
10903 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10904 #include <X11/Xlib.h>
10905 #endif
10907 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10909 cat >>confdefs.h <<_ACEOF
10910 #define HAVE_XEVENT_XCOOKIE 1
10911 _ACEOF
10918 opengl_msg=""
10919 if test "x$with_opengl" != "xno"
10920 then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10922 $as_echo_n "checking for -lGL... " >&6; }
10923 if ${ac_cv_lib_soname_GL+:} false; then :
10924 $as_echo_n "(cached) " >&6
10925 else
10926 ac_check_soname_save_LIBS=$LIBS
10927 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10934 #ifdef __cplusplus
10935 extern "C"
10936 #endif
10937 char glXCreateContext ();
10939 main ()
10941 return glXCreateContext ();
10943 return 0;
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 case "$LIBEXT" in
10948 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10949 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'` ;;
10950 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10951 if ${ac_cv_lib_soname_GL:+false} :; then :
10952 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10953 fi ;;
10954 esac
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_soname_save_LIBS
10960 if ${ac_cv_lib_soname_GL:+false} :; then :
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10962 $as_echo "not found" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10964 $as_echo_n "checking for -lGL... " >&6; }
10965 if ${ac_cv_lib_soname_GL+:} false; then :
10966 $as_echo_n "(cached) " >&6
10967 else
10968 ac_check_soname_save_LIBS=$LIBS
10969 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10976 #ifdef __cplusplus
10977 extern "C"
10978 #endif
10979 char glXCreateContext ();
10981 main ()
10983 return glXCreateContext ();
10985 return 0;
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 case "$LIBEXT" in
10990 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10991 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10992 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10993 if ${ac_cv_lib_soname_GL:+false} :; then :
10994 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10995 fi ;;
10996 esac
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_soname_save_LIBS
11002 if ${ac_cv_lib_soname_GL:+false} :; then :
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11004 $as_echo "not found" >&6; }
11005 if test -f /usr/X11R6/lib/libGL.a
11006 then
11007 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11008 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11009 else
11010 opengl_msg="No OpenGL library found on this system."
11012 else
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11014 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11016 cat >>confdefs.h <<_ACEOF
11017 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11018 _ACEOF
11020 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"
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11024 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11026 cat >>confdefs.h <<_ACEOF
11027 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11028 _ACEOF
11030 OPENGL_LIBS="-lGL"
11032 if test "x$with_glu" != "xno"
11033 then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11035 $as_echo_n "checking for -lGLU... " >&6; }
11036 if ${ac_cv_lib_soname_GLU+:} false; then :
11037 $as_echo_n "(cached) " >&6
11038 else
11039 ac_check_soname_save_LIBS=$LIBS
11040 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11047 #ifdef __cplusplus
11048 extern "C"
11049 #endif
11050 char gluLookAt ();
11052 main ()
11054 return gluLookAt ();
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 case "$LIBEXT" in
11061 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11062 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'` ;;
11063 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11064 if ${ac_cv_lib_soname_GLU:+false} :; then :
11065 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11066 fi ;;
11067 esac
11069 rm -f core conftest.err conftest.$ac_objext \
11070 conftest$ac_exeext conftest.$ac_ext
11071 LIBS=$ac_check_soname_save_LIBS
11073 if ${ac_cv_lib_soname_GLU:+false} :; then :
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11075 $as_echo "not found" >&6; }
11077 else
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11079 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11081 cat >>confdefs.h <<_ACEOF
11082 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11083 _ACEOF
11087 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11088 case "x$with_glu" in
11089 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11090 xno) ;;
11091 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11092 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11093 esac
11098 if test "x$with_osmesa" != "xno"
11099 then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11101 $as_echo_n "checking for -lOSMesa... " >&6; }
11102 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_soname_save_LIBS=$LIBS
11106 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char OSMesaGetProcAddress ();
11118 main ()
11120 return OSMesaGetProcAddress ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 case "$LIBEXT" in
11127 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11128 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'` ;;
11129 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11130 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11131 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11132 fi ;;
11133 esac
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11137 LIBS=$ac_check_soname_save_LIBS
11139 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11141 $as_echo "not found" >&6; }
11143 else
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11145 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11147 cat >>confdefs.h <<_ACEOF
11148 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11149 _ACEOF
11153 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11154 case "x$with_osmesa" in
11155 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11156 xno) ;;
11157 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11158 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11159 esac
11164 if test -n "$opengl_msg"; then :
11165 case "x$with_opengl" in
11166 x) as_fn_append wine_warnings "|$opengl_msg
11167 OpenGL and Direct3D won't be supported." ;;
11168 xno) ;;
11169 *) as_fn_error $? "$opengl_msg
11170 OpenGL and Direct3D won't be supported.
11171 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11172 esac
11176 CPPFLAGS="$ac_save_CPPFLAGS"
11177 else
11178 X_CFLAGS=""
11179 X_LIBS=""
11182 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11183 then
11184 if test "x$X_LIBS" = "x"; then :
11185 case "x$with_x" in
11186 xno) ;;
11187 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11188 without X support, which probably isn't what you want. You will need
11189 to install ${notice_platform}development packages of Xlib at the very least.
11190 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11191 esac
11192 enable_winex11_drv=${enable_winex11_drv:-no}
11194 else
11195 if test "x$X_LIBS" = "x"; then :
11196 case "x$with_x" in
11197 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11198 xno) ;;
11199 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11200 This is an error since --with-x was requested." "$LINENO" 5 ;;
11201 esac
11202 enable_winex11_drv=${enable_winex11_drv:-no}
11206 if test "$ac_cv_header_CL_cl_h" = "yes"
11207 then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11209 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11210 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11211 $as_echo_n "(cached) " >&6
11212 else
11213 ac_check_lib_save_LIBS=$LIBS
11214 LIBS="-lOpenCL $LIBS"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char clGetPlatformInfo ();
11226 main ()
11228 return clGetPlatformInfo ();
11230 return 0;
11232 _ACEOF
11233 if ac_fn_c_try_link "$LINENO"; then :
11234 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11235 else
11236 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11238 rm -f core conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240 LIBS=$ac_check_lib_save_LIBS
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11243 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11244 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11245 OPENCL_LIBS="-lOpenCL"
11250 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11251 case "x$with_opencl" in
11252 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11253 xno) ;;
11254 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11255 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11256 esac
11257 enable_opencl=${enable_opencl:-no}
11260 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11261 then
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11263 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11264 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11265 $as_echo_n "(cached) " >&6
11266 else
11267 ac_check_lib_save_LIBS=$LIBS
11268 LIBS="-lpcap $LIBS"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char pcap_create ();
11280 main ()
11282 return pcap_create ();
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_pcap_pcap_create=yes
11289 else
11290 ac_cv_lib_pcap_pcap_create=no
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11297 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11298 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11299 PCAP_LIBS="-lpcap"
11304 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11305 case "x$with_pcap" in
11306 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11307 xno) ;;
11308 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11309 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11310 esac
11311 enable_wpcap=${enable_wpcap:-no}
11315 if test "x$with_xml" != "xno"
11316 then
11317 if ${XML2_CFLAGS:+false} :; then :
11318 if ${PKG_CONFIG+:} false; then :
11319 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11322 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11323 if ${XML2_LIBS:+false} :; then :
11324 if ${PKG_CONFIG+:} false; then :
11325 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11328 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11329 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11330 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11332 ac_save_CPPFLAGS=$CPPFLAGS
11333 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11334 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11335 do :
11336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11337 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11339 cat >>confdefs.h <<_ACEOF
11340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11341 _ACEOF
11345 done
11347 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"
11348 then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11350 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11351 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11352 $as_echo_n "(cached) " >&6
11353 else
11354 ac_check_lib_save_LIBS=$LIBS
11355 LIBS="-lxml2 $XML2_LIBS $LIBS"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11362 #ifdef __cplusplus
11363 extern "C"
11364 #endif
11365 char xmlParseMemory ();
11367 main ()
11369 return xmlParseMemory ();
11371 return 0;
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 ac_cv_lib_xml2_xmlParseMemory=yes
11376 else
11377 ac_cv_lib_xml2_xmlParseMemory=no
11379 rm -f core conftest.err conftest.$ac_objext \
11380 conftest$ac_exeext conftest.$ac_ext
11381 LIBS=$ac_check_lib_save_LIBS
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11384 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11385 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11387 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11389 else
11390 XML2_LIBS=""
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11394 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11395 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_lib_save_LIBS=$LIBS
11399 LIBS="-lxml2 $XML2_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char xmlReadMemory ();
11411 main ()
11413 return xmlReadMemory ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 ac_cv_lib_xml2_xmlReadMemory=yes
11420 else
11421 ac_cv_lib_xml2_xmlReadMemory=no
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LIBS=$ac_check_lib_save_LIBS
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11428 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11429 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11431 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11436 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11437 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 ac_check_lib_save_LIBS=$LIBS
11441 LIBS="-lxml2 $XML2_LIBS $LIBS"
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11448 #ifdef __cplusplus
11449 extern "C"
11450 #endif
11451 char xmlNewDocPI ();
11453 main ()
11455 return xmlNewDocPI ();
11457 return 0;
11459 _ACEOF
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 ac_cv_lib_xml2_xmlNewDocPI=yes
11462 else
11463 ac_cv_lib_xml2_xmlNewDocPI=no
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11470 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11471 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11473 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11478 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11479 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_lib_save_LIBS=$LIBS
11483 LIBS="-lxml2 $XML2_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char xmlSchemaSetParserStructuredErrors ();
11495 main ()
11497 return xmlSchemaSetParserStructuredErrors ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11504 else
11505 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_lib_save_LIBS
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11512 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11513 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11515 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11520 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11521 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-lxml2 $XML2_LIBS $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char xmlSchemaSetValidStructuredErrors ();
11537 main ()
11539 return xmlSchemaSetValidStructuredErrors ();
11541 return 0;
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11546 else
11547 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11554 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11555 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11557 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11562 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11563 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11564 $as_echo_n "(cached) " >&6
11565 else
11566 ac_check_lib_save_LIBS=$LIBS
11567 LIBS="-lxml2 $XML2_LIBS $LIBS"
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11574 #ifdef __cplusplus
11575 extern "C"
11576 #endif
11577 char xmlFirstElementChild ();
11579 main ()
11581 return xmlFirstElementChild ();
11583 return 0;
11585 _ACEOF
11586 if ac_fn_c_try_link "$LINENO"; then :
11587 ac_cv_lib_xml2_xmlFirstElementChild=yes
11588 else
11589 ac_cv_lib_xml2_xmlFirstElementChild=no
11591 rm -f core conftest.err conftest.$ac_objext \
11592 conftest$ac_exeext conftest.$ac_ext
11593 LIBS=$ac_check_lib_save_LIBS
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11596 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11597 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11599 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11603 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11605 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11607 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11611 else
11612 XML2_CFLAGS=""
11613 XML2_LIBS=""
11615 CPPFLAGS=$ac_save_CPPFLAGS
11616 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11617 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11620 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11621 case "x$with_xml" in
11622 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11623 xno) ;;
11624 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11625 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11626 esac
11630 if test "x$with_xslt" != "xno"
11631 then
11632 if ${XSLT_CFLAGS:+false} :; then :
11633 if ${PKG_CONFIG+:} false; then :
11634 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11637 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11638 if ${XSLT_LIBS:+false} :; then :
11639 if ${PKG_CONFIG+:} false; then :
11640 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11643 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11644 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11645 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11647 ac_save_CPPFLAGS=$CPPFLAGS
11648 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11649 for ac_header in libxslt/pattern.h libxslt/transform.h
11650 do :
11651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11652 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11653 # include <libxslt/pattern.h>
11654 #endif
11656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11657 cat >>confdefs.h <<_ACEOF
11658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11659 _ACEOF
11663 done
11665 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11666 then
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11668 $as_echo_n "checking for -lxslt... " >&6; }
11669 if ${ac_cv_lib_soname_xslt+:} false; then :
11670 $as_echo_n "(cached) " >&6
11671 else
11672 ac_check_soname_save_LIBS=$LIBS
11673 LIBS="-lxslt $XSLT_LIBS $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char xsltCompilePattern ();
11685 main ()
11687 return xsltCompilePattern ();
11689 return 0;
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 case "$LIBEXT" in
11694 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11695 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'` ;;
11696 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11697 if ${ac_cv_lib_soname_xslt:+false} :; then :
11698 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11699 fi ;;
11700 esac
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_soname_save_LIBS
11706 if ${ac_cv_lib_soname_xslt:+false} :; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11708 $as_echo "not found" >&6; }
11710 else
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11712 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11714 cat >>confdefs.h <<_ACEOF
11715 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11716 _ACEOF
11720 else
11721 XSLT_CFLAGS=""
11723 CPPFLAGS=$ac_save_CPPFLAGS
11724 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11725 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11728 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11729 case "x$with_xslt" in
11730 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11731 xno) ;;
11732 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11733 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11734 esac
11738 if test "x$with_dbus" != "xno"
11739 then
11740 if ${DBUS_CFLAGS:+false} :; then :
11741 if ${PKG_CONFIG+:} false; then :
11742 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11746 if ${DBUS_LIBS:+false} :; then :
11747 if ${PKG_CONFIG+:} false; then :
11748 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11753 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11754 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11755 ac_save_CPPFLAGS=$CPPFLAGS
11756 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11757 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11758 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11760 $as_echo_n "checking for -ldbus-1... " >&6; }
11761 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_check_soname_save_LIBS=$LIBS
11765 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11769 /* Override any GCC internal prototype to avoid an error.
11770 Use char because int might match the return type of a GCC
11771 builtin and then its argument prototype would still apply. */
11772 #ifdef __cplusplus
11773 extern "C"
11774 #endif
11775 char dbus_connection_close ();
11777 main ()
11779 return dbus_connection_close ();
11781 return 0;
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"; then :
11785 case "$LIBEXT" in
11786 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11787 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'` ;;
11788 *) 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'`
11789 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11790 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11791 fi ;;
11792 esac
11794 rm -f core conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11796 LIBS=$ac_check_soname_save_LIBS
11798 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11800 $as_echo "not found" >&6; }
11801 DBUS_CFLAGS=""
11802 else
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11804 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11806 cat >>confdefs.h <<_ACEOF
11807 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11808 _ACEOF
11812 else
11813 DBUS_CFLAGS=""
11817 CPPFLAGS=$ac_save_CPPFLAGS
11818 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11819 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11822 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11823 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11824 case "x$with_dbus" in
11825 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11826 xno) ;;
11827 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11828 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11829 esac
11833 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11834 then
11835 if ${HAL_CFLAGS:+false} :; then :
11836 if ${PKG_CONFIG+:} false; then :
11837 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11841 if ${HAL_LIBS:+false} :; then :
11842 if ${PKG_CONFIG+:} false; then :
11843 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11847 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11848 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11849 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11850 ac_save_CPPFLAGS=$CPPFLAGS
11851 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11852 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11853 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11855 $as_echo_n "checking for -lhal... " >&6; }
11856 if ${ac_cv_lib_soname_hal+:} false; then :
11857 $as_echo_n "(cached) " >&6
11858 else
11859 ac_check_soname_save_LIBS=$LIBS
11860 LIBS="-lhal $HAL_LIBS $LIBS"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11867 #ifdef __cplusplus
11868 extern "C"
11869 #endif
11870 char libhal_ctx_new ();
11872 main ()
11874 return libhal_ctx_new ();
11876 return 0;
11878 _ACEOF
11879 if ac_fn_c_try_link "$LINENO"; then :
11880 case "$LIBEXT" in
11881 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11882 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'` ;;
11883 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11884 if ${ac_cv_lib_soname_hal:+false} :; then :
11885 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11886 fi ;;
11887 esac
11889 rm -f core conftest.err conftest.$ac_objext \
11890 conftest$ac_exeext conftest.$ac_ext
11891 LIBS=$ac_check_soname_save_LIBS
11893 if ${ac_cv_lib_soname_hal:+false} :; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11895 $as_echo "not found" >&6; }
11896 HAL_CFLAGS=""
11897 else
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11899 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11901 cat >>confdefs.h <<_ACEOF
11902 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11903 _ACEOF
11907 else
11908 HAL_CFLAGS=""
11912 CPPFLAGS=$ac_save_CPPFLAGS
11913 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11914 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11916 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11917 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11918 case "x$with_hal" in
11919 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11920 xno) ;;
11921 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11922 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11923 esac
11928 if test "x$with_gnutls" != "xno"
11929 then
11930 if ${GNUTLS_CFLAGS:+false} :; then :
11931 if ${PKG_CONFIG+:} false; then :
11932 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11936 if ${GNUTLS_LIBS:+false} :; then :
11937 if ${PKG_CONFIG+:} false; then :
11938 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11943 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11944 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11945 ac_save_CPPFLAGS=$CPPFLAGS
11946 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11947 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11948 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #include <gnutls/gnutls.h>
11952 #include <gnutls/crypto.h>
11954 main ()
11956 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_compile "$LINENO"; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11963 $as_echo_n "checking for -lgnutls... " >&6; }
11964 if ${ac_cv_lib_soname_gnutls+:} false; then :
11965 $as_echo_n "(cached) " >&6
11966 else
11967 ac_check_soname_save_LIBS=$LIBS
11968 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 #ifdef __cplusplus
11976 extern "C"
11977 #endif
11978 char gnutls_global_init ();
11980 main ()
11982 return gnutls_global_init ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 case "$LIBEXT" in
11989 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11990 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'` ;;
11991 *) 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'`
11992 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11993 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'`
11994 fi ;;
11995 esac
11997 rm -f core conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_soname_save_LIBS
12001 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12003 $as_echo "not found" >&6; }
12004 GNUTLS_CFLAGS=""
12005 else
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12007 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12009 cat >>confdefs.h <<_ACEOF
12010 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12011 _ACEOF
12015 ac_wine_check_funcs_save_LIBS="$LIBS"
12016 LIBS="$LIBS $GNUTLS_LIBS"
12017 for ac_func in gnutls_cipher_init
12018 do :
12019 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12020 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12021 cat >>confdefs.h <<_ACEOF
12022 #define HAVE_GNUTLS_CIPHER_INIT 1
12023 _ACEOF
12025 else
12026 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12028 done
12030 LIBS="$ac_wine_check_funcs_save_LIBS"
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12033 else
12034 GNUTLS_CFLAGS=""
12038 CPPFLAGS=$ac_save_CPPFLAGS
12039 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12040 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12043 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12044 case "x$with_gnutls" in
12045 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12046 xno) ;;
12047 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12048 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12049 esac
12053 CURSES_LIBS=""
12054 if test "$ac_cv_header_ncurses_h" = "yes"
12055 then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12057 $as_echo_n "checking for -lncurses... " >&6; }
12058 if ${ac_cv_lib_soname_ncurses+:} false; then :
12059 $as_echo_n "(cached) " >&6
12060 else
12061 ac_check_soname_save_LIBS=$LIBS
12062 LIBS="-lncurses $LIBS"
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12066 /* Override any GCC internal prototype to avoid an error.
12067 Use char because int might match the return type of a GCC
12068 builtin and then its argument prototype would still apply. */
12069 #ifdef __cplusplus
12070 extern "C"
12071 #endif
12072 char waddch ();
12074 main ()
12076 return waddch ();
12078 return 0;
12080 _ACEOF
12081 if ac_fn_c_try_link "$LINENO"; then :
12082 case "$LIBEXT" in
12083 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12084 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'` ;;
12085 *) 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'`
12086 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12087 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12088 fi ;;
12089 esac
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_soname_save_LIBS
12095 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12097 $as_echo "not found" >&6; }
12099 else
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12101 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12103 cat >>confdefs.h <<_ACEOF
12104 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12105 _ACEOF
12107 CURSES_LIBS="-lncurses"
12109 elif test "$ac_cv_header_curses_h" = "yes"
12110 then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12112 $as_echo_n "checking for -lcurses... " >&6; }
12113 if ${ac_cv_lib_soname_curses+:} false; then :
12114 $as_echo_n "(cached) " >&6
12115 else
12116 ac_check_soname_save_LIBS=$LIBS
12117 LIBS="-lcurses $LIBS"
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 #ifdef __cplusplus
12125 extern "C"
12126 #endif
12127 char waddch ();
12129 main ()
12131 return waddch ();
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_link "$LINENO"; then :
12137 case "$LIBEXT" in
12138 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12139 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'` ;;
12140 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12141 if ${ac_cv_lib_soname_curses:+false} :; then :
12142 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12143 fi ;;
12144 esac
12146 rm -f core conftest.err conftest.$ac_objext \
12147 conftest$ac_exeext conftest.$ac_ext
12148 LIBS=$ac_check_soname_save_LIBS
12150 if ${ac_cv_lib_soname_curses:+false} :; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12152 $as_echo "not found" >&6; }
12154 else
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12156 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12158 cat >>confdefs.h <<_ACEOF
12159 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12160 _ACEOF
12162 CURSES_LIBS="-lcurses"
12165 ac_save_LIBS="$LIBS"
12166 LIBS="$LIBS $CURSES_LIBS"
12167 for ac_func in mousemask
12168 do :
12169 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12170 if test "x$ac_cv_func_mousemask" = xyes; then :
12171 cat >>confdefs.h <<_ACEOF
12172 #define HAVE_MOUSEMASK 1
12173 _ACEOF
12176 done
12178 LIBS="$ac_save_LIBS"
12179 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12180 case "x$with_curses" in
12181 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12182 xno) ;;
12183 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12184 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12185 esac
12189 if test "x$with_sane" != "xno"
12190 then
12191 if ${SANE_CFLAGS:+false} :; then :
12192 if ${PKG_CONFIG+:} false; then :
12193 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12196 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12197 if ${SANE_LIBS:+false} :; then :
12198 if ${PKG_CONFIG+:} false; then :
12199 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12202 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12204 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12205 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12206 ac_save_CPPFLAGS=$CPPFLAGS
12207 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12208 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12209 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12211 $as_echo_n "checking for -lsane... " >&6; }
12212 if ${ac_cv_lib_soname_sane+:} false; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 ac_check_soname_save_LIBS=$LIBS
12216 LIBS="-lsane $SANE_LIBS $LIBS"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char sane_init ();
12228 main ()
12230 return sane_init ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 case "$LIBEXT" in
12237 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12238 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'` ;;
12239 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12240 if ${ac_cv_lib_soname_sane:+false} :; then :
12241 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12242 fi ;;
12243 esac
12245 rm -f core conftest.err conftest.$ac_objext \
12246 conftest$ac_exeext conftest.$ac_ext
12247 LIBS=$ac_check_soname_save_LIBS
12249 if ${ac_cv_lib_soname_sane:+false} :; then :
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12251 $as_echo "not found" >&6; }
12252 SANE_CFLAGS=""
12253 else
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12255 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12257 cat >>confdefs.h <<_ACEOF
12258 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12259 _ACEOF
12263 else
12264 SANE_CFLAGS=""
12268 CPPFLAGS=$ac_save_CPPFLAGS
12269 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12270 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12273 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12274 case "x$with_sane" in
12275 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12276 xno) ;;
12277 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12278 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12279 esac
12283 if test "x$with_v4l" != "xno"
12284 then
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12286 $as_echo_n "checking for -lv4l1... " >&6; }
12287 if ${ac_cv_lib_soname_v4l1+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_soname_save_LIBS=$LIBS
12291 LIBS="-lv4l1 $LIBS"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char v4l1_open ();
12303 main ()
12305 return v4l1_open ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 case "$LIBEXT" in
12312 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12313 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'` ;;
12314 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12315 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12316 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12317 fi ;;
12318 esac
12320 rm -f core conftest.err conftest.$ac_objext \
12321 conftest$ac_exeext conftest.$ac_ext
12322 LIBS=$ac_check_soname_save_LIBS
12324 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12326 $as_echo "not found" >&6; }
12328 else
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12330 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12332 cat >>confdefs.h <<_ACEOF
12333 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12334 _ACEOF
12339 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12340 case "x$with_v4l" in
12341 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12342 xno) ;;
12343 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12344 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12345 esac
12349 if test "x$with_gphoto" != "xno"
12350 then
12351 if ${GPHOTO2_CFLAGS:+false} :; then :
12352 if ${PKG_CONFIG+:} false; then :
12353 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12356 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12357 if ${GPHOTO2_LIBS:+false} :; then :
12358 if ${PKG_CONFIG+:} false; then :
12359 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12362 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12363 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12364 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12365 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12366 ac_save_CPPFLAGS=$CPPFLAGS
12367 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12368 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12369 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12371 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12372 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12373 $as_echo_n "(cached) " >&6
12374 else
12375 ac_check_lib_save_LIBS=$LIBS
12376 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12380 /* Override any GCC internal prototype to avoid an error.
12381 Use char because int might match the return type of a GCC
12382 builtin and then its argument prototype would still apply. */
12383 #ifdef __cplusplus
12384 extern "C"
12385 #endif
12386 char gp_camera_new ();
12388 main ()
12390 return gp_camera_new ();
12392 return 0;
12394 _ACEOF
12395 if ac_fn_c_try_link "$LINENO"; then :
12396 ac_cv_lib_gphoto2_gp_camera_new=yes
12397 else
12398 ac_cv_lib_gphoto2_gp_camera_new=no
12400 rm -f core conftest.err conftest.$ac_objext \
12401 conftest$ac_exeext conftest.$ac_ext
12402 LIBS=$ac_check_lib_save_LIBS
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12405 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12406 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12408 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12410 else
12411 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12414 else
12415 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12419 CPPFLAGS=$ac_save_CPPFLAGS
12420 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12421 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12423 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12424 if ${PKG_CONFIG+:} false; then :
12425 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12428 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12429 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12430 if ${PKG_CONFIG+:} false; then :
12431 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12434 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12435 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12436 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12437 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12438 ac_save_CPPFLAGS=$CPPFLAGS
12439 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12440 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12441 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12443 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12444 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12445 $as_echo_n "(cached) " >&6
12446 else
12447 ac_check_lib_save_LIBS=$LIBS
12448 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12455 #ifdef __cplusplus
12456 extern "C"
12457 #endif
12458 char gp_port_info_list_new ();
12460 main ()
12462 return gp_port_info_list_new ();
12464 return 0;
12466 _ACEOF
12467 if ac_fn_c_try_link "$LINENO"; then :
12468 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12469 else
12470 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_lib_save_LIBS
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12477 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12478 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12480 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12482 else
12483 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12486 else
12487 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12491 CPPFLAGS=$ac_save_CPPFLAGS
12492 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12493 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12496 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12497 case "x$with_gphoto" in
12498 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12499 xno) ;;
12500 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12501 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12502 esac
12505 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12506 case "x$with_gphoto" in
12507 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12508 xno) ;;
12509 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12510 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12511 esac
12516 if test "$ac_cv_header_resolv_h" = "yes"
12517 then
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12519 $as_echo_n "checking for resolver library... " >&6; }
12520 if ${ac_cv_have_resolv+:} false; then :
12521 $as_echo_n "(cached) " >&6
12522 else
12523 ac_save_LIBS="$LIBS"
12524 for lib in '' -lresolv
12526 LIBS="$lib $ac_save_LIBS"
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12529 #ifdef HAVE_NETINET_IN_H
12530 #include <netinet/in.h>
12531 #endif
12532 #include <resolv.h>
12534 main ()
12536 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_link "$LINENO"; then :
12542 ac_cv_have_resolv=${lib:-"none required"}
12543 else
12544 ac_cv_have_resolv="not found"
12546 rm -f core conftest.err conftest.$ac_objext \
12547 conftest$ac_exeext conftest.$ac_ext
12548 test "x$ac_cv_have_resolv" = "xnot found" || break
12549 done
12550 LIBS="$ac_save_LIBS"
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12553 $as_echo "$ac_cv_have_resolv" >&6; }
12555 case "$ac_cv_have_resolv" in
12556 "not found") ;;
12557 "none required")
12559 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12562 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12564 RESOLV_LIBS=$ac_cv_have_resolv
12566 esac
12569 if test "x$with_cms" != "xno"
12570 then
12571 if ${LCMS2_CFLAGS:+false} :; then :
12572 if ${PKG_CONFIG+:} false; then :
12573 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12577 if ${LCMS2_LIBS:+false} :; then :
12578 if ${PKG_CONFIG+:} false; then :
12579 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12583 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12584 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12585 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12586 ac_save_CPPFLAGS=$CPPFLAGS
12587 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12588 for ac_header in lcms2.h
12589 do :
12590 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12591 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12592 cat >>confdefs.h <<_ACEOF
12593 #define HAVE_LCMS2_H 1
12594 _ACEOF
12598 done
12600 if test "$ac_cv_header_lcms2_h" = "yes"
12601 then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12603 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12604 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12605 $as_echo_n "(cached) " >&6
12606 else
12607 ac_check_lib_save_LIBS=$LIBS
12608 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12615 #ifdef __cplusplus
12616 extern "C"
12617 #endif
12618 char cmsOpenProfileFromFile ();
12620 main ()
12622 return cmsOpenProfileFromFile ();
12624 return 0;
12626 _ACEOF
12627 if ac_fn_c_try_link "$LINENO"; then :
12628 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12629 else
12630 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12632 rm -f core conftest.err conftest.$ac_objext \
12633 conftest$ac_exeext conftest.$ac_ext
12634 LIBS=$ac_check_lib_save_LIBS
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12637 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12638 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12640 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12642 else
12643 LCMS2_LIBS=""
12646 else
12647 LCMS2_CFLAGS=""
12648 LCMS2_LIBS=""
12650 CPPFLAGS=$ac_save_CPPFLAGS
12651 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12652 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12655 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12656 case "x$with_cms" in
12657 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12658 xno) ;;
12659 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12660 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12661 esac
12665 if test "x$with_freetype" != "xno"
12666 then
12667 if ${FREETYPE_CFLAGS:+false} :; then :
12668 if ${PKG_CONFIG+:} false; then :
12669 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12672 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12673 if ${FREETYPE_LIBS:+false} :; then :
12674 if ${PKG_CONFIG+:} false; then :
12675 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12678 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12679 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12680 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12681 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12682 ac_save_CPPFLAGS=$CPPFLAGS
12683 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12684 for ac_header in ft2build.h
12685 do :
12686 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12687 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12688 cat >>confdefs.h <<_ACEOF
12689 #define HAVE_FT2BUILD_H 1
12690 _ACEOF
12694 done
12696 if test "$ac_cv_header_ft2build_h" = "yes"
12697 then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12699 $as_echo_n "checking for -lfreetype... " >&6; }
12700 if ${ac_cv_lib_soname_freetype+:} false; then :
12701 $as_echo_n "(cached) " >&6
12702 else
12703 ac_check_soname_save_LIBS=$LIBS
12704 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12711 #ifdef __cplusplus
12712 extern "C"
12713 #endif
12714 char FT_Init_FreeType ();
12716 main ()
12718 return FT_Init_FreeType ();
12720 return 0;
12722 _ACEOF
12723 if ac_fn_c_try_link "$LINENO"; then :
12724 case "$LIBEXT" in
12725 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12726 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'` ;;
12727 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12728 if ${ac_cv_lib_soname_freetype:+false} :; then :
12729 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12730 fi ;;
12731 esac
12733 rm -f core conftest.err conftest.$ac_objext \
12734 conftest$ac_exeext conftest.$ac_ext
12735 LIBS=$ac_check_soname_save_LIBS
12737 if ${ac_cv_lib_soname_freetype:+false} :; then :
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12739 $as_echo "not found" >&6; }
12740 FREETYPE_LIBS=""
12741 else
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12743 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12745 cat >>confdefs.h <<_ACEOF
12746 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12747 _ACEOF
12750 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12752 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12753 #include FT_MODULE_H
12755 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12757 cat >>confdefs.h <<_ACEOF
12758 #define HAVE_FT_TRUETYPEENGINETYPE 1
12759 _ACEOF
12765 else
12766 FREETYPE_CFLAGS=""
12767 FREETYPE_LIBS=""
12769 CPPFLAGS=$ac_save_CPPFLAGS
12770 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12771 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12774 if test "x$ac_cv_lib_soname_freetype" = x; then :
12775 case "x$with_freetype" in
12776 xno) ;;
12777 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12778 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12779 esac
12780 enable_fonts=${enable_fonts:-no}
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12784 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12785 if ${ac_cv_c_ppdev+:} false; then :
12786 $as_echo_n "(cached) " >&6
12787 else
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12790 #ifdef HAVE_SYS_IOCTL_H
12791 # include <sys/ioctl.h>
12792 #endif
12793 #include <linux/ppdev.h>
12795 main ()
12797 ioctl (1,PPCLAIM,0)
12799 return 0;
12801 _ACEOF
12802 if ac_fn_c_try_compile "$LINENO"; then :
12803 ac_cv_c_ppdev="yes"
12804 else
12805 ac_cv_c_ppdev="no"
12807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12810 $as_echo "$ac_cv_c_ppdev" >&6; }
12811 if test "$ac_cv_c_ppdev" = "yes"
12812 then
12814 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12818 ac_wine_check_funcs_save_LIBS="$LIBS"
12819 LIBS="$LIBS $PTHREAD_LIBS"
12820 for ac_func in \
12821 pthread_attr_get_np \
12822 pthread_getattr_np \
12823 pthread_getthreadid_np \
12824 pthread_get_stackaddr_np \
12825 pthread_get_stacksize_np
12826 do :
12827 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12828 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12829 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12830 cat >>confdefs.h <<_ACEOF
12831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12832 _ACEOF
12835 done
12837 LIBS="$ac_wine_check_funcs_save_LIBS"
12839 if test "$ac_cv_header_zlib_h" = "yes"
12840 then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12842 $as_echo_n "checking for inflate in -lz... " >&6; }
12843 if ${ac_cv_lib_z_inflate+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_lib_save_LIBS=$LIBS
12847 LIBS="-lz $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char inflate ();
12859 main ()
12861 return inflate ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 ac_cv_lib_z_inflate=yes
12868 else
12869 ac_cv_lib_z_inflate=no
12871 rm -f core conftest.err conftest.$ac_objext \
12872 conftest$ac_exeext conftest.$ac_ext
12873 LIBS=$ac_check_lib_save_LIBS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12876 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12877 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12879 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12881 Z_LIBS="-lz"
12886 if test "x$Z_LIBS" = "x"; then :
12887 case "x$with_zlib" in
12888 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12889 xno) ;;
12890 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12891 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12892 esac
12896 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12897 then
12898 if test "$ac_cv_header_gettext_po_h" = "yes"
12899 then
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12901 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12902 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12903 $as_echo_n "(cached) " >&6
12904 else
12905 ac_check_lib_save_LIBS=$LIBS
12906 LIBS="-lgettextpo $LIBS"
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12913 #ifdef __cplusplus
12914 extern "C"
12915 #endif
12916 char po_message_msgctxt ();
12918 main ()
12920 return po_message_msgctxt ();
12922 return 0;
12924 _ACEOF
12925 if ac_fn_c_try_link "$LINENO"; then :
12926 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12927 else
12928 ac_cv_lib_gettextpo_po_message_msgctxt=no
12930 rm -f core conftest.err conftest.$ac_objext \
12931 conftest$ac_exeext conftest.$ac_ext
12932 LIBS=$ac_check_lib_save_LIBS
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12935 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12936 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12938 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12940 GETTEXTPO_LIBS="-lgettextpo"
12945 if test "x$GETTEXTPO_LIBS" = "x"; then :
12946 case "x$with_gettextpo" in
12947 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12948 xno) ;;
12949 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12950 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12951 esac
12954 if test "$srcdir" != .; then :
12955 case "x$with_gettextpo" in
12956 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12957 xno) ;;
12958 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12959 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12960 esac
12965 if test "x$with_pulse" != "xno";
12966 then
12967 if ${PULSE_CFLAGS:+false} :; then :
12968 if ${PKG_CONFIG+:} false; then :
12969 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12973 if ${PULSE_LIBS:+false} :; then :
12974 if ${PKG_CONFIG+:} false; then :
12975 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12980 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12981 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12982 ac_save_CPPFLAGS=$CPPFLAGS
12983 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12984 for ac_header in pulse/pulseaudio.h
12985 do :
12986 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12987 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12988 cat >>confdefs.h <<_ACEOF
12989 #define HAVE_PULSE_PULSEAUDIO_H 1
12990 _ACEOF
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12992 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12993 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12994 $as_echo_n "(cached) " >&6
12995 else
12996 ac_check_lib_save_LIBS=$LIBS
12997 LIBS="-lpulse $PULSE_LIBS $LIBS"
12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13001 /* Override any GCC internal prototype to avoid an error.
13002 Use char because int might match the return type of a GCC
13003 builtin and then its argument prototype would still apply. */
13004 #ifdef __cplusplus
13005 extern "C"
13006 #endif
13007 char pa_stream_is_corked ();
13009 main ()
13011 return pa_stream_is_corked ();
13013 return 0;
13015 _ACEOF
13016 if ac_fn_c_try_link "$LINENO"; then :
13017 ac_cv_lib_pulse_pa_stream_is_corked=yes
13018 else
13019 ac_cv_lib_pulse_pa_stream_is_corked=no
13021 rm -f core conftest.err conftest.$ac_objext \
13022 conftest$ac_exeext conftest.$ac_ext
13023 LIBS=$ac_check_lib_save_LIBS
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13026 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13027 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13029 else
13030 PULSE_LIBS=""
13033 else
13034 PULSE_LIBS=""
13037 done
13039 CPPFLAGS=$ac_save_CPPFLAGS
13040 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13041 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13044 if test -z "$PULSE_LIBS"; then :
13045 case "x$with_pulse" in
13046 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13047 xno) ;;
13048 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13049 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13050 esac
13051 enable_winepulse_drv=${enable_winepulse_drv:-no}
13054 if test "x$with_gstreamer" != "xno"
13055 then
13056 if ${GSTREAMER_CFLAGS:+false} :; then :
13057 if ${PKG_CONFIG+:} false; then :
13058 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13062 if ${GSTREAMER_LIBS:+false} :; then :
13063 if ${PKG_CONFIG+:} false; then :
13064 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13069 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13070 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13071 ac_save_CPPFLAGS=$CPPFLAGS
13072 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13073 ac_gst_incl=""
13074 for i in $GSTREAMER_CFLAGS
13076 case "$i" in
13077 -I*) ac_gst_incl="$ac_gst_incl $i";;
13078 esac
13079 done
13080 GSTREAMER_CFLAGS=$ac_gst_incl
13081 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13082 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13083 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13085 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 #include <gst/gst.h>
13090 main ()
13092 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13094 return 0;
13096 _ACEOF
13097 if ac_fn_c_try_compile "$LINENO"; then :
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13099 $as_echo "yes" >&6; }
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13101 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13102 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13103 $as_echo_n "(cached) " >&6
13104 else
13105 ac_check_lib_save_LIBS=$LIBS
13106 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 #ifdef __cplusplus
13114 extern "C"
13115 #endif
13116 char gst_pad_new ();
13118 main ()
13120 return gst_pad_new ();
13122 return 0;
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13127 else
13128 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_lib_save_LIBS
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13135 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13136 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13140 else
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142 $as_echo "no" >&6; }
13143 ac_glib2_broken=yes
13144 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13150 CPPFLAGS=$ac_save_CPPFLAGS
13151 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13152 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13155 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 :
13156 case "x$with_gstreamer" in
13157 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13158 xno) ;;
13159 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13160 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13161 esac
13164 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13166 ALSA_LIBS=""
13168 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13169 then
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13171 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13172 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13173 $as_echo_n "(cached) " >&6
13174 else
13175 ac_check_lib_save_LIBS=$LIBS
13176 LIBS="-lasound $LIBS"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13183 #ifdef __cplusplus
13184 extern "C"
13185 #endif
13186 char snd_pcm_hw_params_get_access_mask ();
13188 main ()
13190 return snd_pcm_hw_params_get_access_mask ();
13192 return 0;
13194 _ACEOF
13195 if ac_fn_c_try_link "$LINENO"; then :
13196 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13197 else
13198 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13200 rm -f core conftest.err conftest.$ac_objext \
13201 conftest$ac_exeext conftest.$ac_ext
13202 LIBS=$ac_check_lib_save_LIBS
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13205 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13206 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13209 #ifdef HAVE_ALSA_ASOUNDLIB_H
13210 #include <alsa/asoundlib.h>
13211 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13212 #include <sys/asoundlib.h>
13213 #endif
13215 main ()
13217 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_compile "$LINENO"; then :
13223 ALSA_LIBS="-lasound"
13225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13231 if test "x$with_oss" != xno
13232 then
13233 ac_save_CPPFLAGS="$CPPFLAGS"
13234 if test -f /etc/oss.conf
13235 then
13236 . /etc/oss.conf
13238 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13239 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13240 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13242 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13244 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13246 cat >>confdefs.h <<_ACEOF
13247 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13248 _ACEOF
13250 OSS4_CFLAGS="$ac_oss_incl"
13257 CPPFLAGS="$ac_save_CPPFLAGS"
13259 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13260 case "x$with_oss" in
13261 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13262 xno) ;;
13263 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13264 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13265 esac
13266 enable_wineoss_drv=${enable_wineoss_drv:-no}
13269 if test "x$with_udev" != "xno"
13270 then
13271 if ${UDEV_CFLAGS:+false} :; then :
13272 if ${PKG_CONFIG+:} false; then :
13273 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13277 if ${UDEV_LIBS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13283 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13284 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13285 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13286 ac_save_CPPFLAGS=$CPPFLAGS
13287 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13288 for ac_header in libudev.h
13289 do :
13290 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13291 if test "x$ac_cv_header_libudev_h" = xyes; then :
13292 cat >>confdefs.h <<_ACEOF
13293 #define HAVE_LIBUDEV_H 1
13294 _ACEOF
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13296 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13297 if ${ac_cv_lib_udev_udev_new+:} false; then :
13298 $as_echo_n "(cached) " >&6
13299 else
13300 ac_check_lib_save_LIBS=$LIBS
13301 LIBS="-ludev $UDEV_LIBS $LIBS"
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13308 #ifdef __cplusplus
13309 extern "C"
13310 #endif
13311 char udev_new ();
13313 main ()
13315 return udev_new ();
13317 return 0;
13319 _ACEOF
13320 if ac_fn_c_try_link "$LINENO"; then :
13321 ac_cv_lib_udev_udev_new=yes
13322 else
13323 ac_cv_lib_udev_udev_new=no
13325 rm -f core conftest.err conftest.$ac_objext \
13326 conftest$ac_exeext conftest.$ac_ext
13327 LIBS=$ac_check_lib_save_LIBS
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13330 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13331 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13333 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13335 else
13336 UDEV_LIBS=""
13339 else
13340 UDEV_LIBS=""
13343 done
13345 CPPFLAGS=$ac_save_CPPFLAGS
13346 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13347 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13350 if test "x$UDEV_LIBS" = "x"; then :
13351 case "x$with_udev" in
13352 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13353 xno) ;;
13354 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13355 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13356 esac
13360 if test "x$with_capi" != "xno"
13361 then
13362 if ${CAPI20_CFLAGS:+false} :; then :
13363 if ${PKG_CONFIG+:} false; then :
13364 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13368 if ${CAPI20_LIBS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13375 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13376 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13377 ac_save_CPPFLAGS=$CPPFLAGS
13378 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13379 for ac_header in capi20.h linux/capi.h
13380 do :
13381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13382 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13384 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13385 cat >>confdefs.h <<_ACEOF
13386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13387 _ACEOF
13391 done
13393 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13394 then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13396 $as_echo_n "checking for -lcapi20... " >&6; }
13397 if ${ac_cv_lib_soname_capi20+:} false; then :
13398 $as_echo_n "(cached) " >&6
13399 else
13400 ac_check_soname_save_LIBS=$LIBS
13401 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13408 #ifdef __cplusplus
13409 extern "C"
13410 #endif
13411 char capi20_register ();
13413 main ()
13415 return capi20_register ();
13417 return 0;
13419 _ACEOF
13420 if ac_fn_c_try_link "$LINENO"; then :
13421 case "$LIBEXT" in
13422 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13423 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'` ;;
13424 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13425 if ${ac_cv_lib_soname_capi20:+false} :; then :
13426 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13427 fi ;;
13428 esac
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_soname_save_LIBS
13434 if ${ac_cv_lib_soname_capi20:+false} :; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13438 else
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13440 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13442 cat >>confdefs.h <<_ACEOF
13443 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13444 _ACEOF
13449 CPPFLAGS=$ac_save_CPPFLAGS
13450 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13451 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13454 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13455 case "x$with_capi" in
13456 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13457 xno) ;;
13458 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13459 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13460 esac
13464 if test "x$with_cups" != "xno"
13465 then
13466 if ${CUPS_CFLAGS:+false} :; then :
13467 if ${PKG_CONFIG+:} false; then :
13468 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13471 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13472 if ${CUPS_LIBS:+false} :; then :
13473 if ${PKG_CONFIG+:} false; then :
13474 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13477 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13478 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13479 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13480 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13481 ac_save_CPPFLAGS=$CPPFLAGS
13482 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13483 for ac_header in cups/cups.h cups/ppd.h
13484 do :
13485 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13486 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13488 cat >>confdefs.h <<_ACEOF
13489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13490 _ACEOF
13494 done
13496 if test "$ac_cv_header_cups_cups_h" = "yes"
13497 then
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13499 $as_echo_n "checking for -lcups... " >&6; }
13500 if ${ac_cv_lib_soname_cups+:} false; then :
13501 $as_echo_n "(cached) " >&6
13502 else
13503 ac_check_soname_save_LIBS=$LIBS
13504 LIBS="-lcups $CUPS_LIBS $LIBS"
13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13508 /* Override any GCC internal prototype to avoid an error.
13509 Use char because int might match the return type of a GCC
13510 builtin and then its argument prototype would still apply. */
13511 #ifdef __cplusplus
13512 extern "C"
13513 #endif
13514 char cupsGetDefault ();
13516 main ()
13518 return cupsGetDefault ();
13520 return 0;
13522 _ACEOF
13523 if ac_fn_c_try_link "$LINENO"; then :
13524 case "$LIBEXT" in
13525 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13526 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'` ;;
13527 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13528 if ${ac_cv_lib_soname_cups:+false} :; then :
13529 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13530 fi ;;
13531 esac
13533 rm -f core conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_soname_save_LIBS
13537 if ${ac_cv_lib_soname_cups:+false} :; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13539 $as_echo "not found" >&6; }
13540 CUPS_LIBS=""
13541 else
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13543 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13545 cat >>confdefs.h <<_ACEOF
13546 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13547 _ACEOF
13551 else
13552 CUPS_CFLAGS=""
13553 CUPS_LIBS=""
13555 CPPFLAGS=$ac_save_CPPFLAGS
13556 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13557 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13560 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13561 case "x$with_cups" in
13562 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13563 xno) ;;
13564 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13565 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13566 esac
13570 if test "x$with_fontconfig" != "xno"
13571 then
13572 if ${FONTCONFIG_CFLAGS:+false} :; then :
13573 if ${PKG_CONFIG+:} false; then :
13574 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13577 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13578 if ${FONTCONFIG_LIBS:+false} :; then :
13579 if ${PKG_CONFIG+:} false; then :
13580 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13583 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13585 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13586 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13587 ac_save_CPPFLAGS=$CPPFLAGS
13588 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13589 for ac_header in fontconfig/fontconfig.h
13590 do :
13591 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13592 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13593 cat >>confdefs.h <<_ACEOF
13594 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13595 _ACEOF
13599 done
13601 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13602 then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13604 $as_echo_n "checking for -lfontconfig... " >&6; }
13605 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13606 $as_echo_n "(cached) " >&6
13607 else
13608 ac_check_soname_save_LIBS=$LIBS
13609 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13613 /* Override any GCC internal prototype to avoid an error.
13614 Use char because int might match the return type of a GCC
13615 builtin and then its argument prototype would still apply. */
13616 #ifdef __cplusplus
13617 extern "C"
13618 #endif
13619 char FcInit ();
13621 main ()
13623 return FcInit ();
13625 return 0;
13627 _ACEOF
13628 if ac_fn_c_try_link "$LINENO"; then :
13629 case "$LIBEXT" in
13630 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13631 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'` ;;
13632 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13633 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13634 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13635 fi ;;
13636 esac
13638 rm -f core conftest.err conftest.$ac_objext \
13639 conftest$ac_exeext conftest.$ac_ext
13640 LIBS=$ac_check_soname_save_LIBS
13642 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13644 $as_echo "not found" >&6; }
13645 FONTCONFIG_CFLAGS=""
13646 else
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13648 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13650 cat >>confdefs.h <<_ACEOF
13651 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13652 _ACEOF
13656 else
13657 FONTCONFIG_CFLAGS=""
13659 CPPFLAGS=$ac_save_CPPFLAGS
13660 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13661 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13664 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13665 case "x$with_fontconfig" in
13666 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13667 xno) ;;
13668 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13669 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13670 esac
13674 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13675 then
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13677 $as_echo_n "checking for -lgsm... " >&6; }
13678 if ${ac_cv_lib_soname_gsm+:} false; then :
13679 $as_echo_n "(cached) " >&6
13680 else
13681 ac_check_soname_save_LIBS=$LIBS
13682 LIBS="-lgsm $LIBS"
13683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13686 /* Override any GCC internal prototype to avoid an error.
13687 Use char because int might match the return type of a GCC
13688 builtin and then its argument prototype would still apply. */
13689 #ifdef __cplusplus
13690 extern "C"
13691 #endif
13692 char gsm_create ();
13694 main ()
13696 return gsm_create ();
13698 return 0;
13700 _ACEOF
13701 if ac_fn_c_try_link "$LINENO"; then :
13702 case "$LIBEXT" in
13703 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13704 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'` ;;
13705 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13706 if ${ac_cv_lib_soname_gsm:+false} :; then :
13707 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13708 fi ;;
13709 esac
13711 rm -f core conftest.err conftest.$ac_objext \
13712 conftest$ac_exeext conftest.$ac_ext
13713 LIBS=$ac_check_soname_save_LIBS
13715 if ${ac_cv_lib_soname_gsm:+false} :; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13717 $as_echo "not found" >&6; }
13719 else
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13721 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13723 cat >>confdefs.h <<_ACEOF
13724 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13725 _ACEOF
13730 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13731 case "x$with_gsm" in
13732 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13733 xno) ;;
13734 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13735 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13736 esac
13740 if test "x$with_krb5" != "xno"
13741 then
13742 if ${KRB5_CFLAGS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13747 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13748 if ${KRB5_LIBS:+false} :; then :
13749 if ${PKG_CONFIG+:} false; then :
13750 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13753 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13755 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13756 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13757 ac_save_CPPFLAGS=$CPPFLAGS
13758 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13759 for ac_header in krb5/krb5.h
13760 do :
13761 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13762 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13763 cat >>confdefs.h <<_ACEOF
13764 #define HAVE_KRB5_KRB5_H 1
13765 _ACEOF
13769 done
13771 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13772 then
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13774 $as_echo_n "checking for -lkrb5... " >&6; }
13775 if ${ac_cv_lib_soname_krb5+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_check_soname_save_LIBS=$LIBS
13779 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13783 /* Override any GCC internal prototype to avoid an error.
13784 Use char because int might match the return type of a GCC
13785 builtin and then its argument prototype would still apply. */
13786 #ifdef __cplusplus
13787 extern "C"
13788 #endif
13789 char krb5_init_context ();
13791 main ()
13793 return krb5_init_context ();
13795 return 0;
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"; then :
13799 case "$LIBEXT" in
13800 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13801 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'` ;;
13802 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13803 if ${ac_cv_lib_soname_krb5:+false} :; then :
13804 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13805 fi ;;
13806 esac
13808 rm -f core conftest.err conftest.$ac_objext \
13809 conftest$ac_exeext conftest.$ac_ext
13810 LIBS=$ac_check_soname_save_LIBS
13812 if ${ac_cv_lib_soname_krb5:+false} :; then :
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13814 $as_echo "not found" >&6; }
13815 KRB5_CFLAGS=""
13816 else
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13818 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13820 cat >>confdefs.h <<_ACEOF
13821 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13822 _ACEOF
13826 else
13827 KRB5_CFLAGS=""
13829 CPPFLAGS=$ac_save_CPPFLAGS
13830 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13831 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13834 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13835 case "x$with_krb5" in
13836 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13837 xno) ;;
13838 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13839 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13840 esac
13844 if test "x$with_gssapi" != "xno"
13845 then
13846 if ${GSSAPI_CFLAGS:+false} :; then :
13847 if ${PKG_CONFIG+:} false; then :
13848 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13851 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13852 if ${GSSAPI_LIBS:+false} :; then :
13853 if ${PKG_CONFIG+:} false; then :
13854 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13857 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13859 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13860 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13861 ac_save_CPPFLAGS=$CPPFLAGS
13862 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13863 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13864 do :
13865 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13866 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13868 cat >>confdefs.h <<_ACEOF
13869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13870 _ACEOF
13874 done
13876 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13877 then
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13879 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13880 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_check_soname_save_LIBS=$LIBS
13884 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 char gss_init_sec_context ();
13896 main ()
13898 return gss_init_sec_context ();
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 case "$LIBEXT" in
13905 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13906 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13907 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13908 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13909 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13910 fi ;;
13911 esac
13913 rm -f core conftest.err conftest.$ac_objext \
13914 conftest$ac_exeext conftest.$ac_ext
13915 LIBS=$ac_check_soname_save_LIBS
13917 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13919 $as_echo "not found" >&6; }
13920 GSSAPI_CFLAGS=""
13921 else
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13923 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13927 _ACEOF
13931 else
13932 GSSAPI_CFLAGS=""
13934 CPPFLAGS=$ac_save_CPPFLAGS
13935 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13936 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13939 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13940 case "x$with_gssapi" in
13941 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13942 xno) ;;
13943 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13944 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13945 esac
13949 if test "x$with_jpeg" != "xno"
13950 then
13951 if ${JPEG_CFLAGS:+false} :; then :
13952 if ${PKG_CONFIG+:} false; then :
13953 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13957 if ${JPEG_LIBS:+false} :; then :
13958 if ${PKG_CONFIG+:} false; then :
13959 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13964 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13965 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13966 ac_save_CPPFLAGS=$CPPFLAGS
13967 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13968 for ac_header in jpeglib.h
13969 do :
13970 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13971 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13972 cat >>confdefs.h <<_ACEOF
13973 #define HAVE_JPEGLIB_H 1
13974 _ACEOF
13978 done
13980 if test "$ac_cv_header_jpeglib_h" = "yes"
13981 then
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13983 $as_echo_n "checking for -ljpeg... " >&6; }
13984 if ${ac_cv_lib_soname_jpeg+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 ac_check_soname_save_LIBS=$LIBS
13988 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 char jpeg_start_decompress ();
14000 main ()
14002 return jpeg_start_decompress ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 case "$LIBEXT" in
14009 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14010 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'` ;;
14011 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14012 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14013 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14014 fi ;;
14015 esac
14017 rm -f core conftest.err conftest.$ac_objext \
14018 conftest$ac_exeext conftest.$ac_ext
14019 LIBS=$ac_check_soname_save_LIBS
14021 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14023 $as_echo "not found" >&6; }
14024 JPEG_CFLAGS=""
14025 else
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14027 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14029 cat >>confdefs.h <<_ACEOF
14030 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14031 _ACEOF
14035 else
14036 JPEG_CFLAGS=""
14038 CPPFLAGS=$ac_save_CPPFLAGS
14039 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14040 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14043 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14044 case "x$with_jpeg" in
14045 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14046 xno) ;;
14047 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14048 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14049 esac
14053 if test "x$with_png" != "xno"
14054 then
14055 if ${PNG_CFLAGS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14060 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14061 if ${PNG_LIBS:+false} :; then :
14062 if ${PKG_CONFIG+:} false; then :
14063 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14066 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14069 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14070 ac_save_CPPFLAGS=$CPPFLAGS
14071 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14072 for ac_header in png.h
14073 do :
14074 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14075 if test "x$ac_cv_header_png_h" = xyes; then :
14076 cat >>confdefs.h <<_ACEOF
14077 #define HAVE_PNG_H 1
14078 _ACEOF
14082 done
14084 if test "$ac_cv_header_png_h" = "yes"
14085 then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14087 $as_echo_n "checking for -lpng... " >&6; }
14088 if ${ac_cv_lib_soname_png+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 ac_check_soname_save_LIBS=$LIBS
14092 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14096 /* Override any GCC internal prototype to avoid an error.
14097 Use char because int might match the return type of a GCC
14098 builtin and then its argument prototype would still apply. */
14099 #ifdef __cplusplus
14100 extern "C"
14101 #endif
14102 char png_create_read_struct ();
14104 main ()
14106 return png_create_read_struct ();
14108 return 0;
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"; then :
14112 case "$LIBEXT" in
14113 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14114 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'` ;;
14115 *) 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'`
14116 if ${ac_cv_lib_soname_png:+false} :; then :
14117 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14118 fi ;;
14119 esac
14121 rm -f core conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 LIBS=$ac_check_soname_save_LIBS
14125 if ${ac_cv_lib_soname_png:+false} :; then :
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14127 $as_echo "not found" >&6; }
14128 PNG_CFLAGS=""
14129 else
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14131 $as_echo "$ac_cv_lib_soname_png" >&6; }
14133 cat >>confdefs.h <<_ACEOF
14134 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14135 _ACEOF
14139 else
14140 PNG_CFLAGS=""
14142 CPPFLAGS=$ac_save_CPPFLAGS
14143 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14144 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14147 if test "x$ac_cv_lib_soname_png" = "x"; then :
14148 case "x$with_png" in
14149 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14150 xno) ;;
14151 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14152 This is an error since --with-png was requested." "$LINENO" 5 ;;
14153 esac
14157 if test "x$with_tiff" != "xno"
14158 then
14159 if ${TIFF_CFLAGS:+false} :; then :
14160 if ${PKG_CONFIG+:} false; then :
14161 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14165 if ${TIFF_LIBS:+false} :; then :
14166 if ${PKG_CONFIG+:} false; then :
14167 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14172 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14173 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14174 ac_save_CPPFLAGS=$CPPFLAGS
14175 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14176 for ac_header in tiffio.h
14177 do :
14178 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14179 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14180 cat >>confdefs.h <<_ACEOF
14181 #define HAVE_TIFFIO_H 1
14182 _ACEOF
14186 done
14188 if test "$ac_cv_header_tiffio_h" = "yes"
14189 then
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14191 $as_echo_n "checking for -ltiff... " >&6; }
14192 if ${ac_cv_lib_soname_tiff+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 ac_check_soname_save_LIBS=$LIBS
14196 LIBS="-ltiff $TIFF_LIBS $LIBS"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14203 #ifdef __cplusplus
14204 extern "C"
14205 #endif
14206 char TIFFClientOpen ();
14208 main ()
14210 return TIFFClientOpen ();
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 case "$LIBEXT" in
14217 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14218 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'` ;;
14219 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14220 if ${ac_cv_lib_soname_tiff:+false} :; then :
14221 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14222 fi ;;
14223 esac
14225 rm -f core conftest.err conftest.$ac_objext \
14226 conftest$ac_exeext conftest.$ac_ext
14227 LIBS=$ac_check_soname_save_LIBS
14229 if ${ac_cv_lib_soname_tiff:+false} :; then :
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14231 $as_echo "not found" >&6; }
14233 else
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14235 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14237 cat >>confdefs.h <<_ACEOF
14238 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14239 _ACEOF
14244 CPPFLAGS=$ac_save_CPPFLAGS
14245 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14246 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14249 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14250 case "x$with_tiff" in
14251 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14252 xno) ;;
14253 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14254 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14255 esac
14259 if test "x$with_mpg123" != "xno"
14260 then
14261 if ${MPG123_CFLAGS:+false} :; then :
14262 if ${PKG_CONFIG+:} false; then :
14263 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14267 if ${MPG123_LIBS:+false} :; then :
14268 if ${PKG_CONFIG+:} false; then :
14269 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14273 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14274 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14275 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14276 ac_save_CPPFLAGS=$CPPFLAGS
14277 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14278 for ac_header in mpg123.h
14279 do :
14280 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14281 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14282 cat >>confdefs.h <<_ACEOF
14283 #define HAVE_MPG123_H 1
14284 _ACEOF
14288 done
14290 if test "$ac_cv_header_mpg123_h" = "yes"
14291 then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14293 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14294 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14295 $as_echo_n "(cached) " >&6
14296 else
14297 ac_check_lib_save_LIBS=$LIBS
14298 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14302 /* Override any GCC internal prototype to avoid an error.
14303 Use char because int might match the return type of a GCC
14304 builtin and then its argument prototype would still apply. */
14305 #ifdef __cplusplus
14306 extern "C"
14307 #endif
14308 char mpg123_feed ();
14310 main ()
14312 return mpg123_feed ();
14314 return 0;
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_lib_mpg123_mpg123_feed=yes
14319 else
14320 ac_cv_lib_mpg123_mpg123_feed=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 LIBS=$ac_check_lib_save_LIBS
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14327 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14328 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14330 else
14331 MPG123_LIBS=""
14334 else
14335 MPG123_CFLAGS=""
14336 MPG123_LIBS=""
14338 CPPFLAGS=$ac_save_CPPFLAGS
14339 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14340 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14343 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14344 case "x$with_mpg123" in
14345 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14346 xno) ;;
14347 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14348 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14349 esac
14350 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14353 if test "$ac_cv_header_AL_al_h" = "yes"
14354 then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14356 $as_echo_n "checking for -lopenal... " >&6; }
14357 if ${ac_cv_lib_soname_openal+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 ac_check_soname_save_LIBS=$LIBS
14361 LIBS="-lopenal $LIBS"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14368 #ifdef __cplusplus
14369 extern "C"
14370 #endif
14371 char alGetSource3i ();
14373 main ()
14375 return alGetSource3i ();
14377 return 0;
14379 _ACEOF
14380 if ac_fn_c_try_link "$LINENO"; then :
14381 case "$LIBEXT" in
14382 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14383 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'` ;;
14384 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14385 if ${ac_cv_lib_soname_openal:+false} :; then :
14386 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14387 fi ;;
14388 esac
14390 rm -f core conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_check_soname_save_LIBS
14394 if ${ac_cv_lib_soname_openal:+false} :; then :
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14396 $as_echo "not found" >&6; }
14398 else
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14400 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14402 cat >>confdefs.h <<_ACEOF
14403 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14404 _ACEOF
14406 OPENAL_LIBS="-lopenal"
14408 ac_cv_lib_openal=yes
14410 cat >>confdefs.h <<_ACEOF
14411 #define HAVE_OPENAL 1
14412 _ACEOF
14416 if test "x$ac_cv_lib_openal" != xyes; then :
14417 case "x$with_openal" in
14418 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14419 xno) ;;
14420 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14421 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14422 esac
14423 enable_openal32=${enable_openal32:-no}
14426 if test "x$ac_cv_lib_openal" = xyes
14427 then
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14429 $as_echo_n "checking for openal-soft... " >&6; }
14430 if ${ac_cv_have_openalsoft+:} false; then :
14431 $as_echo_n "(cached) " >&6
14432 else
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 #include <AL/al.h>
14436 #include <AL/alc.h>
14437 #include <AL/alext.h>
14438 LPALCRENDERSAMPLESSOFT x;
14440 main ()
14444 return 0;
14446 _ACEOF
14447 if ac_fn_c_try_compile "$LINENO"; then :
14448 ac_cv_have_openalsoft=yes
14449 else
14450 ac_cv_have_openalsoft=no
14452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14455 $as_echo "$ac_cv_have_openalsoft" >&6; }
14457 if test "x$ac_cv_have_openalsoft" != xyes
14458 then
14459 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14460 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14461 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14462 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14463 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14464 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14465 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14466 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14467 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14468 enable_xapofx1_1=${enable_xapofx1_1:-no}
14469 enable_xapofx1_2=${enable_xapofx1_2:-no}
14470 enable_xapofx1_3=${enable_xapofx1_3:-no}
14471 enable_xapofx1_4=${enable_xapofx1_4:-no}
14472 enable_xapofx1_5=${enable_xapofx1_5:-no}
14473 enable_xaudio2_0=${enable_xaudio2_0:-no}
14474 enable_xaudio2_1=${enable_xaudio2_1:-no}
14475 enable_xaudio2_2=${enable_xaudio2_2:-no}
14476 enable_xaudio2_3=${enable_xaudio2_3:-no}
14477 enable_xaudio2_4=${enable_xaudio2_4:-no}
14478 enable_xaudio2_5=${enable_xaudio2_5:-no}
14479 enable_xaudio2_6=${enable_xaudio2_6:-no}
14480 enable_xaudio2_7=${enable_xaudio2_7:-no}
14481 enable_xaudio2_8=${enable_xaudio2_8:-no}
14482 enable_xaudio2_9=${enable_xaudio2_9:-no}
14485 if test "$ac_cv_header_kstat_h" = "yes"
14486 then
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14488 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14489 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14490 $as_echo_n "(cached) " >&6
14491 else
14492 ac_check_lib_save_LIBS=$LIBS
14493 LIBS="-lkstat $LIBS"
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14497 /* Override any GCC internal prototype to avoid an error.
14498 Use char because int might match the return type of a GCC
14499 builtin and then its argument prototype would still apply. */
14500 #ifdef __cplusplus
14501 extern "C"
14502 #endif
14503 char kstat_open ();
14505 main ()
14507 return kstat_open ();
14509 return 0;
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"; then :
14513 ac_cv_lib_kstat_kstat_open=yes
14514 else
14515 ac_cv_lib_kstat_kstat_open=no
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14519 LIBS=$ac_check_lib_save_LIBS
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14522 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14523 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14525 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14527 KSTAT_LIBS="-lkstat"
14533 if test "$ac_cv_header_libprocstat_h" = "yes"
14534 then
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14536 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14537 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14538 $as_echo_n "(cached) " >&6
14539 else
14540 ac_check_lib_save_LIBS=$LIBS
14541 LIBS="-lprocstat $LIBS"
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14548 #ifdef __cplusplus
14549 extern "C"
14550 #endif
14551 char procstat_open_sysctl ();
14553 main ()
14555 return procstat_open_sysctl ();
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_lib_procstat_procstat_open_sysctl=yes
14562 else
14563 ac_cv_lib_procstat_procstat_open_sysctl=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 LIBS=$ac_check_lib_save_LIBS
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14570 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14571 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14573 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14575 PROCSTAT_LIBS="-lprocstat"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14582 $as_echo_n "checking for -lodbc... " >&6; }
14583 if ${ac_cv_lib_soname_odbc+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_check_soname_save_LIBS=$LIBS
14587 LIBS="-lodbc $LIBS"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 #ifdef __cplusplus
14595 extern "C"
14596 #endif
14597 char SQLConnect ();
14599 main ()
14601 return SQLConnect ();
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 case "$LIBEXT" in
14608 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14609 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'` ;;
14610 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14611 if ${ac_cv_lib_soname_odbc:+false} :; then :
14612 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14613 fi ;;
14614 esac
14616 rm -f core conftest.err conftest.$ac_objext \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_soname_save_LIBS
14620 if ${ac_cv_lib_soname_odbc:+false} :; then :
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14622 $as_echo "not found" >&6; }
14623 cat >>confdefs.h <<_ACEOF
14624 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14625 _ACEOF
14627 else
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14629 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14631 cat >>confdefs.h <<_ACEOF
14632 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14633 _ACEOF
14638 if test "x$with_netapi" != "xno"
14639 then
14640 if ${NETAPI_CFLAGS:+false} :; then :
14641 if ${PKG_CONFIG+:} false; then :
14642 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14646 if ${NETAPI_LIBS:+false} :; then :
14647 if ${PKG_CONFIG+:} false; then :
14648 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14653 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14654 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14655 ac_save_CPPFLAGS=$CPPFLAGS
14656 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14658 $as_echo_n "checking for -lnetapi... " >&6; }
14659 if ${ac_cv_lib_soname_netapi+:} false; then :
14660 $as_echo_n "(cached) " >&6
14661 else
14662 ac_check_soname_save_LIBS=$LIBS
14663 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14670 #ifdef __cplusplus
14671 extern "C"
14672 #endif
14673 char libnetapi_init ();
14675 main ()
14677 return libnetapi_init ();
14679 return 0;
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 case "$LIBEXT" in
14684 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14685 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'` ;;
14686 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14687 if ${ac_cv_lib_soname_netapi:+false} :; then :
14688 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14689 fi ;;
14690 esac
14692 rm -f core conftest.err conftest.$ac_objext \
14693 conftest$ac_exeext conftest.$ac_ext
14694 LIBS=$ac_check_soname_save_LIBS
14696 if ${ac_cv_lib_soname_netapi:+false} :; then :
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14698 $as_echo "not found" >&6; }
14699 cat >>confdefs.h <<_ACEOF
14700 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14701 _ACEOF
14703 else
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14705 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14707 cat >>confdefs.h <<_ACEOF
14708 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14709 _ACEOF
14713 CPPFLAGS=$ac_save_CPPFLAGS
14714 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14715 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14719 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14720 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14721 then
14722 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14726 EXTRACFLAGS=""
14728 if test "x${GCC}" = "xyes"
14729 then
14730 EXTRACFLAGS="-Wall -pipe"
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14733 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14734 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14735 $as_echo_n "(cached) " >&6
14736 else
14737 if test "$cross_compiling" = yes; then :
14738 ac_cv_c_gcc_strength_bug="no"
14739 else
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 int L[4] = {0,1,2,3};
14744 main ()
14746 static int Array[3];
14747 unsigned int B = 3;
14748 int i;
14749 for(i=0; i<B; i++) Array[i] = i - 3;
14750 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14751 L[i] = 4;
14752 return (Array[1] != -2 || L[2] != 3)
14754 return 0;
14756 _ACEOF
14757 if ac_fn_c_try_run "$LINENO"; then :
14758 ac_cv_c_gcc_strength_bug="no"
14759 else
14760 ac_cv_c_gcc_strength_bug="yes"
14762 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14763 conftest.$ac_objext conftest.beam conftest.$ac_ext
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14768 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14769 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14770 then
14771 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14775 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14776 if ${ac_cv_cflags__fno_builtin+:} false; then :
14777 $as_echo_n "(cached) " >&6
14778 else
14779 ac_wine_try_cflags_saved=$CFLAGS
14780 CFLAGS="$CFLAGS -fno-builtin"
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_cflags__fno_builtin=yes
14787 else
14788 ac_cv_cflags__fno_builtin=no
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14792 CFLAGS=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14795 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14796 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14797 BUILTINFLAG="-fno-builtin"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14801 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14802 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14803 $as_echo_n "(cached) " >&6
14804 else
14805 ac_wine_try_cflags_saved=$CFLAGS
14806 CFLAGS="$CFLAGS -fno-strict-aliasing"
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14809 int main(int argc, char **argv) { return 0; }
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 ac_cv_cflags__fno_strict_aliasing=yes
14813 else
14814 ac_cv_cflags__fno_strict_aliasing=no
14816 rm -f core conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14818 CFLAGS=$ac_wine_try_cflags_saved
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14821 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14822 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14823 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14826 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14827 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14828 $as_echo_n "(cached) " >&6
14829 else
14830 ac_wine_try_cflags_saved=$CFLAGS
14831 CFLAGS="$CFLAGS -fexcess-precision=standard"
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14834 int main(int argc, char **argv) { return 0; }
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_cflags__fexcess_precision_standard=yes
14838 else
14839 ac_cv_cflags__fexcess_precision_standard=no
14841 rm -f core conftest.err conftest.$ac_objext \
14842 conftest$ac_exeext conftest.$ac_ext
14843 CFLAGS=$ac_wine_try_cflags_saved
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14846 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14847 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14848 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14851 saved_CFLAGS=$CFLAGS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14853 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14854 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 ac_wine_try_cflags_saved=$CFLAGS
14858 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 int main(int argc, char **argv) { return 0; }
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"; then :
14864 ac_cv_cflags__Werror_unknown_warning_option=yes
14865 else
14866 ac_cv_cflags__Werror_unknown_warning_option=no
14868 rm -f core conftest.err conftest.$ac_objext \
14869 conftest$ac_exeext conftest.$ac_ext
14870 CFLAGS=$ac_wine_try_cflags_saved
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14873 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14874 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14875 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14878 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14879 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14880 $as_echo_n "(cached) " >&6
14881 else
14882 ac_wine_try_cflags_saved=$CFLAGS
14883 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 int main(int argc, char **argv) { return 0; }
14887 _ACEOF
14888 if ac_fn_c_try_link "$LINENO"; then :
14889 ac_cv_cflags__Wdeclaration_after_statement=yes
14890 else
14891 ac_cv_cflags__Wdeclaration_after_statement=no
14893 rm -f core conftest.err conftest.$ac_objext \
14894 conftest$ac_exeext conftest.$ac_ext
14895 CFLAGS=$ac_wine_try_cflags_saved
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14898 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14899 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14900 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14903 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14904 if ${ac_cv_cflags__Wempty_body+:} false; then :
14905 $as_echo_n "(cached) " >&6
14906 else
14907 ac_wine_try_cflags_saved=$CFLAGS
14908 CFLAGS="$CFLAGS -Wempty-body"
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 int main(int argc, char **argv) { return 0; }
14912 _ACEOF
14913 if ac_fn_c_try_link "$LINENO"; then :
14914 ac_cv_cflags__Wempty_body=yes
14915 else
14916 ac_cv_cflags__Wempty_body=no
14918 rm -f core conftest.err conftest.$ac_objext \
14919 conftest$ac_exeext conftest.$ac_ext
14920 CFLAGS=$ac_wine_try_cflags_saved
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14923 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14924 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14925 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14928 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14929 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14930 $as_echo_n "(cached) " >&6
14931 else
14932 ac_wine_try_cflags_saved=$CFLAGS
14933 CFLAGS="$CFLAGS -Wignored-qualifiers"
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 int main(int argc, char **argv) { return 0; }
14937 _ACEOF
14938 if ac_fn_c_try_link "$LINENO"; then :
14939 ac_cv_cflags__Wignored_qualifiers=yes
14940 else
14941 ac_cv_cflags__Wignored_qualifiers=no
14943 rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14945 CFLAGS=$ac_wine_try_cflags_saved
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14948 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14949 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14950 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14953 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14954 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 ac_wine_try_cflags_saved=$CFLAGS
14958 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 int main(int argc, char **argv) { return 0; }
14962 _ACEOF
14963 if ac_fn_c_try_link "$LINENO"; then :
14964 ac_cv_cflags__Wpacked_not_aligned=yes
14965 else
14966 ac_cv_cflags__Wpacked_not_aligned=no
14968 rm -f core conftest.err conftest.$ac_objext \
14969 conftest$ac_exeext conftest.$ac_ext
14970 CFLAGS=$ac_wine_try_cflags_saved
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14973 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14974 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14975 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14978 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14979 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14980 $as_echo_n "(cached) " >&6
14981 else
14982 ac_wine_try_cflags_saved=$CFLAGS
14983 CFLAGS="$CFLAGS -Wpragma-pack"
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 int main(int argc, char **argv) { return 0; }
14987 _ACEOF
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 ac_cv_cflags__Wpragma_pack=yes
14990 else
14991 ac_cv_cflags__Wpragma_pack=no
14993 rm -f core conftest.err conftest.$ac_objext \
14994 conftest$ac_exeext conftest.$ac_ext
14995 CFLAGS=$ac_wine_try_cflags_saved
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14998 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14999 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15000 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15003 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15004 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 ac_wine_try_cflags_saved=$CFLAGS
15008 CFLAGS="$CFLAGS -Wshift-overflow=2"
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 int main(int argc, char **argv) { return 0; }
15012 _ACEOF
15013 if ac_fn_c_try_link "$LINENO"; then :
15014 ac_cv_cflags__Wshift_overflow_2=yes
15015 else
15016 ac_cv_cflags__Wshift_overflow_2=no
15018 rm -f core conftest.err conftest.$ac_objext \
15019 conftest$ac_exeext conftest.$ac_ext
15020 CFLAGS=$ac_wine_try_cflags_saved
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15023 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15024 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15025 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15028 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15029 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15030 $as_echo_n "(cached) " >&6
15031 else
15032 ac_wine_try_cflags_saved=$CFLAGS
15033 CFLAGS="$CFLAGS -Wstrict-prototypes"
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 int main(int argc, char **argv) { return 0; }
15037 _ACEOF
15038 if ac_fn_c_try_link "$LINENO"; then :
15039 ac_cv_cflags__Wstrict_prototypes=yes
15040 else
15041 ac_cv_cflags__Wstrict_prototypes=no
15043 rm -f core conftest.err conftest.$ac_objext \
15044 conftest$ac_exeext conftest.$ac_ext
15045 CFLAGS=$ac_wine_try_cflags_saved
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15048 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15049 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15050 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15053 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15054 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 ac_wine_try_cflags_saved=$CFLAGS
15058 CFLAGS="$CFLAGS -Wtype-limits"
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 int main(int argc, char **argv) { return 0; }
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"; then :
15064 ac_cv_cflags__Wtype_limits=yes
15065 else
15066 ac_cv_cflags__Wtype_limits=no
15068 rm -f core conftest.err conftest.$ac_objext \
15069 conftest$ac_exeext conftest.$ac_ext
15070 CFLAGS=$ac_wine_try_cflags_saved
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15073 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15074 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15075 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15078 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15079 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15080 $as_echo_n "(cached) " >&6
15081 else
15082 ac_wine_try_cflags_saved=$CFLAGS
15083 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 int main(int argc, char **argv) { return 0; }
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"; then :
15089 ac_cv_cflags__Wunused_but_set_parameter=yes
15090 else
15091 ac_cv_cflags__Wunused_but_set_parameter=no
15093 rm -f core conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext conftest.$ac_ext
15095 CFLAGS=$ac_wine_try_cflags_saved
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15098 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15099 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15100 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15103 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15104 if ${ac_cv_cflags__Wvla+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 ac_wine_try_cflags_saved=$CFLAGS
15108 CFLAGS="$CFLAGS -Wvla"
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 int main(int argc, char **argv) { return 0; }
15112 _ACEOF
15113 if ac_fn_c_try_link "$LINENO"; then :
15114 ac_cv_cflags__Wvla=yes
15115 else
15116 ac_cv_cflags__Wvla=no
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15120 CFLAGS=$ac_wine_try_cflags_saved
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15123 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15124 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15125 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15128 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15129 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 ac_wine_try_cflags_saved=$CFLAGS
15133 CFLAGS="$CFLAGS -Wwrite-strings"
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 int main(int argc, char **argv) { return 0; }
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 ac_cv_cflags__Wwrite_strings=yes
15140 else
15141 ac_cv_cflags__Wwrite_strings=no
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 CFLAGS=$ac_wine_try_cflags_saved
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15148 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15149 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15150 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15154 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15155 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 ac_wine_try_cflags_saved=$CFLAGS
15159 CFLAGS="$CFLAGS -Wpointer-arith"
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 int main(int argc, char **argv) { return 0; }
15163 _ACEOF
15164 if ac_fn_c_try_link "$LINENO"; then :
15165 ac_cv_cflags__Wpointer_arith=yes
15166 else
15167 ac_cv_cflags__Wpointer_arith=no
15169 rm -f core conftest.err conftest.$ac_objext \
15170 conftest$ac_exeext conftest.$ac_ext
15171 CFLAGS=$ac_wine_try_cflags_saved
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15174 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15175 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15176 saved_string_h_CFLAGS=$CFLAGS
15177 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15179 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15180 if ${ac_cv_c_string_h_warnings+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15185 #include <string.h>
15187 main ()
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_compile "$LINENO"; then :
15195 ac_cv_c_string_h_warnings=no
15196 else
15197 ac_cv_c_string_h_warnings=yes
15199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15202 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15203 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15204 CFLAGS=$saved_string_h_CFLAGS
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15208 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15209 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15210 $as_echo_n "(cached) " >&6
15211 else
15212 ac_wine_try_cflags_saved=$CFLAGS
15213 CFLAGS="$CFLAGS -Wlogical-op"
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216 int main(int argc, char **argv) { return 0; }
15217 _ACEOF
15218 if ac_fn_c_try_link "$LINENO"; then :
15219 ac_cv_cflags__Wlogical_op=yes
15220 else
15221 ac_cv_cflags__Wlogical_op=no
15223 rm -f core conftest.err conftest.$ac_objext \
15224 conftest$ac_exeext conftest.$ac_ext
15225 CFLAGS=$ac_wine_try_cflags_saved
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15228 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15229 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15230 saved_string_h_CFLAGS=$CFLAGS
15231 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15233 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15234 if ${ac_cv_c_logicalop_noisy+:} false; then :
15235 $as_echo_n "(cached) " >&6
15236 else
15237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15239 #include <string.h>
15240 char*f(const char *h,char n) {return strchr(h,n);}
15242 main ()
15246 return 0;
15248 _ACEOF
15249 if ac_fn_c_try_compile "$LINENO"; then :
15250 ac_cv_c_logicalop_noisy=no
15251 else
15252 ac_cv_c_logicalop_noisy=yes
15254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15257 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15258 CFLAGS=$saved_string_h_CFLAGS
15259 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15262 CFLAGS=$saved_CFLAGS
15264 for ac_flag in $CFLAGS; do
15265 case $ac_flag in
15266 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15267 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15268 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 ac_wine_try_cflags_saved=$CFLAGS
15272 CFLAGS="$CFLAGS -gdwarf-2"
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275 int main(int argc, char **argv) { return 0; }
15276 _ACEOF
15277 if ac_fn_c_try_link "$LINENO"; then :
15278 ac_cv_cflags__gdwarf_2=yes
15279 else
15280 ac_cv_cflags__gdwarf_2=no
15282 rm -f core conftest.err conftest.$ac_objext \
15283 conftest$ac_exeext conftest.$ac_ext
15284 CFLAGS=$ac_wine_try_cflags_saved
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15287 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15288 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15289 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15292 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15293 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 ac_wine_try_cflags_saved=$CFLAGS
15297 CFLAGS="$CFLAGS -gstrict-dwarf"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 int main(int argc, char **argv) { return 0; }
15301 _ACEOF
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 ac_cv_cflags__gstrict_dwarf=yes
15304 else
15305 ac_cv_cflags__gstrict_dwarf=no
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15309 CFLAGS=$ac_wine_try_cflags_saved
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15312 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15313 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15314 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15315 fi ;;
15316 esac
15317 done
15319 case $host_cpu in
15320 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15321 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15322 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 ac_wine_try_cflags_saved=$CFLAGS
15326 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329 int main(int argc, char **argv) { return 0; }
15330 _ACEOF
15331 if ac_fn_c_try_link "$LINENO"; then :
15332 ac_cv_cflags__fno_omit_frame_pointer=yes
15333 else
15334 ac_cv_cflags__fno_omit_frame_pointer=no
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15338 CFLAGS=$ac_wine_try_cflags_saved
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15341 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15342 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15343 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15344 fi ;;
15345 esac
15347 case $host in
15348 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15349 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15350 if ${ac_cv_cflags__Wno_format+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 ac_wine_try_cflags_saved=$CFLAGS
15354 CFLAGS="$CFLAGS -Wno-format"
15355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15357 int main(int argc, char **argv) { return 0; }
15358 _ACEOF
15359 if ac_fn_c_try_link "$LINENO"; then :
15360 ac_cv_cflags__Wno_format=yes
15361 else
15362 ac_cv_cflags__Wno_format=no
15364 rm -f core conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext conftest.$ac_ext
15366 CFLAGS=$ac_wine_try_cflags_saved
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15369 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15370 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15371 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15372 fi ;;
15373 esac
15375 if test "x$enable_maintainer_mode" = "xyes"
15376 then
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15378 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15379 if ${ac_cv_cflags__Werror+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 ac_wine_try_cflags_saved=$CFLAGS
15383 CFLAGS="$CFLAGS -Werror"
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 int main(int argc, char **argv) { return 0; }
15387 _ACEOF
15388 if ac_fn_c_try_link "$LINENO"; then :
15389 ac_cv_cflags__Werror=yes
15390 else
15391 ac_cv_cflags__Werror=no
15393 rm -f core conftest.err conftest.$ac_objext \
15394 conftest$ac_exeext conftest.$ac_ext
15395 CFLAGS=$ac_wine_try_cflags_saved
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15398 $as_echo "$ac_cv_cflags__Werror" >&6; }
15399 if test "x$ac_cv_cflags__Werror" = xyes; then :
15400 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15404 saved_CFLAGS="$CFLAGS"
15405 CFLAGS="$CFLAGS -Werror"
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15407 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15408 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15409 $as_echo_n "(cached) " >&6
15410 else
15411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15413 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15415 main ()
15419 return 0;
15421 _ACEOF
15422 if ac_fn_c_try_compile "$LINENO"; then :
15423 ac_cv_have_ms_hook_prologue="yes"
15424 else
15425 ac_cv_have_ms_hook_prologue="no"
15427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15430 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15431 CFLAGS="$saved_CFLAGS"
15432 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15433 then
15435 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15437 else
15438 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15445 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15446 if ${ac_cv_c_fortify_enabled+:} false; then :
15447 $as_echo_n "(cached) " >&6
15448 else
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #include <string.h>
15453 main ()
15455 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15456 #error Fortify enabled
15457 #endif
15459 return 0;
15461 _ACEOF
15462 if ac_fn_c_try_compile "$LINENO"; then :
15463 ac_cv_c_fortify_enabled=no
15464 else
15465 ac_cv_c_fortify_enabled=yes
15467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15470 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15471 if test "$ac_cv_c_fortify_enabled" = yes
15472 then
15473 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15478 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15479 if ${ac_cv_c_extern_prefix+:} false; then :
15480 $as_echo_n "(cached) " >&6
15481 else
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15484 extern int ac_test;
15486 main ()
15488 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15490 return 0;
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 ac_cv_c_extern_prefix="yes"
15495 else
15496 ac_cv_c_extern_prefix="no"
15498 rm -f core conftest.err conftest.$ac_objext \
15499 conftest$ac_exeext conftest.$ac_ext
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15502 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15504 case $host_cpu in
15505 *i[3456789]86*)
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15507 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15508 if ${ac_cv_c_stdcall_suffix+:} false; then :
15509 $as_echo_n "(cached) " >&6
15510 else
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15513 #ifndef _MSC_VER
15514 #define __stdcall __attribute__((__stdcall__))
15515 #endif
15516 int __stdcall ac_test(int i) { return i; }
15518 main ()
15520 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"; then :
15526 ac_cv_c_stdcall_suffix="yes"
15527 else
15528 ac_cv_c_stdcall_suffix="no"
15530 rm -f core conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15534 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15535 *) ac_cv_c_stdcall_suffix="no" ;;
15536 esac
15539 if test "$ac_cv_c_extern_prefix" = "yes"
15540 then
15541 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15543 asm_name_prefix="_"
15544 else
15545 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15547 asm_name_prefix=""
15551 if test "$ac_cv_c_stdcall_suffix" = "yes"
15552 then
15553 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15555 else
15556 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15562 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15563 if ${ac_cv_asm_func_def+:} false; then :
15564 $as_echo_n "(cached) " >&6
15565 else
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15570 main ()
15572 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15574 return 0;
15576 _ACEOF
15577 if ac_fn_c_try_link "$LINENO"; then :
15578 ac_cv_asm_func_def=".def"
15579 else
15580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15584 main ()
15586 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15588 return 0;
15590 _ACEOF
15591 if ac_fn_c_try_link "$LINENO"; then :
15592 ac_cv_asm_func_def=".type @function"
15593 else
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15598 main ()
15600 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 ac_cv_asm_func_def=".type 2"
15607 else
15608 ac_cv_asm_func_def="unknown"
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15613 rm -f core conftest.err conftest.$ac_objext \
15614 conftest$ac_exeext conftest.$ac_ext
15616 rm -f core conftest.err conftest.$ac_objext \
15617 conftest$ac_exeext conftest.$ac_ext
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15620 $as_echo "$ac_cv_asm_func_def" >&6; }
15623 case "$ac_cv_asm_func_def" in
15624 ".def")
15625 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15627 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15628 ".type @function")
15629 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15631 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15632 ".type 2")
15633 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15635 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15637 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15639 asm_func_header="" ;;
15640 esac
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15643 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15644 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15645 $as_echo_n "(cached) " >&6
15646 else
15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15649 asm(".text\n\t.long 0");
15651 main ()
15655 return 0;
15657 _ACEOF
15658 if ac_fn_c_try_compile "$LINENO"; then :
15659 ac_cv_c_asm_outside_funcs="yes"
15660 else
15661 ac_cv_c_asm_outside_funcs="no"
15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15666 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15669 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15670 if ${ac_cv_c_dot_previous+:} false; then :
15671 $as_echo_n "(cached) " >&6
15672 else
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15677 main ()
15679 asm(".text\nac_test:\t.long 0\n\t.previous");
15681 return 0;
15683 _ACEOF
15684 if ac_fn_c_try_link "$LINENO"; then :
15685 ac_cv_c_dot_previous="yes"
15686 else
15687 ac_cv_c_dot_previous="no"
15689 rm -f core conftest.err conftest.$ac_objext \
15690 conftest$ac_exeext conftest.$ac_ext
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15693 $as_echo "$ac_cv_c_dot_previous" >&6; }
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15696 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15697 if ${ac_cv_c_cfi_support+:} false; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15704 main ()
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_compile "$LINENO"; then :
15712 ac_cv_c_cfi_support="yes"
15713 else
15714 ac_cv_c_cfi_support="no"
15716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15719 $as_echo "$ac_cv_c_cfi_support" >&6; }
15721 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15722 asm_func_trailer=""
15723 if test "$ac_cv_c_dot_previous" = "yes"
15724 then
15725 asm_func_trailer="\\n\\t.previous"
15727 if test "$ac_cv_c_cfi_support" = "yes"
15728 then
15729 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15730 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15732 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15734 UNWINDFLAGS=-fasynchronous-unwind-tables
15736 else
15737 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15739 if test "x$enable_win64" = "xyes"
15740 then
15741 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15745 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15748 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15749 then
15750 cat >>confdefs.h <<_ACEOF
15751 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15752 _ACEOF
15754 else
15755 cat >>confdefs.h <<_ACEOF
15756 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15757 _ACEOF
15761 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15764 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15768 case $build_os in
15769 cygwin*|mingw32*) TOOLSEXT=".exe"
15771 esac
15773 case $host_os in
15774 linux*)
15775 case $host_cpu in
15776 *i[3456789]86*|x86_64*|*aarch64*)
15777 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15778 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15780 esac
15782 esac
15785 ac_save_CFLAGS="$CFLAGS"
15786 CFLAGS="$CFLAGS $BUILTINFLAG"
15787 for ac_func in \
15788 __res_get_state \
15789 __res_getservers \
15790 _finite \
15791 _isnan \
15792 _pclose \
15793 _popen \
15794 _snprintf \
15795 _spawnvp \
15796 _strdup \
15797 _stricmp \
15798 _strnicmp \
15799 _strtoi64 \
15800 _strtoui64 \
15801 _vsnprintf \
15802 asctime_r \
15803 chsize \
15804 dlopen \
15805 epoll_create \
15806 ffs \
15807 finitef \
15808 fnmatch \
15809 fork \
15810 fpclass \
15811 fstatfs \
15812 fstatvfs \
15813 ftruncate \
15814 futimens \
15815 futimes \
15816 futimesat \
15817 getattrlist \
15818 getauxval \
15819 getifaddrs \
15820 getopt_long_only \
15821 getpwuid \
15822 gettimeofday \
15823 getuid \
15824 isnanf \
15825 kqueue \
15826 lstat \
15827 memmove \
15828 mmap \
15829 pclose \
15830 pipe2 \
15831 poll \
15832 popen \
15833 port_create \
15834 prctl \
15835 pread \
15836 proc_pidinfo \
15837 pwrite \
15838 readdir \
15839 readlink \
15840 sched_yield \
15841 select \
15842 setproctitle \
15843 setprogname \
15844 setrlimit \
15845 settimeofday \
15846 sigaltstack \
15847 sigprocmask \
15848 snprintf \
15849 statfs \
15850 statvfs \
15851 strcasecmp \
15852 strdup \
15853 strerror \
15854 strncasecmp \
15855 strnlen \
15856 strtold \
15857 strtoll \
15858 strtoull \
15859 symlink \
15860 sysinfo \
15861 tcdrain \
15862 thr_kill2 \
15863 timegm \
15864 usleep \
15865 vsnprintf
15867 do :
15868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15873 _ACEOF
15876 done
15878 CFLAGS="$ac_save_CFLAGS"
15880 if test "$ac_cv_func_dlopen" = no
15881 then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15883 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15884 if ${ac_cv_lib_dl_dlopen+:} false; then :
15885 $as_echo_n "(cached) " >&6
15886 else
15887 ac_check_lib_save_LIBS=$LIBS
15888 LIBS="-ldl $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 #ifdef __cplusplus
15896 extern "C"
15897 #endif
15898 char dlopen ();
15900 main ()
15902 return dlopen ();
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 ac_cv_lib_dl_dlopen=yes
15909 else
15910 ac_cv_lib_dl_dlopen=no
15912 rm -f core conftest.err conftest.$ac_objext \
15913 conftest$ac_exeext conftest.$ac_ext
15914 LIBS=$ac_check_lib_save_LIBS
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15917 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15918 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15919 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15920 DL_LIBS="-ldl"
15925 ac_wine_check_funcs_save_LIBS="$LIBS"
15926 LIBS="$LIBS $DL_LIBS"
15927 for ac_func in dladdr
15928 do :
15929 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15930 if test "x$ac_cv_func_dladdr" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_DLADDR 1
15933 _ACEOF
15936 done
15938 LIBS="$ac_wine_check_funcs_save_LIBS"
15940 if test "$ac_cv_func_poll" = no
15941 then
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15943 $as_echo_n "checking for poll in -lpoll... " >&6; }
15944 if ${ac_cv_lib_poll_poll+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 ac_check_lib_save_LIBS=$LIBS
15948 LIBS="-lpoll $LIBS"
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15955 #ifdef __cplusplus
15956 extern "C"
15957 #endif
15958 char poll ();
15960 main ()
15962 return poll ();
15964 return 0;
15966 _ACEOF
15967 if ac_fn_c_try_link "$LINENO"; then :
15968 ac_cv_lib_poll_poll=yes
15969 else
15970 ac_cv_lib_poll_poll=no
15972 rm -f core conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext conftest.$ac_ext
15974 LIBS=$ac_check_lib_save_LIBS
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15977 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15978 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15979 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15980 POLL_LIBS="-lpoll"
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15987 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15988 if ${ac_cv_search_gethostbyname+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_func_search_save_LIBS=$LIBS
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 #endif
16001 char gethostbyname ();
16003 main ()
16005 return gethostbyname ();
16007 return 0;
16009 _ACEOF
16010 for ac_lib in '' nsl; do
16011 if test -z "$ac_lib"; then
16012 ac_res="none required"
16013 else
16014 ac_res=-l$ac_lib
16015 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16017 if ac_fn_c_try_link "$LINENO"; then :
16018 ac_cv_search_gethostbyname=$ac_res
16020 rm -f core conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext
16022 if ${ac_cv_search_gethostbyname+:} false; then :
16023 break
16025 done
16026 if ${ac_cv_search_gethostbyname+:} false; then :
16028 else
16029 ac_cv_search_gethostbyname=no
16031 rm conftest.$ac_ext
16032 LIBS=$ac_func_search_save_LIBS
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16035 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16036 ac_res=$ac_cv_search_gethostbyname
16037 if test "$ac_res" != no; then :
16038 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16044 $as_echo_n "checking for library containing connect... " >&6; }
16045 if ${ac_cv_search_connect+:} false; then :
16046 $as_echo_n "(cached) " >&6
16047 else
16048 ac_func_search_save_LIBS=$LIBS
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16052 /* Override any GCC internal prototype to avoid an error.
16053 Use char because int might match the return type of a GCC
16054 builtin and then its argument prototype would still apply. */
16055 #ifdef __cplusplus
16056 extern "C"
16057 #endif
16058 char connect ();
16060 main ()
16062 return connect ();
16064 return 0;
16066 _ACEOF
16067 for ac_lib in '' socket; do
16068 if test -z "$ac_lib"; then
16069 ac_res="none required"
16070 else
16071 ac_res=-l$ac_lib
16072 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16074 if ac_fn_c_try_link "$LINENO"; then :
16075 ac_cv_search_connect=$ac_res
16077 rm -f core conftest.err conftest.$ac_objext \
16078 conftest$ac_exeext
16079 if ${ac_cv_search_connect+:} false; then :
16080 break
16082 done
16083 if ${ac_cv_search_connect+:} false; then :
16085 else
16086 ac_cv_search_connect=no
16088 rm conftest.$ac_ext
16089 LIBS=$ac_func_search_save_LIBS
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16092 $as_echo "$ac_cv_search_connect" >&6; }
16093 ac_res=$ac_cv_search_connect
16094 if test "$ac_res" != no; then :
16095 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16101 $as_echo_n "checking for library containing inet_aton... " >&6; }
16102 if ${ac_cv_search_inet_aton+:} false; then :
16103 $as_echo_n "(cached) " >&6
16104 else
16105 ac_func_search_save_LIBS=$LIBS
16106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16109 /* Override any GCC internal prototype to avoid an error.
16110 Use char because int might match the return type of a GCC
16111 builtin and then its argument prototype would still apply. */
16112 #ifdef __cplusplus
16113 extern "C"
16114 #endif
16115 char inet_aton ();
16117 main ()
16119 return inet_aton ();
16121 return 0;
16123 _ACEOF
16124 for ac_lib in '' resolv; do
16125 if test -z "$ac_lib"; then
16126 ac_res="none required"
16127 else
16128 ac_res=-l$ac_lib
16129 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16131 if ac_fn_c_try_link "$LINENO"; then :
16132 ac_cv_search_inet_aton=$ac_res
16134 rm -f core conftest.err conftest.$ac_objext \
16135 conftest$ac_exeext
16136 if ${ac_cv_search_inet_aton+:} false; then :
16137 break
16139 done
16140 if ${ac_cv_search_inet_aton+:} false; then :
16142 else
16143 ac_cv_search_inet_aton=no
16145 rm conftest.$ac_ext
16146 LIBS=$ac_func_search_save_LIBS
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16149 $as_echo "$ac_cv_search_inet_aton" >&6; }
16150 ac_res=$ac_cv_search_inet_aton
16151 if test "$ac_res" != no; then :
16152 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16157 for ac_func in \
16158 getaddrinfo \
16159 getnameinfo \
16160 getnetbyname \
16161 getprotobyname \
16162 getprotobynumber \
16163 getservbyport \
16164 inet_addr \
16165 inet_network \
16166 inet_ntop \
16167 inet_pton \
16168 sendmsg \
16169 socketpair \
16171 do :
16172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16174 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16175 cat >>confdefs.h <<_ACEOF
16176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16177 _ACEOF
16180 done
16183 ac_save_LIBS=$LIBS
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16185 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16186 if ${ac_cv_search_clock_gettime+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 ac_func_search_save_LIBS=$LIBS
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16193 /* Override any GCC internal prototype to avoid an error.
16194 Use char because int might match the return type of a GCC
16195 builtin and then its argument prototype would still apply. */
16196 #ifdef __cplusplus
16197 extern "C"
16198 #endif
16199 char clock_gettime ();
16201 main ()
16203 return clock_gettime ();
16205 return 0;
16207 _ACEOF
16208 for ac_lib in '' rt; do
16209 if test -z "$ac_lib"; then
16210 ac_res="none required"
16211 else
16212 ac_res=-l$ac_lib
16213 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16215 if ac_fn_c_try_link "$LINENO"; then :
16216 ac_cv_search_clock_gettime=$ac_res
16218 rm -f core conftest.err conftest.$ac_objext \
16219 conftest$ac_exeext
16220 if ${ac_cv_search_clock_gettime+:} false; then :
16221 break
16223 done
16224 if ${ac_cv_search_clock_gettime+:} false; then :
16226 else
16227 ac_cv_search_clock_gettime=no
16229 rm conftest.$ac_ext
16230 LIBS=$ac_func_search_save_LIBS
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16233 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16234 ac_res=$ac_cv_search_clock_gettime
16235 if test "$ac_res" != no; then :
16236 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16238 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16240 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16244 LIBS=$ac_save_LIBS
16246 if test "x$with_ldap" != "xno"
16247 then
16248 if ${LDAP_CFLAGS:+false} :; then :
16249 if ${PKG_CONFIG+:} false; then :
16250 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16254 if ${LDAP_LIBS:+false} :; then :
16255 if ${PKG_CONFIG+:} false; then :
16256 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16260 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16261 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16262 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16263 ac_save_CPPFLAGS=$CPPFLAGS
16264 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16265 for ac_header in ldap.h lber.h
16266 do :
16267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16268 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16269 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16270 cat >>confdefs.h <<_ACEOF
16271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16272 _ACEOF
16276 done
16278 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16279 then
16280 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16282 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16284 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16285 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16286 $as_echo_n "(cached) " >&6
16287 else
16288 ac_check_lib_save_LIBS=$LIBS
16289 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16293 /* Override any GCC internal prototype to avoid an error.
16294 Use char because int might match the return type of a GCC
16295 builtin and then its argument prototype would still apply. */
16296 #ifdef __cplusplus
16297 extern "C"
16298 #endif
16299 char ldap_initialize ();
16301 main ()
16303 return ldap_initialize ();
16305 return 0;
16307 _ACEOF
16308 if ac_fn_c_try_link "$LINENO"; then :
16309 ac_cv_lib_ldap_r_ldap_initialize=yes
16310 else
16311 ac_cv_lib_ldap_r_ldap_initialize=no
16313 rm -f core conftest.err conftest.$ac_objext \
16314 conftest$ac_exeext conftest.$ac_ext
16315 LIBS=$ac_check_lib_save_LIBS
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16318 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16319 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16321 $as_echo_n "checking for ber_init in -llber... " >&6; }
16322 if ${ac_cv_lib_lber_ber_init+:} false; then :
16323 $as_echo_n "(cached) " >&6
16324 else
16325 ac_check_lib_save_LIBS=$LIBS
16326 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16333 #ifdef __cplusplus
16334 extern "C"
16335 #endif
16336 char ber_init ();
16338 main ()
16340 return ber_init ();
16342 return 0;
16344 _ACEOF
16345 if ac_fn_c_try_link "$LINENO"; then :
16346 ac_cv_lib_lber_ber_init=yes
16347 else
16348 ac_cv_lib_lber_ber_init=no
16350 rm -f core conftest.err conftest.$ac_objext \
16351 conftest$ac_exeext conftest.$ac_ext
16352 LIBS=$ac_check_lib_save_LIBS
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16355 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16356 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16358 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16360 else
16361 LDAP_LIBS=""
16364 else
16365 LDAP_LIBS=""
16368 else
16369 LDAP_LIBS=""
16372 ac_wine_check_funcs_save_LIBS="$LIBS"
16373 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16374 for ac_func in \
16375 ldap_count_references \
16376 ldap_first_reference \
16377 ldap_next_reference \
16378 ldap_parse_reference \
16379 ldap_parse_sort_control \
16380 ldap_parse_sortresponse_control \
16381 ldap_parse_vlv_control \
16382 ldap_parse_vlvresponse_control
16383 do :
16384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16389 _ACEOF
16392 done
16394 LIBS="$ac_wine_check_funcs_save_LIBS"
16395 else
16396 LDAP_LIBS=""
16398 CPPFLAGS=$ac_save_CPPFLAGS
16399 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16400 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16403 if test "x$LDAP_LIBS" = "x"; then :
16404 case "x$with_ldap" in
16405 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16406 xno) ;;
16407 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16408 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16409 esac
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16414 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16415 if ${wine_cv_one_arg_mkdir+:} false; then :
16416 $as_echo_n "(cached) " >&6
16417 else
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 #include <sys/stat.h>
16422 main ()
16424 mkdir("foo");
16426 return 0;
16428 _ACEOF
16429 if ac_fn_c_try_compile "$LINENO"; then :
16430 wine_cv_one_arg_mkdir=yes
16431 else
16432 wine_cv_one_arg_mkdir=no
16434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16437 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16438 if test "$wine_cv_one_arg_mkdir" = "yes"
16439 then
16441 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16446 $as_echo_n "checking for sched_setaffinity... " >&6; }
16447 if ${wine_cv_have_sched_setaffinity+:} false; then :
16448 $as_echo_n "(cached) " >&6
16449 else
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #define _GNU_SOURCE
16453 #include <sched.h>
16455 main ()
16457 sched_setaffinity(0, 0, 0);
16459 return 0;
16461 _ACEOF
16462 if ac_fn_c_try_link "$LINENO"; then :
16463 wine_cv_have_sched_setaffinity=yes
16464 else
16465 wine_cv_have_sched_setaffinity=no
16467 rm -f core conftest.err conftest.$ac_objext \
16468 conftest$ac_exeext conftest.$ac_ext
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16471 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16472 if test "$wine_cv_have_sched_setaffinity" = "yes"
16473 then
16475 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16480 $as_echo_n "checking for fallocate... " >&6; }
16481 if ${wine_cv_have_fallocate+:} false; then :
16482 $as_echo_n "(cached) " >&6
16483 else
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #define _GNU_SOURCE
16487 #include <fcntl.h>
16489 main ()
16491 fallocate(-1, 0, 0, 0);
16493 return 0;
16495 _ACEOF
16496 if ac_fn_c_try_link "$LINENO"; then :
16497 wine_cv_have_fallocate=yes
16498 else
16499 wine_cv_have_fallocate=no
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16505 $as_echo "$wine_cv_have_fallocate" >&6; }
16506 if test "$wine_cv_have_fallocate" = "yes"
16507 then
16509 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16515 $as_echo_n "checking for inline... " >&6; }
16516 if ${ac_cv_c_inline+:} false; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 ac_cv_c_inline=no
16520 for ac_kw in inline __inline__ __inline; do
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16523 #ifndef __cplusplus
16524 typedef int foo_t;
16525 static $ac_kw foo_t static_foo () {return 0; }
16526 $ac_kw foo_t foo () {return 0; }
16527 #endif
16529 _ACEOF
16530 if ac_fn_c_try_compile "$LINENO"; then :
16531 ac_cv_c_inline=$ac_kw
16533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16534 test "$ac_cv_c_inline" != no && break
16535 done
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16539 $as_echo "$ac_cv_c_inline" >&6; }
16541 case $ac_cv_c_inline in
16542 inline | yes) ;;
16544 case $ac_cv_c_inline in
16545 no) ac_val=;;
16546 *) ac_val=$ac_cv_c_inline;;
16547 esac
16548 cat >>confdefs.h <<_ACEOF
16549 #ifndef __cplusplus
16550 #define inline $ac_val
16551 #endif
16552 _ACEOF
16554 esac
16556 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16557 if test "x$ac_cv_type_mode_t" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_MODE_T 1
16561 _ACEOF
16565 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16566 if test "x$ac_cv_type_off_t" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_OFF_T 1
16570 _ACEOF
16574 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16575 if test "x$ac_cv_type_pid_t" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_PID_T 1
16579 _ACEOF
16583 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16584 if test "x$ac_cv_type_size_t" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_SIZE_T 1
16588 _ACEOF
16592 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16593 if test "x$ac_cv_type_ssize_t" = xyes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_SSIZE_T 1
16597 _ACEOF
16601 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16602 if test "x$ac_cv_type_long_long" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_LONG_LONG 1
16606 _ACEOF
16610 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16611 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_FSBLKCNT_T 1
16615 _ACEOF
16619 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16620 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_FSFILCNT_T 1
16624 _ACEOF
16629 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16630 #include <signal.h>
16632 if test "x$ac_cv_type_sigset_t" = xyes; then :
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_SIGSET_T 1
16636 _ACEOF
16641 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16643 if test "x$ac_cv_type_request_sense" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_REQUEST_SENSE 1
16647 _ACEOF
16653 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16654 #ifdef HAVE_SYS_SOCKET_H
16655 #include <sys/socket.h>
16656 #endif
16657 #ifdef HAVE_SYS_SOCKETVAR_H
16658 #include <sys/socketvar.h>
16659 #endif
16660 #ifdef HAVE_NET_ROUTE_H
16661 #include <net/route.h>
16662 #endif
16663 #ifdef HAVE_NETINET_IN_H
16664 #include <netinet/in.h>
16665 #endif
16666 #ifdef HAVE_NETINET_IN_SYSTM_H
16667 #include <netinet/in_systm.h>
16668 #endif
16669 #ifdef HAVE_NETINET_IP_H
16670 #include <netinet/ip.h>
16671 #endif
16672 #ifdef HAVE_NETINET_IN_PCB_H
16673 #include <netinet/in_pcb.h>
16674 #endif
16676 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_STRUCT_XINPGEN 1
16680 _ACEOF
16686 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16687 #include <link.h>
16688 #endif
16689 #ifdef HAVE_SYS_LINK_H
16690 #include <sys/link.h>
16691 #endif
16693 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_STRUCT_R_DEBUG 1
16697 _ACEOF
16701 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16702 #include <link.h>
16703 #endif
16704 #ifdef HAVE_SYS_LINK_H
16705 #include <sys/link.h>
16706 #endif
16708 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_STRUCT_LINK_MAP 1
16712 _ACEOF
16718 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16719 #include <linux/input.h>
16720 #endif
16722 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16726 _ACEOF
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16733 $as_echo_n "checking for if_nameindex... " >&6; }
16734 if ${wine_cv_have_if_nameindex+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #ifdef HAVE_SYS_TYPES_H
16740 #include <sys/types.h>
16741 #endif
16742 #ifdef HAVE_SYS_SOCKET_H
16743 #include <sys/socket.h>
16744 #endif
16745 #ifdef HAVE_NET_IF_H
16746 # include <net/if.h>
16747 #endif
16749 main ()
16751 struct if_nameindex *p = if_nameindex(); return p->if_index;
16753 return 0;
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757 wine_cv_have_if_nameindex=yes
16758 else
16759 wine_cv_have_if_nameindex=no
16761 rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16765 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16766 if test "$wine_cv_have_if_nameindex" = "yes"
16767 then
16769 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16774 $as_echo_n "checking for sigaddset... " >&6; }
16775 if ${wine_cv_have_sigaddset+:} false; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780 #include <signal.h>
16782 main ()
16784 sigset_t set; sigaddset(&set,SIGTERM);
16786 return 0;
16788 _ACEOF
16789 if ac_fn_c_try_link "$LINENO"; then :
16790 wine_cv_have_sigaddset=yes
16791 else
16792 wine_cv_have_sigaddset=no
16794 rm -f core conftest.err conftest.$ac_objext \
16795 conftest$ac_exeext conftest.$ac_ext
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16798 $as_echo "$wine_cv_have_sigaddset" >&6; }
16799 if test "$wine_cv_have_sigaddset" = "yes"
16800 then
16802 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16808 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16809 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <netdb.h>
16816 main ()
16819 char *name=0;
16820 struct hostent he;
16821 struct hostent *result;
16822 char *buf=0;
16823 int bufsize=0;
16824 int errnr;
16825 char *addr=0;
16826 int addrlen=0;
16827 int addrtype=0;
16828 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16829 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16832 return 0;
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"; then :
16836 wine_cv_linux_gethostbyname_r_6=yes
16837 else
16838 wine_cv_linux_gethostbyname_r_6=no
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16846 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16847 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16848 then
16850 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16854 if test "$ac_cv_header_linux_joystick_h" = "yes"
16855 then
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16857 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16858 if ${wine_cv_linux_joystick_22_api+:} false; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 #include <sys/ioctl.h>
16865 #include <sys/types.h>
16866 #include <linux/joystick.h>
16868 struct js_event blub;
16869 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16870 #error "no 2.2 header"
16871 #endif
16874 main ()
16876 /*empty*/
16878 return 0;
16880 _ACEOF
16881 if ac_fn_c_try_compile "$LINENO"; then :
16882 wine_cv_linux_joystick_22_api=yes
16883 else
16884 wine_cv_linux_joystick_22_api=no
16886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16890 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16891 if test "$wine_cv_linux_joystick_22_api" = "yes"
16892 then
16894 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16900 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16901 #ifdef HAVE_SYS_PARAM_H
16902 # include <sys/param.h>
16903 #endif
16904 #ifdef HAVE_SYS_MOUNT_H
16905 # include <sys/mount.h>
16906 #endif
16907 #ifdef HAVE_SYS_VFS_H
16908 # include <sys/vfs.h>
16909 #endif
16910 #ifdef HAVE_SYS_STATFS_H
16911 # include <sys/statfs.h>
16912 #endif
16914 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_STATFS_F_BFREE 1
16918 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16923 #ifdef HAVE_SYS_PARAM_H
16924 # include <sys/param.h>
16925 #endif
16926 #ifdef HAVE_SYS_MOUNT_H
16927 # include <sys/mount.h>
16928 #endif
16929 #ifdef HAVE_SYS_VFS_H
16930 # include <sys/vfs.h>
16931 #endif
16932 #ifdef HAVE_SYS_STATFS_H
16933 # include <sys/statfs.h>
16934 #endif
16936 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16938 cat >>confdefs.h <<_ACEOF
16939 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16940 _ACEOF
16944 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16945 #ifdef HAVE_SYS_PARAM_H
16946 # include <sys/param.h>
16947 #endif
16948 #ifdef HAVE_SYS_MOUNT_H
16949 # include <sys/mount.h>
16950 #endif
16951 #ifdef HAVE_SYS_VFS_H
16952 # include <sys/vfs.h>
16953 #endif
16954 #ifdef HAVE_SYS_STATFS_H
16955 # include <sys/statfs.h>
16956 #endif
16958 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16962 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16967 #ifdef HAVE_SYS_PARAM_H
16968 # include <sys/param.h>
16969 #endif
16970 #ifdef HAVE_SYS_MOUNT_H
16971 # include <sys/mount.h>
16972 #endif
16973 #ifdef HAVE_SYS_VFS_H
16974 # include <sys/vfs.h>
16975 #endif
16976 #ifdef HAVE_SYS_STATFS_H
16977 # include <sys/statfs.h>
16978 #endif
16980 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16982 cat >>confdefs.h <<_ACEOF
16983 #define HAVE_STRUCT_STATFS_F_FFREE 1
16984 _ACEOF
16988 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16989 #ifdef HAVE_SYS_PARAM_H
16990 # include <sys/param.h>
16991 #endif
16992 #ifdef HAVE_SYS_MOUNT_H
16993 # include <sys/mount.h>
16994 #endif
16995 #ifdef HAVE_SYS_VFS_H
16996 # include <sys/vfs.h>
16997 #endif
16998 #ifdef HAVE_SYS_STATFS_H
16999 # include <sys/statfs.h>
17000 #endif
17002 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17004 cat >>confdefs.h <<_ACEOF
17005 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17006 _ACEOF
17010 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17011 #ifdef HAVE_SYS_PARAM_H
17012 # include <sys/param.h>
17013 #endif
17014 #ifdef HAVE_SYS_MOUNT_H
17015 # include <sys/mount.h>
17016 #endif
17017 #ifdef HAVE_SYS_VFS_H
17018 # include <sys/vfs.h>
17019 #endif
17020 #ifdef HAVE_SYS_STATFS_H
17021 # include <sys/statfs.h>
17022 #endif
17024 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17026 cat >>confdefs.h <<_ACEOF
17027 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17028 _ACEOF
17034 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17035 #include <sys/statvfs.h>
17036 #endif
17038 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17040 cat >>confdefs.h <<_ACEOF
17041 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17042 _ACEOF
17048 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17049 #include <dirent.h>
17050 #endif
17052 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17054 cat >>confdefs.h <<_ACEOF
17055 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17056 _ACEOF
17062 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17063 #ifdef HAVE_SYS_SOCKET_H
17064 # include <sys/socket.h>
17065 #endif
17066 #ifdef HAVE_SYS_UN_H
17067 # include <sys/un.h>
17068 #endif
17070 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17072 cat >>confdefs.h <<_ACEOF
17073 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17074 _ACEOF
17078 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17079 #ifdef HAVE_SYS_SOCKET_H
17080 # include <sys/socket.h>
17081 #endif
17082 #ifdef HAVE_SYS_UN_H
17083 # include <sys/un.h>
17084 #endif
17086 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17088 cat >>confdefs.h <<_ACEOF
17089 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17090 _ACEOF
17094 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17095 #ifdef HAVE_SYS_SOCKET_H
17096 # include <sys/socket.h>
17097 #endif
17098 #ifdef HAVE_SYS_UN_H
17099 # include <sys/un.h>
17100 #endif
17102 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17104 cat >>confdefs.h <<_ACEOF
17105 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17106 _ACEOF
17112 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17113 #ifdef HAVE_SCSI_SG_H
17114 #include <scsi/sg.h>
17115 #endif
17117 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_SCSIREQ_T_CMD 1
17121 _ACEOF
17125 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>
17126 #ifdef HAVE_SCSI_SG_H
17127 #include <scsi/sg.h>
17128 #endif
17130 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17132 cat >>confdefs.h <<_ACEOF
17133 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17134 _ACEOF
17140 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17142 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17144 cat >>confdefs.h <<_ACEOF
17145 #define HAVE_SIGINFO_T_SI_FD 1
17146 _ACEOF
17152 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17153 #ifdef HAVE_SYS_MTIO_H
17154 #include <sys/mtio.h>
17155 #endif
17157 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17159 cat >>confdefs.h <<_ACEOF
17160 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17161 _ACEOF
17165 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17166 #ifdef HAVE_SYS_MTIO_H
17167 #include <sys/mtio.h>
17168 #endif
17170 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17172 cat >>confdefs.h <<_ACEOF
17173 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17174 _ACEOF
17178 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17179 #ifdef HAVE_SYS_MTIO_H
17180 #include <sys/mtio.h>
17181 #endif
17183 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17185 cat >>confdefs.h <<_ACEOF
17186 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17187 _ACEOF
17193 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17194 #include <getopt.h>
17195 #endif
17197 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17199 cat >>confdefs.h <<_ACEOF
17200 #define HAVE_STRUCT_OPTION_NAME 1
17201 _ACEOF
17207 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17208 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17210 cat >>confdefs.h <<_ACEOF
17211 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17212 _ACEOF
17216 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17217 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_STRUCT_STAT_ST_MTIM 1
17221 _ACEOF
17225 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17226 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17230 _ACEOF
17234 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17235 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17237 cat >>confdefs.h <<_ACEOF
17238 #define HAVE_STRUCT_STAT_ST_CTIM 1
17239 _ACEOF
17243 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17244 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17248 _ACEOF
17252 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17253 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_STRUCT_STAT_ST_ATIM 1
17257 _ACEOF
17261 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17262 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17264 cat >>confdefs.h <<_ACEOF
17265 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17266 _ACEOF
17270 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17271 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17273 cat >>confdefs.h <<_ACEOF
17274 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17275 _ACEOF
17279 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17280 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17284 _ACEOF
17288 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17289 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17291 cat >>confdefs.h <<_ACEOF
17292 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17293 _ACEOF
17297 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17298 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17300 cat >>confdefs.h <<_ACEOF
17301 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17302 _ACEOF
17306 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17307 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17309 cat >>confdefs.h <<_ACEOF
17310 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17311 _ACEOF
17317 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
17318 #include <sys/types.h>
17319 #endif
17320 #ifdef HAVE_NETINET_IN_H
17321 #include <netinet/in.h>
17322 #endif
17324 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17328 _ACEOF
17334 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17335 #include <sys/types.h>
17336 #endif
17337 #ifdef HAVE_NETINET_IN_H
17338 #include <netinet/in.h>
17339 #endif
17340 #ifdef HAVE_RESOLV_H
17341 #include <resolv.h>
17342 #endif
17344 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17346 cat >>confdefs.h <<_ACEOF
17347 #define HAVE_STRUCT___RES_STATE 1
17348 _ACEOF
17354 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
17355 #include <resolv.h>
17356 #endif
17358 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17360 cat >>confdefs.h <<_ACEOF
17361 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17362 _ACEOF
17368 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17369 #include <sys/types.h>
17370 #endif
17371 #ifdef HAVE_NETINET_IN_H
17372 # include <netinet/in.h>
17373 #endif
17374 #ifdef HAVE_ARPA_NAMESER_H
17375 # include <arpa/nameser.h>
17376 #endif
17378 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17380 cat >>confdefs.h <<_ACEOF
17381 #define HAVE_NS_MSG__MSG_PTR 1
17382 _ACEOF
17388 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17389 #include <sys/types.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IN_H
17392 #include <netinet/in.h>
17393 #endif
17394 #ifdef HAVE_NETINET_IP_H
17395 #include <netinet/ip.h>
17396 #endif
17397 #ifdef HAVE_NETINET_IP_ICMP_H
17398 #include <netinet/ip_icmp.h>
17399 #endif
17400 #ifdef HAVE_NETINET_ICMP_VAR_H
17401 #include <netinet/icmp_var.h>
17402 #endif
17404 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17408 _ACEOF
17414 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17415 #include <sys/types.h>
17416 #endif
17417 #ifdef HAVE_ALIAS_H
17418 #include <alias.h>
17419 #endif
17420 #ifdef HAVE_SYS_SOCKET_H
17421 #include <sys/socket.h>
17422 #endif
17423 #ifdef HAVE_SYS_SOCKETVAR_H
17424 #include <sys/socketvar.h>
17425 #endif
17426 #ifdef HAVE_SYS_TIMEOUT_H
17427 #include <sys/timeout.h>
17428 #endif
17429 #ifdef HAVE_NETINET_IN_H
17430 #include <netinet/in.h>
17431 #endif
17432 #ifdef HAVE_NETINET_IN_SYSTM_H
17433 #include <netinet/in_systm.h>
17434 #endif
17435 #ifdef HAVE_NETINET_IP_H
17436 #include <netinet/ip.h>
17437 #endif
17438 #ifdef HAVE_NETINET_IP_VAR_H
17439 #include <netinet/ip_var.h>
17440 #endif
17441 #ifdef HAVE_NETINET_IP_ICMP_H
17442 #include <netinet/ip_icmp.h>
17443 #endif
17444 #ifdef HAVE_NETINET_ICMP_VAR_H
17445 #include <netinet/icmp_var.h>
17446 #endif
17448 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17450 cat >>confdefs.h <<_ACEOF
17451 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17452 _ACEOF
17458 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17459 #include <sys/types.h>
17460 #endif
17461 #ifdef HAVE_SYS_SOCKETVAR_H
17462 #include <sys/socketvar.h>
17463 #endif
17464 #ifdef HAVE_NETINET_IN_H
17465 #include <netinet/in.h>
17466 #endif
17467 #ifdef HAVE_NETINET_IP_VAR_H
17468 #include <netinet/ip_var.h>
17469 #endif
17471 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17473 cat >>confdefs.h <<_ACEOF
17474 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17475 _ACEOF
17481 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
17482 #include <netinet/ip_var.h>
17483 #endif
17485 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17487 cat >>confdefs.h <<_ACEOF
17488 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17489 _ACEOF
17495 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17496 #include <sys/types.h>
17497 #endif
17498 #ifdef HAVE_SYS_SOCKETVAR_H
17499 #include <sys/socketvar.h>
17500 #endif
17501 #ifdef HAVE_NETINET_IN_H
17502 #include <netinet/in.h>
17503 #endif
17504 #ifdef HAVE_NETINET_TCP_H
17505 #include <netinet/tcp.h>
17506 #endif
17507 #ifdef HAVE_NETINET_TCP_VAR_H
17508 #include <netinet/tcp_var.h>
17509 #endif
17511 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17513 cat >>confdefs.h <<_ACEOF
17514 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17515 _ACEOF
17521 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
17522 #include <netinet/tcp_var.h>
17523 #endif
17525 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17527 cat >>confdefs.h <<_ACEOF
17528 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17529 _ACEOF
17535 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17536 #include <sys/types.h>
17537 #endif
17538 #ifdef HAVE_NETINET_IN_H
17539 #include <netinet/in.h>
17540 #endif
17541 #ifdef HAVE_NETINET_IP_VAR_H
17542 #include <netinet/ip_var.h>
17543 #endif
17544 #ifdef HAVE_NETINET_UDP_H
17545 #include <netinet/udp.h>
17546 #endif
17547 #ifdef HAVE_NETINET_UDP_VAR_H
17548 #include <netinet/udp_var.h>
17549 #endif
17551 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17553 cat >>confdefs.h <<_ACEOF
17554 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17555 _ACEOF
17561 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17562 #include <sys/types.h>
17563 #endif
17564 #ifdef HAVE_NET_IF_H
17565 # include <net/if.h>
17566 #endif
17568 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17570 cat >>confdefs.h <<_ACEOF
17571 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17572 _ACEOF
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17579 $as_echo_n "checking for timezone variable... " >&6; }
17580 if ${ac_cv_have_timezone+:} false; then :
17581 $as_echo_n "(cached) " >&6
17582 else
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <time.h>
17587 main ()
17589 timezone = 1
17591 return 0;
17593 _ACEOF
17594 if ac_fn_c_try_link "$LINENO"; then :
17595 ac_cv_have_timezone="yes"
17596 else
17597 ac_cv_have_timezone="no"
17599 rm -f core conftest.err conftest.$ac_objext \
17600 conftest$ac_exeext conftest.$ac_ext
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17603 $as_echo "$ac_cv_have_timezone" >&6; }
17604 if test "$ac_cv_have_timezone" = "yes"
17605 then
17607 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17611 $as_echo_n "checking for daylight variable... " >&6; }
17612 if ${ac_cv_have_daylight+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 #include <time.h>
17619 main ()
17621 daylight = 1
17623 return 0;
17625 _ACEOF
17626 if ac_fn_c_try_link "$LINENO"; then :
17627 ac_cv_have_daylight="yes"
17628 else
17629 ac_cv_have_daylight="no"
17631 rm -f core conftest.err conftest.$ac_objext \
17632 conftest$ac_exeext conftest.$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17635 $as_echo "$ac_cv_have_daylight" >&6; }
17636 if test "$ac_cv_have_daylight" = "yes"
17637 then
17639 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17643 ac_save_LIBS="$LIBS"
17644 LIBS="$LIBS -lm"
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17646 $as_echo_n "checking for isfinite... " >&6; }
17647 if ${ac_cv_have_isfinite+:} false; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 #define _GNU_SOURCE
17653 #include <math.h>
17655 main ()
17657 float f = 0.0; return isfinite(f)
17659 return 0;
17661 _ACEOF
17662 if ac_fn_c_try_link "$LINENO"; then :
17663 ac_cv_have_isfinite="yes"
17664 else
17665 ac_cv_have_isfinite="no"
17667 rm -f core conftest.err conftest.$ac_objext \
17668 conftest$ac_exeext conftest.$ac_ext
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17671 $as_echo "$ac_cv_have_isfinite" >&6; }
17672 if test "$ac_cv_have_isfinite" = "yes"
17673 then
17675 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17680 $as_echo_n "checking for isinf... " >&6; }
17681 if ${ac_cv_have_isinf+:} false; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17686 #include <math.h>
17688 main ()
17690 float f = 0.0; return isinf(f)
17692 return 0;
17694 _ACEOF
17695 if ac_fn_c_try_link "$LINENO"; then :
17696 ac_cv_have_isinf="yes"
17697 else
17698 ac_cv_have_isinf="no"
17700 rm -f core conftest.err conftest.$ac_objext \
17701 conftest$ac_exeext conftest.$ac_ext
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17704 $as_echo "$ac_cv_have_isinf" >&6; }
17705 if test "$ac_cv_have_isinf" = "yes"
17706 then
17708 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17713 $as_echo_n "checking for isnan... " >&6; }
17714 if ${ac_cv_have_isnan+:} false; then :
17715 $as_echo_n "(cached) " >&6
17716 else
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17719 #include <math.h>
17721 main ()
17723 float f = 0.0; return isnan(f)
17725 return 0;
17727 _ACEOF
17728 if ac_fn_c_try_link "$LINENO"; then :
17729 ac_cv_have_isnan="yes"
17730 else
17731 ac_cv_have_isnan="no"
17733 rm -f core conftest.err conftest.$ac_objext \
17734 conftest$ac_exeext conftest.$ac_ext
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17737 $as_echo "$ac_cv_have_isnan" >&6; }
17738 if test "$ac_cv_have_isnan" = "yes"
17739 then
17741 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17745 for ac_func in \
17746 acosh \
17747 acoshf \
17748 asinh \
17749 asinhf \
17750 atanh \
17751 atanhf \
17752 cbrt \
17753 cbrtf \
17754 erf \
17755 erfc \
17756 erfcf \
17757 erff \
17758 exp2 \
17759 exp2f \
17760 expm1 \
17761 expm1f \
17762 lgamma \
17763 lgammaf \
17764 llrint \
17765 llrintf \
17766 llround \
17767 llroundf \
17768 log1p \
17769 log1pf \
17770 log2 \
17771 log2f \
17772 lrint \
17773 lrintf \
17774 lround \
17775 lroundf \
17776 nearbyint \
17777 nearbyintf \
17778 powl \
17779 remainder \
17780 remainderf \
17781 rint \
17782 rintf \
17783 round \
17784 roundf \
17785 trunc \
17786 truncf
17788 do :
17789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17791 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17792 cat >>confdefs.h <<_ACEOF
17793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17794 _ACEOF
17797 done
17799 LIBS="$ac_save_LIBS"
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17802 $as_echo_n "checking for __builtin_clz... " >&6; }
17803 if ${ac_cv_have___builtin_clz+:} false; then :
17804 $as_echo_n "(cached) " >&6
17805 else
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17810 main ()
17812 return __builtin_clz(1)
17814 return 0;
17816 _ACEOF
17817 if ac_fn_c_try_link "$LINENO"; then :
17818 ac_cv_have___builtin_clz="yes"
17819 else
17820 ac_cv_have___builtin_clz="no"
17822 rm -f core conftest.err conftest.$ac_objext \
17823 conftest$ac_exeext conftest.$ac_ext
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17826 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17827 if test "$ac_cv_have___builtin_clz" = "yes"
17828 then
17830 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17835 $as_echo_n "checking for __builtin_popcount... " >&6; }
17836 if ${ac_cv_have___builtin_popcount+:} false; then :
17837 $as_echo_n "(cached) " >&6
17838 else
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17843 main ()
17845 return __builtin_popcount(1)
17847 return 0;
17849 _ACEOF
17850 if ac_fn_c_try_link "$LINENO"; then :
17851 ac_cv_have___builtin_popcount="yes"
17852 else
17853 ac_cv_have___builtin_popcount="no"
17855 rm -f core conftest.err conftest.$ac_objext \
17856 conftest$ac_exeext conftest.$ac_ext
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17859 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17860 if test "$ac_cv_have___builtin_popcount" = "yes"
17861 then
17863 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17868 $as_echo_n "checking for __clear_cache... " >&6; }
17869 if ${ac_cv_have___clear_cache+:} false; then :
17870 $as_echo_n "(cached) " >&6
17871 else
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17876 main ()
17878 __clear_cache((void*)0, (void*)0); return 0;
17880 return 0;
17882 _ACEOF
17883 if ac_fn_c_try_link "$LINENO"; then :
17884 ac_cv_have___clear_cache="yes"
17885 else
17886 ac_cv_have___clear_cache="no"
17888 rm -f core conftest.err conftest.$ac_objext \
17889 conftest$ac_exeext conftest.$ac_ext
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17892 $as_echo "$ac_cv_have___clear_cache" >&6; }
17893 if test "$ac_cv_have___clear_cache" = "yes"
17894 then
17896 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17901 case $host_cpu in
17902 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17903 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17904 if ${ac_cv_cpp_def___i386__+:} false; then :
17905 $as_echo_n "(cached) " >&6
17906 else
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17909 #ifndef __i386__
17911 #endif
17912 _ACEOF
17913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17914 $EGREP "yes" >/dev/null 2>&1; then :
17915 ac_cv_cpp_def___i386__=yes
17916 else
17917 ac_cv_cpp_def___i386__=no
17919 rm -f conftest*
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17923 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17924 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17925 CFLAGS="$CFLAGS -D__i386__"
17926 LINTFLAGS="$LINTFLAGS -D__i386__"
17927 fi ;;
17928 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17929 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17930 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17931 $as_echo_n "(cached) " >&6
17932 else
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17935 #ifndef __x86_64__
17937 #endif
17938 _ACEOF
17939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17940 $EGREP "yes" >/dev/null 2>&1; then :
17941 ac_cv_cpp_def___x86_64__=yes
17942 else
17943 ac_cv_cpp_def___x86_64__=no
17945 rm -f conftest*
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17949 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17950 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17951 CFLAGS="$CFLAGS -D__x86_64__"
17952 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17953 fi ;;
17954 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17955 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17956 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17961 #ifndef __sparc64__
17963 #endif
17964 _ACEOF
17965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17966 $EGREP "yes" >/dev/null 2>&1; then :
17967 ac_cv_cpp_def___sparc64__=yes
17968 else
17969 ac_cv_cpp_def___sparc64__=no
17971 rm -f conftest*
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17975 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17976 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17977 CFLAGS="$CFLAGS -D__sparc64__"
17978 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17979 fi ;;
17980 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17981 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17982 if ${ac_cv_cpp_def___sparc__+:} false; then :
17983 $as_echo_n "(cached) " >&6
17984 else
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 #ifndef __sparc__
17989 #endif
17990 _ACEOF
17991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17992 $EGREP "yes" >/dev/null 2>&1; then :
17993 ac_cv_cpp_def___sparc__=yes
17994 else
17995 ac_cv_cpp_def___sparc__=no
17997 rm -f conftest*
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18001 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18002 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18003 CFLAGS="$CFLAGS -D__sparc__"
18004 LINTFLAGS="$LINTFLAGS -D__sparc__"
18005 fi ;;
18006 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18007 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18008 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18009 $as_echo_n "(cached) " >&6
18010 else
18011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #ifndef __powerpc64__
18015 #endif
18016 _ACEOF
18017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18018 $EGREP "yes" >/dev/null 2>&1; then :
18019 ac_cv_cpp_def___powerpc64__=yes
18020 else
18021 ac_cv_cpp_def___powerpc64__=no
18023 rm -f conftest*
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18027 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18028 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18029 CFLAGS="$CFLAGS -D__powerpc64__"
18030 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18031 fi ;;
18032 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18033 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18034 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18035 $as_echo_n "(cached) " >&6
18036 else
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18039 #ifndef __powerpc__
18041 #endif
18042 _ACEOF
18043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18044 $EGREP "yes" >/dev/null 2>&1; then :
18045 ac_cv_cpp_def___powerpc__=yes
18046 else
18047 ac_cv_cpp_def___powerpc__=no
18049 rm -f conftest*
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18053 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18054 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18055 CFLAGS="$CFLAGS -D__powerpc__"
18056 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18057 fi ;;
18058 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18059 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18060 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18061 $as_echo_n "(cached) " >&6
18062 else
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 #ifndef __aarch64__
18067 #endif
18068 _ACEOF
18069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18070 $EGREP "yes" >/dev/null 2>&1; then :
18071 ac_cv_cpp_def___aarch64__=yes
18072 else
18073 ac_cv_cpp_def___aarch64__=no
18075 rm -f conftest*
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18079 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18080 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18081 CFLAGS="$CFLAGS -D__aarch64__"
18082 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18083 fi ;;
18084 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18085 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18086 if ${ac_cv_cpp_def___arm__+:} false; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18091 #ifndef __arm__
18093 #endif
18094 _ACEOF
18095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18096 $EGREP "yes" >/dev/null 2>&1; then :
18097 ac_cv_cpp_def___arm__=yes
18098 else
18099 ac_cv_cpp_def___arm__=no
18101 rm -f conftest*
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18105 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18106 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18107 CFLAGS="$CFLAGS -D__arm__"
18108 LINTFLAGS="$LINTFLAGS -D__arm__"
18109 fi ;;
18110 esac
18112 case $host_vendor in
18113 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18114 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18115 if ${ac_cv_cpp_def___sun__+:} false; then :
18116 $as_echo_n "(cached) " >&6
18117 else
18118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18120 #ifndef __sun__
18122 #endif
18123 _ACEOF
18124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18125 $EGREP "yes" >/dev/null 2>&1; then :
18126 ac_cv_cpp_def___sun__=yes
18127 else
18128 ac_cv_cpp_def___sun__=no
18130 rm -f conftest*
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18134 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18135 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18136 CFLAGS="$CFLAGS -D__sun__"
18137 LINTFLAGS="$LINTFLAGS -D__sun__"
18138 fi ;;
18139 esac
18145 ac_config_commands="$ac_config_commands include/stamp-h"
18147 $as_echo_n "creating Makefile rules..." >&6
18149 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18150 SOCKET_LIBS = $SOCKET_LIBS
18151 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18152 IOKIT_LIBS = $IOKIT_LIBS
18153 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18154 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18155 CORESERVICES_LIBS = $CORESERVICES_LIBS
18156 APPKIT_LIBS = $APPKIT_LIBS
18157 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18158 SECURITY_LIBS = $SECURITY_LIBS
18159 COREAUDIO_LIBS = $COREAUDIO_LIBS
18160 OPENAL_LIBS = $OPENAL_LIBS
18161 OPENCL_LIBS = $OPENCL_LIBS
18162 QUICKTIME_LIBS = $QUICKTIME_LIBS
18163 CARBON_LIBS = $CARBON_LIBS
18164 PTHREAD_LIBS = $PTHREAD_LIBS
18165 X_CFLAGS = $X_CFLAGS
18166 X_PRE_LIBS = $X_PRE_LIBS
18167 X_LIBS = $X_LIBS
18168 X_EXTRA_LIBS = $X_EXTRA_LIBS
18169 PCAP_LIBS = $PCAP_LIBS
18170 XML2_CFLAGS = $XML2_CFLAGS
18171 XML2_LIBS = $XML2_LIBS
18172 XSLT_CFLAGS = $XSLT_CFLAGS
18173 XSLT_LIBS = $XSLT_LIBS
18174 DBUS_CFLAGS = $DBUS_CFLAGS
18175 DBUS_LIBS = $DBUS_LIBS
18176 HAL_CFLAGS = $HAL_CFLAGS
18177 HAL_LIBS = $HAL_LIBS
18178 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18179 GNUTLS_LIBS = $GNUTLS_LIBS
18180 SANE_CFLAGS = $SANE_CFLAGS
18181 SANE_LIBS = $SANE_LIBS
18182 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18183 GPHOTO2_LIBS = $GPHOTO2_LIBS
18184 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18185 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18186 RESOLV_LIBS = $RESOLV_LIBS
18187 LCMS2_CFLAGS = $LCMS2_CFLAGS
18188 LCMS2_LIBS = $LCMS2_LIBS
18189 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18190 FREETYPE_LIBS = $FREETYPE_LIBS
18191 Z_LIBS = $Z_LIBS
18192 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18193 PULSE_CFLAGS = $PULSE_CFLAGS
18194 PULSE_LIBS = $PULSE_LIBS
18195 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18196 GSTREAMER_LIBS = $GSTREAMER_LIBS
18197 ALSA_LIBS = $ALSA_LIBS
18198 OSS4_CFLAGS = $OSS4_CFLAGS
18199 UDEV_CFLAGS = $UDEV_CFLAGS
18200 UDEV_LIBS = $UDEV_LIBS
18201 CAPI20_CFLAGS = $CAPI20_CFLAGS
18202 CAPI20_LIBS = $CAPI20_LIBS
18203 CUPS_CFLAGS = $CUPS_CFLAGS
18204 CUPS_LIBS = $CUPS_LIBS
18205 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18206 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18207 KRB5_CFLAGS = $KRB5_CFLAGS
18208 KRB5_LIBS = $KRB5_LIBS
18209 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18210 GSSAPI_LIBS = $GSSAPI_LIBS
18211 JPEG_CFLAGS = $JPEG_CFLAGS
18212 JPEG_LIBS = $JPEG_LIBS
18213 PNG_CFLAGS = $PNG_CFLAGS
18214 PNG_LIBS = $PNG_LIBS
18215 TIFF_CFLAGS = $TIFF_CFLAGS
18216 TIFF_LIBS = $TIFF_LIBS
18217 MPG123_CFLAGS = $MPG123_CFLAGS
18218 MPG123_LIBS = $MPG123_LIBS
18219 KSTAT_LIBS = $KSTAT_LIBS
18220 PROCSTAT_LIBS = $PROCSTAT_LIBS
18221 NETAPI_CFLAGS = $NETAPI_CFLAGS
18222 NETAPI_LIBS = $NETAPI_LIBS
18223 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18224 DL_LIBS = $DL_LIBS
18225 POLL_LIBS = $POLL_LIBS
18226 RT_LIBS = $RT_LIBS
18227 LDAP_CFLAGS = $LDAP_CFLAGS
18228 LDAP_LIBS = $LDAP_LIBS
18233 wine_fn_append_rule "
18234 # Rules automatically generated by configure
18236 .INIT: Makefile
18237 .MAKEFILEDEPS:
18238 all: Makefile
18239 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18240 @./config.status Make.tmp Makefile
18241 depend: \$(MAKEDEP) dummy
18242 \$(MAKEDEP)"
18244 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18245 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18247 if test "x$enable_fonts" != xno; then
18248 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18249 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18250 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18251 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18252 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18253 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18255 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18256 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18257 ac_config_links="$ac_config_links wine:tools/winewrapper"
18258 wine_fn_config_symlink wine
18259 if test "x$enable_win64" != xno; then
18260 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18261 wine_fn_config_symlink wine64
18264 wine_fn_config_dll acledit enable_acledit
18265 wine_fn_config_dll aclui enable_aclui implib
18266 wine_fn_config_dll activeds enable_activeds implib
18267 wine_fn_config_dll actxprxy enable_actxprxy
18268 wine_fn_config_lib adsiid
18269 wine_fn_config_dll adsldp enable_adsldp
18270 wine_fn_config_dll adsldpc enable_adsldpc
18271 wine_fn_config_dll advapi32 enable_advapi32 implib
18272 wine_fn_config_test dlls/advapi32/tests advapi32_test
18273 wine_fn_config_dll advpack enable_advpack implib
18274 wine_fn_config_test dlls/advpack/tests advpack_test
18275 wine_fn_config_dll amstream enable_amstream
18276 wine_fn_config_test dlls/amstream/tests amstream_test
18277 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18278 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18279 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18280 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18281 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18282 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18283 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18284 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18285 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18286 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18287 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18288 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18289 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18290 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18291 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18292 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18293 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18294 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18295 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18296 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18297 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18298 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18299 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18300 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18301 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18302 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18303 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18304 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18305 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18306 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18307 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18308 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18309 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18310 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18311 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18312 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18313 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18314 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18315 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18316 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18317 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18318 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18319 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18320 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18321 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18322 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18323 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18324 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18325 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18326 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18327 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18328 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18329 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18330 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18332 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18333 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18334 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18336 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18337 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18341 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18342 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18343 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18345 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18347 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18349 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18350 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18351 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18352 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18353 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18354 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18355 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18356 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18357 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18358 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18360 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18362 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18363 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18364 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18365 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18366 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18367 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18368 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18369 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18370 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18371 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18372 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18373 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18374 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18375 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18376 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18377 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18378 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18379 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18380 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18381 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18382 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18383 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18384 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18385 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18386 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18387 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18388 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18390 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18391 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18392 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18393 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18394 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18395 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18396 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18397 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18398 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18399 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18400 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18404 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18406 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18407 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18408 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18409 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18410 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18411 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18412 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18413 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18414 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18415 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18416 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18417 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18418 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18419 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18420 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18421 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18422 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18423 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18424 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18425 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18426 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18427 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18428 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18429 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18430 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18431 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18432 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18433 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18434 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18435 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18436 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18437 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18438 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18439 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18440 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18441 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18442 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18443 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18444 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18445 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18446 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18447 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18448 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18449 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18450 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18451 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18452 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18453 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18454 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18455 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18456 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18457 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18458 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18459 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18460 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18461 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18462 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18463 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18464 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18465 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18466 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18467 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18468 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18469 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18470 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18471 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18472 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18473 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18474 wine_fn_config_dll apphelp enable_apphelp
18475 wine_fn_config_test dlls/apphelp/tests apphelp_test
18476 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18477 wine_fn_config_dll atl enable_atl implib
18478 wine_fn_config_test dlls/atl/tests atl_test
18479 wine_fn_config_dll atl100 enable_atl100 implib
18480 wine_fn_config_test dlls/atl100/tests atl100_test
18481 wine_fn_config_dll atl110 enable_atl110
18482 wine_fn_config_dll atl80 enable_atl80 implib
18483 wine_fn_config_test dlls/atl80/tests atl80_test
18484 wine_fn_config_dll atl90 enable_atl90
18485 wine_fn_config_dll authz enable_authz
18486 wine_fn_config_dll avicap32 enable_avicap32 implib
18487 wine_fn_config_dll avifil32 enable_avifil32 implib
18488 wine_fn_config_test dlls/avifil32/tests avifil32_test
18489 wine_fn_config_dll avifile.dll16 enable_win16
18490 wine_fn_config_dll avrt enable_avrt implib
18491 wine_fn_config_dll bcrypt enable_bcrypt implib
18492 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18493 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18494 wine_fn_config_dll browseui enable_browseui
18495 wine_fn_config_test dlls/browseui/tests browseui_test
18496 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18497 wine_fn_config_dll cabinet enable_cabinet implib
18498 wine_fn_config_test dlls/cabinet/tests cabinet_test
18499 wine_fn_config_dll capi2032 enable_capi2032 implib
18500 wine_fn_config_dll cards enable_cards implib
18501 wine_fn_config_dll cdosys enable_cdosys
18502 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18503 wine_fn_config_dll clusapi enable_clusapi implib
18504 wine_fn_config_dll combase enable_combase
18505 wine_fn_config_test dlls/combase/tests combase_test
18506 wine_fn_config_dll comcat enable_comcat
18507 wine_fn_config_test dlls/comcat/tests comcat_test
18508 wine_fn_config_dll comctl32 enable_comctl32 implib
18509 wine_fn_config_test dlls/comctl32/tests comctl32_test
18510 wine_fn_config_dll comdlg32 enable_comdlg32 implib
18511 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18512 wine_fn_config_dll comm.drv16 enable_win16
18513 wine_fn_config_dll commdlg.dll16 enable_win16
18514 wine_fn_config_dll compobj.dll16 enable_win16
18515 wine_fn_config_dll compstui enable_compstui implib
18516 wine_fn_config_dll comsvcs enable_comsvcs implib
18517 wine_fn_config_dll concrt140 enable_concrt140
18518 wine_fn_config_dll connect enable_connect
18519 wine_fn_config_dll credui enable_credui implib
18520 wine_fn_config_test dlls/credui/tests credui_test
18521 wine_fn_config_dll crtdll enable_crtdll
18522 wine_fn_config_dll crypt32 enable_crypt32 implib
18523 wine_fn_config_test dlls/crypt32/tests crypt32_test
18524 wine_fn_config_dll cryptdlg enable_cryptdlg
18525 wine_fn_config_dll cryptdll enable_cryptdll implib
18526 wine_fn_config_dll cryptext enable_cryptext
18527 wine_fn_config_dll cryptnet enable_cryptnet implib
18528 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18529 wine_fn_config_dll cryptui enable_cryptui implib
18530 wine_fn_config_test dlls/cryptui/tests cryptui_test
18531 wine_fn_config_dll ctapi32 enable_ctapi32
18532 wine_fn_config_dll ctl3d.dll16 enable_win16
18533 wine_fn_config_dll ctl3d32 enable_ctl3d32
18534 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18535 wine_fn_config_dll d2d1 enable_d2d1 implib
18536 wine_fn_config_test dlls/d2d1/tests d2d1_test
18537 wine_fn_config_dll d3d10 enable_d3d10 implib
18538 wine_fn_config_test dlls/d3d10/tests d3d10_test
18539 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18540 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18541 wine_fn_config_dll d3d10core enable_d3d10core implib
18542 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18543 wine_fn_config_dll d3d11 enable_d3d11 implib
18544 wine_fn_config_test dlls/d3d11/tests d3d11_test
18545 wine_fn_config_dll d3d12 enable_d3d12 implib
18546 wine_fn_config_test dlls/d3d12/tests d3d12_test
18547 wine_fn_config_dll d3d8 enable_d3d8 implib
18548 wine_fn_config_test dlls/d3d8/tests d3d8_test
18549 wine_fn_config_dll d3d9 enable_d3d9 implib
18550 wine_fn_config_test dlls/d3d9/tests d3d9_test
18551 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18552 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18553 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18554 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18555 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18556 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18557 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18558 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18559 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18560 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18561 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18562 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18563 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18564 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18565 wine_fn_config_dll d3dim enable_d3dim
18566 wine_fn_config_dll d3drm enable_d3drm implib
18567 wine_fn_config_test dlls/d3drm/tests d3drm_test
18568 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18569 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18570 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18571 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18572 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18573 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18574 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18575 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18576 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18577 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18578 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18579 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18580 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18581 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18582 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18583 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18584 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18585 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18586 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18587 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18588 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18589 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18590 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18591 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18592 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18593 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18594 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18595 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18596 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18597 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18598 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18599 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18600 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18601 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18602 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18603 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18604 wine_fn_config_dll d3dxof enable_d3dxof implib
18605 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18606 wine_fn_config_dll davclnt enable_davclnt
18607 wine_fn_config_dll dbgeng enable_dbgeng implib
18608 wine_fn_config_dll dbghelp enable_dbghelp implib
18609 wine_fn_config_dll dciman32 enable_dciman32 implib
18610 wine_fn_config_dll ddeml.dll16 enable_win16
18611 wine_fn_config_dll ddraw enable_ddraw implib
18612 wine_fn_config_test dlls/ddraw/tests ddraw_test
18613 wine_fn_config_dll ddrawex enable_ddrawex
18614 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18615 wine_fn_config_dll devenum enable_devenum
18616 wine_fn_config_test dlls/devenum/tests devenum_test
18617 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18618 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18619 wine_fn_config_dll difxapi enable_difxapi
18620 wine_fn_config_dll dinput enable_dinput implib,staticimplib
18621 wine_fn_config_test dlls/dinput/tests dinput_test
18622 wine_fn_config_dll dinput8 enable_dinput8 implib
18623 wine_fn_config_test dlls/dinput8/tests dinput8_test
18624 wine_fn_config_dll dispdib.dll16 enable_win16
18625 wine_fn_config_dll dispex enable_dispex
18626 wine_fn_config_test dlls/dispex/tests dispex_test
18627 wine_fn_config_dll display.drv16 enable_win16
18628 wine_fn_config_dll dmband enable_dmband
18629 wine_fn_config_test dlls/dmband/tests dmband_test
18630 wine_fn_config_dll dmcompos enable_dmcompos
18631 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18632 wine_fn_config_dll dmime enable_dmime
18633 wine_fn_config_test dlls/dmime/tests dmime_test
18634 wine_fn_config_dll dmloader enable_dmloader
18635 wine_fn_config_test dlls/dmloader/tests dmloader_test
18636 wine_fn_config_dll dmscript enable_dmscript
18637 wine_fn_config_test dlls/dmscript/tests dmscript_test
18638 wine_fn_config_dll dmstyle enable_dmstyle
18639 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18640 wine_fn_config_dll dmsynth enable_dmsynth
18641 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18642 wine_fn_config_dll dmusic enable_dmusic
18643 wine_fn_config_test dlls/dmusic/tests dmusic_test
18644 wine_fn_config_dll dmusic32 enable_dmusic32
18645 wine_fn_config_dll dnsapi enable_dnsapi implib
18646 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18647 wine_fn_config_dll dplay enable_dplay
18648 wine_fn_config_dll dplayx enable_dplayx implib
18649 wine_fn_config_test dlls/dplayx/tests dplayx_test
18650 wine_fn_config_dll dpnaddr enable_dpnaddr
18651 wine_fn_config_dll dpnet enable_dpnet implib
18652 wine_fn_config_test dlls/dpnet/tests dpnet_test
18653 wine_fn_config_dll dpnhpast enable_dpnhpast
18654 wine_fn_config_dll dpnlobby enable_dpnlobby
18655 wine_fn_config_dll dpvoice enable_dpvoice
18656 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18657 wine_fn_config_dll dpwsockx enable_dpwsockx
18658 wine_fn_config_dll drmclien enable_drmclien
18659 wine_fn_config_dll dsound enable_dsound implib
18660 wine_fn_config_test dlls/dsound/tests dsound_test
18661 wine_fn_config_dll dsquery enable_dsquery
18662 wine_fn_config_dll dssenh enable_dssenh
18663 wine_fn_config_test dlls/dssenh/tests dssenh_test
18664 wine_fn_config_dll dswave enable_dswave
18665 wine_fn_config_test dlls/dswave/tests dswave_test
18666 wine_fn_config_dll dwmapi enable_dwmapi implib
18667 wine_fn_config_dll dwrite enable_dwrite implib
18668 wine_fn_config_test dlls/dwrite/tests dwrite_test
18669 wine_fn_config_dll dx8vb enable_dx8vb
18670 wine_fn_config_dll dxdiagn enable_dxdiagn
18671 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18672 wine_fn_config_lib dxerr8
18673 wine_fn_config_lib dxerr9
18674 wine_fn_config_dll dxgi enable_dxgi implib
18675 wine_fn_config_test dlls/dxgi/tests dxgi_test
18676 wine_fn_config_lib dxguid
18677 wine_fn_config_dll dxva2 enable_dxva2
18678 wine_fn_config_dll esent enable_esent
18679 wine_fn_config_dll evr enable_evr
18680 wine_fn_config_test dlls/evr/tests evr_test
18681 wine_fn_config_dll explorerframe enable_explorerframe
18682 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18683 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18684 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18685 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18686 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18687 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18688 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18689 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18690 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18691 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18692 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18693 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18694 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18695 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18696 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18697 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18698 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18699 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18700 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18701 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
18702 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18703 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18704 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18705 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18706 wine_fn_config_dll faultrep enable_faultrep implib
18707 wine_fn_config_test dlls/faultrep/tests faultrep_test
18708 wine_fn_config_dll fltlib enable_fltlib
18709 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18710 wine_fn_config_dll fntcache enable_fntcache
18711 wine_fn_config_dll fontsub enable_fontsub
18712 wine_fn_config_dll fusion enable_fusion
18713 wine_fn_config_test dlls/fusion/tests fusion_test
18714 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18715 wine_fn_config_dll gameux enable_gameux
18716 wine_fn_config_test dlls/gameux/tests gameux_test
18717 wine_fn_config_dll gdi.exe16 enable_win16
18718 wine_fn_config_dll gdi32 enable_gdi32 implib
18719 wine_fn_config_test dlls/gdi32/tests gdi32_test
18720 wine_fn_config_dll gdiplus enable_gdiplus implib
18721 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18722 wine_fn_config_dll glu32 enable_glu32 implib
18723 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18724 wine_fn_config_dll gpkcsp enable_gpkcsp
18725 wine_fn_config_dll hal enable_hal
18726 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib htmlhelp
18727 wine_fn_config_dll hid enable_hid implib
18728 wine_fn_config_test dlls/hid/tests hid_test
18729 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18730 wine_fn_config_dll hlink enable_hlink implib
18731 wine_fn_config_test dlls/hlink/tests hlink_test
18732 wine_fn_config_dll hnetcfg enable_hnetcfg
18733 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18734 wine_fn_config_dll httpapi enable_httpapi implib
18735 wine_fn_config_test dlls/httpapi/tests httpapi_test
18736 wine_fn_config_dll iccvid enable_iccvid
18737 wine_fn_config_dll icmp enable_icmp
18738 wine_fn_config_dll ieframe enable_ieframe implib
18739 wine_fn_config_test dlls/ieframe/tests ieframe_test
18740 wine_fn_config_dll ieproxy enable_ieproxy
18741 wine_fn_config_dll ifsmgr.vxd enable_win16
18742 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18743 wine_fn_config_dll imagehlp enable_imagehlp implib
18744 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18745 wine_fn_config_dll imm.dll16 enable_win16
18746 wine_fn_config_dll imm32 enable_imm32 implib
18747 wine_fn_config_test dlls/imm32/tests imm32_test
18748 wine_fn_config_dll inetcomm enable_inetcomm implib
18749 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18750 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18751 wine_fn_config_dll inetmib1 enable_inetmib1
18752 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18753 wine_fn_config_dll infosoft enable_infosoft
18754 wine_fn_config_test dlls/infosoft/tests infosoft_test
18755 wine_fn_config_dll initpki enable_initpki
18756 wine_fn_config_dll inkobj enable_inkobj
18757 wine_fn_config_dll inseng enable_inseng
18758 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18759 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18760 wine_fn_config_dll iprop enable_iprop
18761 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18762 wine_fn_config_dll itircl enable_itircl
18763 wine_fn_config_dll itss enable_itss
18764 wine_fn_config_test dlls/itss/tests itss_test
18765 wine_fn_config_dll joy.cpl enable_joy_cpl
18766 wine_fn_config_dll jscript enable_jscript
18767 wine_fn_config_test dlls/jscript/tests jscript_test
18768 wine_fn_config_dll jsproxy enable_jsproxy implib
18769 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18770 wine_fn_config_dll kerberos enable_kerberos
18771 wine_fn_config_dll kernel32 enable_kernel32 implib
18772 wine_fn_config_test dlls/kernel32/tests kernel32_test
18773 wine_fn_config_dll kernelbase enable_kernelbase
18774 wine_fn_config_dll keyboard.drv16 enable_win16
18775 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18776 wine_fn_config_dll ksuser enable_ksuser
18777 wine_fn_config_dll ktmw32 enable_ktmw32
18778 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18779 wine_fn_config_dll loadperf enable_loadperf implib
18780 wine_fn_config_dll localspl enable_localspl
18781 wine_fn_config_test dlls/localspl/tests localspl_test
18782 wine_fn_config_dll localui enable_localui
18783 wine_fn_config_test dlls/localui/tests localui_test
18784 wine_fn_config_dll lz32 enable_lz32 implib
18785 wine_fn_config_test dlls/lz32/tests lz32_test
18786 wine_fn_config_dll lzexpand.dll16 enable_win16
18787 wine_fn_config_dll mapi32 enable_mapi32 implib
18788 wine_fn_config_test dlls/mapi32/tests mapi32_test
18789 wine_fn_config_dll mapistub enable_mapistub
18790 wine_fn_config_dll mciavi32 enable_mciavi32
18791 wine_fn_config_dll mcicda enable_mcicda
18792 wine_fn_config_dll mciqtz32 enable_mciqtz32
18793 wine_fn_config_dll mciseq enable_mciseq
18794 wine_fn_config_dll mciwave enable_mciwave
18795 wine_fn_config_dll mf enable_mf implib
18796 wine_fn_config_test dlls/mf/tests mf_test
18797 wine_fn_config_dll mf3216 enable_mf3216
18798 wine_fn_config_dll mfplat enable_mfplat implib
18799 wine_fn_config_test dlls/mfplat/tests mfplat_test
18800 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18801 wine_fn_config_lib mfuuid
18802 wine_fn_config_dll mgmtapi enable_mgmtapi
18803 wine_fn_config_dll midimap enable_midimap
18804 wine_fn_config_dll mlang enable_mlang implib
18805 wine_fn_config_test dlls/mlang/tests mlang_test
18806 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18807 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18808 wine_fn_config_dll mmdevapi enable_mmdevapi
18809 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18810 wine_fn_config_dll mmdevldr.vxd enable_win16
18811 wine_fn_config_dll mmsystem.dll16 enable_win16
18812 wine_fn_config_dll monodebg.vxd enable_win16
18813 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18814 wine_fn_config_dll mouse.drv16 enable_win16
18815 wine_fn_config_dll mpr enable_mpr implib
18816 wine_fn_config_test dlls/mpr/tests mpr_test
18817 wine_fn_config_dll mprapi enable_mprapi implib
18818 wine_fn_config_dll msacm.dll16 enable_win16
18819 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18820 wine_fn_config_dll msacm32 enable_msacm32 implib
18821 wine_fn_config_test dlls/msacm32/tests msacm32_test
18822 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18823 wine_fn_config_dll msasn1 enable_msasn1 implib
18824 wine_fn_config_dll mscat32 enable_mscat32
18825 wine_fn_config_dll mscms enable_mscms implib
18826 wine_fn_config_test dlls/mscms/tests mscms_test
18827 wine_fn_config_dll mscoree enable_mscoree
18828 wine_fn_config_test dlls/mscoree/tests mscoree_test
18829 wine_fn_config_dll msctf enable_msctf
18830 wine_fn_config_test dlls/msctf/tests msctf_test
18831 wine_fn_config_dll msctfp enable_msctfp
18832 wine_fn_config_dll msdaps enable_msdaps
18833 wine_fn_config_dll msdelta enable_msdelta
18834 wine_fn_config_dll msdmo enable_msdmo implib
18835 wine_fn_config_test dlls/msdmo/tests msdmo_test
18836 wine_fn_config_dll msdrm enable_msdrm
18837 wine_fn_config_dll msftedit enable_msftedit
18838 wine_fn_config_dll msg711.acm enable_msg711_acm
18839 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18840 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18841 wine_fn_config_dll mshtml enable_mshtml implib
18842 wine_fn_config_test dlls/mshtml/tests mshtml_test
18843 wine_fn_config_dll msi enable_msi implib
18844 wine_fn_config_test dlls/msi/tests msi_test
18845 wine_fn_config_dll msident enable_msident
18846 wine_fn_config_dll msimg32 enable_msimg32 implib
18847 wine_fn_config_dll msimsg enable_msimsg
18848 wine_fn_config_dll msimtf enable_msimtf
18849 wine_fn_config_dll msisip enable_msisip
18850 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18851 wine_fn_config_dll msls31 enable_msls31
18852 wine_fn_config_dll msnet32 enable_msnet32
18853 wine_fn_config_dll mspatcha enable_mspatcha implib
18854 wine_fn_config_dll msports enable_msports
18855 wine_fn_config_dll msrle32 enable_msrle32
18856 wine_fn_config_test dlls/msrle32/tests msrle32_test
18857 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18858 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test
18859 wine_fn_config_dll mssign32 enable_mssign32
18860 wine_fn_config_dll mssip32 enable_mssip32
18861 wine_fn_config_dll mstask enable_mstask
18862 wine_fn_config_test dlls/mstask/tests mstask_test
18863 wine_fn_config_dll msvcirt enable_msvcirt
18864 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18865 wine_fn_config_dll msvcm80 enable_msvcm80
18866 wine_fn_config_dll msvcm90 enable_msvcm90
18867 wine_fn_config_dll msvcp100 enable_msvcp100
18868 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18869 wine_fn_config_dll msvcp110 enable_msvcp110
18870 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18871 wine_fn_config_dll msvcp120 enable_msvcp120
18872 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18873 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18874 wine_fn_config_dll msvcp140 enable_msvcp140
18875 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18876 wine_fn_config_dll msvcp60 enable_msvcp60
18877 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18878 wine_fn_config_dll msvcp70 enable_msvcp70
18879 wine_fn_config_dll msvcp71 enable_msvcp71
18880 wine_fn_config_dll msvcp80 enable_msvcp80
18881 wine_fn_config_dll msvcp90 enable_msvcp90
18882 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18883 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18884 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18885 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18886 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18887 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18888 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18889 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18890 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18891 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18892 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18893 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18894 wine_fn_config_dll msvcrt enable_msvcrt implib
18895 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18896 wine_fn_config_dll msvcrt20 enable_msvcrt20
18897 wine_fn_config_dll msvcrt40 enable_msvcrt40
18898 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18899 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18900 wine_fn_config_dll msvfw32 enable_msvfw32 implib
18901 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18902 wine_fn_config_dll msvidc32 enable_msvidc32
18903 wine_fn_config_dll msvideo.dll16 enable_win16
18904 wine_fn_config_dll mswsock enable_mswsock implib
18905 wine_fn_config_dll msxml enable_msxml
18906 wine_fn_config_dll msxml2 enable_msxml2
18907 wine_fn_config_dll msxml3 enable_msxml3
18908 wine_fn_config_test dlls/msxml3/tests msxml3_test
18909 wine_fn_config_dll msxml4 enable_msxml4
18910 wine_fn_config_dll msxml6 enable_msxml6
18911 wine_fn_config_dll mtxdm enable_mtxdm
18912 wine_fn_config_dll ncrypt enable_ncrypt
18913 wine_fn_config_dll nddeapi enable_nddeapi implib
18914 wine_fn_config_dll ndis.sys enable_ndis_sys
18915 wine_fn_config_dll netapi32 enable_netapi32 implib
18916 wine_fn_config_test dlls/netapi32/tests netapi32_test
18917 wine_fn_config_dll netcfgx enable_netcfgx
18918 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18919 wine_fn_config_dll netprofm enable_netprofm
18920 wine_fn_config_test dlls/netprofm/tests netprofm_test
18921 wine_fn_config_dll newdev enable_newdev implib
18922 wine_fn_config_dll normaliz enable_normaliz implib
18923 wine_fn_config_dll npmshtml enable_npmshtml
18924 wine_fn_config_dll npptools enable_npptools
18925 wine_fn_config_dll ntdll enable_ntdll implib
18926 wine_fn_config_test dlls/ntdll/tests ntdll_test
18927 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18928 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18929 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18930 wine_fn_config_dll ntprint enable_ntprint
18931 wine_fn_config_test dlls/ntprint/tests ntprint_test
18932 wine_fn_config_dll objsel enable_objsel
18933 wine_fn_config_dll odbc32 enable_odbc32 implib
18934 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18935 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18936 wine_fn_config_dll odbccu32 enable_odbccu32
18937 wine_fn_config_dll ole2.dll16 enable_win16
18938 wine_fn_config_dll ole2conv.dll16 enable_win16
18939 wine_fn_config_dll ole2disp.dll16 enable_win16
18940 wine_fn_config_dll ole2nls.dll16 enable_win16
18941 wine_fn_config_dll ole2prox.dll16 enable_win16
18942 wine_fn_config_dll ole2thk.dll16 enable_win16
18943 wine_fn_config_dll ole32 enable_ole32 implib
18944 wine_fn_config_test dlls/ole32/tests ole32_test
18945 wine_fn_config_dll oleacc enable_oleacc implib
18946 wine_fn_config_test dlls/oleacc/tests oleacc_test
18947 wine_fn_config_dll oleaut32 enable_oleaut32 implib
18948 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
18949 wine_fn_config_dll olecli.dll16 enable_win16
18950 wine_fn_config_dll olecli32 enable_olecli32 implib
18951 wine_fn_config_dll oledb32 enable_oledb32
18952 wine_fn_config_test dlls/oledb32/tests oledb32_test
18953 wine_fn_config_dll oledlg enable_oledlg implib
18954 wine_fn_config_test dlls/oledlg/tests oledlg_test
18955 wine_fn_config_dll olepro32 enable_olepro32 implib
18956 wine_fn_config_dll olesvr.dll16 enable_win16
18957 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18958 wine_fn_config_dll olethk32 enable_olethk32
18959 wine_fn_config_dll openal32 enable_openal32
18960 wine_fn_config_dll opencl enable_opencl
18961 wine_fn_config_dll opengl32 enable_opengl32 implib
18962 wine_fn_config_test dlls/opengl32/tests opengl32_test
18963 wine_fn_config_dll packager enable_packager
18964 wine_fn_config_test dlls/packager/tests packager_test
18965 wine_fn_config_dll pdh enable_pdh implib
18966 wine_fn_config_test dlls/pdh/tests pdh_test
18967 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18968 wine_fn_config_dll pidgen enable_pidgen
18969 wine_fn_config_dll powrprof enable_powrprof implib
18970 wine_fn_config_dll printui enable_printui
18971 wine_fn_config_dll prntvpt enable_prntvpt
18972 wine_fn_config_dll propsys enable_propsys implib
18973 wine_fn_config_test dlls/propsys/tests propsys_test
18974 wine_fn_config_dll psapi enable_psapi implib
18975 wine_fn_config_test dlls/psapi/tests psapi_test
18976 wine_fn_config_dll pstorec enable_pstorec
18977 wine_fn_config_test dlls/pstorec/tests pstorec_test
18978 wine_fn_config_dll qcap enable_qcap
18979 wine_fn_config_test dlls/qcap/tests qcap_test
18980 wine_fn_config_dll qedit enable_qedit
18981 wine_fn_config_test dlls/qedit/tests qedit_test
18982 wine_fn_config_dll qmgr enable_qmgr
18983 wine_fn_config_test dlls/qmgr/tests qmgr_test
18984 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18985 wine_fn_config_dll quartz enable_quartz implib
18986 wine_fn_config_test dlls/quartz/tests quartz_test
18987 wine_fn_config_dll query enable_query
18988 wine_fn_config_dll rasapi16.dll16 enable_win16
18989 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18990 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18991 wine_fn_config_dll rasdlg enable_rasdlg implib
18992 wine_fn_config_dll regapi enable_regapi
18993 wine_fn_config_dll resutils enable_resutils implib
18994 wine_fn_config_dll riched20 enable_riched20 implib
18995 wine_fn_config_test dlls/riched20/tests riched20_test
18996 wine_fn_config_dll riched32 enable_riched32
18997 wine_fn_config_test dlls/riched32/tests riched32_test
18998 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
18999 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
19000 wine_fn_config_dll rsabase enable_rsabase
19001 wine_fn_config_dll rsaenh enable_rsaenh implib
19002 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19003 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19004 wine_fn_config_dll rtutils enable_rtutils implib
19005 wine_fn_config_dll samlib enable_samlib
19006 wine_fn_config_dll sane.ds enable_sane_ds
19007 wine_fn_config_dll sapi enable_sapi
19008 wine_fn_config_test dlls/sapi/tests sapi_test
19009 wine_fn_config_dll scarddlg enable_scarddlg
19010 wine_fn_config_dll sccbase enable_sccbase
19011 wine_fn_config_dll schannel enable_schannel
19012 wine_fn_config_test dlls/schannel/tests schannel_test
19013 wine_fn_config_dll schedsvc enable_schedsvc
19014 wine_fn_config_test dlls/schedsvc/tests schedsvc_test
19015 wine_fn_config_dll scrobj enable_scrobj
19016 wine_fn_config_dll scrrun enable_scrrun
19017 wine_fn_config_test dlls/scrrun/tests scrrun_test
19018 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19019 wine_fn_config_dll secur32 enable_secur32 implib
19020 wine_fn_config_test dlls/secur32/tests secur32_test
19021 wine_fn_config_dll security enable_security
19022 wine_fn_config_dll sensapi enable_sensapi implib
19023 wine_fn_config_dll serialui enable_serialui
19024 wine_fn_config_test dlls/serialui/tests serialui_test
19025 wine_fn_config_dll setupapi enable_setupapi implib
19026 wine_fn_config_test dlls/setupapi/tests setupapi_test
19027 wine_fn_config_dll setupx.dll16 enable_win16
19028 wine_fn_config_dll sfc enable_sfc implib
19029 wine_fn_config_dll sfc_os enable_sfc_os implib
19030 wine_fn_config_dll shcore enable_shcore
19031 wine_fn_config_dll shdoclc enable_shdoclc
19032 wine_fn_config_dll shdocvw enable_shdocvw implib
19033 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19034 wine_fn_config_dll shell.dll16 enable_win16
19035 wine_fn_config_dll shell32 enable_shell32 implib
19036 wine_fn_config_test dlls/shell32/tests shell32_test
19037 wine_fn_config_dll shfolder enable_shfolder implib
19038 wine_fn_config_dll shlwapi enable_shlwapi implib
19039 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19040 wine_fn_config_dll slbcsp enable_slbcsp
19041 wine_fn_config_dll slc enable_slc implib
19042 wine_fn_config_test dlls/slc/tests slc_test
19043 wine_fn_config_dll snmpapi enable_snmpapi implib
19044 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19045 wine_fn_config_dll softpub enable_softpub
19046 wine_fn_config_dll sound.drv16 enable_win16
19047 wine_fn_config_dll spoolss enable_spoolss implib
19048 wine_fn_config_test dlls/spoolss/tests spoolss_test
19049 wine_fn_config_dll sspicli enable_sspicli
19050 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
19051 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
19052 wine_fn_config_dll sti enable_sti implib
19053 wine_fn_config_test dlls/sti/tests sti_test
19054 wine_fn_config_dll storage.dll16 enable_win16
19055 wine_fn_config_dll stress.dll16 enable_win16
19056 wine_fn_config_lib strmbase
19057 wine_fn_config_lib strmiids
19058 wine_fn_config_dll svrapi enable_svrapi
19059 wine_fn_config_dll sxs enable_sxs implib
19060 wine_fn_config_test dlls/sxs/tests sxs_test
19061 wine_fn_config_dll system.drv16 enable_win16
19062 wine_fn_config_dll t2embed enable_t2embed implib
19063 wine_fn_config_test dlls/t2embed/tests t2embed_test
19064 wine_fn_config_dll tapi32 enable_tapi32 implib
19065 wine_fn_config_dll taskschd enable_taskschd
19066 wine_fn_config_test dlls/taskschd/tests taskschd_test
19067 wine_fn_config_dll tdh enable_tdh
19068 wine_fn_config_dll tdi.sys enable_tdi_sys
19069 wine_fn_config_dll toolhelp.dll16 enable_win16
19070 wine_fn_config_dll traffic enable_traffic
19071 wine_fn_config_dll twain.dll16 enable_win16
19072 wine_fn_config_dll twain_32 enable_twain_32
19073 wine_fn_config_test dlls/twain_32/tests twain_32_test
19074 wine_fn_config_dll typelib.dll16 enable_win16
19075 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19076 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19077 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19078 wine_fn_config_dll uiribbon enable_uiribbon
19079 wine_fn_config_dll unicows enable_unicows implib
19080 wine_fn_config_dll updspapi enable_updspapi
19081 wine_fn_config_dll url enable_url implib
19082 wine_fn_config_dll urlmon enable_urlmon implib
19083 wine_fn_config_test dlls/urlmon/tests urlmon_test
19084 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19085 wine_fn_config_dll user.exe16 enable_win16
19086 wine_fn_config_dll user32 enable_user32 implib
19087 wine_fn_config_test dlls/user32/tests user32_test
19088 wine_fn_config_dll userenv enable_userenv implib
19089 wine_fn_config_test dlls/userenv/tests userenv_test
19090 wine_fn_config_dll usp10 enable_usp10 implib
19091 wine_fn_config_test dlls/usp10/tests usp10_test
19092 wine_fn_config_lib uuid
19093 wine_fn_config_dll uxtheme enable_uxtheme implib
19094 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19095 wine_fn_config_dll vbscript enable_vbscript
19096 wine_fn_config_test dlls/vbscript/tests vbscript_test
19097 wine_fn_config_dll vcomp enable_vcomp
19098 wine_fn_config_test dlls/vcomp/tests vcomp_test
19099 wine_fn_config_dll vcomp100 enable_vcomp100
19100 wine_fn_config_dll vcomp110 enable_vcomp110
19101 wine_fn_config_dll vcomp120 enable_vcomp120
19102 wine_fn_config_dll vcomp140 enable_vcomp140
19103 wine_fn_config_dll vcomp90 enable_vcomp90
19104 wine_fn_config_dll vcruntime140 enable_vcruntime140
19105 wine_fn_config_dll vdhcp.vxd enable_win16
19106 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19107 wine_fn_config_dll ver.dll16 enable_win16
19108 wine_fn_config_dll version enable_version implib
19109 wine_fn_config_test dlls/version/tests version_test
19110 wine_fn_config_dll virtdisk enable_virtdisk
19111 wine_fn_config_dll vmm.vxd enable_win16
19112 wine_fn_config_dll vnbt.vxd enable_win16
19113 wine_fn_config_dll vnetbios.vxd enable_win16
19114 wine_fn_config_dll vssapi enable_vssapi
19115 wine_fn_config_dll vtdapi.vxd enable_win16
19116 wine_fn_config_dll vwin32.vxd enable_win16
19117 wine_fn_config_dll w32skrnl enable_win16
19118 wine_fn_config_dll w32sys.dll16 enable_win16
19119 wine_fn_config_dll wbemdisp enable_wbemdisp
19120 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19121 wine_fn_config_dll wbemprox enable_wbemprox
19122 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19123 wine_fn_config_dll wdscore enable_wdscore
19124 wine_fn_config_dll webservices enable_webservices implib
19125 wine_fn_config_test dlls/webservices/tests webservices_test
19126 wine_fn_config_dll wer enable_wer implib
19127 wine_fn_config_test dlls/wer/tests wer_test
19128 wine_fn_config_dll wevtapi enable_wevtapi
19129 wine_fn_config_dll wiaservc enable_wiaservc
19130 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19131 wine_fn_config_dll wimgapi enable_wimgapi
19132 wine_fn_config_dll win32s16.dll16 enable_win16
19133 wine_fn_config_dll win87em.dll16 enable_win16
19134 wine_fn_config_dll winaspi.dll16 enable_win16
19135 wine_fn_config_dll windebug.dll16 enable_win16
19136 wine_fn_config_dll windowscodecs enable_windowscodecs implib
19137 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19138 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19139 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19140 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19141 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19142 wine_fn_config_dll winebus.sys enable_winebus_sys
19143 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19144 wine_fn_config_lib winecrt0
19145 wine_fn_config_dll wined3d enable_wined3d implib
19146 wine_fn_config_dll winegstreamer enable_winegstreamer
19147 wine_fn_config_dll winehid.sys enable_winehid_sys
19148 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19149 wine_fn_config_dll winemac.drv enable_winemac_drv
19150 wine_fn_config_dll winemapi enable_winemapi
19151 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19152 wine_fn_config_dll wineps.drv enable_wineps_drv
19153 wine_fn_config_dll wineps16.drv16 enable_win16
19154 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19155 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19156 wine_fn_config_dll winex11.drv enable_winex11_drv
19157 wine_fn_config_dll wing.dll16 enable_win16
19158 wine_fn_config_dll wing32 enable_wing32
19159 wine_fn_config_dll winhttp enable_winhttp implib
19160 wine_fn_config_test dlls/winhttp/tests winhttp_test
19161 wine_fn_config_dll wininet enable_wininet implib
19162 wine_fn_config_test dlls/wininet/tests wininet_test
19163 wine_fn_config_dll winmm enable_winmm implib
19164 wine_fn_config_test dlls/winmm/tests winmm_test
19165 wine_fn_config_dll winnls.dll16 enable_win16
19166 wine_fn_config_dll winnls32 enable_winnls32 implib
19167 wine_fn_config_dll winscard enable_winscard implib
19168 wine_fn_config_dll winsock.dll16 enable_win16
19169 wine_fn_config_dll winspool.drv enable_winspool_drv implib winspool
19170 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19171 wine_fn_config_dll winsta enable_winsta
19172 wine_fn_config_dll wintab.dll16 enable_win16
19173 wine_fn_config_dll wintab32 enable_wintab32 implib
19174 wine_fn_config_test dlls/wintab32/tests wintab32_test
19175 wine_fn_config_dll wintrust enable_wintrust implib
19176 wine_fn_config_test dlls/wintrust/tests wintrust_test
19177 wine_fn_config_dll winusb enable_winusb
19178 wine_fn_config_dll wlanapi enable_wlanapi implib
19179 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19180 wine_fn_config_dll wldap32 enable_wldap32 implib
19181 wine_fn_config_test dlls/wldap32/tests wldap32_test
19182 wine_fn_config_dll wmasf enable_wmasf
19183 wine_fn_config_dll wmi enable_wmi
19184 wine_fn_config_dll wmiutils enable_wmiutils
19185 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19186 wine_fn_config_dll wmp enable_wmp
19187 wine_fn_config_test dlls/wmp/tests wmp_test
19188 wine_fn_config_dll wmphoto enable_wmphoto
19189 wine_fn_config_dll wmvcore enable_wmvcore implib
19190 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19191 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19192 wine_fn_config_dll wow32 enable_win16 implib
19193 wine_fn_config_dll wpc enable_wpc
19194 wine_fn_config_test dlls/wpc/tests wpc_test
19195 wine_fn_config_dll wpcap enable_wpcap
19196 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19197 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19198 wine_fn_config_dll wsdapi enable_wsdapi implib
19199 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19200 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19201 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
19202 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19203 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19204 wine_fn_config_dll wsock32 enable_wsock32 implib
19205 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19206 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19207 wine_fn_config_dll wuapi enable_wuapi
19208 wine_fn_config_dll wuaueng enable_wuaueng
19209 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19210 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19211 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19212 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19213 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19214 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19215 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19216 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19217 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19218 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19219 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19220 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19221 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19222 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19223 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19224 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19225 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19226 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19227 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19228 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19229 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19230 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19231 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19232 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19233 wine_fn_config_dll xinput1_1 enable_xinput1_1
19234 wine_fn_config_dll xinput1_2 enable_xinput1_2
19235 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19236 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19237 wine_fn_config_dll xinput1_4 enable_xinput1_4
19238 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19239 wine_fn_config_dll xmllite enable_xmllite implib
19240 wine_fn_config_test dlls/xmllite/tests xmllite_test
19241 wine_fn_config_dll xolehlp enable_xolehlp
19242 wine_fn_config_dll xpsprint enable_xpsprint
19243 wine_fn_config_dll xpssvcs enable_xpssvcs
19244 wine_fn_config_makefile fonts enable_fonts install-lib
19245 wine_fn_config_makefile include enable_include install-dev
19246 wine_fn_config_makefile libs/port enable_libs_port
19247 wine_fn_config_makefile libs/wine enable_libs_wine implib,install-dev,install-lib
19248 wine_fn_config_makefile libs/wpp enable_libs_wpp
19249 wine_fn_config_makefile loader enable_loader install-lib
19250 wine_fn_config_makefile po enable_po
19251 wine_fn_config_program arp enable_arp install
19252 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19253 wine_fn_config_program attrib enable_attrib install
19254 wine_fn_config_program cabarc enable_cabarc install
19255 wine_fn_config_program cacls enable_cacls install
19256 wine_fn_config_program clock enable_clock install
19257 wine_fn_config_program cmd enable_cmd install
19258 wine_fn_config_test programs/cmd/tests cmd.exe_test
19259 wine_fn_config_program conhost enable_conhost install
19260 wine_fn_config_program control enable_control install
19261 wine_fn_config_program cscript enable_cscript install
19262 wine_fn_config_program dpnsvr enable_dpnsvr install
19263 wine_fn_config_program dxdiag enable_dxdiag install
19264 wine_fn_config_program eject enable_eject install
19265 wine_fn_config_program expand enable_expand install
19266 wine_fn_config_program explorer enable_explorer install
19267 wine_fn_config_program extrac32 enable_extrac32 install
19268 wine_fn_config_program findstr enable_findstr install
19269 wine_fn_config_program fsutil enable_fsutil install
19270 wine_fn_config_program hh enable_hh install
19271 wine_fn_config_program hostname enable_hostname install
19272 wine_fn_config_program icacls enable_icacls install
19273 wine_fn_config_program icinfo enable_icinfo install
19274 wine_fn_config_program iexplore enable_iexplore install
19275 wine_fn_config_program ipconfig enable_ipconfig install
19276 wine_fn_config_program lodctr enable_lodctr install
19277 wine_fn_config_program mofcomp enable_mofcomp install
19278 wine_fn_config_program mshta enable_mshta install
19279 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19280 wine_fn_config_program msinfo32 enable_msinfo32 install
19281 wine_fn_config_program net enable_net install
19282 wine_fn_config_program netsh enable_netsh install
19283 wine_fn_config_program netstat enable_netstat install
19284 wine_fn_config_program ngen enable_ngen install
19285 wine_fn_config_program notepad enable_notepad install,installbin,manpage
19286 wine_fn_config_program oleview enable_oleview install
19287 wine_fn_config_program ping enable_ping install
19288 wine_fn_config_program plugplay enable_plugplay install
19289 wine_fn_config_program powershell enable_powershell install
19290 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19291 wine_fn_config_program progman enable_progman install
19292 wine_fn_config_program reg enable_reg install
19293 wine_fn_config_test programs/reg/tests reg.exe_test
19294 wine_fn_config_program regasm enable_regasm install
19295 wine_fn_config_program regedit enable_regedit install,installbin,manpage
19296 wine_fn_config_test programs/regedit/tests regedit.exe_test
19297 wine_fn_config_program regsvcs enable_regsvcs install
19298 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
19299 wine_fn_config_program rpcss enable_rpcss install
19300 wine_fn_config_program rundll.exe16 enable_win16 install
19301 wine_fn_config_program rundll32 enable_rundll32 install
19302 wine_fn_config_program sc enable_sc install
19303 wine_fn_config_program schtasks enable_schtasks install
19304 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19305 wine_fn_config_program sdbinst enable_sdbinst install
19306 wine_fn_config_program secedit enable_secedit install
19307 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19308 wine_fn_config_program services enable_services install
19309 wine_fn_config_test programs/services/tests services.exe_test
19310 wine_fn_config_program shutdown enable_shutdown install
19311 wine_fn_config_program spoolsv enable_spoolsv install
19312 wine_fn_config_program start enable_start install
19313 wine_fn_config_program subst enable_subst install
19314 wine_fn_config_program svchost enable_svchost install
19315 wine_fn_config_program systeminfo enable_systeminfo install
19316 wine_fn_config_program taskkill enable_taskkill install
19317 wine_fn_config_program tasklist enable_tasklist install
19318 wine_fn_config_program taskmgr enable_taskmgr install
19319 wine_fn_config_program termsv enable_termsv install
19320 wine_fn_config_program uninstaller enable_uninstaller install
19321 wine_fn_config_program unlodctr enable_unlodctr install
19322 wine_fn_config_program view enable_view install
19323 wine_fn_config_program wevtutil enable_wevtutil install
19324 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage
19325 wine_fn_config_program winebrowser enable_winebrowser install
19326 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage
19327 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage
19328 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage
19329 wine_fn_config_program winedevice enable_winedevice install
19330 wine_fn_config_program winefile enable_winefile install,installbin,manpage
19331 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19332 wine_fn_config_program winemine enable_winemine install,installbin,manpage
19333 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19334 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19335 wine_fn_config_program winetest enable_winetest
19336 wine_fn_config_program winevdm enable_win16 install
19337 wine_fn_config_program winhelp.exe16 enable_win16 install
19338 wine_fn_config_program winhlp32 enable_winhlp32 install
19339 wine_fn_config_program winoldap.mod16 enable_win16 install
19340 wine_fn_config_program winver enable_winver install
19341 wine_fn_config_program wmic enable_wmic install
19342 wine_fn_config_program wmplayer enable_wmplayer install
19343 wine_fn_config_program wordpad enable_wordpad install
19344 wine_fn_config_program write enable_write install
19345 wine_fn_config_program wscript enable_wscript install
19346 wine_fn_config_test programs/wscript/tests wscript.exe_test
19347 wine_fn_config_program wusa enable_wusa install
19348 wine_fn_config_program xcopy enable_xcopy install
19349 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19350 wine_fn_config_makefile server enable_server install-lib
19351 wine_fn_config_tool tools
19352 wine_fn_config_tool tools/sfnt2fon
19353 wine_fn_config_tool tools/widl install-dev
19354 wine_fn_config_tool tools/winebuild install-dev
19355 wine_fn_config_tool tools/winedump install-dev
19356 wine_fn_config_tool tools/winegcc install-dev
19357 wine_fn_config_tool tools/winemaker install-dev
19358 wine_fn_config_tool tools/wmc install-dev
19359 wine_fn_config_tool tools/wrc install-dev
19362 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19363 wine_fn_append_file CONFIGURE_TARGETS "tags"
19364 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19365 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19366 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19367 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19368 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19369 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19371 if test "x$enable_tools" != xno
19372 then
19373 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19374 ac_config_commands="$ac_config_commands tools/makedep"
19378 ac_config_commands="$ac_config_commands Makefile"
19381 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19385 if test "x$enable_maintainer_mode" = xyes
19386 then
19387 wine_fn_append_rule "configure: configure.ac aclocal.m4
19388 autoconf --warnings=all
19389 include/config.h.in: include/stamp-h.in
19390 include/stamp-h.in: configure.ac aclocal.m4
19391 autoheader --warnings=all
19392 @echo timestamp > \$@"
19395 if test "x$enable_tools" != xno
19396 then
19397 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19398 @./config.status tools/makedep
19399 Makefile: tools/makedep$ac_exeext"
19400 else
19401 wine_fn_append_rule "\$(MAKEDEP):
19402 @echo \"You need to run make in $TOOLSDIR first\" && false"
19405 if test -n "$with_wine64"
19406 then
19407 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19408 fonts server:
19409 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19410 $with_wine64/loader/wine:
19411 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19412 $with_wine64/loader/wine-preloader:
19413 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19414 clean::
19415 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19416 else
19417 WINELOADER_INSTALL="wine.inf l_intl.nls"
19419 case $host_os in
19420 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19421 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19422 esac
19425 $as_echo " done" >&6
19426 cat >confcache <<\_ACEOF
19427 # This file is a shell script that caches the results of configure
19428 # tests run on this system so they can be shared between configure
19429 # scripts and configure runs, see configure's option --config-cache.
19430 # It is not useful on other systems. If it contains results you don't
19431 # want to keep, you may remove or edit it.
19433 # config.status only pays attention to the cache file if you give it
19434 # the --recheck option to rerun configure.
19436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19438 # following values.
19440 _ACEOF
19442 # The following way of writing the cache mishandles newlines in values,
19443 # but we know of no workaround that is simple, portable, and efficient.
19444 # So, we kill variables containing newlines.
19445 # Ultrix sh set writes to stderr and can't be redirected directly,
19446 # and sets the high bit in the cache file unless we assign to the vars.
19448 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19449 eval ac_val=\$$ac_var
19450 case $ac_val in #(
19451 *${as_nl}*)
19452 case $ac_var in #(
19453 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19455 esac
19456 case $ac_var in #(
19457 _ | IFS | as_nl) ;; #(
19458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19459 *) { eval $ac_var=; unset $ac_var;} ;;
19460 esac ;;
19461 esac
19462 done
19464 (set) 2>&1 |
19465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19466 *${as_nl}ac_space=\ *)
19467 # `set' does not quote correctly, so add quotes: double-quote
19468 # substitution turns \\\\ into \\, and sed turns \\ into \.
19469 sed -n \
19470 "s/'/'\\\\''/g;
19471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19472 ;; #(
19474 # `set' quotes correctly as required by POSIX, so do not add quotes.
19475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19477 esac |
19478 sort
19480 sed '
19481 /^ac_cv_env_/b end
19482 t clear
19483 :clear
19484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19485 t end
19486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19487 :end' >>confcache
19488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19489 if test -w "$cache_file"; then
19490 if test "x$cache_file" != "x/dev/null"; then
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19492 $as_echo "$as_me: updating cache $cache_file" >&6;}
19493 if test ! -f "$cache_file" || test -h "$cache_file"; then
19494 cat confcache >"$cache_file"
19495 else
19496 case $cache_file in #(
19497 */* | ?:*)
19498 mv -f confcache "$cache_file"$$ &&
19499 mv -f "$cache_file"$$ "$cache_file" ;; #(
19501 mv -f confcache "$cache_file" ;;
19502 esac
19505 else
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19510 rm -f confcache
19512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19513 # Let make expand exec_prefix.
19514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19516 DEFS=-DHAVE_CONFIG_H
19518 ac_libobjs=
19519 ac_ltlibobjs=
19521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19522 # 1. Remove the extension, and $U if already installed.
19523 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19524 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19526 # will be set to the directory where LIBOBJS objects are built.
19527 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19528 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19529 done
19530 LIBOBJS=$ac_libobjs
19532 LTLIBOBJS=$ac_ltlibobjs
19536 : "${CONFIG_STATUS=./config.status}"
19537 ac_write_fail=0
19538 ac_clean_files_save=$ac_clean_files
19539 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19542 as_write_fail=0
19543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19544 #! $SHELL
19545 # Generated by $as_me.
19546 # Run this file to recreate the current configuration.
19547 # Compiler output produced by configure, useful for debugging
19548 # configure, is in config.log if it exists.
19550 debug=false
19551 ac_cs_recheck=false
19552 ac_cs_silent=false
19554 SHELL=\${CONFIG_SHELL-$SHELL}
19555 export SHELL
19556 _ASEOF
19557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19558 ## -------------------- ##
19559 ## M4sh Initialization. ##
19560 ## -------------------- ##
19562 # Be more Bourne compatible
19563 DUALCASE=1; export DUALCASE # for MKS sh
19564 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19565 emulate sh
19566 NULLCMD=:
19567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19568 # is contrary to our usage. Disable this feature.
19569 alias -g '${1+"$@"}'='"$@"'
19570 setopt NO_GLOB_SUBST
19571 else
19572 case `(set -o) 2>/dev/null` in #(
19573 *posix*) :
19574 set -o posix ;; #(
19575 *) :
19577 esac
19581 as_nl='
19583 export as_nl
19584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19585 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19588 # Prefer a ksh shell builtin over an external printf program on Solaris,
19589 # but without wasting forks for bash or zsh.
19590 if test -z "$BASH_VERSION$ZSH_VERSION" \
19591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19592 as_echo='print -r --'
19593 as_echo_n='print -rn --'
19594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19595 as_echo='printf %s\n'
19596 as_echo_n='printf %s'
19597 else
19598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19599 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19600 as_echo_n='/usr/ucb/echo -n'
19601 else
19602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19603 as_echo_n_body='eval
19604 arg=$1;
19605 case $arg in #(
19606 *"$as_nl"*)
19607 expr "X$arg" : "X\\(.*\\)$as_nl";
19608 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19609 esac;
19610 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19612 export as_echo_n_body
19613 as_echo_n='sh -c $as_echo_n_body as_echo'
19615 export as_echo_body
19616 as_echo='sh -c $as_echo_body as_echo'
19619 # The user is always right.
19620 if test "${PATH_SEPARATOR+set}" != set; then
19621 PATH_SEPARATOR=:
19622 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19623 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19624 PATH_SEPARATOR=';'
19629 # IFS
19630 # We need space, tab and new line, in precisely that order. Quoting is
19631 # there to prevent editors from complaining about space-tab.
19632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19633 # splitting by setting IFS to empty value.)
19634 IFS=" "" $as_nl"
19636 # Find who we are. Look in the path if we contain no directory separator.
19637 as_myself=
19638 case $0 in #((
19639 *[\\/]* ) as_myself=$0 ;;
19640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19641 for as_dir in $PATH
19643 IFS=$as_save_IFS
19644 test -z "$as_dir" && as_dir=.
19645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19646 done
19647 IFS=$as_save_IFS
19650 esac
19651 # We did not find ourselves, most probably we were run as `sh COMMAND'
19652 # in which case we are not to be found in the path.
19653 if test "x$as_myself" = x; then
19654 as_myself=$0
19656 if test ! -f "$as_myself"; then
19657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19658 exit 1
19661 # Unset variables that we do not need and which cause bugs (e.g. in
19662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19663 # suppresses any "Segmentation fault" message there. '((' could
19664 # trigger a bug in pdksh 5.2.14.
19665 for as_var in BASH_ENV ENV MAIL MAILPATH
19666 do eval test x\${$as_var+set} = xset \
19667 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19668 done
19669 PS1='$ '
19670 PS2='> '
19671 PS4='+ '
19673 # NLS nuisances.
19674 LC_ALL=C
19675 export LC_ALL
19676 LANGUAGE=C
19677 export LANGUAGE
19679 # CDPATH.
19680 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19684 # ----------------------------------------
19685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19687 # script with STATUS, using 1 if that was 0.
19688 as_fn_error ()
19690 as_status=$1; test $as_status -eq 0 && as_status=1
19691 if test "$4"; then
19692 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19695 $as_echo "$as_me: error: $2" >&2
19696 as_fn_exit $as_status
19697 } # as_fn_error
19700 # as_fn_set_status STATUS
19701 # -----------------------
19702 # Set $? to STATUS, without forking.
19703 as_fn_set_status ()
19705 return $1
19706 } # as_fn_set_status
19708 # as_fn_exit STATUS
19709 # -----------------
19710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19711 as_fn_exit ()
19713 set +e
19714 as_fn_set_status $1
19715 exit $1
19716 } # as_fn_exit
19718 # as_fn_unset VAR
19719 # ---------------
19720 # Portably unset VAR.
19721 as_fn_unset ()
19723 { eval $1=; unset $1;}
19725 as_unset=as_fn_unset
19726 # as_fn_append VAR VALUE
19727 # ----------------------
19728 # Append the text in VALUE to the end of the definition contained in VAR. Take
19729 # advantage of any shell optimizations that allow amortized linear growth over
19730 # repeated appends, instead of the typical quadratic growth present in naive
19731 # implementations.
19732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19733 eval 'as_fn_append ()
19735 eval $1+=\$2
19737 else
19738 as_fn_append ()
19740 eval $1=\$$1\$2
19742 fi # as_fn_append
19744 # as_fn_arith ARG...
19745 # ------------------
19746 # Perform arithmetic evaluation on the ARGs, and store the result in the
19747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19748 # must be portable across $(()) and expr.
19749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19750 eval 'as_fn_arith ()
19752 as_val=$(( $* ))
19754 else
19755 as_fn_arith ()
19757 as_val=`expr "$@" || test $? -eq 1`
19759 fi # as_fn_arith
19762 if expr a : '\(a\)' >/dev/null 2>&1 &&
19763 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19764 as_expr=expr
19765 else
19766 as_expr=false
19769 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19770 as_basename=basename
19771 else
19772 as_basename=false
19775 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19776 as_dirname=dirname
19777 else
19778 as_dirname=false
19781 as_me=`$as_basename -- "$0" ||
19782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19783 X"$0" : 'X\(//\)$' \| \
19784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19785 $as_echo X/"$0" |
19786 sed '/^.*\/\([^/][^/]*\)\/*$/{
19787 s//\1/
19790 /^X\/\(\/\/\)$/{
19791 s//\1/
19794 /^X\/\(\/\).*/{
19795 s//\1/
19798 s/.*/./; q'`
19800 # Avoid depending upon Character Ranges.
19801 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19802 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19803 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19804 as_cr_digits='0123456789'
19805 as_cr_alnum=$as_cr_Letters$as_cr_digits
19807 ECHO_C= ECHO_N= ECHO_T=
19808 case `echo -n x` in #(((((
19809 -n*)
19810 case `echo 'xy\c'` in
19811 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19812 xy) ECHO_C='\c';;
19813 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19814 ECHO_T=' ';;
19815 esac;;
19817 ECHO_N='-n';;
19818 esac
19820 rm -f conf$$ conf$$.exe conf$$.file
19821 if test -d conf$$.dir; then
19822 rm -f conf$$.dir/conf$$.file
19823 else
19824 rm -f conf$$.dir
19825 mkdir conf$$.dir 2>/dev/null
19827 if (echo >conf$$.file) 2>/dev/null; then
19828 if ln -s conf$$.file conf$$ 2>/dev/null; then
19829 as_ln_s='ln -s'
19830 # ... but there are two gotchas:
19831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19833 # In both cases, we have to default to `cp -pR'.
19834 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19835 as_ln_s='cp -pR'
19836 elif ln conf$$.file conf$$ 2>/dev/null; then
19837 as_ln_s=ln
19838 else
19839 as_ln_s='cp -pR'
19841 else
19842 as_ln_s='cp -pR'
19844 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19845 rmdir conf$$.dir 2>/dev/null
19848 # as_fn_mkdir_p
19849 # -------------
19850 # Create "$as_dir" as a directory, including parents if necessary.
19851 as_fn_mkdir_p ()
19854 case $as_dir in #(
19855 -*) as_dir=./$as_dir;;
19856 esac
19857 test -d "$as_dir" || eval $as_mkdir_p || {
19858 as_dirs=
19859 while :; do
19860 case $as_dir in #(
19861 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19862 *) as_qdir=$as_dir;;
19863 esac
19864 as_dirs="'$as_qdir' $as_dirs"
19865 as_dir=`$as_dirname -- "$as_dir" ||
19866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19867 X"$as_dir" : 'X\(//\)[^/]' \| \
19868 X"$as_dir" : 'X\(//\)$' \| \
19869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19870 $as_echo X"$as_dir" |
19871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19872 s//\1/
19875 /^X\(\/\/\)[^/].*/{
19876 s//\1/
19879 /^X\(\/\/\)$/{
19880 s//\1/
19883 /^X\(\/\).*/{
19884 s//\1/
19887 s/.*/./; q'`
19888 test -d "$as_dir" && break
19889 done
19890 test -z "$as_dirs" || eval "mkdir $as_dirs"
19891 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19894 } # as_fn_mkdir_p
19895 if mkdir -p . 2>/dev/null; then
19896 as_mkdir_p='mkdir -p "$as_dir"'
19897 else
19898 test -d ./-p && rmdir ./-p
19899 as_mkdir_p=false
19903 # as_fn_executable_p FILE
19904 # -----------------------
19905 # Test if FILE is an executable regular file.
19906 as_fn_executable_p ()
19908 test -f "$1" && test -x "$1"
19909 } # as_fn_executable_p
19910 as_test_x='test -x'
19911 as_executable_p=as_fn_executable_p
19913 # Sed expression to map a string onto a valid CPP name.
19914 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19916 # Sed expression to map a string onto a valid variable name.
19917 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19920 exec 6>&1
19921 ## ----------------------------------- ##
19922 ## Main body of $CONFIG_STATUS script. ##
19923 ## ----------------------------------- ##
19924 _ASEOF
19925 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19928 # Save the log message, to keep $0 and so on meaningful, and to
19929 # report actual input values of CONFIG_FILES etc. instead of their
19930 # values after options handling.
19931 ac_log="
19932 This file was extended by Wine $as_me 3.2, which was
19933 generated by GNU Autoconf 2.69. Invocation command line was
19935 CONFIG_FILES = $CONFIG_FILES
19936 CONFIG_HEADERS = $CONFIG_HEADERS
19937 CONFIG_LINKS = $CONFIG_LINKS
19938 CONFIG_COMMANDS = $CONFIG_COMMANDS
19939 $ $0 $@
19941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19944 _ACEOF
19946 case $ac_config_files in *"
19947 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19948 esac
19950 case $ac_config_headers in *"
19951 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19952 esac
19955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19956 # Files that config.status was made for.
19957 config_files="$ac_config_files"
19958 config_headers="$ac_config_headers"
19959 config_links="$ac_config_links"
19960 config_commands="$ac_config_commands"
19962 _ACEOF
19964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19965 ac_cs_usage="\
19966 \`$as_me' instantiates files and other configuration actions
19967 from templates according to the current configuration. Unless the files
19968 and actions are specified as TAGs, all are instantiated by default.
19970 Usage: $0 [OPTION]... [TAG]...
19972 -h, --help print this help, then exit
19973 -V, --version print version number and configuration settings, then exit
19974 --config print configuration, then exit
19975 -q, --quiet, --silent
19976 do not print progress messages
19977 -d, --debug don't remove temporary files
19978 --recheck update $as_me by reconfiguring in the same conditions
19979 --file=FILE[:TEMPLATE]
19980 instantiate the configuration file FILE
19981 --header=FILE[:TEMPLATE]
19982 instantiate the configuration header FILE
19984 Configuration files:
19985 $config_files
19987 Configuration headers:
19988 $config_headers
19990 Configuration links:
19991 $config_links
19993 Configuration commands:
19994 $config_commands
19996 Report bugs to <wine-devel@winehq.org>.
19997 Wine home page: <https://www.winehq.org>."
19999 _ACEOF
20000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20002 ac_cs_version="\\
20003 Wine config.status 3.2
20004 configured by $0, generated by GNU Autoconf 2.69,
20005 with options \\"\$ac_cs_config\\"
20007 Copyright (C) 2012 Free Software Foundation, Inc.
20008 This config.status script is free software; the Free Software Foundation
20009 gives unlimited permission to copy, distribute and modify it."
20011 ac_pwd='$ac_pwd'
20012 srcdir='$srcdir'
20013 test -n "\$AWK" || AWK=awk
20014 _ACEOF
20016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20017 # The default lists apply if the user does not specify any file.
20018 ac_need_defaults=:
20019 while test $# != 0
20021 case $1 in
20022 --*=?*)
20023 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20024 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20025 ac_shift=:
20027 --*=)
20028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20029 ac_optarg=
20030 ac_shift=:
20033 ac_option=$1
20034 ac_optarg=$2
20035 ac_shift=shift
20037 esac
20039 case $ac_option in
20040 # Handling of the options.
20041 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20042 ac_cs_recheck=: ;;
20043 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20044 $as_echo "$ac_cs_version"; exit ;;
20045 --config | --confi | --conf | --con | --co | --c )
20046 $as_echo "$ac_cs_config"; exit ;;
20047 --debug | --debu | --deb | --de | --d | -d )
20048 debug=: ;;
20049 --file | --fil | --fi | --f )
20050 $ac_shift
20051 case $ac_optarg in
20052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20053 '') as_fn_error $? "missing file argument" ;;
20054 esac
20055 as_fn_append CONFIG_FILES " '$ac_optarg'"
20056 ac_need_defaults=false;;
20057 --header | --heade | --head | --hea )
20058 $ac_shift
20059 case $ac_optarg in
20060 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20061 esac
20062 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20063 ac_need_defaults=false;;
20064 --he | --h)
20065 # Conflict between --help and --header
20066 as_fn_error $? "ambiguous option: \`$1'
20067 Try \`$0 --help' for more information.";;
20068 --help | --hel | -h )
20069 $as_echo "$ac_cs_usage"; exit ;;
20070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20071 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20072 ac_cs_silent=: ;;
20074 # This is an error.
20075 -*) as_fn_error $? "unrecognized option: \`$1'
20076 Try \`$0 --help' for more information." ;;
20078 *) as_fn_append ac_config_targets " $1"
20079 ac_need_defaults=false ;;
20081 esac
20082 shift
20083 done
20085 ac_configure_extra_args=
20087 if $ac_cs_silent; then
20088 exec 6>/dev/null
20089 ac_configure_extra_args="$ac_configure_extra_args --silent"
20092 _ACEOF
20093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20094 if \$ac_cs_recheck; then
20095 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20096 shift
20097 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20098 CONFIG_SHELL='$SHELL'
20099 export CONFIG_SHELL
20100 exec "\$@"
20103 _ACEOF
20104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20105 exec 5>>config.log
20107 echo
20108 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20109 ## Running $as_me. ##
20110 _ASBOX
20111 $as_echo "$ac_log"
20112 } >&5
20114 _ACEOF
20115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20117 # INIT-COMMANDS
20119 wine_fn_output_makedep ()
20121 as_dir=tools; as_fn_mkdir_p
20122 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20124 wine_fn_output_makefile ()
20126 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20127 `cat $wine_rules_file`
20128 _WINE_EOF
20129 as_fn_error $? "could not create Makefile" "$LINENO" 5
20132 _ACEOF
20134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20136 # Handling of arguments.
20137 for ac_config_target in $ac_config_targets
20139 case $ac_config_target in
20140 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20141 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20142 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20143 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20144 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20145 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20146 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20147 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20148 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20149 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20150 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20151 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20152 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20154 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20155 esac
20156 done
20159 # If the user did not use the arguments to specify the items to instantiate,
20160 # then the envvar interface is used. Set only those that are not.
20161 # We use the long form for the default assignment because of an extremely
20162 # bizarre bug on SunOS 4.1.3.
20163 if $ac_need_defaults; then
20164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20166 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20170 # Have a temporary directory for convenience. Make it in the build tree
20171 # simply because there is no reason against having it here, and in addition,
20172 # creating and moving files from /tmp can sometimes cause problems.
20173 # Hook for its removal unless debugging.
20174 # Note that there is a small window in which the directory will not be cleaned:
20175 # after its creation but before its name has been assigned to `$tmp'.
20176 $debug ||
20178 tmp= ac_tmp=
20179 trap 'exit_status=$?
20180 : "${ac_tmp:=$tmp}"
20181 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20183 trap 'as_fn_exit 1' 1 2 13 15
20185 # Create a (secure) tmp directory for tmp files.
20188 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20189 test -d "$tmp"
20190 } ||
20192 tmp=./conf$$-$RANDOM
20193 (umask 077 && mkdir "$tmp")
20194 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20195 ac_tmp=$tmp
20197 # Set up the scripts for CONFIG_FILES section.
20198 # No need to generate them if there are no CONFIG_FILES.
20199 # This happens for instance with `./config.status config.h'.
20200 if test -n "$CONFIG_FILES"; then
20203 ac_cr=`echo X | tr X '\015'`
20204 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20205 # But we know of no other shell where ac_cr would be empty at this
20206 # point, so we can use a bashism as a fallback.
20207 if test "x$ac_cr" = x; then
20208 eval ac_cr=\$\'\\r\'
20210 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20211 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20212 ac_cs_awk_cr='\\r'
20213 else
20214 ac_cs_awk_cr=$ac_cr
20217 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20218 _ACEOF
20222 echo "cat >conf$$subs.awk <<_ACEOF" &&
20223 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20224 echo "_ACEOF"
20225 } >conf$$subs.sh ||
20226 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20227 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20228 ac_delim='%!_!# '
20229 for ac_last_try in false false false false false :; do
20230 . ./conf$$subs.sh ||
20231 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20233 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20234 if test $ac_delim_n = $ac_delim_num; then
20235 break
20236 elif $ac_last_try; then
20237 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20238 else
20239 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20241 done
20242 rm -f conf$$subs.sh
20244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20245 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20246 _ACEOF
20247 sed -n '
20249 s/^/S["/; s/!.*/"]=/
20252 s/^[^!]*!//
20253 :repl
20254 t repl
20255 s/'"$ac_delim"'$//
20256 t delim
20259 s/\(.\{148\}\)..*/\1/
20260 t more1
20261 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20264 b repl
20265 :more1
20266 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20269 s/.\{148\}//
20270 t nl
20271 :delim
20273 s/\(.\{148\}\)..*/\1/
20274 t more2
20275 s/["\\]/\\&/g; s/^/"/; s/$/"/
20278 :more2
20279 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20282 s/.\{148\}//
20283 t delim
20284 ' <conf$$subs.awk | sed '
20285 /^[^""]/{
20287 s/\n//
20289 ' >>$CONFIG_STATUS || ac_write_fail=1
20290 rm -f conf$$subs.awk
20291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20292 _ACAWK
20293 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20294 for (key in S) S_is_set[key] = 1
20295 FS = "\a"
20299 line = $ 0
20300 nfields = split(line, field, "@")
20301 substed = 0
20302 len = length(field[1])
20303 for (i = 2; i < nfields; i++) {
20304 key = field[i]
20305 keylen = length(key)
20306 if (S_is_set[key]) {
20307 value = S[key]
20308 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20309 len += length(value) + length(field[++i])
20310 substed = 1
20311 } else
20312 len += 1 + keylen
20315 print line
20318 _ACAWK
20319 _ACEOF
20320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20321 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20322 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20323 else
20325 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20326 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20327 _ACEOF
20329 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20330 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20331 # trailing colons and then remove the whole line if VPATH becomes empty
20332 # (actually we leave an empty line to preserve line numbers).
20333 if test "x$srcdir" = x.; then
20334 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20336 s///
20337 s/^/:/
20338 s/[ ]*$/:/
20339 s/:\$(srcdir):/:/g
20340 s/:\${srcdir}:/:/g
20341 s/:@srcdir@:/:/g
20342 s/^:*//
20343 s/:*$//
20345 s/\(=[ ]*\).*/\1/
20347 s/\n//
20348 s/^[^=]*=[ ]*$//
20352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20353 fi # test -n "$CONFIG_FILES"
20355 # Set up the scripts for CONFIG_HEADERS section.
20356 # No need to generate them if there are no CONFIG_HEADERS.
20357 # This happens for instance with `./config.status Makefile'.
20358 if test -n "$CONFIG_HEADERS"; then
20359 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20360 BEGIN {
20361 _ACEOF
20363 # Transform confdefs.h into an awk script `defines.awk', embedded as
20364 # here-document in config.status, that substitutes the proper values into
20365 # config.h.in to produce config.h.
20367 # Create a delimiter string that does not exist in confdefs.h, to ease
20368 # handling of long lines.
20369 ac_delim='%!_!# '
20370 for ac_last_try in false false :; do
20371 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20372 if test -z "$ac_tt"; then
20373 break
20374 elif $ac_last_try; then
20375 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20376 else
20377 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20379 done
20381 # For the awk script, D is an array of macro values keyed by name,
20382 # likewise P contains macro parameters if any. Preserve backslash
20383 # newline sequences.
20385 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20386 sed -n '
20387 s/.\{148\}/&'"$ac_delim"'/g
20388 t rset
20389 :rset
20390 s/^[ ]*#[ ]*define[ ][ ]*/ /
20391 t def
20393 :def
20394 s/\\$//
20395 t bsnl
20396 s/["\\]/\\&/g
20397 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20398 D["\1"]=" \3"/p
20399 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20401 :bsnl
20402 s/["\\]/\\&/g
20403 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20404 D["\1"]=" \3\\\\\\n"\\/p
20405 t cont
20406 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20407 t cont
20409 :cont
20411 s/.\{148\}/&'"$ac_delim"'/g
20412 t clear
20413 :clear
20414 s/\\$//
20415 t bsnlc
20416 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20418 :bsnlc
20419 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20420 b cont
20421 ' <confdefs.h | sed '
20422 s/'"$ac_delim"'/"\\\
20423 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20426 for (key in D) D_is_set[key] = 1
20427 FS = "\a"
20429 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20430 line = \$ 0
20431 split(line, arg, " ")
20432 if (arg[1] == "#") {
20433 defundef = arg[2]
20434 mac1 = arg[3]
20435 } else {
20436 defundef = substr(arg[1], 2)
20437 mac1 = arg[2]
20439 split(mac1, mac2, "(") #)
20440 macro = mac2[1]
20441 prefix = substr(line, 1, index(line, defundef) - 1)
20442 if (D_is_set[macro]) {
20443 # Preserve the white space surrounding the "#".
20444 print prefix "define", macro P[macro] D[macro]
20445 next
20446 } else {
20447 # Replace #undef with comments. This is necessary, for example,
20448 # in the case of _POSIX_SOURCE, which is predefined and required
20449 # on some systems where configure will not decide to define it.
20450 if (defundef == "undef") {
20451 print "/*", prefix defundef, macro, "*/"
20452 next
20456 { print }
20457 _ACAWK
20458 _ACEOF
20459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20460 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20461 fi # test -n "$CONFIG_HEADERS"
20464 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20465 shift
20466 for ac_tag
20468 case $ac_tag in
20469 :[FHLC]) ac_mode=$ac_tag; continue;;
20470 esac
20471 case $ac_mode$ac_tag in
20472 :[FHL]*:*);;
20473 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20474 :[FH]-) ac_tag=-:-;;
20475 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20476 esac
20477 ac_save_IFS=$IFS
20478 IFS=:
20479 set x $ac_tag
20480 IFS=$ac_save_IFS
20481 shift
20482 ac_file=$1
20483 shift
20485 case $ac_mode in
20486 :L) ac_source=$1;;
20487 :[FH])
20488 ac_file_inputs=
20489 for ac_f
20491 case $ac_f in
20492 -) ac_f="$ac_tmp/stdin";;
20493 *) # Look for the file first in the build tree, then in the source tree
20494 # (if the path is not absolute). The absolute path cannot be DOS-style,
20495 # because $ac_f cannot contain `:'.
20496 test -f "$ac_f" ||
20497 case $ac_f in
20498 [\\/$]*) false;;
20499 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20500 esac ||
20501 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20502 esac
20503 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20504 as_fn_append ac_file_inputs " '$ac_f'"
20505 done
20507 # Let's still pretend it is `configure' which instantiates (i.e., don't
20508 # use $as_me), people would be surprised to read:
20509 # /* config.h. Generated by config.status. */
20510 configure_input='Generated from '`
20511 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20512 `' by configure.'
20513 if test x"$ac_file" != x-; then
20514 configure_input="$ac_file. $configure_input"
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20516 $as_echo "$as_me: creating $ac_file" >&6;}
20518 # Neutralize special characters interpreted by sed in replacement strings.
20519 case $configure_input in #(
20520 *\&* | *\|* | *\\* )
20521 ac_sed_conf_input=`$as_echo "$configure_input" |
20522 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20523 *) ac_sed_conf_input=$configure_input;;
20524 esac
20526 case $ac_tag in
20527 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20528 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20529 esac
20531 esac
20533 ac_dir=`$as_dirname -- "$ac_file" ||
20534 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20535 X"$ac_file" : 'X\(//\)[^/]' \| \
20536 X"$ac_file" : 'X\(//\)$' \| \
20537 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20538 $as_echo X"$ac_file" |
20539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20540 s//\1/
20543 /^X\(\/\/\)[^/].*/{
20544 s//\1/
20547 /^X\(\/\/\)$/{
20548 s//\1/
20551 /^X\(\/\).*/{
20552 s//\1/
20555 s/.*/./; q'`
20556 as_dir="$ac_dir"; as_fn_mkdir_p
20557 ac_builddir=.
20559 case "$ac_dir" in
20560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20562 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20563 # A ".." for each directory in $ac_dir_suffix.
20564 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20565 case $ac_top_builddir_sub in
20566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20568 esac ;;
20569 esac
20570 ac_abs_top_builddir=$ac_pwd
20571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20572 # for backward compatibility:
20573 ac_top_builddir=$ac_top_build_prefix
20575 case $srcdir in
20576 .) # We are building in place.
20577 ac_srcdir=.
20578 ac_top_srcdir=$ac_top_builddir_sub
20579 ac_abs_top_srcdir=$ac_pwd ;;
20580 [\\/]* | ?:[\\/]* ) # Absolute name.
20581 ac_srcdir=$srcdir$ac_dir_suffix;
20582 ac_top_srcdir=$srcdir
20583 ac_abs_top_srcdir=$srcdir ;;
20584 *) # Relative name.
20585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20586 ac_top_srcdir=$ac_top_build_prefix$srcdir
20587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20588 esac
20589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20592 case $ac_mode in
20595 # CONFIG_FILE
20598 _ACEOF
20600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20601 # If the template does not know about datarootdir, expand it.
20602 # FIXME: This hack should be removed a few years after 2.60.
20603 ac_datarootdir_hack=; ac_datarootdir_seen=
20604 ac_sed_dataroot='
20605 /datarootdir/ {
20609 /@datadir@/p
20610 /@docdir@/p
20611 /@infodir@/p
20612 /@localedir@/p
20613 /@mandir@/p'
20614 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20615 *datarootdir*) ac_datarootdir_seen=yes;;
20616 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20618 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20619 _ACEOF
20620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20621 ac_datarootdir_hack='
20622 s&@datadir@&$datadir&g
20623 s&@docdir@&$docdir&g
20624 s&@infodir@&$infodir&g
20625 s&@localedir@&$localedir&g
20626 s&@mandir@&$mandir&g
20627 s&\\\${datarootdir}&$datarootdir&g' ;;
20628 esac
20629 _ACEOF
20631 # Neutralize VPATH when `$srcdir' = `.'.
20632 # Shell code in configure.ac might set extrasub.
20633 # FIXME: do we really want to maintain this feature?
20634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20635 ac_sed_extra="$ac_vpsub
20636 $extrasub
20637 _ACEOF
20638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20640 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20641 s|@configure_input@|$ac_sed_conf_input|;t t
20642 s&@top_builddir@&$ac_top_builddir_sub&;t t
20643 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20644 s&@srcdir@&$ac_srcdir&;t t
20645 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20646 s&@top_srcdir@&$ac_top_srcdir&;t t
20647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20648 s&@builddir@&$ac_builddir&;t t
20649 s&@abs_builddir@&$ac_abs_builddir&;t t
20650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20651 $ac_datarootdir_hack
20653 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20654 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20656 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20657 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20658 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20659 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20661 which seems to be undefined. Please make sure it is defined" >&5
20662 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20663 which seems to be undefined. Please make sure it is defined" >&2;}
20665 rm -f "$ac_tmp/stdin"
20666 case $ac_file in
20667 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20668 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20669 esac \
20670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20674 # CONFIG_HEADER
20676 if test x"$ac_file" != x-; then
20678 $as_echo "/* $configure_input */" \
20679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20680 } >"$ac_tmp/config.h" \
20681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20682 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20684 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20685 else
20686 rm -f "$ac_file"
20687 mv "$ac_tmp/config.h" "$ac_file" \
20688 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20690 else
20691 $as_echo "/* $configure_input */" \
20692 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20693 || as_fn_error $? "could not create -" "$LINENO" 5
20698 # CONFIG_LINK
20701 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20703 else
20704 # Prefer the file from the source tree if names are identical.
20705 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20706 ac_source=$srcdir/$ac_source
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20710 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20712 if test ! -r "$ac_source"; then
20713 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20715 rm -f "$ac_file"
20717 # Try a relative symlink, then a hard link, then a copy.
20718 case $ac_source in
20719 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20720 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20721 esac
20722 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20723 ln "$ac_source" "$ac_file" 2>/dev/null ||
20724 cp -p "$ac_source" "$ac_file" ||
20725 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20728 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20729 $as_echo "$as_me: executing $ac_file commands" >&6;}
20731 esac
20734 case $ac_file$ac_mode in
20735 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20736 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20737 "Makefile":C) wine_fn_output_makefile Makefile ;;
20739 esac
20740 done # for ac_tag
20743 as_fn_exit 0
20744 _ACEOF
20745 ac_clean_files=$ac_clean_files_save
20747 test $ac_write_fail = 0 ||
20748 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20751 # configure is writing to config.log, and then calls config.status.
20752 # config.status does its own redirection, appending to config.log.
20753 # Unfortunately, on DOS this fails, as config.log is still kept open
20754 # by configure, so config.status won't be able to write to it; its
20755 # output is simply discarded. So we exec the FD to /dev/null,
20756 # effectively closing config.log, so it can be properly (re)opened and
20757 # appended to by config.status. When coming back to configure, we
20758 # need to make the FD available again.
20759 if test "$no_create" != yes; then
20760 ac_cs_success=:
20761 ac_config_status_args=
20762 test "$silent" = yes &&
20763 ac_config_status_args="$ac_config_status_args --quiet"
20764 exec 5>/dev/null
20765 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20766 exec 5>>config.log
20767 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20768 # would make configure fail if this is the last instruction.
20769 $ac_cs_success || as_fn_exit 1
20771 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20773 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20777 if test "$no_create" = "yes"
20778 then
20779 exit 0
20782 ac_save_IFS="$IFS"
20783 if test "x$wine_notices" != x; then
20784 echo >&6
20785 IFS="|"
20786 for msg in $wine_notices; do
20787 IFS="$ac_save_IFS"
20788 if ${msg:+false} :; then :
20790 else
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20792 $as_echo "$as_me: $msg" >&6;}
20794 done
20796 IFS="|"
20797 for msg in $wine_warnings; do
20798 IFS="$ac_save_IFS"
20799 if ${msg:+false} :; then :
20801 else
20802 echo >&2
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20804 $as_echo "$as_me: WARNING: $msg" >&2;}
20806 done
20807 IFS="$ac_save_IFS"
20809 $as_echo "
20810 $as_me: Finished. Do '${ac_make}' to compile Wine.
20811 " >&6