include: Add BCRYPT_KEY_LENGTHS_STRUCT declaration.
[wine.git] / configure
blob82ecc1caecb3fa7a9977ab77df026f4ecd983433
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.14.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.14'
584 PACKAGE_STRING='Wine 2.14'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_obsolete_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_2_0
918 enable_api_ms_win_core_io_l1_1_0
919 enable_api_ms_win_core_io_l1_1_1
920 enable_api_ms_win_core_job_l1_1_0
921 enable_api_ms_win_core_job_l2_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_1
924 enable_api_ms_win_core_kernel32_private_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_1_0
926 enable_api_ms_win_core_libraryloader_l1_1_1
927 enable_api_ms_win_core_libraryloader_l1_2_0
928 enable_api_ms_win_core_libraryloader_l1_2_2
929 enable_api_ms_win_core_localization_l1_1_0
930 enable_api_ms_win_core_localization_l1_2_0
931 enable_api_ms_win_core_localization_l1_2_1
932 enable_api_ms_win_core_localization_l2_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_2_0
935 enable_api_ms_win_core_localization_private_l1_1_0
936 enable_api_ms_win_core_localregistry_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_0
938 enable_api_ms_win_core_memory_l1_1_1
939 enable_api_ms_win_core_memory_l1_1_2
940 enable_api_ms_win_core_misc_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_1_0
942 enable_api_ms_win_core_namedpipe_l1_2_0
943 enable_api_ms_win_core_namespace_l1_1_0
944 enable_api_ms_win_core_normalization_l1_1_0
945 enable_api_ms_win_core_path_l1_1_0
946 enable_api_ms_win_core_privateprofile_l1_1_1
947 enable_api_ms_win_core_processenvironment_l1_1_0
948 enable_api_ms_win_core_processenvironment_l1_2_0
949 enable_api_ms_win_core_processthreads_l1_1_0
950 enable_api_ms_win_core_processthreads_l1_1_1
951 enable_api_ms_win_core_processthreads_l1_1_2
952 enable_api_ms_win_core_profile_l1_1_0
953 enable_api_ms_win_core_psapi_ansi_l1_1_0
954 enable_api_ms_win_core_psapi_l1_1_0
955 enable_api_ms_win_core_psapi_obsolete_l1_1_0
956 enable_api_ms_win_core_quirks_l1_1_0
957 enable_api_ms_win_core_realtime_l1_1_0
958 enable_api_ms_win_core_registry_l1_1_0
959 enable_api_ms_win_core_registry_l2_1_0
960 enable_api_ms_win_core_registryuserspecific_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_1_0
962 enable_api_ms_win_core_rtlsupport_l1_2_0
963 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
964 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
965 enable_api_ms_win_core_sidebyside_l1_1_0
966 enable_api_ms_win_core_string_l1_1_0
967 enable_api_ms_win_core_string_l2_1_0
968 enable_api_ms_win_core_string_obsolete_l1_1_0
969 enable_api_ms_win_core_stringansi_l1_1_0
970 enable_api_ms_win_core_synch_l1_1_0
971 enable_api_ms_win_core_synch_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_1_0
973 enable_api_ms_win_core_sysinfo_l1_2_0
974 enable_api_ms_win_core_sysinfo_l1_2_1
975 enable_api_ms_win_core_threadpool_l1_1_0
976 enable_api_ms_win_core_threadpool_l1_2_0
977 enable_api_ms_win_core_threadpool_legacy_l1_1_0
978 enable_api_ms_win_core_threadpool_private_l1_1_0
979 enable_api_ms_win_core_timezone_l1_1_0
980 enable_api_ms_win_core_toolhelp_l1_1_0
981 enable_api_ms_win_core_url_l1_1_0
982 enable_api_ms_win_core_util_l1_1_0
983 enable_api_ms_win_core_version_l1_1_0
984 enable_api_ms_win_core_version_private_l1_1_0
985 enable_api_ms_win_core_versionansi_l1_1_0
986 enable_api_ms_win_core_windowserrorreporting_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_0
988 enable_api_ms_win_core_winrt_error_l1_1_1
989 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
990 enable_api_ms_win_core_winrt_l1_1_0
991 enable_api_ms_win_core_winrt_registration_l1_1_0
992 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
993 enable_api_ms_win_core_winrt_string_l1_1_0
994 enable_api_ms_win_core_wow64_l1_1_0
995 enable_api_ms_win_core_xstate_l1_1_0
996 enable_api_ms_win_core_xstate_l2_1_0
997 enable_api_ms_win_crt_conio_l1_1_0
998 enable_api_ms_win_crt_convert_l1_1_0
999 enable_api_ms_win_crt_environment_l1_1_0
1000 enable_api_ms_win_crt_filesystem_l1_1_0
1001 enable_api_ms_win_crt_heap_l1_1_0
1002 enable_api_ms_win_crt_locale_l1_1_0
1003 enable_api_ms_win_crt_math_l1_1_0
1004 enable_api_ms_win_crt_multibyte_l1_1_0
1005 enable_api_ms_win_crt_private_l1_1_0
1006 enable_api_ms_win_crt_process_l1_1_0
1007 enable_api_ms_win_crt_runtime_l1_1_0
1008 enable_api_ms_win_crt_stdio_l1_1_0
1009 enable_api_ms_win_crt_string_l1_1_0
1010 enable_api_ms_win_crt_time_l1_1_0
1011 enable_api_ms_win_crt_utility_l1_1_0
1012 enable_api_ms_win_devices_config_l1_1_1
1013 enable_api_ms_win_devices_query_l1_1_1
1014 enable_api_ms_win_downlevel_advapi32_l1_1_0
1015 enable_api_ms_win_downlevel_advapi32_l2_1_0
1016 enable_api_ms_win_downlevel_normaliz_l1_1_0
1017 enable_api_ms_win_downlevel_ole32_l1_1_0
1018 enable_api_ms_win_downlevel_shell32_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1020 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1021 enable_api_ms_win_downlevel_user32_l1_1_0
1022 enable_api_ms_win_downlevel_version_l1_1_0
1023 enable_api_ms_win_dx_d3dkmt_l1_1_0
1024 enable_api_ms_win_eventing_classicprovider_l1_1_0
1025 enable_api_ms_win_eventing_consumer_l1_1_0
1026 enable_api_ms_win_eventing_controller_l1_1_0
1027 enable_api_ms_win_eventing_provider_l1_1_0
1028 enable_api_ms_win_eventlog_legacy_l1_1_0
1029 enable_api_ms_win_mm_misc_l1_1_1
1030 enable_api_ms_win_mm_mme_l1_1_0
1031 enable_api_ms_win_mm_time_l1_1_0
1032 enable_api_ms_win_ntuser_dc_access_l1_1_0
1033 enable_api_ms_win_power_base_l1_1_0
1034 enable_api_ms_win_power_setting_l1_1_0
1035 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1036 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1037 enable_api_ms_win_security_audit_l1_1_1
1038 enable_api_ms_win_security_base_l1_1_0
1039 enable_api_ms_win_security_base_l1_2_0
1040 enable_api_ms_win_security_base_private_l1_1_1
1041 enable_api_ms_win_security_credentials_l1_1_0
1042 enable_api_ms_win_security_grouppolicy_l1_1_0
1043 enable_api_ms_win_security_lsalookup_l1_1_0
1044 enable_api_ms_win_security_lsalookup_l1_1_1
1045 enable_api_ms_win_security_lsalookup_l2_1_1
1046 enable_api_ms_win_security_lsapolicy_l1_1_0
1047 enable_api_ms_win_security_provider_l1_1_0
1048 enable_api_ms_win_security_sddl_l1_1_0
1049 enable_api_ms_win_security_systemfunctions_l1_1_0
1050 enable_api_ms_win_service_core_l1_1_0
1051 enable_api_ms_win_service_core_l1_1_1
1052 enable_api_ms_win_service_management_l1_1_0
1053 enable_api_ms_win_service_management_l2_1_0
1054 enable_api_ms_win_service_private_l1_1_1
1055 enable_api_ms_win_service_winsvc_l1_1_0
1056 enable_api_ms_win_service_winsvc_l1_2_0
1057 enable_api_ms_win_shell_shellcom_l1_1_0
1058 enable_api_ms_win_shell_shellfolders_l1_1_0
1059 enable_apphelp
1060 enable_appwiz_cpl
1061 enable_atl
1062 enable_atl100
1063 enable_atl110
1064 enable_atl80
1065 enable_atl90
1066 enable_authz
1067 enable_avicap32
1068 enable_avifil32
1069 enable_avrt
1070 enable_bcrypt
1071 enable_bluetoothapis
1072 enable_browseui
1073 enable_bthprops_cpl
1074 enable_cabinet
1075 enable_capi2032
1076 enable_cards
1077 enable_cfgmgr32
1078 enable_clusapi
1079 enable_combase
1080 enable_comcat
1081 enable_comctl32
1082 enable_comdlg32
1083 enable_compstui
1084 enable_comsvcs
1085 enable_concrt140
1086 enable_connect
1087 enable_credui
1088 enable_crtdll
1089 enable_crypt32
1090 enable_cryptdlg
1091 enable_cryptdll
1092 enable_cryptext
1093 enable_cryptnet
1094 enable_cryptui
1095 enable_ctapi32
1096 enable_ctl3d32
1097 enable_d2d1
1098 enable_d3d10
1099 enable_d3d10_1
1100 enable_d3d10core
1101 enable_d3d11
1102 enable_d3d8
1103 enable_d3d9
1104 enable_d3dcompiler_33
1105 enable_d3dcompiler_34
1106 enable_d3dcompiler_35
1107 enable_d3dcompiler_36
1108 enable_d3dcompiler_37
1109 enable_d3dcompiler_38
1110 enable_d3dcompiler_39
1111 enable_d3dcompiler_40
1112 enable_d3dcompiler_41
1113 enable_d3dcompiler_42
1114 enable_d3dcompiler_43
1115 enable_d3dcompiler_46
1116 enable_d3dcompiler_47
1117 enable_d3dim
1118 enable_d3drm
1119 enable_d3dx10_33
1120 enable_d3dx10_34
1121 enable_d3dx10_35
1122 enable_d3dx10_36
1123 enable_d3dx10_37
1124 enable_d3dx10_38
1125 enable_d3dx10_39
1126 enable_d3dx10_40
1127 enable_d3dx10_41
1128 enable_d3dx10_42
1129 enable_d3dx10_43
1130 enable_d3dx11_42
1131 enable_d3dx11_43
1132 enable_d3dx9_24
1133 enable_d3dx9_25
1134 enable_d3dx9_26
1135 enable_d3dx9_27
1136 enable_d3dx9_28
1137 enable_d3dx9_29
1138 enable_d3dx9_30
1139 enable_d3dx9_31
1140 enable_d3dx9_32
1141 enable_d3dx9_33
1142 enable_d3dx9_34
1143 enable_d3dx9_35
1144 enable_d3dx9_36
1145 enable_d3dx9_37
1146 enable_d3dx9_38
1147 enable_d3dx9_39
1148 enable_d3dx9_40
1149 enable_d3dx9_41
1150 enable_d3dx9_42
1151 enable_d3dx9_43
1152 enable_d3dxof
1153 enable_davclnt
1154 enable_dbgeng
1155 enable_dbghelp
1156 enable_dciman32
1157 enable_ddraw
1158 enable_ddrawex
1159 enable_devenum
1160 enable_dhcpcsvc
1161 enable_difxapi
1162 enable_dinput
1163 enable_dinput8
1164 enable_dispex
1165 enable_dmband
1166 enable_dmcompos
1167 enable_dmime
1168 enable_dmloader
1169 enable_dmscript
1170 enable_dmstyle
1171 enable_dmsynth
1172 enable_dmusic
1173 enable_dmusic32
1174 enable_dnsapi
1175 enable_dplay
1176 enable_dplayx
1177 enable_dpnaddr
1178 enable_dpnet
1179 enable_dpnhpast
1180 enable_dpnlobby
1181 enable_dpvoice
1182 enable_dpwsockx
1183 enable_drmclien
1184 enable_dsound
1185 enable_dsquery
1186 enable_dssenh
1187 enable_dswave
1188 enable_dwmapi
1189 enable_dwrite
1190 enable_dxdiagn
1191 enable_dxgi
1192 enable_dxva2
1193 enable_esent
1194 enable_evr
1195 enable_explorerframe
1196 enable_ext_ms_win_authz_context_l1_1_0
1197 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1198 enable_ext_ms_win_gdi_dc_create_l1_1_1
1199 enable_ext_ms_win_gdi_dc_l1_2_0
1200 enable_ext_ms_win_gdi_devcaps_l1_1_0
1201 enable_ext_ms_win_gdi_draw_l1_1_1
1202 enable_ext_ms_win_gdi_render_l1_1_0
1203 enable_ext_ms_win_kernel32_package_current_l1_1_0
1204 enable_ext_ms_win_kernel32_package_l1_1_1
1205 enable_ext_ms_win_ntuser_message_l1_1_1
1206 enable_ext_ms_win_ntuser_private_l1_1_1
1207 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1208 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1209 enable_ext_ms_win_ntuser_window_l1_1_1
1210 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1211 enable_ext_ms_win_ras_rasapi32_l1_1_0
1212 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1213 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1214 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1215 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1216 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1217 enable_ext_ms_win_security_credui_l1_1_0
1218 enable_ext_ms_win_security_cryptui_l1_1_0
1219 enable_faultrep
1220 enable_fltlib
1221 enable_fltmgr_sys
1222 enable_fntcache
1223 enable_fontsub
1224 enable_fusion
1225 enable_fwpuclnt
1226 enable_gameux
1227 enable_gdi32
1228 enable_gdiplus
1229 enable_glu32
1230 enable_gphoto2_ds
1231 enable_gpkcsp
1232 enable_hal
1233 enable_hhctrl_ocx
1234 enable_hid
1235 enable_hidclass_sys
1236 enable_hlink
1237 enable_hnetcfg
1238 enable_httpapi
1239 enable_iccvid
1240 enable_icmp
1241 enable_ieframe
1242 enable_ieproxy
1243 enable_imaadp32_acm
1244 enable_imagehlp
1245 enable_imm32
1246 enable_inetcomm
1247 enable_inetcpl_cpl
1248 enable_inetmib1
1249 enable_infosoft
1250 enable_initpki
1251 enable_inkobj
1252 enable_inseng
1253 enable_iphlpapi
1254 enable_iprop
1255 enable_irprops_cpl
1256 enable_itircl
1257 enable_itss
1258 enable_joy_cpl
1259 enable_jscript
1260 enable_jsproxy
1261 enable_kernel32
1262 enable_kernelbase
1263 enable_ksuser
1264 enable_ktmw32
1265 enable_loadperf
1266 enable_localspl
1267 enable_localui
1268 enable_lz32
1269 enable_mapi32
1270 enable_mapistub
1271 enable_mciavi32
1272 enable_mcicda
1273 enable_mciqtz32
1274 enable_mciseq
1275 enable_mciwave
1276 enable_mf
1277 enable_mf3216
1278 enable_mfplat
1279 enable_mfreadwrite
1280 enable_mgmtapi
1281 enable_midimap
1282 enable_mlang
1283 enable_mmcndmgr
1284 enable_mmdevapi
1285 enable_mountmgr_sys
1286 enable_mpr
1287 enable_mprapi
1288 enable_msacm32_drv
1289 enable_msacm32
1290 enable_msadp32_acm
1291 enable_msasn1
1292 enable_mscat32
1293 enable_mscms
1294 enable_mscoree
1295 enable_msctf
1296 enable_msctfp
1297 enable_msdaps
1298 enable_msdelta
1299 enable_msdmo
1300 enable_msdrm
1301 enable_msftedit
1302 enable_msg711_acm
1303 enable_msgsm32_acm
1304 enable_mshtml_tlb
1305 enable_mshtml
1306 enable_msi
1307 enable_msident
1308 enable_msimg32
1309 enable_msimsg
1310 enable_msimtf
1311 enable_msisip
1312 enable_msisys_ocx
1313 enable_msls31
1314 enable_msnet32
1315 enable_mspatcha
1316 enable_msports
1317 enable_msrle32
1318 enable_msscript_ocx
1319 enable_mssign32
1320 enable_mssip32
1321 enable_mstask
1322 enable_msvcirt
1323 enable_msvcm80
1324 enable_msvcm90
1325 enable_msvcp100
1326 enable_msvcp110
1327 enable_msvcp120
1328 enable_msvcp120_app
1329 enable_msvcp140
1330 enable_msvcp60
1331 enable_msvcp70
1332 enable_msvcp71
1333 enable_msvcp80
1334 enable_msvcp90
1335 enable_msvcr100
1336 enable_msvcr110
1337 enable_msvcr120
1338 enable_msvcr120_app
1339 enable_msvcr70
1340 enable_msvcr71
1341 enable_msvcr80
1342 enable_msvcr90
1343 enable_msvcrt
1344 enable_msvcrt20
1345 enable_msvcrt40
1346 enable_msvcrtd
1347 enable_msvfw32
1348 enable_msvidc32
1349 enable_mswsock
1350 enable_msxml
1351 enable_msxml2
1352 enable_msxml3
1353 enable_msxml4
1354 enable_msxml6
1355 enable_mtxdm
1356 enable_ncrypt
1357 enable_nddeapi
1358 enable_ndis_sys
1359 enable_netapi32
1360 enable_netcfgx
1361 enable_netprofm
1362 enable_newdev
1363 enable_normaliz
1364 enable_npmshtml
1365 enable_npptools
1366 enable_ntdll
1367 enable_ntdsapi
1368 enable_ntoskrnl_exe
1369 enable_ntprint
1370 enable_objsel
1371 enable_odbc32
1372 enable_odbccp32
1373 enable_odbccu32
1374 enable_ole32
1375 enable_oleacc
1376 enable_oleaut32
1377 enable_olecli32
1378 enable_oledb32
1379 enable_oledlg
1380 enable_olepro32
1381 enable_olesvr32
1382 enable_olethk32
1383 enable_openal32
1384 enable_opencl
1385 enable_opengl32
1386 enable_packager
1387 enable_pdh
1388 enable_photometadatahandler
1389 enable_pidgen
1390 enable_powrprof
1391 enable_printui
1392 enable_prntvpt
1393 enable_propsys
1394 enable_psapi
1395 enable_pstorec
1396 enable_qcap
1397 enable_qedit
1398 enable_qmgr
1399 enable_qmgrprxy
1400 enable_quartz
1401 enable_query
1402 enable_rasapi32
1403 enable_rasdlg
1404 enable_regapi
1405 enable_resutils
1406 enable_riched20
1407 enable_riched32
1408 enable_rpcrt4
1409 enable_rsabase
1410 enable_rsaenh
1411 enable_rstrtmgr
1412 enable_rtutils
1413 enable_samlib
1414 enable_sane_ds
1415 enable_scarddlg
1416 enable_sccbase
1417 enable_schannel
1418 enable_schedsvc
1419 enable_scrobj
1420 enable_scrrun
1421 enable_scsiport_sys
1422 enable_secur32
1423 enable_security
1424 enable_sensapi
1425 enable_serialui
1426 enable_setupapi
1427 enable_sfc
1428 enable_sfc_os
1429 enable_shdoclc
1430 enable_shdocvw
1431 enable_shell32
1432 enable_shfolder
1433 enable_shlwapi
1434 enable_slbcsp
1435 enable_slc
1436 enable_snmpapi
1437 enable_softpub
1438 enable_spoolss
1439 enable_sspicli
1440 enable_stdole2_tlb
1441 enable_stdole32_tlb
1442 enable_sti
1443 enable_svrapi
1444 enable_sxs
1445 enable_t2embed
1446 enable_tapi32
1447 enable_taskschd
1448 enable_tdh
1449 enable_tdi_sys
1450 enable_traffic
1451 enable_twain_32
1452 enable_ucrtbase
1453 enable_uiautomationcore
1454 enable_uiribbon
1455 enable_unicows
1456 enable_updspapi
1457 enable_url
1458 enable_urlmon
1459 enable_usbd_sys
1460 enable_user32
1461 enable_userenv
1462 enable_usp10
1463 enable_uxtheme
1464 enable_vbscript
1465 enable_vcomp
1466 enable_vcomp100
1467 enable_vcomp110
1468 enable_vcomp120
1469 enable_vcomp140
1470 enable_vcomp90
1471 enable_vcruntime140
1472 enable_vdmdbg
1473 enable_version
1474 enable_virtdisk
1475 enable_vssapi
1476 enable_wbemdisp
1477 enable_wbemprox
1478 enable_webservices
1479 enable_wer
1480 enable_wevtapi
1481 enable_wiaservc
1482 enable_wimgapi
1483 enable_windowscodecs
1484 enable_windowscodecsext
1485 enable_winealsa_drv
1486 enable_wineandroid_drv
1487 enable_winebus_sys
1488 enable_winecoreaudio_drv
1489 enable_wined3d
1490 enable_winegstreamer
1491 enable_winehid_sys
1492 enable_winejoystick_drv
1493 enable_winemac_drv
1494 enable_winemapi
1495 enable_winemp3_acm
1496 enable_wineoss_drv
1497 enable_wineps_drv
1498 enable_winepulse_drv
1499 enable_wineqtdecoder
1500 enable_winex11_drv
1501 enable_wing32
1502 enable_winhttp
1503 enable_wininet
1504 enable_winmm
1505 enable_winnls32
1506 enable_winscard
1507 enable_winspool_drv
1508 enable_winsta
1509 enable_wintab32
1510 enable_wintrust
1511 enable_winusb
1512 enable_wlanapi
1513 enable_wldap32
1514 enable_wmasf
1515 enable_wmi
1516 enable_wmiutils
1517 enable_wmp
1518 enable_wmvcore
1519 enable_wnaspi32
1520 enable_wpc
1521 enable_wpcap
1522 enable_ws2_32
1523 enable_wsdapi
1524 enable_wshom_ocx
1525 enable_wsnmp32
1526 enable_wsock32
1527 enable_wtsapi32
1528 enable_wuapi
1529 enable_wuaueng
1530 enable_x3daudio1_0
1531 enable_x3daudio1_1
1532 enable_x3daudio1_2
1533 enable_x3daudio1_3
1534 enable_x3daudio1_4
1535 enable_x3daudio1_5
1536 enable_x3daudio1_6
1537 enable_x3daudio1_7
1538 enable_xapofx1_1
1539 enable_xapofx1_2
1540 enable_xapofx1_3
1541 enable_xapofx1_4
1542 enable_xapofx1_5
1543 enable_xaudio2_0
1544 enable_xaudio2_1
1545 enable_xaudio2_2
1546 enable_xaudio2_3
1547 enable_xaudio2_4
1548 enable_xaudio2_5
1549 enable_xaudio2_6
1550 enable_xaudio2_7
1551 enable_xaudio2_8
1552 enable_xaudio2_9
1553 enable_xinput1_1
1554 enable_xinput1_2
1555 enable_xinput1_3
1556 enable_xinput1_4
1557 enable_xinput9_1_0
1558 enable_xmllite
1559 enable_xolehlp
1560 enable_xpsprint
1561 enable_xpssvcs
1562 enable_fonts
1563 enable_include
1564 enable_libs_port
1565 enable_libs_wine
1566 enable_libs_wpp
1567 enable_loader
1568 enable_po
1569 enable_arp
1570 enable_aspnet_regiis
1571 enable_attrib
1572 enable_cabarc
1573 enable_cacls
1574 enable_clock
1575 enable_cmd
1576 enable_conhost
1577 enable_control
1578 enable_cscript
1579 enable_dpnsvr
1580 enable_dxdiag
1581 enable_eject
1582 enable_expand
1583 enable_explorer
1584 enable_extrac32
1585 enable_findstr
1586 enable_fsutil
1587 enable_hh
1588 enable_hostname
1589 enable_icacls
1590 enable_icinfo
1591 enable_iexplore
1592 enable_ipconfig
1593 enable_lodctr
1594 enable_mofcomp
1595 enable_mshta
1596 enable_msiexec
1597 enable_msinfo32
1598 enable_net
1599 enable_netsh
1600 enable_netstat
1601 enable_ngen
1602 enable_notepad
1603 enable_oleview
1604 enable_ping
1605 enable_plugplay
1606 enable_powershell
1607 enable_presentationfontcache
1608 enable_progman
1609 enable_reg
1610 enable_regasm
1611 enable_regedit
1612 enable_regsvcs
1613 enable_regsvr32
1614 enable_rpcss
1615 enable_rundll32
1616 enable_sc
1617 enable_schtasks
1618 enable_sdbinst
1619 enable_secedit
1620 enable_servicemodelreg
1621 enable_services
1622 enable_shutdown
1623 enable_spoolsv
1624 enable_start
1625 enable_subst
1626 enable_svchost
1627 enable_systeminfo
1628 enable_taskkill
1629 enable_tasklist
1630 enable_taskmgr
1631 enable_termsv
1632 enable_uninstaller
1633 enable_unlodctr
1634 enable_view
1635 enable_wevtutil
1636 enable_wineboot
1637 enable_winebrowser
1638 enable_winecfg
1639 enable_wineconsole
1640 enable_winedbg
1641 enable_winedevice
1642 enable_winefile
1643 enable_winemenubuilder
1644 enable_winemine
1645 enable_winemsibuilder
1646 enable_winepath
1647 enable_winetest
1648 enable_winhlp32
1649 enable_winver
1650 enable_wmic
1651 enable_wmplayer
1652 enable_wordpad
1653 enable_write
1654 enable_wscript
1655 enable_wusa
1656 enable_xcopy
1657 enable_server
1658 enable_tools
1660 ac_precious_vars='build_alias
1661 host_alias
1662 target_alias
1664 CFLAGS
1665 LDFLAGS
1666 LIBS
1667 CPPFLAGS
1669 CXXFLAGS
1672 XMKMF
1673 XML2_CFLAGS
1674 XML2_LIBS
1675 XSLT_CFLAGS
1676 XSLT_LIBS
1677 DBUS_CFLAGS
1678 DBUS_LIBS
1679 HAL_CFLAGS
1680 HAL_LIBS
1681 GNUTLS_CFLAGS
1682 GNUTLS_LIBS
1683 SANE_CFLAGS
1684 SANE_LIBS
1685 GPHOTO2_CFLAGS
1686 GPHOTO2_LIBS
1687 GPHOTO2_PORT_CFLAGS
1688 GPHOTO2_PORT_LIBS
1689 LCMS2_CFLAGS
1690 LCMS2_LIBS
1691 FREETYPE_CFLAGS
1692 FREETYPE_LIBS
1693 PULSE_CFLAGS
1694 PULSE_LIBS
1695 GSTREAMER_CFLAGS
1696 GSTREAMER_LIBS
1697 UDEV_CFLAGS
1698 UDEV_LIBS
1699 CAPI20_CFLAGS
1700 CAPI20_LIBS
1701 FONTCONFIG_CFLAGS
1702 FONTCONFIG_LIBS
1703 JPEG_CFLAGS
1704 JPEG_LIBS
1705 PNG_CFLAGS
1706 PNG_LIBS
1707 TIFF_CFLAGS
1708 TIFF_LIBS
1709 MPG123_CFLAGS
1710 MPG123_LIBS
1711 NETAPI_CFLAGS
1712 NETAPI_LIBS
1713 LDAP_CFLAGS
1714 LDAP_LIBS'
1717 # Initialize some variables set by options.
1718 ac_init_help=
1719 ac_init_version=false
1720 ac_unrecognized_opts=
1721 ac_unrecognized_sep=
1722 # The variables have the same names as the options, with
1723 # dashes changed to underlines.
1724 cache_file=/dev/null
1725 exec_prefix=NONE
1726 no_create=
1727 no_recursion=
1728 prefix=NONE
1729 program_prefix=NONE
1730 program_suffix=NONE
1731 program_transform_name=s,x,x,
1732 silent=
1733 site=
1734 srcdir=
1735 verbose=
1736 x_includes=NONE
1737 x_libraries=NONE
1739 # Installation directory options.
1740 # These are left unexpanded so users can "make install exec_prefix=/foo"
1741 # and all the variables that are supposed to be based on exec_prefix
1742 # by default will actually change.
1743 # Use braces instead of parens because sh, perl, etc. also accept them.
1744 # (The list follows the same order as the GNU Coding Standards.)
1745 bindir='${exec_prefix}/bin'
1746 sbindir='${exec_prefix}/sbin'
1747 libexecdir='${exec_prefix}/libexec'
1748 datarootdir='${prefix}/share'
1749 datadir='${datarootdir}'
1750 sysconfdir='${prefix}/etc'
1751 sharedstatedir='${prefix}/com'
1752 localstatedir='${prefix}/var'
1753 runstatedir='${localstatedir}/run'
1754 includedir='${prefix}/include'
1755 oldincludedir='/usr/include'
1756 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1757 infodir='${datarootdir}/info'
1758 htmldir='${docdir}'
1759 dvidir='${docdir}'
1760 pdfdir='${docdir}'
1761 psdir='${docdir}'
1762 libdir='${exec_prefix}/lib'
1763 localedir='${datarootdir}/locale'
1764 mandir='${datarootdir}/man'
1766 ac_prev=
1767 ac_dashdash=
1768 for ac_option
1770 # If the previous option needs an argument, assign it.
1771 if test -n "$ac_prev"; then
1772 eval $ac_prev=\$ac_option
1773 ac_prev=
1774 continue
1777 case $ac_option in
1778 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1779 *=) ac_optarg= ;;
1780 *) ac_optarg=yes ;;
1781 esac
1783 # Accept the important Cygnus configure options, so we can diagnose typos.
1785 case $ac_dashdash$ac_option in
1787 ac_dashdash=yes ;;
1789 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1790 ac_prev=bindir ;;
1791 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1792 bindir=$ac_optarg ;;
1794 -build | --build | --buil | --bui | --bu)
1795 ac_prev=build_alias ;;
1796 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1797 build_alias=$ac_optarg ;;
1799 -cache-file | --cache-file | --cache-fil | --cache-fi \
1800 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1801 ac_prev=cache_file ;;
1802 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1803 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1804 cache_file=$ac_optarg ;;
1806 --config-cache | -C)
1807 cache_file=config.cache ;;
1809 -datadir | --datadir | --datadi | --datad)
1810 ac_prev=datadir ;;
1811 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1812 datadir=$ac_optarg ;;
1814 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1815 | --dataroo | --dataro | --datar)
1816 ac_prev=datarootdir ;;
1817 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1818 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1819 datarootdir=$ac_optarg ;;
1821 -disable-* | --disable-*)
1822 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825 as_fn_error $? "invalid feature name: $ac_useropt"
1826 ac_useropt_orig=$ac_useropt
1827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "enable_$ac_useropt"
1831 "*) ;;
1832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1833 ac_unrecognized_sep=', ';;
1834 esac
1835 eval enable_$ac_useropt=no ;;
1837 -docdir | --docdir | --docdi | --doc | --do)
1838 ac_prev=docdir ;;
1839 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1840 docdir=$ac_optarg ;;
1842 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1843 ac_prev=dvidir ;;
1844 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1845 dvidir=$ac_optarg ;;
1847 -enable-* | --enable-*)
1848 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1849 # Reject names that are not valid shell variable names.
1850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1851 as_fn_error $? "invalid feature name: $ac_useropt"
1852 ac_useropt_orig=$ac_useropt
1853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1854 case $ac_user_opts in
1856 "enable_$ac_useropt"
1857 "*) ;;
1858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1859 ac_unrecognized_sep=', ';;
1860 esac
1861 eval enable_$ac_useropt=\$ac_optarg ;;
1863 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1864 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1865 | --exec | --exe | --ex)
1866 ac_prev=exec_prefix ;;
1867 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1868 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1869 | --exec=* | --exe=* | --ex=*)
1870 exec_prefix=$ac_optarg ;;
1872 -gas | --gas | --ga | --g)
1873 # Obsolete; use --with-gas.
1874 with_gas=yes ;;
1876 -help | --help | --hel | --he | -h)
1877 ac_init_help=long ;;
1878 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1879 ac_init_help=recursive ;;
1880 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1881 ac_init_help=short ;;
1883 -host | --host | --hos | --ho)
1884 ac_prev=host_alias ;;
1885 -host=* | --host=* | --hos=* | --ho=*)
1886 host_alias=$ac_optarg ;;
1888 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1889 ac_prev=htmldir ;;
1890 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1891 | --ht=*)
1892 htmldir=$ac_optarg ;;
1894 -includedir | --includedir | --includedi | --included | --include \
1895 | --includ | --inclu | --incl | --inc)
1896 ac_prev=includedir ;;
1897 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1898 | --includ=* | --inclu=* | --incl=* | --inc=*)
1899 includedir=$ac_optarg ;;
1901 -infodir | --infodir | --infodi | --infod | --info | --inf)
1902 ac_prev=infodir ;;
1903 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1904 infodir=$ac_optarg ;;
1906 -libdir | --libdir | --libdi | --libd)
1907 ac_prev=libdir ;;
1908 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1909 libdir=$ac_optarg ;;
1911 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1912 | --libexe | --libex | --libe)
1913 ac_prev=libexecdir ;;
1914 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1915 | --libexe=* | --libex=* | --libe=*)
1916 libexecdir=$ac_optarg ;;
1918 -localedir | --localedir | --localedi | --localed | --locale)
1919 ac_prev=localedir ;;
1920 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1921 localedir=$ac_optarg ;;
1923 -localstatedir | --localstatedir | --localstatedi | --localstated \
1924 | --localstate | --localstat | --localsta | --localst | --locals)
1925 ac_prev=localstatedir ;;
1926 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1927 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1928 localstatedir=$ac_optarg ;;
1930 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1931 ac_prev=mandir ;;
1932 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1933 mandir=$ac_optarg ;;
1935 -nfp | --nfp | --nf)
1936 # Obsolete; use --without-fp.
1937 with_fp=no ;;
1939 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1940 | --no-cr | --no-c | -n)
1941 no_create=yes ;;
1943 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1944 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1945 no_recursion=yes ;;
1947 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1948 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1949 | --oldin | --oldi | --old | --ol | --o)
1950 ac_prev=oldincludedir ;;
1951 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1952 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1953 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1954 oldincludedir=$ac_optarg ;;
1956 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1957 ac_prev=prefix ;;
1958 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1959 prefix=$ac_optarg ;;
1961 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1962 | --program-pre | --program-pr | --program-p)
1963 ac_prev=program_prefix ;;
1964 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1965 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1966 program_prefix=$ac_optarg ;;
1968 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1969 | --program-suf | --program-su | --program-s)
1970 ac_prev=program_suffix ;;
1971 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1972 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1973 program_suffix=$ac_optarg ;;
1975 -program-transform-name | --program-transform-name \
1976 | --program-transform-nam | --program-transform-na \
1977 | --program-transform-n | --program-transform- \
1978 | --program-transform | --program-transfor \
1979 | --program-transfo | --program-transf \
1980 | --program-trans | --program-tran \
1981 | --progr-tra | --program-tr | --program-t)
1982 ac_prev=program_transform_name ;;
1983 -program-transform-name=* | --program-transform-name=* \
1984 | --program-transform-nam=* | --program-transform-na=* \
1985 | --program-transform-n=* | --program-transform-=* \
1986 | --program-transform=* | --program-transfor=* \
1987 | --program-transfo=* | --program-transf=* \
1988 | --program-trans=* | --program-tran=* \
1989 | --progr-tra=* | --program-tr=* | --program-t=*)
1990 program_transform_name=$ac_optarg ;;
1992 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1993 ac_prev=pdfdir ;;
1994 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1995 pdfdir=$ac_optarg ;;
1997 -psdir | --psdir | --psdi | --psd | --ps)
1998 ac_prev=psdir ;;
1999 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2000 psdir=$ac_optarg ;;
2002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2003 | -silent | --silent | --silen | --sile | --sil)
2004 silent=yes ;;
2006 -runstatedir | --runstatedir | --runstatedi | --runstated \
2007 | --runstate | --runstat | --runsta | --runst | --runs \
2008 | --run | --ru | --r)
2009 ac_prev=runstatedir ;;
2010 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2011 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2012 | --run=* | --ru=* | --r=*)
2013 runstatedir=$ac_optarg ;;
2015 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2016 ac_prev=sbindir ;;
2017 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2018 | --sbi=* | --sb=*)
2019 sbindir=$ac_optarg ;;
2021 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2022 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2023 | --sharedst | --shareds | --shared | --share | --shar \
2024 | --sha | --sh)
2025 ac_prev=sharedstatedir ;;
2026 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2027 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2028 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2029 | --sha=* | --sh=*)
2030 sharedstatedir=$ac_optarg ;;
2032 -site | --site | --sit)
2033 ac_prev=site ;;
2034 -site=* | --site=* | --sit=*)
2035 site=$ac_optarg ;;
2037 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2038 ac_prev=srcdir ;;
2039 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2040 srcdir=$ac_optarg ;;
2042 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2043 | --syscon | --sysco | --sysc | --sys | --sy)
2044 ac_prev=sysconfdir ;;
2045 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2046 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2047 sysconfdir=$ac_optarg ;;
2049 -target | --target | --targe | --targ | --tar | --ta | --t)
2050 ac_prev=target_alias ;;
2051 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2052 target_alias=$ac_optarg ;;
2054 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2055 verbose=yes ;;
2057 -version | --version | --versio | --versi | --vers | -V)
2058 ac_init_version=: ;;
2060 -with-* | --with-*)
2061 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2062 # Reject names that are not valid shell variable names.
2063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2064 as_fn_error $? "invalid package name: $ac_useropt"
2065 ac_useropt_orig=$ac_useropt
2066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2067 case $ac_user_opts in
2069 "with_$ac_useropt"
2070 "*) ;;
2071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2072 ac_unrecognized_sep=', ';;
2073 esac
2074 eval with_$ac_useropt=\$ac_optarg ;;
2076 -without-* | --without-*)
2077 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2078 # Reject names that are not valid shell variable names.
2079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2080 as_fn_error $? "invalid package name: $ac_useropt"
2081 ac_useropt_orig=$ac_useropt
2082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2083 case $ac_user_opts in
2085 "with_$ac_useropt"
2086 "*) ;;
2087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2088 ac_unrecognized_sep=', ';;
2089 esac
2090 eval with_$ac_useropt=no ;;
2092 --x)
2093 # Obsolete; use --with-x.
2094 with_x=yes ;;
2096 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2097 | --x-incl | --x-inc | --x-in | --x-i)
2098 ac_prev=x_includes ;;
2099 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2100 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2101 x_includes=$ac_optarg ;;
2103 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2104 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2105 ac_prev=x_libraries ;;
2106 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2107 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2108 x_libraries=$ac_optarg ;;
2110 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2111 Try \`$0 --help' for more information"
2114 *=*)
2115 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2116 # Reject names that are not valid shell variable names.
2117 case $ac_envvar in #(
2118 '' | [0-9]* | *[!_$as_cr_alnum]* )
2119 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2120 esac
2121 eval $ac_envvar=\$ac_optarg
2122 export $ac_envvar ;;
2125 # FIXME: should be removed in autoconf 3.0.
2126 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2127 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2128 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2129 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2132 esac
2133 done
2135 if test -n "$ac_prev"; then
2136 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2137 as_fn_error $? "missing argument to $ac_option"
2140 if test -n "$ac_unrecognized_opts"; then
2141 case $enable_option_checking in
2142 no) ;;
2143 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2144 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2145 esac
2148 # Check all directory arguments for consistency.
2149 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2150 datadir sysconfdir sharedstatedir localstatedir includedir \
2151 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2152 libdir localedir mandir runstatedir
2154 eval ac_val=\$$ac_var
2155 # Remove trailing slashes.
2156 case $ac_val in
2157 */ )
2158 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2159 eval $ac_var=\$ac_val;;
2160 esac
2161 # Be sure to have absolute directory names.
2162 case $ac_val in
2163 [\\/$]* | ?:[\\/]* ) continue;;
2164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2165 esac
2166 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2167 done
2169 # There might be people who depend on the old broken behavior: `$host'
2170 # used to hold the argument of --host etc.
2171 # FIXME: To remove some day.
2172 build=$build_alias
2173 host=$host_alias
2174 target=$target_alias
2176 # FIXME: To remove some day.
2177 if test "x$host_alias" != x; then
2178 if test "x$build_alias" = x; then
2179 cross_compiling=maybe
2180 elif test "x$build_alias" != "x$host_alias"; then
2181 cross_compiling=yes
2185 ac_tool_prefix=
2186 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2188 test "$silent" = yes && exec 6>/dev/null
2191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2192 ac_ls_di=`ls -di .` &&
2193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2194 as_fn_error $? "working directory cannot be determined"
2195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2196 as_fn_error $? "pwd does not report name of working directory"
2199 # Find the source files, if location was not specified.
2200 if test -z "$srcdir"; then
2201 ac_srcdir_defaulted=yes
2202 # Try the directory containing this script, then the parent directory.
2203 ac_confdir=`$as_dirname -- "$as_myself" ||
2204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2205 X"$as_myself" : 'X\(//\)[^/]' \| \
2206 X"$as_myself" : 'X\(//\)$' \| \
2207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2208 $as_echo X"$as_myself" |
2209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2210 s//\1/
2213 /^X\(\/\/\)[^/].*/{
2214 s//\1/
2217 /^X\(\/\/\)$/{
2218 s//\1/
2221 /^X\(\/\).*/{
2222 s//\1/
2225 s/.*/./; q'`
2226 srcdir=$ac_confdir
2227 if test ! -r "$srcdir/$ac_unique_file"; then
2228 srcdir=..
2230 else
2231 ac_srcdir_defaulted=no
2233 if test ! -r "$srcdir/$ac_unique_file"; then
2234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2238 ac_abs_confdir=`(
2239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2240 pwd)`
2241 # When building in place, set srcdir=.
2242 if test "$ac_abs_confdir" = "$ac_pwd"; then
2243 srcdir=.
2245 # Remove unnecessary trailing slashes from srcdir.
2246 # Double slashes in file names in object file debugging info
2247 # mess up M-x gdb in Emacs.
2248 case $srcdir in
2249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2250 esac
2251 for ac_var in $ac_precious_vars; do
2252 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2253 eval ac_env_${ac_var}_value=\$${ac_var}
2254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2255 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2256 done
2259 # Report the --help message.
2261 if test "$ac_init_help" = "long"; then
2262 # Omit some internal or obsolete options to make the list less imposing.
2263 # This message is too long to be a string in the A/UX 3.1 sh.
2264 cat <<_ACEOF
2265 \`configure' configures Wine 2.14 to adapt to many kinds of systems.
2267 Usage: $0 [OPTION]... [VAR=VALUE]...
2269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2270 VAR=VALUE. See below for descriptions of some of the useful variables.
2272 Defaults for the options are specified in brackets.
2274 Configuration:
2275 -h, --help display this help and exit
2276 --help=short display options specific to this package
2277 --help=recursive display the short help of all the included packages
2278 -V, --version display version information and exit
2279 -q, --quiet, --silent do not print \`checking ...' messages
2280 --cache-file=FILE cache test results in FILE [disabled]
2281 -C, --config-cache alias for \`--cache-file=config.cache'
2282 -n, --no-create do not create output files
2283 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2285 Installation directories:
2286 --prefix=PREFIX install architecture-independent files in PREFIX
2287 [$ac_default_prefix]
2288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2289 [PREFIX]
2291 By default, \`make install' will install all the files in
2292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2294 for instance \`--prefix=\$HOME'.
2296 For better control, use the options below.
2298 Fine tuning of the installation directories:
2299 --bindir=DIR user executables [EPREFIX/bin]
2300 --sbindir=DIR system admin executables [EPREFIX/sbin]
2301 --libexecdir=DIR program executables [EPREFIX/libexec]
2302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2304 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2305 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2306 --libdir=DIR object code libraries [EPREFIX/lib]
2307 --includedir=DIR C header files [PREFIX/include]
2308 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2309 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2310 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2311 --infodir=DIR info documentation [DATAROOTDIR/info]
2312 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2313 --mandir=DIR man documentation [DATAROOTDIR/man]
2314 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2315 --htmldir=DIR html documentation [DOCDIR]
2316 --dvidir=DIR dvi documentation [DOCDIR]
2317 --pdfdir=DIR pdf documentation [DOCDIR]
2318 --psdir=DIR ps documentation [DOCDIR]
2319 _ACEOF
2321 cat <<\_ACEOF
2323 X features:
2324 --x-includes=DIR X include files are in DIR
2325 --x-libraries=DIR X library files are in DIR
2327 System types:
2328 --build=BUILD configure for building on BUILD [guessed]
2329 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2330 _ACEOF
2333 if test -n "$ac_init_help"; then
2334 case $ac_init_help in
2335 short | recursive ) echo "Configuration of Wine 2.14:";;
2336 esac
2337 cat <<\_ACEOF
2339 Optional Features:
2340 --disable-option-checking ignore unrecognized --enable/--with options
2341 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2342 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2343 --disable-win16 do not include Win16 support
2344 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2345 binaries)
2346 --disable-tests do not build the regression tests
2347 --enable-maintainer-mode
2348 enable maintainer-specific build rules
2349 --disable-largefile omit support for large files
2351 Optional Packages:
2352 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2353 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2354 --without-alsa do not use the Alsa sound support
2355 --without-capi do not use CAPI (ISDN support)
2356 --without-cms do not use CMS (color management support)
2357 --without-coreaudio do not use the CoreAudio sound support
2358 --without-cups do not use CUPS
2359 --without-curses do not use (n)curses
2360 --without-dbus do not use DBus (dynamic device support)
2361 --without-fontconfig do not use fontconfig
2362 --without-freetype do not use the FreeType library
2363 --without-gettext do not use gettext
2364 --with-gettextpo use the GetTextPO library to rebuild po files
2365 --without-gphoto do not use gphoto (Digital Camera support)
2366 --without-glu do not use the GLU library
2367 --without-gnutls do not use GnuTLS (schannel support)
2368 --without-gsm do not use libgsm (GSM 06.10 codec support)
2369 --without-gstreamer do not use GStreamer (codecs support)
2370 --without-hal do not use HAL (dynamic device support)
2371 --without-jpeg do not use JPEG
2372 --without-ldap do not use LDAP
2373 --without-mpg123 do not use the mpg123 library
2374 --without-netapi do not use the Samba NetAPI library
2375 --without-openal do not use OpenAL
2376 --without-opencl do not use OpenCL
2377 --without-opengl do not use OpenGL
2378 --without-osmesa do not use the OSMesa library
2379 --without-oss do not use the OSS sound support
2380 --without-pcap do not use the Packet Capture library
2381 --without-png do not use PNG
2382 --without-pthread do not use the pthread library
2383 --without-pulse do not use PulseAudio sound support
2384 --without-sane do not use SANE (scanner support)
2385 --without-tiff do not use TIFF
2386 --without-udev do not use udev (plug and play support)
2387 --without-v4l do not use v4l1 (v4l support)
2388 --without-xcomposite do not use the Xcomposite extension
2389 --without-xcursor do not use the Xcursor extension
2390 --without-xfixes do not use Xfixes for clipboard change notifications
2391 --without-xinerama do not use Xinerama (multi-monitor support)
2392 --without-xinput do not use the Xinput extension
2393 --without-xinput2 do not use the Xinput 2 extension
2394 --without-xml do not use XML
2395 --without-xrandr do not use Xrandr (resolution changes)
2396 --without-xrender do not use the Xrender extension
2397 --without-xshape do not use the Xshape extension
2398 --without-xshm do not use XShm (shared memory extension)
2399 --without-xslt do not use XSLT
2400 --without-xxf86vm do not use XFree video mode extension
2401 --without-zlib do not use Zlib (data compression)
2402 --with-wine-tools=DIR use Wine tools from directory DIR
2403 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2404 --with-x use the X Window System
2406 Some influential environment variables:
2407 CC C compiler command
2408 CFLAGS C compiler flags
2409 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2410 nonstandard directory <lib dir>
2411 LIBS libraries to pass to the linker, e.g. -l<library>
2412 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2413 you have headers in a nonstandard directory <include dir>
2414 CXX C++ compiler command
2415 CXXFLAGS C++ compiler flags
2416 CPP C preprocessor
2417 XMKMF Path to xmkmf, Makefile generator for X Window System
2418 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2419 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2420 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2421 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2422 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2423 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2424 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2425 HAL_LIBS Linker flags for hal, overriding pkg-config
2426 GNUTLS_CFLAGS
2427 C compiler flags for gnutls, overriding pkg-config
2428 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2429 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2430 SANE_LIBS Linker flags for libsane, overriding pkg-config
2431 GPHOTO2_CFLAGS
2432 C compiler flags for libgphoto2, overriding pkg-config
2433 GPHOTO2_LIBS
2434 Linker flags for libgphoto2, overriding pkg-config
2435 GPHOTO2_PORT_CFLAGS
2436 C compiler flags for libgphoto2_port, overriding pkg-config
2437 GPHOTO2_PORT_LIBS
2438 Linker flags for libgphoto2_port, overriding pkg-config
2439 LCMS2_CFLAGS
2440 C compiler flags for lcms2, overriding pkg-config
2441 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2442 FREETYPE_CFLAGS
2443 C compiler flags for freetype2, overriding pkg-config
2444 FREETYPE_LIBS
2445 Linker flags for freetype2, overriding pkg-config
2446 PULSE_CFLAGS
2447 C compiler flags for libpulse, overriding pkg-config
2448 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2449 GSTREAMER_CFLAGS
2450 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2451 gstreamer-audio-1.0, overriding pkg-config
2452 GSTREAMER_LIBS
2453 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2454 gstreamer-audio-1.0, overriding pkg-config
2455 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2456 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2457 CAPI20_CFLAGS
2458 C compiler flags for capi20, overriding pkg-config
2459 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2460 FONTCONFIG_CFLAGS
2461 C compiler flags for fontconfig, overriding pkg-config
2462 FONTCONFIG_LIBS
2463 Linker flags for fontconfig, overriding pkg-config
2464 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2465 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2466 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2467 PNG_LIBS Linker flags for libpng, overriding pkg-config
2468 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2469 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2470 MPG123_CFLAGS
2471 C compiler flags for libmpg123, overriding pkg-config
2472 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2473 NETAPI_CFLAGS
2474 C compiler flags for netapi, overriding pkg-config
2475 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2476 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2477 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2479 Use these variables to override the choices made by `configure' or to help
2480 it to find libraries and programs with nonstandard names/locations.
2482 Report bugs to <wine-devel@winehq.org>.
2483 Wine home page: <http://www.winehq.org>.
2484 _ACEOF
2485 ac_status=$?
2488 if test "$ac_init_help" = "recursive"; then
2489 # If there are subdirs, report their specific --help.
2490 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2491 test -d "$ac_dir" ||
2492 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2493 continue
2494 ac_builddir=.
2496 case "$ac_dir" in
2497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2499 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2500 # A ".." for each directory in $ac_dir_suffix.
2501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2502 case $ac_top_builddir_sub in
2503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2505 esac ;;
2506 esac
2507 ac_abs_top_builddir=$ac_pwd
2508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2509 # for backward compatibility:
2510 ac_top_builddir=$ac_top_build_prefix
2512 case $srcdir in
2513 .) # We are building in place.
2514 ac_srcdir=.
2515 ac_top_srcdir=$ac_top_builddir_sub
2516 ac_abs_top_srcdir=$ac_pwd ;;
2517 [\\/]* | ?:[\\/]* ) # Absolute name.
2518 ac_srcdir=$srcdir$ac_dir_suffix;
2519 ac_top_srcdir=$srcdir
2520 ac_abs_top_srcdir=$srcdir ;;
2521 *) # Relative name.
2522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2523 ac_top_srcdir=$ac_top_build_prefix$srcdir
2524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2525 esac
2526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2528 cd "$ac_dir" || { ac_status=$?; continue; }
2529 # Check for guested configure.
2530 if test -f "$ac_srcdir/configure.gnu"; then
2531 echo &&
2532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2533 elif test -f "$ac_srcdir/configure"; then
2534 echo &&
2535 $SHELL "$ac_srcdir/configure" --help=recursive
2536 else
2537 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2538 fi || ac_status=$?
2539 cd "$ac_pwd" || { ac_status=$?; break; }
2540 done
2543 test -n "$ac_init_help" && exit $ac_status
2544 if $ac_init_version; then
2545 cat <<\_ACEOF
2546 Wine configure 2.14
2547 generated by GNU Autoconf 2.69
2549 Copyright (C) 2012 Free Software Foundation, Inc.
2550 This configure script is free software; the Free Software Foundation
2551 gives unlimited permission to copy, distribute and modify it.
2552 _ACEOF
2553 exit
2556 ## ------------------------ ##
2557 ## Autoconf initialization. ##
2558 ## ------------------------ ##
2560 # ac_fn_c_try_compile LINENO
2561 # --------------------------
2562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2563 ac_fn_c_try_compile ()
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 rm -f conftest.$ac_objext
2567 if { { ac_try="$ac_compile"
2568 case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compile") 2>conftest.err
2575 ac_status=$?
2576 if test -s conftest.err; then
2577 grep -v '^ *+' conftest.err >conftest.er1
2578 cat conftest.er1 >&5
2579 mv -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } && {
2583 test -z "$ac_c_werror_flag" ||
2584 test ! -s conftest.err
2585 } && test -s conftest.$ac_objext; then :
2586 ac_retval=0
2587 else
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2591 ac_retval=1
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 as_fn_set_status $ac_retval
2596 } # ac_fn_c_try_compile
2598 # ac_fn_cxx_try_compile LINENO
2599 # ----------------------------
2600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_compile ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 rm -f conftest.$ac_objext
2605 if { { ac_try="$ac_compile"
2606 case "(($ac_try" in
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2609 esac
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_compile") 2>conftest.err
2613 ac_status=$?
2614 if test -s conftest.err; then
2615 grep -v '^ *+' conftest.err >conftest.er1
2616 cat conftest.er1 >&5
2617 mv -f conftest.er1 conftest.err
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; } && {
2621 test -z "$ac_cxx_werror_flag" ||
2622 test ! -s conftest.err
2623 } && test -s conftest.$ac_objext; then :
2624 ac_retval=0
2625 else
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2629 ac_retval=1
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 as_fn_set_status $ac_retval
2634 } # ac_fn_cxx_try_compile
2636 # ac_fn_c_try_link LINENO
2637 # -----------------------
2638 # Try to link conftest.$ac_ext, and return whether this succeeded.
2639 ac_fn_c_try_link ()
2641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2642 rm -f conftest.$ac_objext conftest$ac_exeext
2643 if { { ac_try="$ac_link"
2644 case "(($ac_try" in
2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2647 esac
2648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link") 2>conftest.err
2651 ac_status=$?
2652 if test -s conftest.err; then
2653 grep -v '^ *+' conftest.err >conftest.er1
2654 cat conftest.er1 >&5
2655 mv -f conftest.er1 conftest.err
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest$ac_exeext && {
2662 test "$cross_compiling" = yes ||
2663 test -x conftest$ac_exeext
2664 }; then :
2665 ac_retval=0
2666 else
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2670 ac_retval=1
2672 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2673 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2674 # interfere with the next link command; also delete a directory that is
2675 # left behind by Apple's compiler. We do this before executing the actions.
2676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status $ac_retval
2680 } # ac_fn_c_try_link
2682 # ac_fn_c_try_cpp LINENO
2683 # ----------------------
2684 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_c_try_cpp ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 if { { ac_try="$ac_cpp conftest.$ac_ext"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2696 ac_status=$?
2697 if test -s conftest.err; then
2698 grep -v '^ *+' conftest.err >conftest.er1
2699 cat conftest.er1 >&5
2700 mv -f conftest.er1 conftest.err
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } > conftest.i && {
2704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2705 test ! -s conftest.err
2706 }; then :
2707 ac_retval=0
2708 else
2709 $as_echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 ac_retval=1
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status $ac_retval
2717 } # ac_fn_c_try_cpp
2719 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2720 # -------------------------------------------------------
2721 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2722 # the include files in INCLUDES and setting the cache variable VAR
2723 # accordingly.
2724 ac_fn_c_check_header_mongrel ()
2726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2727 if eval \${$3+:} false; then :
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2729 $as_echo_n "checking for $2... " >&6; }
2730 if eval \${$3+:} false; then :
2731 $as_echo_n "(cached) " >&6
2733 eval ac_res=\$$3
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2735 $as_echo "$ac_res" >&6; }
2736 else
2737 # Is the header compilable?
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2739 $as_echo_n "checking $2 usability... " >&6; }
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2743 #include <$2>
2744 _ACEOF
2745 if ac_fn_c_try_compile "$LINENO"; then :
2746 ac_header_compiler=yes
2747 else
2748 ac_header_compiler=no
2750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2752 $as_echo "$ac_header_compiler" >&6; }
2754 # Is the header present?
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2756 $as_echo_n "checking $2 presence... " >&6; }
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2759 #include <$2>
2760 _ACEOF
2761 if ac_fn_c_try_cpp "$LINENO"; then :
2762 ac_header_preproc=yes
2763 else
2764 ac_header_preproc=no
2766 rm -f conftest.err conftest.i conftest.$ac_ext
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2768 $as_echo "$ac_header_preproc" >&6; }
2770 # So? What about this header?
2771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2772 yes:no: )
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2774 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2778 no:yes:* )
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2780 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2782 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2784 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2786 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2788 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2789 ( $as_echo "## ------------------------------------ ##
2790 ## Report this to wine-devel@winehq.org ##
2791 ## ------------------------------------ ##"
2792 ) | sed "s/^/$as_me: WARNING: /" >&2
2794 esac
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2796 $as_echo_n "checking for $2... " >&6; }
2797 if eval \${$3+:} false; then :
2798 $as_echo_n "(cached) " >&6
2799 else
2800 eval "$3=\$ac_header_compiler"
2802 eval ac_res=\$$3
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2804 $as_echo "$ac_res" >&6; }
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 } # ac_fn_c_check_header_mongrel
2810 # ac_fn_c_try_run LINENO
2811 # ----------------------
2812 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2813 # that executables *can* be run.
2814 ac_fn_c_try_run ()
2816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2817 if { { ac_try="$ac_link"
2818 case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821 esac
2822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2823 $as_echo "$ac_try_echo"; } >&5
2824 (eval "$ac_link") 2>&5
2825 ac_status=$?
2826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2827 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2828 { { case "(($ac_try" in
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2831 esac
2832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2833 $as_echo "$ac_try_echo"; } >&5
2834 (eval "$ac_try") 2>&5
2835 ac_status=$?
2836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2837 test $ac_status = 0; }; }; then :
2838 ac_retval=0
2839 else
2840 $as_echo "$as_me: program exited with status $ac_status" >&5
2841 $as_echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 ac_retval=$ac_status
2846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 as_fn_set_status $ac_retval
2850 } # ac_fn_c_try_run
2852 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2853 # -------------------------------------------------------
2854 # Tests whether HEADER exists and can be compiled using the include files in
2855 # INCLUDES, setting the cache variable VAR accordingly.
2856 ac_fn_c_check_header_compile ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 $as_echo_n "checking for $2... " >&6; }
2861 if eval \${$3+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2867 #include <$2>
2868 _ACEOF
2869 if ac_fn_c_try_compile "$LINENO"; then :
2870 eval "$3=yes"
2871 else
2872 eval "$3=no"
2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876 eval ac_res=\$$3
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 $as_echo "$ac_res" >&6; }
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 } # ac_fn_c_check_header_compile
2883 # ac_fn_c_check_func LINENO FUNC VAR
2884 # ----------------------------------
2885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2886 ac_fn_c_check_func ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2890 $as_echo_n "checking for $2... " >&6; }
2891 if eval \${$3+:} false; then :
2892 $as_echo_n "(cached) " >&6
2893 else
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2898 #define $2 innocuous_$2
2900 /* System header to define __stub macros and hopefully few prototypes,
2901 which can conflict with char $2 (); below.
2902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2903 <limits.h> exists even on freestanding compilers. */
2905 #ifdef __STDC__
2906 # include <limits.h>
2907 #else
2908 # include <assert.h>
2909 #endif
2911 #undef $2
2913 /* Override any GCC internal prototype to avoid an error.
2914 Use char because int might match the return type of a GCC
2915 builtin and then its argument prototype would still apply. */
2916 #ifdef __cplusplus
2917 extern "C"
2918 #endif
2919 char $2 ();
2920 /* The GNU C library defines this for functions which it implements
2921 to always fail with ENOSYS. Some functions are actually named
2922 something starting with __ and the normal name is an alias. */
2923 #if defined __stub_$2 || defined __stub___$2
2924 choke me
2925 #endif
2928 main ()
2930 return $2 ();
2932 return 0;
2934 _ACEOF
2935 if ac_fn_c_try_link "$LINENO"; then :
2936 eval "$3=yes"
2937 else
2938 eval "$3=no"
2940 rm -f core conftest.err conftest.$ac_objext \
2941 conftest$ac_exeext conftest.$ac_ext
2943 eval ac_res=\$$3
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2945 $as_echo "$ac_res" >&6; }
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2948 } # ac_fn_c_check_func
2950 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2951 # ----------------------------------------------------
2952 # Tries to find if the field MEMBER exists in type AGGR, after including
2953 # INCLUDES, setting cache variable VAR accordingly.
2954 ac_fn_c_check_member ()
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2958 $as_echo_n "checking for $2.$3... " >&6; }
2959 if eval \${$4+:} false; then :
2960 $as_echo_n "(cached) " >&6
2961 else
2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2966 main ()
2968 static $2 ac_aggr;
2969 if (ac_aggr.$3)
2970 return 0;
2972 return 0;
2974 _ACEOF
2975 if ac_fn_c_try_compile "$LINENO"; then :
2976 eval "$4=yes"
2977 else
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2982 main ()
2984 static $2 ac_aggr;
2985 if (sizeof ac_aggr.$3)
2986 return 0;
2988 return 0;
2990 _ACEOF
2991 if ac_fn_c_try_compile "$LINENO"; then :
2992 eval "$4=yes"
2993 else
2994 eval "$4=no"
2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3000 eval ac_res=\$$4
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3002 $as_echo "$ac_res" >&6; }
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 } # ac_fn_c_check_member
3007 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3008 # -------------------------------------------
3009 # Tests whether TYPE exists after having included INCLUDES, setting cache
3010 # variable VAR accordingly.
3011 ac_fn_c_check_type ()
3013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3015 $as_echo_n "checking for $2... " >&6; }
3016 if eval \${$3+:} false; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 eval "$3=no"
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3024 main ()
3026 if (sizeof ($2))
3027 return 0;
3029 return 0;
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"; then :
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3037 main ()
3039 if (sizeof (($2)))
3040 return 0;
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"; then :
3047 else
3048 eval "$3=yes"
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=\$$3
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_type
3060 cat >config.log <<_ACEOF
3061 This file contains any messages produced by compilers while
3062 running configure, to aid debugging if configure makes a mistake.
3064 It was created by Wine $as_me 2.14, which was
3065 generated by GNU Autoconf 2.69. Invocation command line was
3067 $ $0 $@
3069 _ACEOF
3070 exec 5>>config.log
3072 cat <<_ASUNAME
3073 ## --------- ##
3074 ## Platform. ##
3075 ## --------- ##
3077 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3078 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3079 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3080 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3081 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3083 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3084 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3086 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3087 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3088 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3089 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3090 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3091 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3092 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3094 _ASUNAME
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 $as_echo "PATH: $as_dir"
3102 done
3103 IFS=$as_save_IFS
3105 } >&5
3107 cat >&5 <<_ACEOF
3110 ## ----------- ##
3111 ## Core tests. ##
3112 ## ----------- ##
3114 _ACEOF
3117 # Keep a trace of the command line.
3118 # Strip out --no-create and --no-recursion so they do not pile up.
3119 # Strip out --silent because we don't want to record it for future runs.
3120 # Also quote any args containing shell meta-characters.
3121 # Make two passes to allow for proper duplicate-argument suppression.
3122 ac_configure_args=
3123 ac_configure_args0=
3124 ac_configure_args1=
3125 ac_must_keep_next=false
3126 for ac_pass in 1 2
3128 for ac_arg
3130 case $ac_arg in
3131 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3133 | -silent | --silent | --silen | --sile | --sil)
3134 continue ;;
3135 *\'*)
3136 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3137 esac
3138 case $ac_pass in
3139 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3141 as_fn_append ac_configure_args1 " '$ac_arg'"
3142 if test $ac_must_keep_next = true; then
3143 ac_must_keep_next=false # Got value, back to normal.
3144 else
3145 case $ac_arg in
3146 *=* | --config-cache | -C | -disable-* | --disable-* \
3147 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3148 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3149 | -with-* | --with-* | -without-* | --without-* | --x)
3150 case "$ac_configure_args0 " in
3151 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3152 esac
3154 -* ) ac_must_keep_next=true ;;
3155 esac
3157 as_fn_append ac_configure_args " '$ac_arg'"
3159 esac
3160 done
3161 done
3162 { ac_configure_args0=; unset ac_configure_args0;}
3163 { ac_configure_args1=; unset ac_configure_args1;}
3165 # When interrupted or exit'd, cleanup temporary files, and complete
3166 # config.log. We remove comments because anyway the quotes in there
3167 # would cause problems or look ugly.
3168 # WARNING: Use '\'' to represent an apostrophe within the trap.
3169 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3170 trap 'exit_status=$?
3171 # Save into config.log some information that might help in debugging.
3173 echo
3175 $as_echo "## ---------------- ##
3176 ## Cache variables. ##
3177 ## ---------------- ##"
3178 echo
3179 # The following way of writing the cache mishandles newlines in values,
3181 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3182 eval ac_val=\$$ac_var
3183 case $ac_val in #(
3184 *${as_nl}*)
3185 case $ac_var in #(
3186 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3187 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3188 esac
3189 case $ac_var in #(
3190 _ | IFS | as_nl) ;; #(
3191 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3192 *) { eval $ac_var=; unset $ac_var;} ;;
3193 esac ;;
3194 esac
3195 done
3196 (set) 2>&1 |
3197 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3198 *${as_nl}ac_space=\ *)
3199 sed -n \
3200 "s/'\''/'\''\\\\'\'''\''/g;
3201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3202 ;; #(
3204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3206 esac |
3207 sort
3209 echo
3211 $as_echo "## ----------------- ##
3212 ## Output variables. ##
3213 ## ----------------- ##"
3214 echo
3215 for ac_var in $ac_subst_vars
3217 eval ac_val=\$$ac_var
3218 case $ac_val in
3219 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3220 esac
3221 $as_echo "$ac_var='\''$ac_val'\''"
3222 done | sort
3223 echo
3225 if test -n "$ac_subst_files"; then
3226 $as_echo "## ------------------- ##
3227 ## File substitutions. ##
3228 ## ------------------- ##"
3229 echo
3230 for ac_var in $ac_subst_files
3232 eval ac_val=\$$ac_var
3233 case $ac_val in
3234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3235 esac
3236 $as_echo "$ac_var='\''$ac_val'\''"
3237 done | sort
3238 echo
3241 if test -s confdefs.h; then
3242 $as_echo "## ----------- ##
3243 ## confdefs.h. ##
3244 ## ----------- ##"
3245 echo
3246 cat confdefs.h
3247 echo
3249 test "$ac_signal" != 0 &&
3250 $as_echo "$as_me: caught signal $ac_signal"
3251 $as_echo "$as_me: exit $exit_status"
3252 } >&5
3253 rm -f core *.core core.conftest.* &&
3254 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3255 exit $exit_status
3257 for ac_signal in 1 2 13 15; do
3258 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3259 done
3260 ac_signal=0
3262 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3263 rm -f -r conftest* confdefs.h
3265 $as_echo "/* confdefs.h */" > confdefs.h
3267 # Predefined preprocessor variables.
3269 cat >>confdefs.h <<_ACEOF
3270 #define PACKAGE_NAME "$PACKAGE_NAME"
3271 _ACEOF
3273 cat >>confdefs.h <<_ACEOF
3274 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3275 _ACEOF
3277 cat >>confdefs.h <<_ACEOF
3278 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3279 _ACEOF
3281 cat >>confdefs.h <<_ACEOF
3282 #define PACKAGE_STRING "$PACKAGE_STRING"
3283 _ACEOF
3285 cat >>confdefs.h <<_ACEOF
3286 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3287 _ACEOF
3289 cat >>confdefs.h <<_ACEOF
3290 #define PACKAGE_URL "$PACKAGE_URL"
3291 _ACEOF
3294 # Let the site file select an alternate cache file if it wants to.
3295 # Prefer an explicitly selected file to automatically selected ones.
3296 ac_site_file1=NONE
3297 ac_site_file2=NONE
3298 if test -n "$CONFIG_SITE"; then
3299 # We do not want a PATH search for config.site.
3300 case $CONFIG_SITE in #((
3301 -*) ac_site_file1=./$CONFIG_SITE;;
3302 */*) ac_site_file1=$CONFIG_SITE;;
3303 *) ac_site_file1=./$CONFIG_SITE;;
3304 esac
3305 elif test "x$prefix" != xNONE; then
3306 ac_site_file1=$prefix/share/config.site
3307 ac_site_file2=$prefix/etc/config.site
3308 else
3309 ac_site_file1=$ac_default_prefix/share/config.site
3310 ac_site_file2=$ac_default_prefix/etc/config.site
3312 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3314 test "x$ac_site_file" = xNONE && continue
3315 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3317 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3318 sed 's/^/| /' "$ac_site_file" >&5
3319 . "$ac_site_file" \
3320 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $? "failed to load site script $ac_site_file
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 done
3327 if test -r "$cache_file"; then
3328 # Some versions of bash will fail to source /dev/null (special files
3329 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3330 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3332 $as_echo "$as_me: loading cache $cache_file" >&6;}
3333 case $cache_file in
3334 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3335 *) . "./$cache_file";;
3336 esac
3338 else
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3340 $as_echo "$as_me: creating cache $cache_file" >&6;}
3341 >$cache_file
3344 # Check that the precious variables saved in the cache have kept the same
3345 # value.
3346 ac_cache_corrupted=false
3347 for ac_var in $ac_precious_vars; do
3348 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3349 eval ac_new_set=\$ac_env_${ac_var}_set
3350 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3351 eval ac_new_val=\$ac_env_${ac_var}_value
3352 case $ac_old_set,$ac_new_set in
3353 set,)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3356 ac_cache_corrupted=: ;;
3357 ,set)
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3360 ac_cache_corrupted=: ;;
3361 ,);;
3363 if test "x$ac_old_val" != "x$ac_new_val"; then
3364 # differences in whitespace do not lead to failure.
3365 ac_old_val_w=`echo x $ac_old_val`
3366 ac_new_val_w=`echo x $ac_new_val`
3367 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3370 ac_cache_corrupted=:
3371 else
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3374 eval $ac_var=\$ac_old_val
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3377 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3379 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3380 fi;;
3381 esac
3382 # Pass precious variables to config.status.
3383 if test "$ac_new_set" = set; then
3384 case $ac_new_val in
3385 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3386 *) ac_arg=$ac_var=$ac_new_val ;;
3387 esac
3388 case " $ac_configure_args " in
3389 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3390 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3391 esac
3393 done
3394 if $ac_cache_corrupted; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3399 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3401 ## -------------------- ##
3402 ## Main body of script. ##
3403 ## -------------------- ##
3405 ac_ext=c
3406 ac_cpp='$CPP $CPPFLAGS'
3407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3413 ac_config_headers="$ac_config_headers include/config.h"
3415 ac_aux_dir=
3416 for ac_dir in tools "$srcdir"/tools; do
3417 if test -f "$ac_dir/install-sh"; then
3418 ac_aux_dir=$ac_dir
3419 ac_install_sh="$ac_aux_dir/install-sh -c"
3420 break
3421 elif test -f "$ac_dir/install.sh"; then
3422 ac_aux_dir=$ac_dir
3423 ac_install_sh="$ac_aux_dir/install.sh -c"
3424 break
3425 elif test -f "$ac_dir/shtool"; then
3426 ac_aux_dir=$ac_dir
3427 ac_install_sh="$ac_aux_dir/shtool install -c"
3428 break
3430 done
3431 if test -z "$ac_aux_dir"; then
3432 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3435 # These three variables are undocumented and unsupported,
3436 # and are intended to be withdrawn in a future Autoconf release.
3437 # They can cause serious problems if a builder's source tree is in a directory
3438 # whose full name contains unusual characters.
3439 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3440 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3441 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3445 libwine_version="1.0"
3449 # Check whether --enable-win16 was given.
3450 if test "${enable_win16+set}" = set; then :
3451 enableval=$enable_win16;
3454 # Check whether --enable-win64 was given.
3455 if test "${enable_win64+set}" = set; then :
3456 enableval=$enable_win64;
3459 # Check whether --enable-tests was given.
3460 if test "${enable_tests+set}" = set; then :
3461 enableval=$enable_tests;
3464 # Check whether --enable-maintainer-mode was given.
3465 if test "${enable_maintainer_mode+set}" = set; then :
3466 enableval=$enable_maintainer_mode;
3471 # Check whether --with-alsa was given.
3472 if test "${with_alsa+set}" = set; then :
3473 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3477 # Check whether --with-capi was given.
3478 if test "${with_capi+set}" = set; then :
3479 withval=$with_capi;
3483 # Check whether --with-cms was given.
3484 if test "${with_cms+set}" = set; then :
3485 withval=$with_cms;
3489 # Check whether --with-coreaudio was given.
3490 if test "${with_coreaudio+set}" = set; then :
3491 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3495 # Check whether --with-cups was given.
3496 if test "${with_cups+set}" = set; then :
3497 withval=$with_cups;
3501 # Check whether --with-curses was given.
3502 if test "${with_curses+set}" = set; then :
3503 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3507 # Check whether --with-dbus was given.
3508 if test "${with_dbus+set}" = set; then :
3509 withval=$with_dbus;
3513 # Check whether --with-fontconfig was given.
3514 if test "${with_fontconfig+set}" = set; then :
3515 withval=$with_fontconfig;
3519 # Check whether --with-freetype was given.
3520 if test "${with_freetype+set}" = set; then :
3521 withval=$with_freetype;
3525 # Check whether --with-gettext was given.
3526 if test "${with_gettext+set}" = set; then :
3527 withval=$with_gettext;
3531 # Check whether --with-gettextpo was given.
3532 if test "${with_gettextpo+set}" = set; then :
3533 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3537 # Check whether --with-gphoto was given.
3538 if test "${with_gphoto+set}" = set; then :
3539 withval=$with_gphoto;
3543 # Check whether --with-glu was given.
3544 if test "${with_glu+set}" = set; then :
3545 withval=$with_glu;
3549 # Check whether --with-gnutls was given.
3550 if test "${with_gnutls+set}" = set; then :
3551 withval=$with_gnutls;
3555 # Check whether --with-gsm was given.
3556 if test "${with_gsm+set}" = set; then :
3557 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3561 # Check whether --with-gstreamer was given.
3562 if test "${with_gstreamer+set}" = set; then :
3563 withval=$with_gstreamer;
3567 # Check whether --with-hal was given.
3568 if test "${with_hal+set}" = set; then :
3569 withval=$with_hal;
3573 # Check whether --with-jpeg was given.
3574 if test "${with_jpeg+set}" = set; then :
3575 withval=$with_jpeg;
3579 # Check whether --with-ldap was given.
3580 if test "${with_ldap+set}" = set; then :
3581 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3585 # Check whether --with-mpg123 was given.
3586 if test "${with_mpg123+set}" = set; then :
3587 withval=$with_mpg123;
3591 # Check whether --with-netapi was given.
3592 if test "${with_netapi+set}" = set; then :
3593 withval=$with_netapi;
3597 # Check whether --with-openal was given.
3598 if test "${with_openal+set}" = set; then :
3599 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3603 # Check whether --with-opencl was given.
3604 if test "${with_opencl+set}" = set; then :
3605 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3609 # Check whether --with-opengl was given.
3610 if test "${with_opengl+set}" = set; then :
3611 withval=$with_opengl;
3615 # Check whether --with-osmesa was given.
3616 if test "${with_osmesa+set}" = set; then :
3617 withval=$with_osmesa;
3621 # Check whether --with-oss was given.
3622 if test "${with_oss+set}" = set; then :
3623 withval=$with_oss;
3627 # Check whether --with-pcap was given.
3628 if test "${with_pcap+set}" = set; then :
3629 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3633 # Check whether --with-png was given.
3634 if test "${with_png+set}" = set; then :
3635 withval=$with_png;
3639 # Check whether --with-pthread was given.
3640 if test "${with_pthread+set}" = set; then :
3641 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3645 # Check whether --with-pulse was given.
3646 if test "${with_pulse+set}" = set; then :
3647 withval=$with_pulse;
3651 # Check whether --with-sane was given.
3652 if test "${with_sane+set}" = set; then :
3653 withval=$with_sane;
3657 # Check whether --with-tiff was given.
3658 if test "${with_tiff+set}" = set; then :
3659 withval=$with_tiff;
3663 # Check whether --with-udev was given.
3664 if test "${with_udev+set}" = set; then :
3665 withval=$with_udev;
3669 # Check whether --with-v4l was given.
3670 if test "${with_v4l+set}" = set; then :
3671 withval=$with_v4l;
3675 # Check whether --with-xcomposite was given.
3676 if test "${with_xcomposite+set}" = set; then :
3677 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3681 # Check whether --with-xcursor was given.
3682 if test "${with_xcursor+set}" = set; then :
3683 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3687 # Check whether --with-xfixes was given.
3688 if test "${with_xfixes+set}" = set; then :
3689 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3693 # Check whether --with-xinerama was given.
3694 if test "${with_xinerama+set}" = set; then :
3695 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3699 # Check whether --with-xinput was given.
3700 if test "${with_xinput+set}" = set; then :
3701 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3705 # Check whether --with-xinput2 was given.
3706 if test "${with_xinput2+set}" = set; then :
3707 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3711 # Check whether --with-xml was given.
3712 if test "${with_xml+set}" = set; then :
3713 withval=$with_xml;
3717 # Check whether --with-xrandr was given.
3718 if test "${with_xrandr+set}" = set; then :
3719 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3723 # Check whether --with-xrender was given.
3724 if test "${with_xrender+set}" = set; then :
3725 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3729 # Check whether --with-xshape was given.
3730 if test "${with_xshape+set}" = set; then :
3731 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3735 # Check whether --with-xshm was given.
3736 if test "${with_xshm+set}" = set; then :
3737 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3741 # Check whether --with-xslt was given.
3742 if test "${with_xslt+set}" = set; then :
3743 withval=$with_xslt;
3747 # Check whether --with-xxf86vm was given.
3748 if test "${with_xxf86vm+set}" = set; then :
3749 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
3753 # Check whether --with-zlib was given.
3754 if test "${with_zlib+set}" = set; then :
3755 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3760 # Check whether --with-wine-tools was given.
3761 if test "${with_wine_tools+set}" = set; then :
3762 withval=$with_wine_tools;
3766 # Check whether --with-wine64 was given.
3767 if test "${with_wine64+set}" = set; then :
3768 withval=$with_wine64;
3772 # Make sure we can run config.sub.
3773 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3774 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3777 $as_echo_n "checking build system type... " >&6; }
3778 if ${ac_cv_build+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 ac_build_alias=$build_alias
3782 test "x$ac_build_alias" = x &&
3783 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3784 test "x$ac_build_alias" = x &&
3785 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3786 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3787 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3791 $as_echo "$ac_cv_build" >&6; }
3792 case $ac_cv_build in
3793 *-*-*) ;;
3794 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3795 esac
3796 build=$ac_cv_build
3797 ac_save_IFS=$IFS; IFS='-'
3798 set x $ac_cv_build
3799 shift
3800 build_cpu=$1
3801 build_vendor=$2
3802 shift; shift
3803 # Remember, the first character of IFS is used to create $*,
3804 # except with old shells:
3805 build_os=$*
3806 IFS=$ac_save_IFS
3807 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3811 $as_echo_n "checking host system type... " >&6; }
3812 if ${ac_cv_host+:} false; then :
3813 $as_echo_n "(cached) " >&6
3814 else
3815 if test "x$host_alias" = x; then
3816 ac_cv_host=$ac_cv_build
3817 else
3818 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3819 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3824 $as_echo "$ac_cv_host" >&6; }
3825 case $ac_cv_host in
3826 *-*-*) ;;
3827 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3828 esac
3829 host=$ac_cv_host
3830 ac_save_IFS=$IFS; IFS='-'
3831 set x $ac_cv_host
3832 shift
3833 host_cpu=$1
3834 host_vendor=$2
3835 shift; shift
3836 # Remember, the first character of IFS is used to create $*,
3837 # except with old shells:
3838 host_os=$*
3839 IFS=$ac_save_IFS
3840 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3844 case "$srcdir" in
3845 .) ;;
3846 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3847 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3848 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3849 fi ;;
3850 esac
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3854 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3855 set x ${MAKE-make}
3856 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3857 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3858 $as_echo_n "(cached) " >&6
3859 else
3860 cat >conftest.make <<\_ACEOF
3861 SHELL = /bin/sh
3862 all:
3863 @echo '@@@%%%=$(MAKE)=@@@%%%'
3864 _ACEOF
3865 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3866 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3867 *@@@%%%=?*=@@@%%%*)
3868 eval ac_cv_prog_make_${ac_make}_set=yes;;
3870 eval ac_cv_prog_make_${ac_make}_set=no;;
3871 esac
3872 rm -f conftest.make
3874 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3876 $as_echo "yes" >&6; }
3877 SET_MAKE=
3878 else
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3881 SET_MAKE="MAKE=${MAKE-make}"
3884 ac_ext=c
3885 ac_cpp='$CPP $CPPFLAGS'
3886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3891 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_CC+:} false; then :
3895 $as_echo_n "(cached) " >&6
3896 else
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC="$CC" # Let the user override the test.
3899 else
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 for as_dir in $PATH
3903 IFS=$as_save_IFS
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 break 2
3911 done
3912 done
3913 IFS=$as_save_IFS
3917 CC=$ac_cv_prog_CC
3918 if test -n "$CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920 $as_echo "$CC" >&6; }
3921 else
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3928 if test -z "$ac_cv_prog_CC"; then
3929 ac_ct_CC=$CC
3930 # Extract the first word of "gcc", so it can be a program name with args.
3931 set dummy gcc; ac_word=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3935 $as_echo_n "(cached) " >&6
3936 else
3937 if test -n "$ac_ct_CC"; then
3938 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3939 else
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 for as_dir in $PATH
3943 IFS=$as_save_IFS
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_CC="gcc"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 break 2
3951 done
3952 done
3953 IFS=$as_save_IFS
3957 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3958 if test -n "$ac_ct_CC"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3960 $as_echo "$ac_ct_CC" >&6; }
3961 else
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3966 if test "x$ac_ct_CC" = x; then
3967 CC=""
3968 else
3969 case $cross_compiling:$ac_tool_warned in
3970 yes:)
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3973 ac_tool_warned=yes ;;
3974 esac
3975 CC=$ac_ct_CC
3977 else
3978 CC="$ac_cv_prog_CC"
3981 if test -z "$CC"; then
3982 if test -n "$ac_tool_prefix"; then
3983 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3984 set dummy ${ac_tool_prefix}cc; ac_word=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if ${ac_cv_prog_CC+:} false; then :
3988 $as_echo_n "(cached) " >&6
3989 else
3990 if test -n "$CC"; then
3991 ac_cv_prog_CC="$CC" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_CC="${ac_tool_prefix}cc"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4006 IFS=$as_save_IFS
4010 CC=$ac_cv_prog_CC
4011 if test -n "$CC"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4013 $as_echo "$CC" >&6; }
4014 else
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4022 if test -z "$CC"; then
4023 # Extract the first word of "cc", so it can be a program name with args.
4024 set dummy cc; ac_word=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_CC+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 if test -n "$CC"; then
4031 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 else
4033 ac_prog_rejected=no
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4042 ac_prog_rejected=yes
4043 continue
4045 ac_cv_prog_CC="cc"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 break 2
4049 done
4050 done
4051 IFS=$as_save_IFS
4053 if test $ac_prog_rejected = yes; then
4054 # We found a bogon in the path, so make sure we never use it.
4055 set dummy $ac_cv_prog_CC
4056 shift
4057 if test $# != 0; then
4058 # We chose a different compiler from the bogus one.
4059 # However, it has the same basename, so the bogon will be chosen
4060 # first if we set CC to just the basename; use the full file name.
4061 shift
4062 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4067 CC=$ac_cv_prog_CC
4068 if test -n "$CC"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4070 $as_echo "$CC" >&6; }
4071 else
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4078 if test -z "$CC"; then
4079 if test -n "$ac_tool_prefix"; then
4080 for ac_prog in cl.exe
4082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if ${ac_cv_prog_CC+:} false; then :
4087 $as_echo_n "(cached) " >&6
4088 else
4089 if test -n "$CC"; then
4090 ac_cv_prog_CC="$CC" # Let the user override the test.
4091 else
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 for as_dir in $PATH
4095 IFS=$as_save_IFS
4096 test -z "$as_dir" && as_dir=.
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 break 2
4103 done
4104 done
4105 IFS=$as_save_IFS
4109 CC=$ac_cv_prog_CC
4110 if test -n "$CC"; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4112 $as_echo "$CC" >&6; }
4113 else
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 $as_echo "no" >&6; }
4119 test -n "$CC" && break
4120 done
4122 if test -z "$CC"; then
4123 ac_ct_CC=$CC
4124 for ac_prog in cl.exe
4126 # Extract the first word of "$ac_prog", so it can be a program name with args.
4127 set dummy $ac_prog; ac_word=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; }
4130 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 if test -n "$ac_ct_CC"; then
4134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4135 else
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH
4139 IFS=$as_save_IFS
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_prog_ac_ct_CC="$ac_prog"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 break 2
4147 done
4148 done
4149 IFS=$as_save_IFS
4153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4154 if test -n "$ac_ct_CC"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4156 $as_echo "$ac_ct_CC" >&6; }
4157 else
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4163 test -n "$ac_ct_CC" && break
4164 done
4166 if test "x$ac_ct_CC" = x; then
4167 CC=""
4168 else
4169 case $cross_compiling:$ac_tool_warned in
4170 yes:)
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4173 ac_tool_warned=yes ;;
4174 esac
4175 CC=$ac_ct_CC
4182 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4184 as_fn_error $? "no acceptable C compiler found in \$PATH
4185 See \`config.log' for more details" "$LINENO" 5; }
4187 # Provide some information about the compiler.
4188 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4189 set X $ac_compile
4190 ac_compiler=$2
4191 for ac_option in --version -v -V -qversion; do
4192 { { ac_try="$ac_compiler $ac_option >&5"
4193 case "(($ac_try" in
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4196 esac
4197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198 $as_echo "$ac_try_echo"; } >&5
4199 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4200 ac_status=$?
4201 if test -s conftest.err; then
4202 sed '10a\
4203 ... rest of stderr output deleted ...
4204 10q' conftest.err >conftest.er1
4205 cat conftest.er1 >&5
4207 rm -f conftest.er1 conftest.err
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; }
4210 done
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4216 main ()
4220 return 0;
4222 _ACEOF
4223 ac_clean_files_save=$ac_clean_files
4224 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4225 # Try to create an executable without -o first, disregard a.out.
4226 # It will help us diagnose broken compilers, and finding out an intuition
4227 # of exeext.
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4229 $as_echo_n "checking whether the C compiler works... " >&6; }
4230 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4232 # The possible output files:
4233 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4235 ac_rmfiles=
4236 for ac_file in $ac_files
4238 case $ac_file in
4239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4240 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4241 esac
4242 done
4243 rm -f $ac_rmfiles
4245 if { { ac_try="$ac_link_default"
4246 case "(($ac_try" in
4247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4248 *) ac_try_echo=$ac_try;;
4249 esac
4250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4251 $as_echo "$ac_try_echo"; } >&5
4252 (eval "$ac_link_default") 2>&5
4253 ac_status=$?
4254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4255 test $ac_status = 0; }; then :
4256 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4257 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4258 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4259 # so that the user can short-circuit this test for compilers unknown to
4260 # Autoconf.
4261 for ac_file in $ac_files ''
4263 test -f "$ac_file" || continue
4264 case $ac_file in
4265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4267 [ab].out )
4268 # We found the default executable, but exeext='' is most
4269 # certainly right.
4270 break;;
4271 *.* )
4272 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4273 then :; else
4274 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4276 # We set ac_cv_exeext here because the later test for it is not
4277 # safe: cross compilers may not add the suffix if given an `-o'
4278 # argument, so we may need to know it at that point already.
4279 # Even if this section looks crufty: it has the advantage of
4280 # actually working.
4281 break;;
4283 break;;
4284 esac
4285 done
4286 test "$ac_cv_exeext" = no && ac_cv_exeext=
4288 else
4289 ac_file=''
4291 if test -z "$ac_file"; then :
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4294 $as_echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4299 as_fn_error 77 "C compiler cannot create executables
4300 See \`config.log' for more details" "$LINENO" 5; }
4301 else
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4303 $as_echo "yes" >&6; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4306 $as_echo_n "checking for C compiler default output file name... " >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4308 $as_echo "$ac_file" >&6; }
4309 ac_exeext=$ac_cv_exeext
4311 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4312 ac_clean_files=$ac_clean_files_save
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4314 $as_echo_n "checking for suffix of executables... " >&6; }
4315 if { { ac_try="$ac_link"
4316 case "(($ac_try" in
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4319 esac
4320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321 $as_echo "$ac_try_echo"; } >&5
4322 (eval "$ac_link") 2>&5
4323 ac_status=$?
4324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4325 test $ac_status = 0; }; then :
4326 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4327 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4328 # work properly (i.e., refer to `conftest.exe'), while it won't with
4329 # `rm'.
4330 for ac_file in conftest.exe conftest conftest.*; do
4331 test -f "$ac_file" || continue
4332 case $ac_file in
4333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4334 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4335 break;;
4336 * ) break;;
4337 esac
4338 done
4339 else
4340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4342 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4343 See \`config.log' for more details" "$LINENO" 5; }
4345 rm -f conftest conftest$ac_cv_exeext
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4347 $as_echo "$ac_cv_exeext" >&6; }
4349 rm -f conftest.$ac_ext
4350 EXEEXT=$ac_cv_exeext
4351 ac_exeext=$EXEEXT
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4354 #include <stdio.h>
4356 main ()
4358 FILE *f = fopen ("conftest.out", "w");
4359 return ferror (f) || fclose (f) != 0;
4362 return 0;
4364 _ACEOF
4365 ac_clean_files="$ac_clean_files conftest.out"
4366 # Check that the compiler produces executables we can run. If not, either
4367 # the compiler is broken, or we cross compile.
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4369 $as_echo_n "checking whether we are cross compiling... " >&6; }
4370 if test "$cross_compiling" != yes; then
4371 { { ac_try="$ac_link"
4372 case "(($ac_try" in
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4375 esac
4376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4377 $as_echo "$ac_try_echo"; } >&5
4378 (eval "$ac_link") 2>&5
4379 ac_status=$?
4380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4381 test $ac_status = 0; }
4382 if { ac_try='./conftest$ac_cv_exeext'
4383 { { case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4386 esac
4387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4388 $as_echo "$ac_try_echo"; } >&5
4389 (eval "$ac_try") 2>&5
4390 ac_status=$?
4391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392 test $ac_status = 0; }; }; then
4393 cross_compiling=no
4394 else
4395 if test "$cross_compiling" = maybe; then
4396 cross_compiling=yes
4397 else
4398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4400 as_fn_error $? "cannot run C compiled programs.
4401 If you meant to cross compile, use \`--host'.
4402 See \`config.log' for more details" "$LINENO" 5; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4407 $as_echo "$cross_compiling" >&6; }
4409 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4410 ac_clean_files=$ac_clean_files_save
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4412 $as_echo_n "checking for suffix of object files... " >&6; }
4413 if ${ac_cv_objext+:} false; then :
4414 $as_echo_n "(cached) " >&6
4415 else
4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4420 main ()
4424 return 0;
4426 _ACEOF
4427 rm -f conftest.o conftest.obj
4428 if { { ac_try="$ac_compile"
4429 case "(($ac_try" in
4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4432 esac
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_compile") 2>&5
4436 ac_status=$?
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }; then :
4439 for ac_file in conftest.o conftest.obj conftest.*; do
4440 test -f "$ac_file" || continue;
4441 case $ac_file in
4442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4443 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4444 break;;
4445 esac
4446 done
4447 else
4448 $as_echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4453 as_fn_error $? "cannot compute suffix of object files: cannot compile
4454 See \`config.log' for more details" "$LINENO" 5; }
4456 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4459 $as_echo "$ac_cv_objext" >&6; }
4460 OBJEXT=$ac_cv_objext
4461 ac_objext=$OBJEXT
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4463 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4464 if ${ac_cv_c_compiler_gnu+:} false; then :
4465 $as_echo_n "(cached) " >&6
4466 else
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4471 main ()
4473 #ifndef __GNUC__
4474 choke me
4475 #endif
4478 return 0;
4480 _ACEOF
4481 if ac_fn_c_try_compile "$LINENO"; then :
4482 ac_compiler_gnu=yes
4483 else
4484 ac_compiler_gnu=no
4486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4491 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4492 if test $ac_compiler_gnu = yes; then
4493 GCC=yes
4494 else
4495 GCC=
4497 ac_test_CFLAGS=${CFLAGS+set}
4498 ac_save_CFLAGS=$CFLAGS
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4500 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4501 if ${ac_cv_prog_cc_g+:} false; then :
4502 $as_echo_n "(cached) " >&6
4503 else
4504 ac_save_c_werror_flag=$ac_c_werror_flag
4505 ac_c_werror_flag=yes
4506 ac_cv_prog_cc_g=no
4507 CFLAGS="-g"
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4512 main ()
4516 return 0;
4518 _ACEOF
4519 if ac_fn_c_try_compile "$LINENO"; then :
4520 ac_cv_prog_cc_g=yes
4521 else
4522 CFLAGS=""
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4527 main ()
4531 return 0;
4533 _ACEOF
4534 if ac_fn_c_try_compile "$LINENO"; then :
4536 else
4537 ac_c_werror_flag=$ac_save_c_werror_flag
4538 CFLAGS="-g"
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4547 return 0;
4549 _ACEOF
4550 if ac_fn_c_try_compile "$LINENO"; then :
4551 ac_cv_prog_cc_g=yes
4553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 ac_c_werror_flag=$ac_save_c_werror_flag
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4561 $as_echo "$ac_cv_prog_cc_g" >&6; }
4562 if test "$ac_test_CFLAGS" = set; then
4563 CFLAGS=$ac_save_CFLAGS
4564 elif test $ac_cv_prog_cc_g = yes; then
4565 if test "$GCC" = yes; then
4566 CFLAGS="-g -O2"
4567 else
4568 CFLAGS="-g"
4570 else
4571 if test "$GCC" = yes; then
4572 CFLAGS="-O2"
4573 else
4574 CFLAGS=
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4578 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4579 if ${ac_cv_prog_cc_c89+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 ac_cv_prog_cc_c89=no
4583 ac_save_CC=$CC
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4586 #include <stdarg.h>
4587 #include <stdio.h>
4588 struct stat;
4589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4590 struct buf { int x; };
4591 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4592 static char *e (p, i)
4593 char **p;
4594 int i;
4596 return p[i];
4598 static char *f (char * (*g) (char **, int), char **p, ...)
4600 char *s;
4601 va_list v;
4602 va_start (v,p);
4603 s = g (p, va_arg (v,int));
4604 va_end (v);
4605 return s;
4608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4609 function prototypes and stuff, but not '\xHH' hex character constants.
4610 These don't provoke an error unfortunately, instead are silently treated
4611 as 'x'. The following induces an error, until -std is added to get
4612 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4613 array size at least. It's necessary to write '\x00'==0 to get something
4614 that's true only with -std. */
4615 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4617 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4618 inside strings and character constants. */
4619 #define FOO(x) 'x'
4620 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4622 int test (int i, double x);
4623 struct s1 {int (*f) (int a);};
4624 struct s2 {int (*f) (double a);};
4625 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4626 int argc;
4627 char **argv;
4629 main ()
4631 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4633 return 0;
4635 _ACEOF
4636 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4637 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4639 CC="$ac_save_CC $ac_arg"
4640 if ac_fn_c_try_compile "$LINENO"; then :
4641 ac_cv_prog_cc_c89=$ac_arg
4643 rm -f core conftest.err conftest.$ac_objext
4644 test "x$ac_cv_prog_cc_c89" != "xno" && break
4645 done
4646 rm -f conftest.$ac_ext
4647 CC=$ac_save_CC
4650 # AC_CACHE_VAL
4651 case "x$ac_cv_prog_cc_c89" in
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4654 $as_echo "none needed" >&6; } ;;
4655 xno)
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4657 $as_echo "unsupported" >&6; } ;;
4659 CC="$CC $ac_cv_prog_cc_c89"
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4661 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4662 esac
4663 if test "x$ac_cv_prog_cc_c89" != xno; then :
4667 ac_ext=c
4668 ac_cpp='$CPP $CPPFLAGS'
4669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4673 ac_ext=cpp
4674 ac_cpp='$CXXCPP $CPPFLAGS'
4675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4678 if test -z "$CXX"; then
4679 if test -n "$CCC"; then
4680 CXX=$CCC
4681 else
4682 if test -n "$ac_tool_prefix"; then
4683 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4685 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if ${ac_cv_prog_CXX+:} false; then :
4690 $as_echo_n "(cached) " >&6
4691 else
4692 if test -n "$CXX"; then
4693 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4694 else
4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 for as_dir in $PATH
4698 IFS=$as_save_IFS
4699 test -z "$as_dir" && as_dir=.
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 break 2
4706 done
4707 done
4708 IFS=$as_save_IFS
4712 CXX=$ac_cv_prog_CXX
4713 if test -n "$CXX"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4715 $as_echo "$CXX" >&6; }
4716 else
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4722 test -n "$CXX" && break
4723 done
4725 if test -z "$CXX"; then
4726 ac_ct_CXX=$CXX
4727 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4729 # Extract the first word of "$ac_prog", so it can be a program name with args.
4730 set dummy $ac_prog; ac_word=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4734 $as_echo_n "(cached) " >&6
4735 else
4736 if test -n "$ac_ct_CXX"; then
4737 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4738 else
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH
4742 IFS=$as_save_IFS
4743 test -z "$as_dir" && as_dir=.
4744 for ac_exec_ext in '' $ac_executable_extensions; do
4745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4746 ac_cv_prog_ac_ct_CXX="$ac_prog"
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 break 2
4750 done
4751 done
4752 IFS=$as_save_IFS
4756 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4757 if test -n "$ac_ct_CXX"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4759 $as_echo "$ac_ct_CXX" >&6; }
4760 else
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4766 test -n "$ac_ct_CXX" && break
4767 done
4769 if test "x$ac_ct_CXX" = x; then
4770 CXX="g++"
4771 else
4772 case $cross_compiling:$ac_tool_warned in
4773 yes:)
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4776 ac_tool_warned=yes ;;
4777 esac
4778 CXX=$ac_ct_CXX
4784 # Provide some information about the compiler.
4785 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4786 set X $ac_compile
4787 ac_compiler=$2
4788 for ac_option in --version -v -V -qversion; do
4789 { { ac_try="$ac_compiler $ac_option >&5"
4790 case "(($ac_try" in
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4793 esac
4794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4795 $as_echo "$ac_try_echo"; } >&5
4796 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4797 ac_status=$?
4798 if test -s conftest.err; then
4799 sed '10a\
4800 ... rest of stderr output deleted ...
4801 10q' conftest.err >conftest.er1
4802 cat conftest.er1 >&5
4804 rm -f conftest.er1 conftest.err
4805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4806 test $ac_status = 0; }
4807 done
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4810 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4811 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4812 $as_echo_n "(cached) " >&6
4813 else
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4818 main ()
4820 #ifndef __GNUC__
4821 choke me
4822 #endif
4825 return 0;
4827 _ACEOF
4828 if ac_fn_cxx_try_compile "$LINENO"; then :
4829 ac_compiler_gnu=yes
4830 else
4831 ac_compiler_gnu=no
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4838 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4839 if test $ac_compiler_gnu = yes; then
4840 GXX=yes
4841 else
4842 GXX=
4844 ac_test_CXXFLAGS=${CXXFLAGS+set}
4845 ac_save_CXXFLAGS=$CXXFLAGS
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4847 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4848 if ${ac_cv_prog_cxx_g+:} false; then :
4849 $as_echo_n "(cached) " >&6
4850 else
4851 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4852 ac_cxx_werror_flag=yes
4853 ac_cv_prog_cxx_g=no
4854 CXXFLAGS="-g"
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4859 main ()
4863 return 0;
4865 _ACEOF
4866 if ac_fn_cxx_try_compile "$LINENO"; then :
4867 ac_cv_prog_cxx_g=yes
4868 else
4869 CXXFLAGS=""
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4874 main ()
4878 return 0;
4880 _ACEOF
4881 if ac_fn_cxx_try_compile "$LINENO"; then :
4883 else
4884 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4885 CXXFLAGS="-g"
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4890 main ()
4894 return 0;
4896 _ACEOF
4897 if ac_fn_cxx_try_compile "$LINENO"; then :
4898 ac_cv_prog_cxx_g=yes
4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4908 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4909 if test "$ac_test_CXXFLAGS" = set; then
4910 CXXFLAGS=$ac_save_CXXFLAGS
4911 elif test $ac_cv_prog_cxx_g = yes; then
4912 if test "$GXX" = yes; then
4913 CXXFLAGS="-g -O2"
4914 else
4915 CXXFLAGS="-g"
4917 else
4918 if test "$GXX" = yes; then
4919 CXXFLAGS="-O2"
4920 else
4921 CXXFLAGS=
4924 ac_ext=c
4925 ac_cpp='$CPP $CPPFLAGS'
4926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4932 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_CPPBIN+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 if test -n "$CPPBIN"; then
4939 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4940 else
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 for as_dir in $PATH
4944 IFS=$as_save_IFS
4945 test -z "$as_dir" && as_dir=.
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 CPPBIN=$ac_cv_prog_CPPBIN
4959 if test -n "$CPPBIN"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4961 $as_echo "$CPPBIN" >&6; }
4962 else
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4969 if test -z "$ac_cv_prog_CPPBIN"; then
4970 ac_ct_CPPBIN=$CPPBIN
4971 # Extract the first word of "cpp", so it can be a program name with args.
4972 set dummy cpp; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 if test -n "$ac_ct_CPPBIN"; then
4979 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_ac_ct_CPPBIN="cpp"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4999 if test -n "$ac_ct_CPPBIN"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5001 $as_echo "$ac_ct_CPPBIN" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5007 if test "x$ac_ct_CPPBIN" = x; then
5008 CPPBIN="cpp"
5009 else
5010 case $cross_compiling:$ac_tool_warned in
5011 yes:)
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5015 esac
5016 CPPBIN=$ac_ct_CPPBIN
5018 else
5019 CPPBIN="$ac_cv_prog_CPPBIN"
5023 cat >>confdefs.h <<_ACEOF
5024 #define EXEEXT "$ac_exeext"
5025 _ACEOF
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ld; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_LD+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$LD"; then
5036 ac_cv_prog_LD="$LD" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_LD="${ac_tool_prefix}ld"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 LD=$ac_cv_prog_LD
5056 if test -n "$LD"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5058 $as_echo "$LD" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_LD"; then
5067 ac_ct_LD=$LD
5068 # Extract the first word of "ld", so it can be a program name with args.
5069 set dummy ld; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_LD"; then
5076 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_ac_ct_LD="ld"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5096 if test -n "$ac_ct_LD"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5098 $as_echo "$ac_ct_LD" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_LD" = x; then
5105 LD=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 LD=$ac_ct_LD
5115 else
5116 LD="$ac_cv_prog_LD"
5120 case $host in
5121 *-darwin*)
5122 with_fontconfig=${with_fontconfig:-no}
5124 *-mingw32*|*-cygwin*)
5125 enable_win16=${enable_win16:-no}
5126 CFLAGS="$CFLAGS -D_WIN32"
5128 esac
5130 case $host in
5131 x86_64*|amd64*)
5132 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5133 then
5134 CC="$CC -m32"
5135 CXX="$CXX -m32"
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5137 $as_echo_n "checking whether $CC works... " >&6; }
5139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5140 /* end confdefs.h. */
5143 main ()
5147 return 0;
5149 _ACEOF
5150 if ac_fn_c_try_link "$LINENO"; then :
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 $as_echo "yes" >&6; }
5153 else
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5156 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5158 rm -f core conftest.err conftest.$ac_objext \
5159 conftest$ac_exeext conftest.$ac_ext
5160 host_cpu="i386"
5161 notice_platform="32-bit "
5162 TARGETFLAGS="-m32"
5164 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5165 export PKG_CONFIG_PATH
5166 enable_win16=${enable_win16:-yes}
5167 else
5168 if test "x${GCC}" = "xyes"
5169 then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5171 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5174 #include <stdarg.h>
5176 main ()
5178 void func(__builtin_ms_va_list *args);
5180 return 0;
5182 _ACEOF
5183 if ac_fn_c_try_compile "$LINENO"; then :
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5185 $as_echo "yes" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5189 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5193 CC="$CC -m64"
5194 CXX="$CXX -m64"
5195 host_cpu="x86_64"
5196 notice_platform="64-bit "
5197 TARGETFLAGS="-m64"
5201 arm*)
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5203 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5206 int ac_test(int i) { return i; }
5208 main ()
5210 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5212 return 0;
5214 _ACEOF
5215 if ac_fn_c_try_link "$LINENO"; then :
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5217 $as_echo "yes" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5221 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5223 rm -f core conftest.err conftest.$ac_objext \
5224 conftest$ac_exeext conftest.$ac_ext
5225 CFLAGS="$CFLAGS -marm"
5226 TARGETFLAGS="-marm"
5229 i[3456789]86*)
5230 enable_win16=${enable_win16:-yes}
5232 esac
5234 enable_win16=${enable_win16:-no}
5235 enable_win64=${enable_win64:-no}
5237 enable_winetest=${enable_winetest:-$enable_tests}
5239 if test -n "$with_wine64"
5240 then
5241 if test "x$enable_win64" = "xyes"
5242 then
5243 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5244 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5246 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5247 You should create a separate build directory and run configure from there." "$LINENO" 5
5248 enable_fonts=${enable_fonts:-no}
5249 enable_server=${enable_server:-no}
5250 elif test "x$enable_win64" = "xyes"
5251 then
5252 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5256 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5257 if ${wine_cv_toolsdir+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 wine_cv_toolsdir="$with_wine_tools"
5261 if test -z "$with_wine_tools"; then
5262 if test "$cross_compiling" = "yes"; then
5263 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5264 elif test -n "$with_wine64"; then
5265 wine_cv_toolsdir="$with_wine64"
5268 if test -z "$wine_cv_toolsdir"; then
5269 wine_makedep=tools/makedep
5270 wine_cv_toolsdir="\$(top_builddir)"
5271 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5272 wine_makedep=$wine_cv_toolsdir/tools/makedep
5273 case "$wine_cv_toolsdir" in
5274 /*) ;;
5275 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5276 esac
5277 enable_tools=${enable_tools:-no}
5278 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5279 else
5280 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5284 $as_echo "$wine_cv_toolsdir" >&6; }
5285 TOOLSDIR=$wine_cv_toolsdir
5287 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5288 then
5289 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5293 for ac_prog in flex
5295 # Extract the first word of "$ac_prog", so it can be a program name with args.
5296 set dummy $ac_prog; ac_word=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if ${ac_cv_prog_FLEX+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 if test -n "$FLEX"; then
5303 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_FLEX="$ac_prog"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 FLEX=$ac_cv_prog_FLEX
5323 if test -n "$FLEX"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5325 $as_echo "$FLEX" >&6; }
5326 else
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 test -n "$FLEX" && break
5333 done
5334 test -n "$FLEX" || FLEX="none"
5336 if test "$FLEX" = "none"
5337 then
5338 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5341 $as_echo_n "checking whether flex is recent enough... " >&6; }
5342 cat >conftest.l <<EOF
5343 %top{
5344 #include "prediluvian.h"
5348 if $FLEX -t conftest.l >/dev/null 2>&5
5349 then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351 $as_echo "yes" >&6; }
5352 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5355 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5358 for ac_prog in bison
5360 # Extract the first word of "$ac_prog", so it can be a program name with args.
5361 set dummy $ac_prog; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_BISON+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$BISON"; then
5368 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_BISON="$ac_prog"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 BISON=$ac_cv_prog_BISON
5388 if test -n "$BISON"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5390 $as_echo "$BISON" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5397 test -n "$BISON" && break
5398 done
5399 test -n "$BISON" || BISON="none"
5401 if test "$BISON" = "none"
5402 then
5403 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5406 if test -n "$ac_tool_prefix"; then
5407 for ac_prog in ar gar
5409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_AR+:} false; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 if test -n "$AR"; then
5417 ac_cv_prog_AR="$AR" # Let the user override the test.
5418 else
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH
5422 IFS=$as_save_IFS
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428 break 2
5430 done
5431 done
5432 IFS=$as_save_IFS
5436 AR=$ac_cv_prog_AR
5437 if test -n "$AR"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5439 $as_echo "$AR" >&6; }
5440 else
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 test -n "$AR" && break
5447 done
5449 if test -z "$AR"; then
5450 ac_ct_AR=$AR
5451 for ac_prog in ar gar
5453 # Extract the first word of "$ac_prog", so it can be a program name with args.
5454 set dummy $ac_prog; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5458 $as_echo_n "(cached) " >&6
5459 else
5460 if test -n "$ac_ct_AR"; then
5461 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_ac_ct_AR="$ac_prog"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5480 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5481 if test -n "$ac_ct_AR"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5483 $as_echo "$ac_ct_AR" >&6; }
5484 else
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5490 test -n "$ac_ct_AR" && break
5491 done
5493 if test "x$ac_ct_AR" = x; then
5494 AR="ar"
5495 else
5496 case $cross_compiling:$ac_tool_warned in
5497 yes:)
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5500 ac_tool_warned=yes ;;
5501 esac
5502 AR=$ac_ct_AR
5506 if test -n "$ac_tool_prefix"; then
5507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5508 set dummy ${ac_tool_prefix}strip; ac_word=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_STRIP+:} false; then :
5512 $as_echo_n "(cached) " >&6
5513 else
5514 if test -n "$STRIP"; then
5515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5516 else
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 for as_dir in $PATH
5520 IFS=$as_save_IFS
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 break 2
5528 done
5529 done
5530 IFS=$as_save_IFS
5534 STRIP=$ac_cv_prog_STRIP
5535 if test -n "$STRIP"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5537 $as_echo "$STRIP" >&6; }
5538 else
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5545 if test -z "$ac_cv_prog_STRIP"; then
5546 ac_ct_STRIP=$STRIP
5547 # Extract the first word of "strip", so it can be a program name with args.
5548 set dummy strip; ac_word=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5552 $as_echo_n "(cached) " >&6
5553 else
5554 if test -n "$ac_ct_STRIP"; then
5555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5556 else
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 for as_dir in $PATH
5560 IFS=$as_save_IFS
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_ac_ct_STRIP="strip"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 break 2
5568 done
5569 done
5570 IFS=$as_save_IFS
5574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5575 if test -n "$ac_ct_STRIP"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5577 $as_echo "$ac_ct_STRIP" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5583 if test "x$ac_ct_STRIP" = x; then
5584 STRIP="strip"
5585 else
5586 case $cross_compiling:$ac_tool_warned in
5587 yes:)
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5590 ac_tool_warned=yes ;;
5591 esac
5592 STRIP=$ac_ct_STRIP
5594 else
5595 STRIP="$ac_cv_prog_STRIP"
5598 ARFLAGS=rc
5600 if test -n "$ac_tool_prefix"; then
5601 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5602 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_RANLIB+:} false; then :
5606 $as_echo_n "(cached) " >&6
5607 else
5608 if test -n "$RANLIB"; then
5609 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5610 else
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH
5614 IFS=$as_save_IFS
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 break 2
5622 done
5623 done
5624 IFS=$as_save_IFS
5628 RANLIB=$ac_cv_prog_RANLIB
5629 if test -n "$RANLIB"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5631 $as_echo "$RANLIB" >&6; }
5632 else
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5639 if test -z "$ac_cv_prog_RANLIB"; then
5640 ac_ct_RANLIB=$RANLIB
5641 # Extract the first word of "ranlib", so it can be a program name with args.
5642 set dummy ranlib; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 if test -n "$ac_ct_RANLIB"; then
5649 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_ac_ct_RANLIB="ranlib"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5669 if test -n "$ac_ct_RANLIB"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5671 $as_echo "$ac_ct_RANLIB" >&6; }
5672 else
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5677 if test "x$ac_ct_RANLIB" = x; then
5678 RANLIB=":"
5679 else
5680 case $cross_compiling:$ac_tool_warned in
5681 yes:)
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5684 ac_tool_warned=yes ;;
5685 esac
5686 RANLIB=$ac_ct_RANLIB
5688 else
5689 RANLIB="$ac_cv_prog_RANLIB"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5693 $as_echo_n "checking whether ln -s works... " >&6; }
5694 LN_S=$as_ln_s
5695 if test "$LN_S" = "ln -s"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5697 $as_echo "yes" >&6; }
5698 else
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5700 $as_echo "no, using $LN_S" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5704 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5705 if ${ac_cv_path_GREP+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 if test -z "$GREP"; then
5709 ac_path_GREP_found=false
5710 # Loop through the user's path and test for each of PROGNAME-LIST
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5714 IFS=$as_save_IFS
5715 test -z "$as_dir" && as_dir=.
5716 for ac_prog in grep ggrep; do
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5719 as_fn_executable_p "$ac_path_GREP" || continue
5720 # Check for GNU ac_path_GREP and select it if it is found.
5721 # Check for GNU $ac_path_GREP
5722 case `"$ac_path_GREP" --version 2>&1` in
5723 *GNU*)
5724 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5726 ac_count=0
5727 $as_echo_n 0123456789 >"conftest.in"
5728 while :
5730 cat "conftest.in" "conftest.in" >"conftest.tmp"
5731 mv "conftest.tmp" "conftest.in"
5732 cp "conftest.in" "conftest.nl"
5733 $as_echo 'GREP' >> "conftest.nl"
5734 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5735 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5736 as_fn_arith $ac_count + 1 && ac_count=$as_val
5737 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5738 # Best one so far, save it but keep looking for a better one
5739 ac_cv_path_GREP="$ac_path_GREP"
5740 ac_path_GREP_max=$ac_count
5742 # 10*(2^10) chars as input seems more than enough
5743 test $ac_count -gt 10 && break
5744 done
5745 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5746 esac
5748 $ac_path_GREP_found && break 3
5749 done
5750 done
5751 done
5752 IFS=$as_save_IFS
5753 if test -z "$ac_cv_path_GREP"; then
5754 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5756 else
5757 ac_cv_path_GREP=$GREP
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5762 $as_echo "$ac_cv_path_GREP" >&6; }
5763 GREP="$ac_cv_path_GREP"
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5767 $as_echo_n "checking for egrep... " >&6; }
5768 if ${ac_cv_path_EGREP+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5772 then ac_cv_path_EGREP="$GREP -E"
5773 else
5774 if test -z "$EGREP"; then
5775 ac_path_EGREP_found=false
5776 # Loop through the user's path and test for each of PROGNAME-LIST
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5780 IFS=$as_save_IFS
5781 test -z "$as_dir" && as_dir=.
5782 for ac_prog in egrep; do
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5785 as_fn_executable_p "$ac_path_EGREP" || continue
5786 # Check for GNU ac_path_EGREP and select it if it is found.
5787 # Check for GNU $ac_path_EGREP
5788 case `"$ac_path_EGREP" --version 2>&1` in
5789 *GNU*)
5790 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5792 ac_count=0
5793 $as_echo_n 0123456789 >"conftest.in"
5794 while :
5796 cat "conftest.in" "conftest.in" >"conftest.tmp"
5797 mv "conftest.tmp" "conftest.in"
5798 cp "conftest.in" "conftest.nl"
5799 $as_echo 'EGREP' >> "conftest.nl"
5800 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5801 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5802 as_fn_arith $ac_count + 1 && ac_count=$as_val
5803 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5804 # Best one so far, save it but keep looking for a better one
5805 ac_cv_path_EGREP="$ac_path_EGREP"
5806 ac_path_EGREP_max=$ac_count
5808 # 10*(2^10) chars as input seems more than enough
5809 test $ac_count -gt 10 && break
5810 done
5811 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5812 esac
5814 $ac_path_EGREP_found && break 3
5815 done
5816 done
5817 done
5818 IFS=$as_save_IFS
5819 if test -z "$ac_cv_path_EGREP"; then
5820 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5822 else
5823 ac_cv_path_EGREP=$EGREP
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5829 $as_echo "$ac_cv_path_EGREP" >&6; }
5830 EGREP="$ac_cv_path_EGREP"
5833 # Extract the first word of "ldconfig", so it can be a program name with args.
5834 set dummy ldconfig; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_path_LDCONFIG+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 case $LDCONFIG in
5841 [\\/]* | ?:[\\/]*)
5842 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in /sbin /usr/sbin $PATH
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5856 done
5857 done
5858 IFS=$as_save_IFS
5860 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5862 esac
5864 LDCONFIG=$ac_cv_path_LDCONFIG
5865 if test -n "$LDCONFIG"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5867 $as_echo "$LDCONFIG" >&6; }
5868 else
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5874 for ac_prog in msgfmt
5876 # Extract the first word of "$ac_prog", so it can be a program name with args.
5877 set dummy $ac_prog; ac_word=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_prog_MSGFMT+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 if test -n "$MSGFMT"; then
5884 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5885 else
5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 for as_dir in $PATH
5889 IFS=$as_save_IFS
5890 test -z "$as_dir" && as_dir=.
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_MSGFMT="$ac_prog"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 break 2
5897 done
5898 done
5899 IFS=$as_save_IFS
5903 MSGFMT=$ac_cv_prog_MSGFMT
5904 if test -n "$MSGFMT"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5906 $as_echo "$MSGFMT" >&6; }
5907 else
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5913 test -n "$MSGFMT" && break
5914 done
5915 test -n "$MSGFMT" || MSGFMT="false"
5917 if ${ac_tool_prefix+:} false; then :
5918 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5919 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5923 $as_echo_n "(cached) " >&6
5924 else
5925 if test -n "$PKG_CONFIG"; then
5926 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5935 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 break 2
5939 done
5940 done
5941 IFS=$as_save_IFS
5945 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5946 if test -n "$PKG_CONFIG"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5948 $as_echo "$PKG_CONFIG" >&6; }
5949 else
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5956 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5957 if test "x$cross_compiling" = xyes; then :
5959 else
5960 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5961 # Extract the first word of "pkg-config", so it can be a program name with args.
5962 set dummy pkg-config; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 if test -n "$PKG_CONFIG"; then
5969 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 test -z "$as_dir" && as_dir=.
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_PKG_CONFIG="pkg-config"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 break 2
5982 done
5983 done
5984 IFS=$as_save_IFS
5988 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5989 if test -n "$PKG_CONFIG"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5991 $as_echo "$PKG_CONFIG" >&6; }
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5999 else
6000 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6003 if test "x$enable_maintainer_mode" != "xyes"
6004 then
6005 FONTFORGE=""
6006 RSVG=""
6007 CONVERT=""
6008 ICOTOOL=""
6009 else
6010 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6011 for ac_prog in fontforge
6013 # Extract the first word of "$ac_prog", so it can be a program name with args.
6014 set dummy $ac_prog; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_FONTFORGE+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 if test -n "$FONTFORGE"; then
6021 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_FONTFORGE="$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 FONTFORGE=$ac_cv_prog_FONTFORGE
6041 if test -n "$FONTFORGE"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6043 $as_echo "$FONTFORGE" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$FONTFORGE" && break
6051 done
6052 test -n "$FONTFORGE" || FONTFORGE="false"
6054 for ac_prog in rsvg-convert rsvg
6056 # Extract the first word of "$ac_prog", so it can be a program name with args.
6057 set dummy $ac_prog; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_RSVG+:} false; then :
6061 $as_echo_n "(cached) " >&6
6062 else
6063 if test -n "$RSVG"; then
6064 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6065 else
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_RSVG="$ac_prog"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 break 2
6077 done
6078 done
6079 IFS=$as_save_IFS
6083 RSVG=$ac_cv_prog_RSVG
6084 if test -n "$RSVG"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6086 $as_echo "$RSVG" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6093 test -n "$RSVG" && break
6094 done
6095 test -n "$RSVG" || RSVG="false"
6097 for ac_prog in convert
6099 # Extract the first word of "$ac_prog", so it can be a program name with args.
6100 set dummy $ac_prog; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_CONVERT+:} false; then :
6104 $as_echo_n "(cached) " >&6
6105 else
6106 if test -n "$CONVERT"; then
6107 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6112 IFS=$as_save_IFS
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_CONVERT="$ac_prog"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 break 2
6120 done
6121 done
6122 IFS=$as_save_IFS
6126 CONVERT=$ac_cv_prog_CONVERT
6127 if test -n "$CONVERT"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6129 $as_echo "$CONVERT" >&6; }
6130 else
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6136 test -n "$CONVERT" && break
6137 done
6138 test -n "$CONVERT" || CONVERT="false"
6140 for ac_prog in icotool
6142 # Extract the first word of "$ac_prog", so it can be a program name with args.
6143 set dummy $ac_prog; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_ICOTOOL+:} false; then :
6147 $as_echo_n "(cached) " >&6
6148 else
6149 if test -n "$ICOTOOL"; then
6150 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6155 IFS=$as_save_IFS
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_ICOTOOL="$ac_prog"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 break 2
6163 done
6164 done
6165 IFS=$as_save_IFS
6169 ICOTOOL=$ac_cv_prog_ICOTOOL
6170 if test -n "$ICOTOOL"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6172 $as_echo "$ICOTOOL" >&6; }
6173 else
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6179 test -n "$ICOTOOL" && break
6180 done
6181 test -n "$ICOTOOL" || ICOTOOL="false"
6183 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6184 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6186 if test "$CONVERT" = false
6187 then
6188 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6191 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6192 convert_version=`convert --version | head -n1`
6193 if test "x$convert_version" != "x"
6194 then
6195 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6196 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6197 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6198 then
6199 CONVERT=false
6202 if test "$CONVERT" = false
6203 then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6205 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6206 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6207 else
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6209 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6213 if test "$ICOTOOL" = false
6214 then
6215 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6216 else
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6218 $as_echo_n "checking for recent enough icotool... " >&6; }
6219 icotool_version=`icotool --version | head -n1`
6220 if test "x$icotool_version" != "x"
6221 then
6222 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6223 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6224 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6225 then
6226 ICOTOOL=false
6227 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6230 if test "$ICOTOOL" = false
6231 then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6233 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6234 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6237 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6241 with_gettext=yes
6242 with_gettextpo=yes
6243 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6246 test "x$with_gettext" != xno || MSGFMT=false
6247 if test "$MSGFMT" != "false"
6248 then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6250 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6251 cat >conftest.po <<EOF
6252 # comment
6253 msgctxt "ctxt"
6254 msgid "id"
6255 msgstr "str"
6257 if $MSGFMT -o /dev/null conftest.po 2>&5
6258 then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6260 $as_echo "yes" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6264 MSGFMT=false
6267 if test "$MSGFMT" = false; then :
6268 case "x$with_gettext" in
6269 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6270 xno) ;;
6271 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6272 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6273 esac
6274 enable_po=${enable_po:-no}
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6279 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6280 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6281 $as_echo_n "(cached) " >&6
6282 else
6283 ac_check_lib_save_LIBS=$LIBS
6284 LIBS="-li386 $LIBS"
6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6288 /* Override any GCC internal prototype to avoid an error.
6289 Use char because int might match the return type of a GCC
6290 builtin and then its argument prototype would still apply. */
6291 #ifdef __cplusplus
6292 extern "C"
6293 #endif
6294 char i386_set_ldt ();
6296 main ()
6298 return i386_set_ldt ();
6300 return 0;
6302 _ACEOF
6303 if ac_fn_c_try_link "$LINENO"; then :
6304 ac_cv_lib_i386_i386_set_ldt=yes
6305 else
6306 ac_cv_lib_i386_i386_set_ldt=no
6308 rm -f core conftest.err conftest.$ac_objext \
6309 conftest$ac_exeext conftest.$ac_ext
6310 LIBS=$ac_check_lib_save_LIBS
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6313 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6314 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6315 cat >>confdefs.h <<_ACEOF
6316 #define HAVE_LIBI386 1
6317 _ACEOF
6319 LIBS="-li386 $LIBS"
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6324 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6325 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 ac_check_lib_save_LIBS=$LIBS
6329 LIBS="-lossaudio $LIBS"
6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char _oss_ioctl ();
6341 main ()
6343 return _oss_ioctl ();
6345 return 0;
6347 _ACEOF
6348 if ac_fn_c_try_link "$LINENO"; then :
6349 ac_cv_lib_ossaudio__oss_ioctl=yes
6350 else
6351 ac_cv_lib_ossaudio__oss_ioctl=no
6353 rm -f core conftest.err conftest.$ac_objext \
6354 conftest$ac_exeext conftest.$ac_ext
6355 LIBS=$ac_check_lib_save_LIBS
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6358 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6359 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6360 cat >>confdefs.h <<_ACEOF
6361 #define HAVE_LIBOSSAUDIO 1
6362 _ACEOF
6364 LIBS="-lossaudio $LIBS"
6369 OPENGL_LIBS=""
6373 # Check whether --enable-largefile was given.
6374 if test "${enable_largefile+set}" = set; then :
6375 enableval=$enable_largefile;
6378 if test "$enable_largefile" != no; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6381 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6382 if ${ac_cv_sys_largefile_CC+:} false; then :
6383 $as_echo_n "(cached) " >&6
6384 else
6385 ac_cv_sys_largefile_CC=no
6386 if test "$GCC" != yes; then
6387 ac_save_CC=$CC
6388 while :; do
6389 # IRIX 6.2 and later do not support large files by default,
6390 # so use the C compiler's -n32 option if that helps.
6391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h. */
6393 #include <sys/types.h>
6394 /* Check that off_t can represent 2**63 - 1 correctly.
6395 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6396 since some C++ compilers masquerading as C compilers
6397 incorrectly reject 9223372036854775807. */
6398 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6399 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6400 && LARGE_OFF_T % 2147483647 == 1)
6401 ? 1 : -1];
6403 main ()
6407 return 0;
6409 _ACEOF
6410 if ac_fn_c_try_compile "$LINENO"; then :
6411 break
6413 rm -f core conftest.err conftest.$ac_objext
6414 CC="$CC -n32"
6415 if ac_fn_c_try_compile "$LINENO"; then :
6416 ac_cv_sys_largefile_CC=' -n32'; break
6418 rm -f core conftest.err conftest.$ac_objext
6419 break
6420 done
6421 CC=$ac_save_CC
6422 rm -f conftest.$ac_ext
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6426 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6427 if test "$ac_cv_sys_largefile_CC" != no; then
6428 CC=$CC$ac_cv_sys_largefile_CC
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6432 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6433 if ${ac_cv_sys_file_offset_bits+:} false; then :
6434 $as_echo_n "(cached) " >&6
6435 else
6436 while :; do
6437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6439 #include <sys/types.h>
6440 /* Check that off_t can represent 2**63 - 1 correctly.
6441 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6442 since some C++ compilers masquerading as C compilers
6443 incorrectly reject 9223372036854775807. */
6444 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6445 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6446 && LARGE_OFF_T % 2147483647 == 1)
6447 ? 1 : -1];
6449 main ()
6453 return 0;
6455 _ACEOF
6456 if ac_fn_c_try_compile "$LINENO"; then :
6457 ac_cv_sys_file_offset_bits=no; break
6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6462 #define _FILE_OFFSET_BITS 64
6463 #include <sys/types.h>
6464 /* Check that off_t can represent 2**63 - 1 correctly.
6465 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6466 since some C++ compilers masquerading as C compilers
6467 incorrectly reject 9223372036854775807. */
6468 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6469 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6470 && LARGE_OFF_T % 2147483647 == 1)
6471 ? 1 : -1];
6473 main ()
6477 return 0;
6479 _ACEOF
6480 if ac_fn_c_try_compile "$LINENO"; then :
6481 ac_cv_sys_file_offset_bits=64; break
6483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6484 ac_cv_sys_file_offset_bits=unknown
6485 break
6486 done
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6489 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6490 case $ac_cv_sys_file_offset_bits in #(
6491 no | unknown) ;;
6493 cat >>confdefs.h <<_ACEOF
6494 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6495 _ACEOF
6497 esac
6498 rm -rf conftest*
6499 if test $ac_cv_sys_file_offset_bits = unknown; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6501 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6502 if ${ac_cv_sys_large_files+:} false; then :
6503 $as_echo_n "(cached) " >&6
6504 else
6505 while :; do
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 #include <sys/types.h>
6509 /* Check that off_t can represent 2**63 - 1 correctly.
6510 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6511 since some C++ compilers masquerading as C compilers
6512 incorrectly reject 9223372036854775807. */
6513 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6514 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6515 && LARGE_OFF_T % 2147483647 == 1)
6516 ? 1 : -1];
6518 main ()
6522 return 0;
6524 _ACEOF
6525 if ac_fn_c_try_compile "$LINENO"; then :
6526 ac_cv_sys_large_files=no; break
6528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #define _LARGE_FILES 1
6532 #include <sys/types.h>
6533 /* Check that off_t can represent 2**63 - 1 correctly.
6534 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6535 since some C++ compilers masquerading as C compilers
6536 incorrectly reject 9223372036854775807. */
6537 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6538 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6539 && LARGE_OFF_T % 2147483647 == 1)
6540 ? 1 : -1];
6542 main ()
6546 return 0;
6548 _ACEOF
6549 if ac_fn_c_try_compile "$LINENO"; then :
6550 ac_cv_sys_large_files=1; break
6552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6553 ac_cv_sys_large_files=unknown
6554 break
6555 done
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6558 $as_echo "$ac_cv_sys_large_files" >&6; }
6559 case $ac_cv_sys_large_files in #(
6560 no | unknown) ;;
6562 cat >>confdefs.h <<_ACEOF
6563 #define _LARGE_FILES $ac_cv_sys_large_files
6564 _ACEOF
6566 esac
6567 rm -rf conftest*
6574 ac_ext=c
6575 ac_cpp='$CPP $CPPFLAGS'
6576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6580 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6581 # On Suns, sometimes $CPP names a directory.
6582 if test -n "$CPP" && test -d "$CPP"; then
6583 CPP=
6585 if test -z "$CPP"; then
6586 if ${ac_cv_prog_CPP+:} false; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 # Double quotes because CPP needs to be expanded
6590 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6592 ac_preproc_ok=false
6593 for ac_c_preproc_warn_flag in '' yes
6595 # Use a header file that comes with gcc, so configuring glibc
6596 # with a fresh cross-compiler works.
6597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6598 # <limits.h> exists even on freestanding compilers.
6599 # On the NeXT, cc -E runs the code through the compiler's parser,
6600 # not just through cpp. "Syntax error" is here to catch this case.
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #ifdef __STDC__
6604 # include <limits.h>
6605 #else
6606 # include <assert.h>
6607 #endif
6608 Syntax error
6609 _ACEOF
6610 if ac_fn_c_try_cpp "$LINENO"; then :
6612 else
6613 # Broken: fails on valid input.
6614 continue
6616 rm -f conftest.err conftest.i conftest.$ac_ext
6618 # OK, works on sane cases. Now check whether nonexistent headers
6619 # can be detected and how.
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6622 #include <ac_nonexistent.h>
6623 _ACEOF
6624 if ac_fn_c_try_cpp "$LINENO"; then :
6625 # Broken: success on invalid input.
6626 continue
6627 else
6628 # Passes both tests.
6629 ac_preproc_ok=:
6630 break
6632 rm -f conftest.err conftest.i conftest.$ac_ext
6634 done
6635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6636 rm -f conftest.i conftest.err conftest.$ac_ext
6637 if $ac_preproc_ok; then :
6638 break
6641 done
6642 ac_cv_prog_CPP=$CPP
6645 CPP=$ac_cv_prog_CPP
6646 else
6647 ac_cv_prog_CPP=$CPP
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6650 $as_echo "$CPP" >&6; }
6651 ac_preproc_ok=false
6652 for ac_c_preproc_warn_flag in '' yes
6654 # Use a header file that comes with gcc, so configuring glibc
6655 # with a fresh cross-compiler works.
6656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6657 # <limits.h> exists even on freestanding compilers.
6658 # On the NeXT, cc -E runs the code through the compiler's parser,
6659 # not just through cpp. "Syntax error" is here to catch this case.
6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 #ifdef __STDC__
6663 # include <limits.h>
6664 #else
6665 # include <assert.h>
6666 #endif
6667 Syntax error
6668 _ACEOF
6669 if ac_fn_c_try_cpp "$LINENO"; then :
6671 else
6672 # Broken: fails on valid input.
6673 continue
6675 rm -f conftest.err conftest.i conftest.$ac_ext
6677 # OK, works on sane cases. Now check whether nonexistent headers
6678 # can be detected and how.
6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6681 #include <ac_nonexistent.h>
6682 _ACEOF
6683 if ac_fn_c_try_cpp "$LINENO"; then :
6684 # Broken: success on invalid input.
6685 continue
6686 else
6687 # Passes both tests.
6688 ac_preproc_ok=:
6689 break
6691 rm -f conftest.err conftest.i conftest.$ac_ext
6693 done
6694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6695 rm -f conftest.i conftest.err conftest.$ac_ext
6696 if $ac_preproc_ok; then :
6698 else
6699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6701 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6702 See \`config.log' for more details" "$LINENO" 5; }
6705 ac_ext=c
6706 ac_cpp='$CPP $CPPFLAGS'
6707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6713 $as_echo_n "checking for ANSI C header files... " >&6; }
6714 if ${ac_cv_header_stdc+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <stdlib.h>
6720 #include <stdarg.h>
6721 #include <string.h>
6722 #include <float.h>
6725 main ()
6729 return 0;
6731 _ACEOF
6732 if ac_fn_c_try_compile "$LINENO"; then :
6733 ac_cv_header_stdc=yes
6734 else
6735 ac_cv_header_stdc=no
6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6739 if test $ac_cv_header_stdc = yes; then
6740 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <string.h>
6745 _ACEOF
6746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6747 $EGREP "memchr" >/dev/null 2>&1; then :
6749 else
6750 ac_cv_header_stdc=no
6752 rm -f conftest*
6756 if test $ac_cv_header_stdc = yes; then
6757 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6760 #include <stdlib.h>
6762 _ACEOF
6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6764 $EGREP "free" >/dev/null 2>&1; then :
6766 else
6767 ac_cv_header_stdc=no
6769 rm -f conftest*
6773 if test $ac_cv_header_stdc = yes; then
6774 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6775 if test "$cross_compiling" = yes; then :
6777 else
6778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6780 #include <ctype.h>
6781 #include <stdlib.h>
6782 #if ((' ' & 0x0FF) == 0x020)
6783 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6784 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6785 #else
6786 # define ISLOWER(c) \
6787 (('a' <= (c) && (c) <= 'i') \
6788 || ('j' <= (c) && (c) <= 'r') \
6789 || ('s' <= (c) && (c) <= 'z'))
6790 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6791 #endif
6793 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6795 main ()
6797 int i;
6798 for (i = 0; i < 256; i++)
6799 if (XOR (islower (i), ISLOWER (i))
6800 || toupper (i) != TOUPPER (i))
6801 return 2;
6802 return 0;
6804 _ACEOF
6805 if ac_fn_c_try_run "$LINENO"; then :
6807 else
6808 ac_cv_header_stdc=no
6810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6811 conftest.$ac_objext conftest.beam conftest.$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6817 $as_echo "$ac_cv_header_stdc" >&6; }
6818 if test $ac_cv_header_stdc = yes; then
6820 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6824 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6825 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6826 inttypes.h stdint.h unistd.h
6827 do :
6828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6831 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6832 cat >>confdefs.h <<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6834 _ACEOF
6838 done
6841 for ac_header in \
6842 AL/al.h \
6843 ApplicationServices/ApplicationServices.h \
6844 AudioToolbox/AudioConverter.h \
6845 AudioUnit/AudioUnit.h \
6846 AudioUnit/AudioComponent.h \
6847 CL/cl.h \
6848 Carbon/Carbon.h \
6849 CommonCrypto/CommonDigest.h \
6850 CoreAudio/CoreAudio.h \
6851 CoreServices/CoreServices.h \
6852 DiskArbitration/DiskArbitration.h \
6853 EGL/egl.h \
6854 IOKit/IOKitLib.h \
6855 IOKit/hid/IOHIDLib.h \
6856 OpenAL/al.h \
6857 OpenCL/opencl.h \
6858 QuickTime/ImageCompression.h \
6859 Security/Security.h \
6860 alias.h \
6861 alsa/asoundlib.h \
6862 arpa/inet.h \
6863 arpa/nameser.h \
6864 asm/types.h \
6865 asm/user.h \
6866 curses.h \
6867 direct.h \
6868 dirent.h \
6869 dlfcn.h \
6870 elf.h \
6871 float.h \
6872 fnmatch.h \
6873 getopt.h \
6874 gettext-po.h \
6875 grp.h \
6876 gsm.h \
6877 gsm/gsm.h \
6878 ieeefp.h \
6879 inet/mib2.h \
6880 io.h \
6881 kstat.h \
6882 libproc.h \
6883 link.h \
6884 linux/cdrom.h \
6885 linux/compiler.h \
6886 linux/filter.h \
6887 linux/hdreg.h \
6888 linux/hidraw.h \
6889 linux/input.h \
6890 linux/ioctl.h \
6891 linux/joystick.h \
6892 linux/major.h \
6893 linux/param.h \
6894 linux/serial.h \
6895 linux/types.h \
6896 linux/ucdrom.h \
6897 lwp.h \
6898 mach-o/nlist.h \
6899 mach-o/loader.h \
6900 mach/mach.h \
6901 mach/machine.h \
6902 machine/cpu.h \
6903 machine/limits.h \
6904 machine/sysarch.h \
6905 mntent.h \
6906 ncurses.h \
6907 netdb.h \
6908 netinet/in.h \
6909 netinet/in_systm.h \
6910 netinet/tcp.h \
6911 netinet/tcp_fsm.h \
6912 pcap/pcap.h \
6913 poll.h \
6914 port.h \
6915 process.h \
6916 pthread.h \
6917 pwd.h \
6918 sched.h \
6919 scsi/scsi.h \
6920 scsi/scsi_ioctl.h \
6921 scsi/sg.h \
6922 stdbool.h \
6923 stdint.h \
6924 stropts.h \
6925 sys/asoundlib.h \
6926 sys/attr.h \
6927 sys/auxv.h \
6928 sys/cdio.h \
6929 sys/elf32.h \
6930 sys/epoll.h \
6931 sys/event.h \
6932 sys/exec_elf.h \
6933 sys/filio.h \
6934 sys/inotify.h \
6935 sys/ioctl.h \
6936 sys/ipc.h \
6937 sys/limits.h \
6938 sys/link.h \
6939 sys/mman.h \
6940 sys/modem.h \
6941 sys/msg.h \
6942 sys/mtio.h \
6943 sys/param.h \
6944 sys/poll.h \
6945 sys/prctl.h \
6946 sys/protosw.h \
6947 sys/ptrace.h \
6948 sys/queue.h \
6949 sys/resource.h \
6950 sys/scsiio.h \
6951 sys/shm.h \
6952 sys/signal.h \
6953 sys/socket.h \
6954 sys/socketvar.h \
6955 sys/sockio.h \
6956 sys/statvfs.h \
6957 sys/strtio.h \
6958 sys/syscall.h \
6959 sys/sysinfo.h \
6960 sys/tihdr.h \
6961 sys/time.h \
6962 sys/timeout.h \
6963 sys/times.h \
6964 sys/uio.h \
6965 sys/user.h \
6966 sys/utsname.h \
6967 sys/vm86.h \
6968 sys/vnode.h \
6969 sys/wait.h \
6970 syscall.h \
6971 termios.h \
6972 unistd.h \
6973 utime.h \
6974 valgrind/memcheck.h \
6975 valgrind/valgrind.h \
6976 zlib.h
6978 do :
6979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6980 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6981 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6982 cat >>confdefs.h <<_ACEOF
6983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6984 _ACEOF
6988 done
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6991 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6992 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6993 $as_echo_n "(cached) " >&6
6994 else
6995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6996 /* end confdefs.h. */
6997 #include <sys/types.h>
6999 main ()
7001 return makedev(0, 0);
7003 return 0;
7005 _ACEOF
7006 if ac_fn_c_try_link "$LINENO"; then :
7007 ac_cv_header_sys_types_h_makedev=yes
7008 else
7009 ac_cv_header_sys_types_h_makedev=no
7011 rm -f core conftest.err conftest.$ac_objext \
7012 conftest$ac_exeext conftest.$ac_ext
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7016 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7018 if test $ac_cv_header_sys_types_h_makedev = no; then
7019 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7020 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7022 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7028 if test $ac_cv_header_sys_mkdev_h = no; then
7029 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7030 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7032 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7041 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7042 if ${ac_cv_header_stat_broken+:} false; then :
7043 $as_echo_n "(cached) " >&6
7044 else
7045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #include <sys/types.h>
7048 #include <sys/stat.h>
7050 #if defined S_ISBLK && defined S_IFDIR
7051 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7052 #endif
7054 #if defined S_ISBLK && defined S_IFCHR
7055 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7056 #endif
7058 #if defined S_ISLNK && defined S_IFREG
7059 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7060 #endif
7062 #if defined S_ISSOCK && defined S_IFREG
7063 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7064 #endif
7066 _ACEOF
7067 if ac_fn_c_try_compile "$LINENO"; then :
7068 ac_cv_header_stat_broken=no
7069 else
7070 ac_cv_header_stat_broken=yes
7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7075 $as_echo "$ac_cv_header_stat_broken" >&6; }
7076 if test $ac_cv_header_stat_broken = yes; then
7078 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7084 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7085 do :
7086 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7087 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7088 #ifdef HAVE_SYS_PARAM_H
7089 # include <sys/param.h>
7090 #endif
7092 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7093 cat >>confdefs.h <<_ACEOF
7094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 _ACEOF
7099 done
7102 for ac_header in \
7103 netinet/ip.h \
7104 net/if.h \
7105 net/if_arp.h \
7106 net/if_dl.h \
7107 net/if_types.h \
7108 net/route.h \
7109 netinet/if_ether.h \
7110 netinet/if_inarp.h \
7111 netinet/in_pcb.h \
7112 netinet/ip_icmp.h \
7113 netinet/ip_var.h \
7114 netinet/udp.h \
7115 netipx/ipx.h \
7116 sys/un.h \
7118 do :
7119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7120 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7121 #ifdef HAVE_SYS_SOCKET_H
7122 # include <sys/socket.h>
7123 #endif
7124 #ifdef HAVE_SYS_SOCKETVAR_H
7125 # include <sys/socketvar.h>
7126 #endif
7127 #ifdef HAVE_NET_ROUTE_H
7128 # include <net/route.h>
7129 #endif
7130 #ifdef HAVE_NETINET_IN_H
7131 # include <netinet/in.h>
7132 #endif
7133 #ifdef HAVE_NETINET_IN_SYSTM_H
7134 # include <netinet/in_systm.h>
7135 #endif
7136 #ifdef HAVE_NET_IF_H
7137 # include <net/if.h>
7138 #endif
7139 #ifdef HAVE_NETINET_IP_H
7140 # include <netinet/ip.h>
7141 #endif
7143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7144 cat >>confdefs.h <<_ACEOF
7145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7146 _ACEOF
7150 done
7153 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7154 do :
7155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7157 #ifdef HAVE_ALIAS_H
7158 # include <alias.h>
7159 #endif
7160 #ifdef HAVE_SYS_SOCKET_H
7161 # include <sys/socket.h>
7162 #endif
7163 #ifdef HAVE_SYS_SOCKETVAR_H
7164 # include <sys/socketvar.h>
7165 #endif
7166 #ifdef HAVE_SYS_TIMEOUT_H
7167 # include <sys/timeout.h>
7168 #endif
7169 #ifdef HAVE_NETINET_IN_H
7170 # include <netinet/in.h>
7171 #endif
7172 #ifdef HAVE_NETINET_IN_SYSTM_H
7173 # include <netinet/in_systm.h>
7174 #endif
7175 #ifdef HAVE_NETINET_IP_H
7176 # include <netinet/ip.h>
7177 #endif
7178 #ifdef HAVE_NETINET_IP_VAR_H
7179 # include <netinet/ip_var.h>
7180 #endif
7181 #ifdef HAVE_NETINET_IP_ICMP_H
7182 # include <netinet/ip_icmp.h>
7183 #endif
7184 #ifdef HAVE_NETINET_UDP_H
7185 # include <netinet/udp.h>
7186 #endif
7187 #ifdef HAVE_NETINET_TCP_H
7188 # include <netinet/tcp.h>
7189 #endif
7190 #ifdef HAVE_NETINET_TCP_TIMER_H
7191 #include <netinet/tcp_timer.h>
7192 #endif
7194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7195 cat >>confdefs.h <<_ACEOF
7196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7197 _ACEOF
7201 done
7204 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7205 do :
7206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7207 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7208 #ifdef HAVE_ASM_TYPES_H
7209 # include <asm/types.h>
7210 #endif
7211 #ifdef HAVE_SYS_SOCKET_H
7212 # include <sys/socket.h>
7213 #endif
7214 #ifdef HAVE_LINUX_TYPES_H
7215 # include <linux/types.h>
7216 #endif
7218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7219 cat >>confdefs.h <<_ACEOF
7220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7221 _ACEOF
7225 done
7228 for ac_header in mach-o/dyld_images.h
7229 do :
7230 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7231 # include <stdbool.h>
7232 #endif
7233 #ifdef HAVE_STDINT_H
7234 # include <stdint.h>
7235 #endif
7237 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7240 _ACEOF
7244 done
7247 for ac_header in resolv.h
7248 do :
7249 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7250 #ifdef HAVE_SYS_SOCKET_H
7251 # include <sys/socket.h>
7252 #endif
7253 #ifdef HAVE_NETINET_IN_H
7254 # include <netinet/in.h>
7255 #endif
7256 #ifdef HAVE_ARPA_NAMESER_H
7257 # include <arpa/nameser.h>
7258 #endif
7260 if test "x$ac_cv_header_resolv_h" = xyes; then :
7261 cat >>confdefs.h <<_ACEOF
7262 #define HAVE_RESOLV_H 1
7263 _ACEOF
7267 done
7270 for ac_header in ifaddrs.h
7271 do :
7272 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7274 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7275 cat >>confdefs.h <<_ACEOF
7276 #define HAVE_IFADDRS_H 1
7277 _ACEOF
7281 done
7284 for ac_header in sys/ucontext.h
7285 do :
7286 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7288 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7289 cat >>confdefs.h <<_ACEOF
7290 #define HAVE_SYS_UCONTEXT_H 1
7291 _ACEOF
7295 done
7298 for ac_header in sys/thr.h
7299 do :
7300 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7301 #ifdef HAVE_SYS_UCONTEXT_H
7302 #include <sys/ucontext.h>
7303 #endif
7305 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7306 cat >>confdefs.h <<_ACEOF
7307 #define HAVE_SYS_THR_H 1
7308 _ACEOF
7312 done
7315 for ac_header in pthread_np.h
7316 do :
7317 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7318 #include <pthread.h>
7319 #endif
7321 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7322 cat >>confdefs.h <<_ACEOF
7323 #define HAVE_PTHREAD_NP_H 1
7324 _ACEOF
7328 done
7331 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7332 do :
7333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7334 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7335 #include <sys/time.h>
7336 #endif
7337 #include <sys/types.h>
7338 #ifdef HAVE_ASM_TYPES_H
7339 #include <asm/types.h>
7340 #endif
7342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7345 _ACEOF
7349 done
7352 for ac_header in libprocstat.h
7353 do :
7354 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7355 #include <sys/param.h>
7356 #endif
7357 #ifdef HAVE_SYS_QUEUE_H
7358 #include <sys/queue.h>
7359 #endif
7360 #ifdef HAVE_SYS_SOCKET_H
7361 #include <sys/socket.h>
7362 #endif
7364 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7365 cat >>confdefs.h <<_ACEOF
7366 #define HAVE_LIBPROCSTAT_H 1
7367 _ACEOF
7371 done
7375 dlldir="\${libdir}/wine"
7377 DLLFLAGS="-D_REENTRANT"
7379 LDRPATH_INSTALL=""
7381 LDRPATH_LOCAL=""
7383 LDEXECFLAGS=""
7385 WINELOADER_LDFLAGS=""
7387 LIBEXT="so"
7388 DLLEXT=".so"
7389 IMPLIBEXT="def"
7390 # Extract the first word of "ldd", so it can be a program name with args.
7391 set dummy ldd; ac_word=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if ${ac_cv_path_LDD+:} false; then :
7395 $as_echo_n "(cached) " >&6
7396 else
7397 case $LDD in
7398 [\\/]* | ?:[\\/]*)
7399 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403 as_dummy="/sbin:/usr/sbin:$PATH"
7404 for as_dir in $as_dummy
7406 IFS=$as_save_IFS
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7418 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7420 esac
7422 LDD=$ac_cv_path_LDD
7423 if test -n "$LDD"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7425 $as_echo "$LDD" >&6; }
7426 else
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7432 if test -n "$ac_tool_prefix"; then
7433 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7434 set dummy ${ac_tool_prefix}otool; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_OTOOL+:} false; then :
7438 $as_echo_n "(cached) " >&6
7439 else
7440 if test -n "$OTOOL"; then
7441 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 break 2
7454 done
7455 done
7456 IFS=$as_save_IFS
7460 OTOOL=$ac_cv_prog_OTOOL
7461 if test -n "$OTOOL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7463 $as_echo "$OTOOL" >&6; }
7464 else
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7471 if test -z "$ac_cv_prog_OTOOL"; then
7472 ac_ct_OTOOL=$OTOOL
7473 # Extract the first word of "otool", so it can be a program name with args.
7474 set dummy otool; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7478 $as_echo_n "(cached) " >&6
7479 else
7480 if test -n "$ac_ct_OTOOL"; then
7481 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7482 else
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 for as_dir in $PATH
7486 IFS=$as_save_IFS
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_prog_ac_ct_OTOOL="otool"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 break 2
7494 done
7495 done
7496 IFS=$as_save_IFS
7500 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7501 if test -n "$ac_ct_OTOOL"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7503 $as_echo "$ac_ct_OTOOL" >&6; }
7504 else
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7509 if test "x$ac_ct_OTOOL" = x; then
7510 OTOOL="otool"
7511 else
7512 case $cross_compiling:$ac_tool_warned in
7513 yes:)
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7516 ac_tool_warned=yes ;;
7517 esac
7518 OTOOL=$ac_ct_OTOOL
7520 else
7521 OTOOL="$ac_cv_prog_OTOOL"
7524 if test -n "$ac_tool_prefix"; then
7525 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7526 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_READELF+:} false; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532 if test -n "$READELF"; then
7533 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7538 IFS=$as_save_IFS
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 break 2
7546 done
7547 done
7548 IFS=$as_save_IFS
7552 READELF=$ac_cv_prog_READELF
7553 if test -n "$READELF"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7555 $as_echo "$READELF" >&6; }
7556 else
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7563 if test -z "$ac_cv_prog_READELF"; then
7564 ac_ct_READELF=$READELF
7565 # Extract the first word of "readelf", so it can be a program name with args.
7566 set dummy readelf; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7570 $as_echo_n "(cached) " >&6
7571 else
7572 if test -n "$ac_ct_READELF"; then
7573 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7574 else
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7578 IFS=$as_save_IFS
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_ac_ct_READELF="readelf"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 break 2
7586 done
7587 done
7588 IFS=$as_save_IFS
7592 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7593 if test -n "$ac_ct_READELF"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7595 $as_echo "$ac_ct_READELF" >&6; }
7596 else
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7601 if test "x$ac_ct_READELF" = x; then
7602 READELF="true"
7603 else
7604 case $cross_compiling:$ac_tool_warned in
7605 yes:)
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7608 ac_tool_warned=yes ;;
7609 esac
7610 READELF=$ac_ct_READELF
7612 else
7613 READELF="$ac_cv_prog_READELF"
7616 wine_rules_file=conf$$rules.make
7617 rm -f $wine_rules_file
7618 SUBDIRS=""
7620 DISABLED_SUBDIRS=""
7622 CONFIGURE_TARGETS=""
7624 ALL_TEST_RESOURCES=""
7627 wine_fn_append_file ()
7629 as_fn_append $1 " \\$as_nl $2"
7632 wine_fn_append_rule ()
7634 $as_echo "$1" >>$wine_rules_file
7637 wine_fn_has_flag ()
7639 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7642 wine_fn_all_rules ()
7644 wine_fn_append_file SUBDIRS $ac_dir
7645 wine_fn_append_rule \
7646 "all: $ac_dir
7647 .PHONY: $ac_dir
7648 $ac_dir: dummy
7649 @cd $ac_dir && \$(MAKE)"
7652 wine_fn_install_rules ()
7654 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7656 wine_fn_append_rule \
7657 ".PHONY: $ac_dir/install $ac_dir/uninstall
7658 $ac_dir/install:: $ac_dir
7659 @cd $ac_dir && \$(MAKE) install
7660 $ac_dir/uninstall::
7661 @cd $ac_dir && \$(MAKE) uninstall
7662 install:: $ac_dir/install
7663 __uninstall__: $ac_dir/uninstall"
7665 if wine_fn_has_flag install-lib
7666 then
7667 wine_fn_append_rule \
7668 ".PHONY: $ac_dir/install-lib
7669 $ac_dir/install-lib:: $ac_dir
7670 @cd $ac_dir && \$(MAKE) install-lib
7671 install-lib:: $ac_dir/install-lib"
7674 if wine_fn_has_flag install-dev
7675 then
7676 wine_fn_append_rule \
7677 ".PHONY: $ac_dir/install-dev
7678 $ac_dir/install-dev:: $ac_dir
7679 @cd $ac_dir && \$(MAKE) install-dev
7680 install-dev:: $ac_dir/install-dev"
7684 wine_fn_clean_rules ()
7686 ac_clean=$@
7688 if wine_fn_has_flag clean
7689 then
7690 wine_fn_append_rule \
7691 "$ac_dir/clean: dummy
7692 @cd $ac_dir && \$(MAKE) clean"
7693 else
7694 wine_fn_append_rule \
7695 "$ac_dir/clean: dummy
7696 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7698 wine_fn_append_rule \
7699 "__clean__: $ac_dir/clean
7700 .PHONY: $ac_dir/clean"
7703 wine_fn_disabled_rules ()
7705 ac_clean=$@
7707 wine_fn_append_file SUBDIRS $ac_dir
7708 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7709 wine_fn_append_rule \
7710 "__clean__: $ac_dir/clean
7711 .PHONY: $ac_dir/clean
7712 $ac_dir/clean: dummy
7713 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7716 wine_fn_config_makefile ()
7718 ac_dir=$1
7719 ac_enable=$2
7720 ac_flags=$3
7722 case $ac_dir in
7723 fonts|server) test -z "$with_wine64" || return ;;
7724 esac
7725 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7726 wine_fn_disabled_rules; return
7728 wine_fn_all_rules
7729 wine_fn_install_rules
7730 wine_fn_clean_rules
7733 wine_fn_config_lib ()
7735 ac_name=$1
7736 ac_flags=$2
7737 ac_dir=dlls/$ac_name
7738 ac_deps="include"
7740 if test "x$enable_tools" = xno; then :
7742 else
7743 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7745 wine_fn_all_rules
7746 wine_fn_clean_rules
7748 wine_fn_append_rule \
7749 ".PHONY: $ac_dir/install $ac_dir/uninstall
7750 $ac_dir/install:: $ac_dir
7751 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7752 $ac_dir/uninstall::
7753 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7754 install install-dev:: $ac_dir/install
7755 __uninstall__: $ac_dir/uninstall
7756 __builddeps__: $ac_dir
7757 $ac_dir: $ac_deps"
7760 wine_fn_config_dll ()
7762 ac_name=$1
7763 ac_dir=dlls/$ac_name
7764 ac_enable=$2
7765 ac_flags=$3
7766 ac_implib=${4:-$ac_name}
7767 ac_file=$ac_dir/lib$ac_implib
7768 ac_dll=$ac_name
7769 ac_deps="include"
7770 ac_implibflags=""
7772 if test "x$enable_tools" = xno; then :
7774 else
7775 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7777 case $ac_name in
7778 *.*16) ac_implibflags=" -m16" ;;
7779 *.*) ;;
7780 *) ac_dll=$ac_dll.dll ;;
7781 esac
7783 ac_clean=
7784 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7785 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7787 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7788 if test "$ac_enable" != enable_win16
7789 then
7790 wine_fn_clean_rules $ac_clean
7791 wine_fn_append_file SUBDIRS $ac_dir
7792 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7793 else
7794 wine_fn_disabled_rules $ac_clean
7795 return
7797 else
7798 wine_fn_all_rules
7799 wine_fn_clean_rules $ac_clean
7800 wine_fn_append_rule \
7801 "$ac_dir: __builddeps__
7802 manpages htmlpages sgmlpages xmlpages::
7803 @cd $ac_dir && \$(MAKE) \$@
7804 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7805 install install-lib:: $ac_dir/install-lib
7806 __uninstall__: $ac_dir/uninstall"
7807 if test -n "$DLLEXT"
7808 then
7809 wine_fn_append_rule \
7810 "$ac_dir/install-lib:: $ac_dir
7811 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7812 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7813 $ac_dir/uninstall::
7814 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7815 else
7816 wine_fn_append_rule \
7817 "$ac_dir/install-lib:: $ac_dir
7818 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7819 $ac_dir/uninstall::
7820 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7824 if wine_fn_has_flag staticimplib
7825 then
7826 wine_fn_append_rule \
7827 "__builddeps__: $ac_file.a
7828 $ac_file.a $ac_file.cross.a: $ac_deps
7829 $ac_file.a: dummy
7830 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7831 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7832 $ac_dir/install-dev:: $ac_file.a
7833 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7834 $ac_dir/uninstall::
7835 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7836 install install-dev:: $ac_dir/install-dev
7837 __uninstall__: $ac_dir/uninstall"
7839 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7840 then
7841 wine_fn_append_rule \
7842 "__builddeps__: $ac_file.cross.a
7843 $ac_file.cross.a: dummy
7844 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7847 elif wine_fn_has_flag implib
7848 then
7849 wine_fn_append_rule \
7850 "__builddeps__: $ac_file.$IMPLIBEXT
7851 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7852 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7853 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7854 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7855 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7856 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7857 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7858 $ac_dir/uninstall::
7859 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7860 install install-dev:: $ac_dir/install-dev
7861 __uninstall__: $ac_dir/uninstall"
7862 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7863 then
7864 wine_fn_append_rule \
7865 "__builddeps__: $ac_file.cross.a
7866 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7867 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7872 wine_fn_config_program ()
7874 ac_name=$1
7875 ac_dir=programs/$ac_name
7876 ac_enable=$2
7877 ac_flags=$3
7878 ac_program=$ac_name
7880 case $ac_name in
7881 *.*) ;;
7882 *) ac_program=$ac_program.exe ;;
7883 esac
7885 ac_clean=
7886 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7887 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7889 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7890 wine_fn_disabled_rules $ac_clean; return
7893 wine_fn_all_rules
7894 wine_fn_clean_rules $ac_clean
7895 wine_fn_append_rule "$ac_dir: __builddeps__"
7897 wine_fn_has_flag install || return
7898 wine_fn_append_rule \
7899 ".PHONY: $ac_dir/install $ac_dir/uninstall
7900 install install-lib:: $ac_dir/install
7901 __uninstall__: $ac_dir/uninstall"
7903 if test -n "$DLLEXT"
7904 then
7905 wine_fn_append_rule \
7906 "$ac_dir/install:: $ac_dir
7907 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7908 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7909 $ac_dir/uninstall::
7910 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7912 if test -z "$with_wine64" && wine_fn_has_flag installbin
7913 then
7914 wine_fn_append_rule \
7915 "$ac_dir/install:: __tooldeps__
7916 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7917 $ac_dir/uninstall::
7918 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7920 else
7921 wine_fn_append_rule \
7922 "$ac_dir/install:: $ac_dir
7923 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7924 $ac_dir/uninstall::
7925 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7928 if test -z "$with_wine64" && wine_fn_has_flag manpage
7929 then
7930 wine_fn_append_rule \
7931 "$ac_dir/install:: $ac_dir
7932 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7933 $ac_dir/uninstall::
7934 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7938 wine_fn_config_test ()
7940 ac_dir=$1
7941 ac_name=$2
7942 ac_flags=$3
7944 ac_clean=
7945 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7946 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7948 if test "x$enable_tests" = xno; then :
7949 wine_fn_disabled_rules $ac_clean; return
7952 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7953 wine_fn_all_rules
7954 wine_fn_clean_rules $ac_clean
7956 wine_fn_append_rule \
7957 "$ac_dir: __builddeps__
7958 programs/winetest: $ac_dir
7959 check test: $ac_dir/test
7960 .PHONY: $ac_dir/test
7961 $ac_dir/test: dummy
7962 @cd $ac_dir && \$(MAKE) test
7963 testclean::
7964 \$(RM) $ac_dir/*.ok"
7966 if test -n "$CROSSTARGET"
7967 then
7968 wine_fn_append_rule \
7969 "crosstest: $ac_dir/crosstest
7970 .PHONY: $ac_dir/crosstest
7971 $ac_dir/crosstest: __builddeps__ dummy
7972 @cd $ac_dir && \$(MAKE) crosstest"
7976 wine_fn_config_tool ()
7978 ac_dir=$1
7979 ac_flags=$2
7980 if test "x$enable_tools" = xno; then :
7981 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7984 wine_fn_all_rules
7985 wine_fn_install_rules
7986 wine_fn_clean_rules
7988 wine_fn_append_rule "__tooldeps__: $ac_dir"
7989 wine_fn_append_rule "$ac_dir: libs/port"
7990 case $ac_dir in
7991 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7992 esac
7995 wine_fn_config_symlink ()
7997 ac_linkdir=
7998 if test "x$1" = "x-d"
7999 then
8000 ac_linkdir=$2
8001 shift; shift
8003 ac_links=$@
8004 wine_fn_append_rule \
8005 "$ac_links:
8006 @./config.status \$@"
8007 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8008 test -n "$ac_linkdir" || return
8009 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8012 wine_binary="wine"
8013 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8014 WINELOADER_PROGRAMS="$wine_binary"
8016 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8018 case $host_os in
8019 cygwin*|mingw32*)
8020 if test -n "$ac_tool_prefix"; then
8021 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8022 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_DLLTOOL+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 if test -n "$DLLTOOL"; then
8029 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8030 else
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 for as_dir in $PATH
8034 IFS=$as_save_IFS
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 break 2
8042 done
8043 done
8044 IFS=$as_save_IFS
8048 DLLTOOL=$ac_cv_prog_DLLTOOL
8049 if test -n "$DLLTOOL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8051 $as_echo "$DLLTOOL" >&6; }
8052 else
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8059 if test -z "$ac_cv_prog_DLLTOOL"; then
8060 ac_ct_DLLTOOL=$DLLTOOL
8061 # Extract the first word of "dlltool", so it can be a program name with args.
8062 set dummy dlltool; ac_word=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8066 $as_echo_n "(cached) " >&6
8067 else
8068 if test -n "$ac_ct_DLLTOOL"; then
8069 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8070 else
8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 for as_dir in $PATH
8074 IFS=$as_save_IFS
8075 test -z "$as_dir" && as_dir=.
8076 for ac_exec_ext in '' $ac_executable_extensions; do
8077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 break 2
8082 done
8083 done
8084 IFS=$as_save_IFS
8088 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8089 if test -n "$ac_ct_DLLTOOL"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8091 $as_echo "$ac_ct_DLLTOOL" >&6; }
8092 else
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8097 if test "x$ac_ct_DLLTOOL" = x; then
8098 DLLTOOL="false"
8099 else
8100 case $cross_compiling:$ac_tool_warned in
8101 yes:)
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8104 ac_tool_warned=yes ;;
8105 esac
8106 DLLTOOL=$ac_ct_DLLTOOL
8108 else
8109 DLLTOOL="$ac_cv_prog_DLLTOOL"
8112 LIBEXT="dll"
8113 DLLEXT=""
8114 IMPLIBEXT="a"
8115 enable_iphlpapi=${enable_iphlpapi:-no}
8116 enable_kernel32=${enable_kernel32:-no}
8117 enable_msvcrt=${enable_msvcrt:-no}
8118 enable_ntdll=${enable_ntdll:-no}
8119 enable_ws2_32=${enable_ws2_32:-no}
8120 enable_loader=${enable_loader:-no}
8121 enable_server=${enable_server:-no}
8122 with_x=${with_x:-no}
8123 with_pthread=${with_pthread:-no}
8125 crtlibs=""
8126 case $host_os in
8127 mingw32*)
8128 crtlibs="-lmsvcrt"
8129 SOCKET_LIBS="-lws2_32"
8131 esac
8133 LIBWINE_SHAREDLIB="libwine.dll"
8135 LIBWINE_IMPORTLIB="libwine.a"
8137 LIBWINE_INSTALL_LIB="libwine.dll"
8139 LIBWINE_INSTALL_DEV="libwine.a"
8141 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8143 LIBWINE_DEPENDS="wine.def"
8147 darwin*|macosx*)
8148 for ac_header in libunwind.h
8149 do :
8150 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8152 cat >>confdefs.h <<_ACEOF
8153 #define HAVE_LIBUNWIND_H 1
8154 _ACEOF
8158 done
8160 LIBEXT="dylib"
8161 DLLFLAGS="$DLLFLAGS -fPIC"
8162 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8163 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8164 COREFOUNDATION_LIBS="-framework CoreFoundation"
8166 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8168 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8170 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8172 CORESERVICES_LIBS="-framework CoreServices"
8174 APPKIT_LIBS="-framework AppKit"
8176 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8178 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8179 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8180 $as_echo_n "(cached) " >&6
8181 else
8182 ac_wine_try_cflags_saved=$CFLAGS
8183 CFLAGS="$CFLAGS -Wl,-no_pie"
8184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8186 int main(int argc, char **argv) { return 0; }
8187 _ACEOF
8188 if ac_fn_c_try_link "$LINENO"; then :
8189 ac_cv_cflags__Wl__no_pie=yes
8190 else
8191 ac_cv_cflags__Wl__no_pie=no
8193 rm -f core conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 CFLAGS=$ac_wine_try_cflags_saved
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8198 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8199 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8200 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8202 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8203 then
8204 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8207 if test "$ac_cv_header_Security_Security_h" = "yes"
8208 then
8209 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8211 ac_save_LIBS="$LIBS"
8212 LIBS="$LIBS $SECURITY_LIBS"
8213 for ac_func in SSLCopyPeerCertificates
8214 do :
8215 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8216 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8217 cat >>confdefs.h <<_ACEOF
8218 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8219 _ACEOF
8222 done
8224 LIBS="$ac_save_LIBS"
8225 with_gnutls=${with_gnutls:-no}
8227 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8228 then
8229 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8230 then
8231 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8233 else
8234 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8237 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8238 ac_save_LIBS="$LIBS"
8239 LIBS="$LIBS $COREAUDIO_LIBS"
8240 for ac_func in AUGraphAddNode
8241 do :
8242 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8243 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8244 cat >>confdefs.h <<_ACEOF
8245 #define HAVE_AUGRAPHADDNODE 1
8246 _ACEOF
8249 done
8251 LIBS="$ac_save_LIBS"
8253 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8254 then
8255 OPENAL_LIBS="-framework OpenAL"
8258 cat >>confdefs.h <<_ACEOF
8259 #define HAVE_OPENAL 1
8260 _ACEOF
8262 ac_cv_lib_openal=yes
8264 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8265 then
8266 OPENCL_LIBS="-framework OpenCL"
8268 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8270 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8271 then
8272 ac_save_LIBS="$LIBS"
8273 LIBS="$LIBS $IOKIT_LIBS"
8274 for ac_func in IOHIDManagerCreate
8275 do :
8276 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8277 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8278 cat >>confdefs.h <<_ACEOF
8279 #define HAVE_IOHIDMANAGERCREATE 1
8280 _ACEOF
8283 done
8285 LIBS="$ac_save_LIBS"
8287 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8288 then
8289 ac_save_LIBS="$LIBS"
8290 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8292 $as_echo_n "checking for the QuickTime framework... " >&6; }
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 #include <QuickTime/ImageCompression.h>
8297 main ()
8299 CodecManagerVersion(NULL);
8301 return 0;
8303 _ACEOF
8304 if ac_fn_c_try_link "$LINENO"; then :
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8306 $as_echo "yes" >&6; }
8307 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8309 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8310 else
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 $as_echo "no" >&6; }
8313 ac_cv_header_QuickTime_ImageCompression_h=no
8315 rm -f core conftest.err conftest.$ac_objext \
8316 conftest$ac_exeext conftest.$ac_ext
8317 LIBS="$ac_save_LIBS"
8319 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8320 then
8321 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8323 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8324 then
8325 CARBON_LIBS="-framework Carbon"
8329 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8330 then
8331 ac_save_LIBS="$LIBS"
8332 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8333 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8334 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8335 enable_winemac_drv=${enable_winemac_drv:-yes}
8338 LIBS="$ac_save_LIBS"
8341 if test "x$enable_win16" = "xyes"
8342 then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8344 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8345 if test "$cross_compiling" = yes; then :
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8347 $as_echo "cross-compiling, assuming yes" >&6; }
8348 else
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 asm(".text\n"
8352 "bad:\tnop;nop\n"
8353 "good:\tnop;nop\n\t"
8354 ".globl _testfunc\n"
8355 "_testfunc:\tcallw good");
8356 extern void testfunc();
8358 main ()
8360 unsigned short *p = (unsigned short *)testfunc;
8361 return p[0] != 0xe866 || p[1] != 0xfffa
8363 return 0;
8365 _ACEOF
8366 if ac_fn_c_try_run "$LINENO"; then :
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8368 $as_echo "yes" >&6; }
8369 else
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8372 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
8374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8375 conftest.$ac_objext conftest.beam conftest.$ac_ext
8380 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8382 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8384 LIBWINE_INSTALL_DEV="libwine.dylib"
8386 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8388 WINELOADER_DEPENDS="wine_info.plist"
8392 linux-android*)
8393 DLLFLAGS="$DLLFLAGS -fPIC"
8394 LDEXECFLAGS="-Wl,-pie"
8395 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8397 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8398 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 ac_wine_try_cflags_saved=$CFLAGS
8402 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 int main(int argc, char **argv) { return 0; }
8406 _ACEOF
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8409 else
8410 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8412 rm -f core conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 CFLAGS=$ac_wine_try_cflags_saved
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8417 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8418 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8419 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8421 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8423 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8424 if eval \${$as_ac_var+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 ac_wine_try_cflags_saved=$CFLAGS
8428 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 int main(int argc, char **argv) { return 0; }
8432 _ACEOF
8433 if ac_fn_c_try_link "$LINENO"; then :
8434 eval "$as_ac_var=yes"
8435 else
8436 eval "$as_ac_var=no"
8438 rm -f core conftest.err conftest.$ac_objext \
8439 conftest$ac_exeext conftest.$ac_ext
8440 CFLAGS=$ac_wine_try_cflags_saved
8442 eval ac_res=\$$as_ac_var
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8444 $as_echo "$ac_res" >&6; }
8445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8446 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8447 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8448 else
8449 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8451 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8452 if eval \${$as_ac_var+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 ac_wine_try_cflags_saved=$CFLAGS
8456 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 int main(int argc, char **argv) { return 0; }
8460 _ACEOF
8461 if ac_fn_c_try_link "$LINENO"; then :
8462 eval "$as_ac_var=yes"
8463 else
8464 eval "$as_ac_var=no"
8466 rm -f core conftest.err conftest.$ac_objext \
8467 conftest$ac_exeext conftest.$ac_ext
8468 CFLAGS=$ac_wine_try_cflags_saved
8470 eval ac_res=\$$as_ac_var
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8472 $as_echo "$ac_res" >&6; }
8473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8474 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8475 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8479 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8480 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 ac_cv_cflags__Wl___enable_new_dtags=yes
8491 else
8492 ac_cv_cflags__Wl___enable_new_dtags=no
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8499 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8500 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8501 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8504 LIBWINE_SHAREDLIB="libwine.so"
8506 LIBWINE_INSTALL_LIB="libwine.so"
8508 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8512 $as_echo_n "checking for -lEGL... " >&6; }
8513 if ${ac_cv_lib_soname_EGL+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 ac_check_soname_save_LIBS=$LIBS
8517 LIBS="-lEGL $LIBS"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8521 /* Override any GCC internal prototype to avoid an error.
8522 Use char because int might match the return type of a GCC
8523 builtin and then its argument prototype would still apply. */
8524 #ifdef __cplusplus
8525 extern "C"
8526 #endif
8527 char eglGetProcAddress ();
8529 main ()
8531 return eglGetProcAddress ();
8533 return 0;
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 case "$LIBEXT" in
8538 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8539 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'` ;;
8540 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8541 if ${ac_cv_lib_soname_EGL:+false} :; then :
8542 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8543 fi ;;
8544 esac
8546 rm -f core conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 LIBS=$ac_check_soname_save_LIBS
8550 if ${ac_cv_lib_soname_EGL:+false} :; then :
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8552 $as_echo "not found" >&6; }
8554 else
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8556 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8558 cat >>confdefs.h <<_ACEOF
8559 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8560 _ACEOF
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8565 $as_echo_n "checking for -lGLESv2... " >&6; }
8566 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_check_soname_save_LIBS=$LIBS
8570 LIBS="-lGLESv2 $LIBS"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8574 /* Override any GCC internal prototype to avoid an error.
8575 Use char because int might match the return type of a GCC
8576 builtin and then its argument prototype would still apply. */
8577 #ifdef __cplusplus
8578 extern "C"
8579 #endif
8580 char glFlush ();
8582 main ()
8584 return glFlush ();
8586 return 0;
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 case "$LIBEXT" in
8591 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8592 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'` ;;
8593 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8594 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8595 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8596 fi ;;
8597 esac
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 LIBS=$ac_check_soname_save_LIBS
8603 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8605 $as_echo "not found" >&6; }
8607 else
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8609 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8611 cat >>confdefs.h <<_ACEOF
8612 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8613 _ACEOF
8618 if test "x$exec_prefix" = xNONE
8619 then
8620 case $host_cpu in
8621 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8622 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8623 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8624 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8625 esac
8630 DLLFLAGS="$DLLFLAGS -fPIC"
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8632 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8633 if ${ac_cv_c_dll_gnuelf+:} false; then :
8634 $as_echo_n "(cached) " >&6
8635 else
8636 ac_wine_try_cflags_saved=$CFLAGS
8637 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 void myfunc() {}
8641 _ACEOF
8642 if ac_fn_c_try_link "$LINENO"; then :
8643 ac_cv_c_dll_gnuelf="yes"
8644 else
8645 ac_cv_c_dll_gnuelf="no"
8647 rm -f core conftest.err conftest.$ac_objext \
8648 conftest$ac_exeext conftest.$ac_ext
8649 CFLAGS=$ac_wine_try_cflags_saved
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8652 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8653 if test "$ac_cv_c_dll_gnuelf" = "yes"
8654 then
8655 LIBWINE_LDFLAGS="-shared"
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8657 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8658 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8659 $as_echo_n "(cached) " >&6
8660 else
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8665 int main(int argc, char **argv) { return 0; }
8666 _ACEOF
8667 if ac_fn_c_try_link "$LINENO"; then :
8668 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8669 else
8670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8672 rm -f core conftest.err conftest.$ac_objext \
8673 conftest$ac_exeext conftest.$ac_ext
8674 CFLAGS=$ac_wine_try_cflags_saved
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8677 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8678 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8679 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8680 else
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8682 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8683 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8684 $as_echo_n "(cached) " >&6
8685 else
8686 ac_wine_try_cflags_saved=$CFLAGS
8687 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8690 int main(int argc, char **argv) { return 0; }
8691 _ACEOF
8692 if ac_fn_c_try_link "$LINENO"; then :
8693 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8694 else
8695 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8697 rm -f core conftest.err conftest.$ac_objext \
8698 conftest$ac_exeext conftest.$ac_ext
8699 CFLAGS=$ac_wine_try_cflags_saved
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8702 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8703 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8704 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8708 echo '{ global: *; };' >conftest.map
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8710 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8711 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8712 $as_echo_n "(cached) " >&6
8713 else
8714 ac_wine_try_cflags_saved=$CFLAGS
8715 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 int main(int argc, char **argv) { return 0; }
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8722 else
8723 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 CFLAGS=$ac_wine_try_cflags_saved
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8730 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8731 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8732 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8734 rm -f conftest.map
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8737 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8738 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 ac_wine_try_cflags_saved=$CFLAGS
8742 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 int main(int argc, char **argv) { return 0; }
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8749 else
8750 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8757 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8758 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8759 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8762 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8764 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8765 if eval \${$as_ac_var+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_wine_try_cflags_saved=$CFLAGS
8769 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 int main(int argc, char **argv) { return 0; }
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 eval "$as_ac_var=yes"
8776 else
8777 eval "$as_ac_var=no"
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 eval ac_res=\$$as_ac_var
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8785 $as_echo "$ac_res" >&6; }
8786 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8787 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8788 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8789 else
8790 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8792 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8793 if eval \${$as_ac_var+:} false; then :
8794 $as_echo_n "(cached) " >&6
8795 else
8796 ac_wine_try_cflags_saved=$CFLAGS
8797 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8800 int main(int argc, char **argv) { return 0; }
8801 _ACEOF
8802 if ac_fn_c_try_link "$LINENO"; then :
8803 eval "$as_ac_var=yes"
8804 else
8805 eval "$as_ac_var=no"
8807 rm -f core conftest.err conftest.$ac_objext \
8808 conftest$ac_exeext conftest.$ac_ext
8809 CFLAGS=$ac_wine_try_cflags_saved
8811 eval ac_res=\$$as_ac_var
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8813 $as_echo "$ac_res" >&6; }
8814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8815 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8816 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8821 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8822 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 ac_wine_try_cflags_saved=$CFLAGS
8826 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8829 int main(int argc, char **argv) { return 0; }
8830 _ACEOF
8831 if ac_fn_c_try_link "$LINENO"; then :
8832 ac_cv_cflags__Wl___enable_new_dtags=yes
8833 else
8834 ac_cv_cflags__Wl___enable_new_dtags=no
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 CFLAGS=$ac_wine_try_cflags_saved
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8841 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8842 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8843 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8846 case $host_cpu in
8847 *i[3456789]86* | x86_64)
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8849 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8850 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8851 $as_echo_n "(cached) " >&6
8852 else
8853 ac_wine_try_cflags_saved=$CFLAGS
8854 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8857 int main(int argc, char **argv) { return 0; }
8858 _ACEOF
8859 if ac_fn_c_try_link "$LINENO"; then :
8860 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8861 else
8862 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8864 rm -f core conftest.err conftest.$ac_objext \
8865 conftest$ac_exeext conftest.$ac_ext
8866 CFLAGS=$ac_wine_try_cflags_saved
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8869 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8870 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8871 case $host_os in
8872 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8873 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8874 esac
8875 else
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8877 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8878 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 ac_wine_try_cflags_saved=$CFLAGS
8882 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8885 int main(int argc, char **argv) { return 0; }
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8889 else
8890 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8894 CFLAGS=$ac_wine_try_cflags_saved
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8897 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8898 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8899 case $host_os in
8900 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8901 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8902 esac
8904 # Extract the first word of "prelink", so it can be a program name with args.
8905 set dummy prelink; ac_word=$2
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8907 $as_echo_n "checking for $ac_word... " >&6; }
8908 if ${ac_cv_path_PRELINK+:} false; then :
8909 $as_echo_n "(cached) " >&6
8910 else
8911 case $PRELINK in
8912 [\\/]* | ?:[\\/]*)
8913 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8917 for as_dir in /sbin /usr/sbin $PATH
8919 IFS=$as_save_IFS
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8923 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8925 break 2
8927 done
8928 done
8929 IFS=$as_save_IFS
8931 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8933 esac
8935 PRELINK=$ac_cv_path_PRELINK
8936 if test -n "$PRELINK"; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8938 $as_echo "$PRELINK" >&6; }
8939 else
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8941 $as_echo "no" >&6; }
8945 if test "x$PRELINK" = xfalse
8946 then
8947 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8951 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8952 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8953 $as_echo_n "(cached) " >&6
8954 else
8955 ac_wine_try_cflags_saved=$CFLAGS
8956 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8959 int main(int argc, char **argv) { return 0; }
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8963 else
8964 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8966 rm -f core conftest.err conftest.$ac_objext \
8967 conftest$ac_exeext conftest.$ac_ext
8968 CFLAGS=$ac_wine_try_cflags_saved
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8971 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8972 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8973 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8976 esac
8978 else
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8980 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8981 if ${ac_cv_c_dll_unixware+:} false; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 ac_wine_try_cflags_saved=$CFLAGS
8985 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8988 void myfunc() {}
8989 _ACEOF
8990 if ac_fn_c_try_link "$LINENO"; then :
8991 ac_cv_c_dll_unixware="yes"
8992 else
8993 ac_cv_c_dll_unixware="no"
8995 rm -f core conftest.err conftest.$ac_objext \
8996 conftest$ac_exeext conftest.$ac_ext
8997 CFLAGS=$ac_wine_try_cflags_saved
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9000 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9001 if test "$ac_cv_c_dll_unixware" = "yes"
9002 then
9003 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9006 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9008 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9010 LIBWINE_INSTALL_DEV="libwine.so"
9012 LIBWINE_DEPENDS="wine.map"
9015 esac
9017 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9018 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9019 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9020 enable_winemac_drv=${enable_winemac_drv:-no}
9021 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9023 CROSSTARGET=""
9025 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9026 then
9027 case "$host_cpu" in
9028 arm*)
9029 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9030 i[3456789]86*)
9031 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
9032 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9033 mingw32-gcc" ;;
9034 x86_64)
9035 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
9036 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9038 ac_prefix_list="" ;;
9039 esac
9040 for ac_prog in $ac_prefix_list
9042 # Extract the first word of "$ac_prog", so it can be a program name with args.
9043 set dummy $ac_prog; ac_word=$2
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9045 $as_echo_n "checking for $ac_word... " >&6; }
9046 if ${ac_cv_prog_CROSSCC+:} false; then :
9047 $as_echo_n "(cached) " >&6
9048 else
9049 if test -n "$CROSSCC"; then
9050 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9051 else
9052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 for as_dir in $PATH
9055 IFS=$as_save_IFS
9056 test -z "$as_dir" && as_dir=.
9057 for ac_exec_ext in '' $ac_executable_extensions; do
9058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9059 ac_cv_prog_CROSSCC="$ac_prog"
9060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9061 break 2
9063 done
9064 done
9065 IFS=$as_save_IFS
9069 CROSSCC=$ac_cv_prog_CROSSCC
9070 if test -n "$CROSSCC"; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9072 $as_echo "$CROSSCC" >&6; }
9073 else
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9075 $as_echo "no" >&6; }
9079 test -n "$CROSSCC" && break
9080 done
9081 test -n "$CROSSCC" || CROSSCC="false"
9083 if test "$CROSSCC" != "false"
9084 then
9085 ac_save_CC="$CC"
9086 CC="$CROSSCC"
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9088 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9093 main ()
9097 return 0;
9099 _ACEOF
9100 if ac_fn_c_try_compile "$LINENO"; then :
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9102 $as_echo "yes" >&6; }
9103 set x $CROSSCC
9104 shift
9105 while test $# -ge 1
9107 case "$1" in
9108 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9109 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9110 esac
9111 shift
9112 done
9113 else
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 $as_echo "no" >&6; }
9117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9118 CC="$ac_save_CC"
9119 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9125 if test "$ac_cv_header_pthread_h" = "yes"
9126 then
9127 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9128 if test "x$ac_cv_func_pthread_create" = xyes; then :
9130 else
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9132 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9133 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_check_lib_save_LIBS=$LIBS
9137 LIBS="-lpthread $LIBS"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9144 #ifdef __cplusplus
9145 extern "C"
9146 #endif
9147 char pthread_create ();
9149 main ()
9151 return pthread_create ();
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 ac_cv_lib_pthread_pthread_create=yes
9158 else
9159 ac_cv_lib_pthread_pthread_create=no
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_lib_save_LIBS
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9166 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9167 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9168 PTHREAD_LIBS="-lpthread"
9175 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9176 case "x$with_pthread" in
9177 xno) ;;
9178 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9179 Wine cannot support threads without libpthread.
9180 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9181 esac
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9187 $as_echo_n "checking for X... " >&6; }
9190 # Check whether --with-x was given.
9191 if test "${with_x+set}" = set; then :
9192 withval=$with_x;
9195 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9196 if test "x$with_x" = xno; then
9197 # The user explicitly disabled X.
9198 have_x=disabled
9199 else
9200 case $x_includes,$x_libraries in #(
9201 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9202 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9203 $as_echo_n "(cached) " >&6
9204 else
9205 # One or both of the vars are not set, and there is no cached value.
9206 ac_x_includes=no ac_x_libraries=no
9207 rm -f -r conftest.dir
9208 if mkdir conftest.dir; then
9209 cd conftest.dir
9210 cat >Imakefile <<'_ACEOF'
9211 incroot:
9212 @echo incroot='${INCROOT}'
9213 usrlibdir:
9214 @echo usrlibdir='${USRLIBDIR}'
9215 libdir:
9216 @echo libdir='${LIBDIR}'
9217 _ACEOF
9218 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9219 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9220 for ac_var in incroot usrlibdir libdir; do
9221 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9222 done
9223 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9224 for ac_extension in a so sl dylib la dll; do
9225 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9226 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9227 ac_im_usrlibdir=$ac_im_libdir; break
9229 done
9230 # Screen out bogus values from the imake configuration. They are
9231 # bogus both because they are the default anyway, and because
9232 # using them would break gcc on systems where it needs fixed includes.
9233 case $ac_im_incroot in
9234 /usr/include) ac_x_includes= ;;
9235 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9236 esac
9237 case $ac_im_usrlibdir in
9238 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9239 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9240 esac
9242 cd ..
9243 rm -f -r conftest.dir
9246 # Standard set of common directories for X headers.
9247 # Check X11 before X11Rn because it is often a symlink to the current release.
9248 ac_x_header_dirs='
9249 /usr/X11/include
9250 /usr/X11R7/include
9251 /usr/X11R6/include
9252 /usr/X11R5/include
9253 /usr/X11R4/include
9255 /usr/include/X11
9256 /usr/include/X11R7
9257 /usr/include/X11R6
9258 /usr/include/X11R5
9259 /usr/include/X11R4
9261 /usr/local/X11/include
9262 /usr/local/X11R7/include
9263 /usr/local/X11R6/include
9264 /usr/local/X11R5/include
9265 /usr/local/X11R4/include
9267 /usr/local/include/X11
9268 /usr/local/include/X11R7
9269 /usr/local/include/X11R6
9270 /usr/local/include/X11R5
9271 /usr/local/include/X11R4
9273 /usr/X386/include
9274 /usr/x386/include
9275 /usr/XFree86/include/X11
9277 /usr/include
9278 /usr/local/include
9279 /usr/unsupported/include
9280 /usr/athena/include
9281 /usr/local/x11r5/include
9282 /usr/lpp/Xamples/include
9284 /usr/openwin/include
9285 /usr/openwin/share/include'
9287 if test "$ac_x_includes" = no; then
9288 # Guess where to find include files, by looking for Xlib.h.
9289 # First, try using that file with no special directory specified.
9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9292 #include <X11/Xlib.h>
9293 _ACEOF
9294 if ac_fn_c_try_cpp "$LINENO"; then :
9295 # We can compile using X headers with no special include directory.
9296 ac_x_includes=
9297 else
9298 for ac_dir in $ac_x_header_dirs; do
9299 if test -r "$ac_dir/X11/Xlib.h"; then
9300 ac_x_includes=$ac_dir
9301 break
9303 done
9305 rm -f conftest.err conftest.i conftest.$ac_ext
9306 fi # $ac_x_includes = no
9308 if test "$ac_x_libraries" = no; then
9309 # Check for the libraries.
9310 # See if we find them without any special options.
9311 # Don't add to $LIBS permanently.
9312 ac_save_LIBS=$LIBS
9313 LIBS="-lX11 $LIBS"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9316 #include <X11/Xlib.h>
9318 main ()
9320 XrmInitialize ()
9322 return 0;
9324 _ACEOF
9325 if ac_fn_c_try_link "$LINENO"; then :
9326 LIBS=$ac_save_LIBS
9327 # We can link X programs with no special library path.
9328 ac_x_libraries=
9329 else
9330 LIBS=$ac_save_LIBS
9331 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9333 # Don't even attempt the hair of trying to link an X program!
9334 for ac_extension in a so sl dylib la dll; do
9335 if test -r "$ac_dir/libX11.$ac_extension"; then
9336 ac_x_libraries=$ac_dir
9337 break 2
9339 done
9340 done
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 fi # $ac_x_libraries = no
9346 case $ac_x_includes,$ac_x_libraries in #(
9347 no,* | *,no | *\'*)
9348 # Didn't find X, or a directory has "'" in its name.
9349 ac_cv_have_x="have_x=no";; #(
9351 # Record where we found X for the cache.
9352 ac_cv_have_x="have_x=yes\
9353 ac_x_includes='$ac_x_includes'\
9354 ac_x_libraries='$ac_x_libraries'"
9355 esac
9357 ;; #(
9358 *) have_x=yes;;
9359 esac
9360 eval "$ac_cv_have_x"
9361 fi # $with_x != no
9363 if test "$have_x" != yes; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9365 $as_echo "$have_x" >&6; }
9366 no_x=yes
9367 else
9368 # If each of the values was on the command line, it overrides each guess.
9369 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9370 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9371 # Update the cache value to reflect the command line values.
9372 ac_cv_have_x="have_x=yes\
9373 ac_x_includes='$x_includes'\
9374 ac_x_libraries='$x_libraries'"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9376 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9379 if test "$no_x" = yes; then
9380 # Not all programs may use this symbol, but it does not hurt to define it.
9382 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9384 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9385 else
9386 if test -n "$x_includes"; then
9387 X_CFLAGS="$X_CFLAGS -I$x_includes"
9390 # It would also be nice to do this for all -L options, not just this one.
9391 if test -n "$x_libraries"; then
9392 X_LIBS="$X_LIBS -L$x_libraries"
9393 # For Solaris; some versions of Sun CC require a space after -R and
9394 # others require no space. Words are not sufficient . . . .
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9396 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9397 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9398 ac_xsave_c_werror_flag=$ac_c_werror_flag
9399 ac_c_werror_flag=yes
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9404 main ()
9408 return 0;
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9413 $as_echo "no" >&6; }
9414 X_LIBS="$X_LIBS -R$x_libraries"
9415 else
9416 LIBS="$ac_xsave_LIBS -R $x_libraries"
9417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9421 main ()
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9430 $as_echo "yes" >&6; }
9431 X_LIBS="$X_LIBS -R $x_libraries"
9432 else
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9434 $as_echo "neither works" >&6; }
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 ac_c_werror_flag=$ac_xsave_c_werror_flag
9442 LIBS=$ac_xsave_LIBS
9445 # Check for system-dependent libraries X programs must link with.
9446 # Do this before checking for the system-independent R6 libraries
9447 # (-lICE), since we may need -lsocket or whatever for X linking.
9449 if test "$ISC" = yes; then
9450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9451 else
9452 # Martyn Johnson says this is needed for Ultrix, if the X
9453 # libraries were built with DECnet support. And Karl Berry says
9454 # the Alpha needs dnet_stub (dnet does not exist).
9455 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 char XOpenDisplay ();
9467 main ()
9469 return XOpenDisplay ();
9471 return 0;
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9476 else
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9478 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9479 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_check_lib_save_LIBS=$LIBS
9483 LIBS="-ldnet $LIBS"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9490 #ifdef __cplusplus
9491 extern "C"
9492 #endif
9493 char dnet_ntoa ();
9495 main ()
9497 return dnet_ntoa ();
9499 return 0;
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_lib_dnet_dnet_ntoa=yes
9504 else
9505 ac_cv_lib_dnet_dnet_ntoa=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 LIBS=$ac_check_lib_save_LIBS
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9512 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9513 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9514 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9517 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9519 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9520 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 ac_check_lib_save_LIBS=$LIBS
9524 LIBS="-ldnet_stub $LIBS"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9531 #ifdef __cplusplus
9532 extern "C"
9533 #endif
9534 char dnet_ntoa ();
9536 main ()
9538 return dnet_ntoa ();
9540 return 0;
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9545 else
9546 ac_cv_lib_dnet_stub_dnet_ntoa=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 LIBS=$ac_check_lib_save_LIBS
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9553 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9554 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9555 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS="$ac_xsave_LIBS"
9564 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9565 # to get the SysV transport functions.
9566 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9567 # needs -lnsl.
9568 # The nsl library prevents programs from opening the X display
9569 # on Irix 5.2, according to T.E. Dickey.
9570 # The functions gethostbyname, getservbyname, and inet_addr are
9571 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9572 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9573 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9577 if test $ac_cv_func_gethostbyname = no; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9579 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9580 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lnsl $LIBS"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 char gethostbyname ();
9596 main ()
9598 return gethostbyname ();
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_lib_nsl_gethostbyname=yes
9605 else
9606 ac_cv_lib_nsl_gethostbyname=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 LIBS=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9613 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9614 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9615 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9618 if test $ac_cv_lib_nsl_gethostbyname = no; then
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9620 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9621 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9622 $as_echo_n "(cached) " >&6
9623 else
9624 ac_check_lib_save_LIBS=$LIBS
9625 LIBS="-lbsd $LIBS"
9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9632 #ifdef __cplusplus
9633 extern "C"
9634 #endif
9635 char gethostbyname ();
9637 main ()
9639 return gethostbyname ();
9641 return 0;
9643 _ACEOF
9644 if ac_fn_c_try_link "$LINENO"; then :
9645 ac_cv_lib_bsd_gethostbyname=yes
9646 else
9647 ac_cv_lib_bsd_gethostbyname=no
9649 rm -f core conftest.err conftest.$ac_objext \
9650 conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_lib_save_LIBS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9654 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9655 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9656 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9662 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9663 # socket/setsockopt and other routines are undefined under SCO ODT
9664 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9665 # on later versions), says Simon Leinen: it contains gethostby*
9666 # variants that don't use the name server (or something). -lsocket
9667 # must be given before -lnsl if both are needed. We assume that
9668 # if connect needs -lnsl, so does gethostbyname.
9669 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9670 if test "x$ac_cv_func_connect" = xyes; then :
9674 if test $ac_cv_func_connect = no; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9676 $as_echo_n "checking for connect in -lsocket... " >&6; }
9677 if ${ac_cv_lib_socket_connect+:} false; then :
9678 $as_echo_n "(cached) " >&6
9679 else
9680 ac_check_lib_save_LIBS=$LIBS
9681 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9685 /* Override any GCC internal prototype to avoid an error.
9686 Use char because int might match the return type of a GCC
9687 builtin and then its argument prototype would still apply. */
9688 #ifdef __cplusplus
9689 extern "C"
9690 #endif
9691 char connect ();
9693 main ()
9695 return connect ();
9697 return 0;
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 ac_cv_lib_socket_connect=yes
9702 else
9703 ac_cv_lib_socket_connect=no
9705 rm -f core conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 LIBS=$ac_check_lib_save_LIBS
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9710 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9711 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9712 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9717 # Guillermo Gomez says -lposix is necessary on A/UX.
9718 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9719 if test "x$ac_cv_func_remove" = xyes; then :
9723 if test $ac_cv_func_remove = no; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9725 $as_echo_n "checking for remove in -lposix... " >&6; }
9726 if ${ac_cv_lib_posix_remove+:} false; then :
9727 $as_echo_n "(cached) " >&6
9728 else
9729 ac_check_lib_save_LIBS=$LIBS
9730 LIBS="-lposix $LIBS"
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9734 /* Override any GCC internal prototype to avoid an error.
9735 Use char because int might match the return type of a GCC
9736 builtin and then its argument prototype would still apply. */
9737 #ifdef __cplusplus
9738 extern "C"
9739 #endif
9740 char remove ();
9742 main ()
9744 return remove ();
9746 return 0;
9748 _ACEOF
9749 if ac_fn_c_try_link "$LINENO"; then :
9750 ac_cv_lib_posix_remove=yes
9751 else
9752 ac_cv_lib_posix_remove=no
9754 rm -f core conftest.err conftest.$ac_objext \
9755 conftest$ac_exeext conftest.$ac_ext
9756 LIBS=$ac_check_lib_save_LIBS
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9759 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9760 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9766 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9767 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9768 if test "x$ac_cv_func_shmat" = xyes; then :
9772 if test $ac_cv_func_shmat = no; then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9774 $as_echo_n "checking for shmat in -lipc... " >&6; }
9775 if ${ac_cv_lib_ipc_shmat+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_check_lib_save_LIBS=$LIBS
9779 LIBS="-lipc $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 #endif
9789 char shmat ();
9791 main ()
9793 return shmat ();
9795 return 0;
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 ac_cv_lib_ipc_shmat=yes
9800 else
9801 ac_cv_lib_ipc_shmat=no
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_lib_save_LIBS
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9808 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9809 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9816 # Check for libraries that X11R6 Xt/Xaw programs need.
9817 ac_save_LDFLAGS=$LDFLAGS
9818 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9819 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9820 # check for ICE first), but we must link in the order -lSM -lICE or
9821 # we get undefined symbols. So assume we have SM if we have ICE.
9822 # These have to be linked with before -lX11, unlike the other
9823 # libraries we check for below, so use a different variable.
9824 # John Interrante, Karl Berry
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9826 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9827 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9828 $as_echo_n "(cached) " >&6
9829 else
9830 ac_check_lib_save_LIBS=$LIBS
9831 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9838 #ifdef __cplusplus
9839 extern "C"
9840 #endif
9841 char IceConnectionNumber ();
9843 main ()
9845 return IceConnectionNumber ();
9847 return 0;
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_lib_ICE_IceConnectionNumber=yes
9852 else
9853 ac_cv_lib_ICE_IceConnectionNumber=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LIBS=$ac_check_lib_save_LIBS
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9860 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9861 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9862 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9865 LDFLAGS=$ac_save_LDFLAGS
9870 if test "$have_x" = "yes"
9871 then
9872 ac_save_CPPFLAGS="$CPPFLAGS"
9873 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9876 $as_echo_n "checking for -lX11... " >&6; }
9877 if ${ac_cv_lib_soname_X11+:} false; then :
9878 $as_echo_n "(cached) " >&6
9879 else
9880 ac_check_soname_save_LIBS=$LIBS
9881 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9888 #ifdef __cplusplus
9889 extern "C"
9890 #endif
9891 char XCreateWindow ();
9893 main ()
9895 return XCreateWindow ();
9897 return 0;
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 case "$LIBEXT" in
9902 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9903 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'` ;;
9904 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9905 if ${ac_cv_lib_soname_X11:+false} :; then :
9906 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9907 fi ;;
9908 esac
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 LIBS=$ac_check_soname_save_LIBS
9914 if ${ac_cv_lib_soname_X11:+false} :; then :
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9916 $as_echo "not found" >&6; }
9918 else
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9920 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9922 cat >>confdefs.h <<_ACEOF
9923 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9924 _ACEOF
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9929 $as_echo_n "checking for -lXext... " >&6; }
9930 if ${ac_cv_lib_soname_Xext+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_check_soname_save_LIBS=$LIBS
9934 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9941 #ifdef __cplusplus
9942 extern "C"
9943 #endif
9944 char XextCreateExtension ();
9946 main ()
9948 return XextCreateExtension ();
9950 return 0;
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 case "$LIBEXT" in
9955 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9956 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'` ;;
9957 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9958 if ${ac_cv_lib_soname_Xext:+false} :; then :
9959 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9960 fi ;;
9961 esac
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 LIBS=$ac_check_soname_save_LIBS
9967 if ${ac_cv_lib_soname_Xext:+false} :; then :
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9969 $as_echo "not found" >&6; }
9971 else
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9973 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9975 cat >>confdefs.h <<_ACEOF
9976 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9977 _ACEOF
9979 X_LIBS="$X_LIBS -lXext"
9981 X_LIBS="$X_LIBS -lX11"
9983 for ac_header in X11/Xlib.h \
9984 X11/XKBlib.h \
9985 X11/Xutil.h \
9986 X11/Xcursor/Xcursor.h \
9987 X11/extensions/shape.h \
9988 X11/extensions/XInput.h \
9989 X11/extensions/XInput2.h \
9990 X11/extensions/XShm.h \
9991 X11/extensions/Xcomposite.h \
9992 X11/extensions/Xfixes.h \
9993 X11/extensions/Xinerama.h \
9994 X11/extensions/Xrandr.h \
9995 X11/extensions/Xrender.h \
9996 X11/extensions/xf86vmode.h \
9997 X11/extensions/xf86vmproto.h
9998 do :
9999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10000 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10001 # include <X11/Xlib.h>
10002 #endif
10003 #ifdef HAVE_X11_XUTIL_H
10004 # include <X11/Xutil.h>
10005 #endif
10007 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10008 cat >>confdefs.h <<_ACEOF
10009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10010 _ACEOF
10014 done
10017 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10018 then
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10020 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10021 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10022 $as_echo_n "(cached) " >&6
10023 else
10024 ac_check_lib_save_LIBS=$LIBS
10025 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10029 /* Override any GCC internal prototype to avoid an error.
10030 Use char because int might match the return type of a GCC
10031 builtin and then its argument prototype would still apply. */
10032 #ifdef __cplusplus
10033 extern "C"
10034 #endif
10035 char XkbQueryExtension ();
10037 main ()
10039 return XkbQueryExtension ();
10041 return 0;
10043 _ACEOF
10044 if ac_fn_c_try_link "$LINENO"; then :
10045 ac_cv_lib_X11_XkbQueryExtension=yes
10046 else
10047 ac_cv_lib_X11_XkbQueryExtension=no
10049 rm -f core conftest.err conftest.$ac_objext \
10050 conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_lib_save_LIBS
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10054 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10055 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10057 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10063 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10064 then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10066 $as_echo_n "checking for -lXcursor... " >&6; }
10067 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_check_soname_save_LIBS=$LIBS
10071 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10078 #ifdef __cplusplus
10079 extern "C"
10080 #endif
10081 char XcursorImageLoadCursor ();
10083 main ()
10085 return XcursorImageLoadCursor ();
10087 return 0;
10089 _ACEOF
10090 if ac_fn_c_try_link "$LINENO"; then :
10091 case "$LIBEXT" in
10092 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10093 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'` ;;
10094 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10095 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10096 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10097 fi ;;
10098 esac
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 LIBS=$ac_check_soname_save_LIBS
10104 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10106 $as_echo "not found" >&6; }
10108 else
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10110 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10112 cat >>confdefs.h <<_ACEOF
10113 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10114 _ACEOF
10119 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10120 case "x$with_xcursor" in
10121 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10122 xno) ;;
10123 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10124 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10125 esac
10129 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10130 then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10132 $as_echo_n "checking for -lXi... " >&6; }
10133 if ${ac_cv_lib_soname_Xi+:} false; then :
10134 $as_echo_n "(cached) " >&6
10135 else
10136 ac_check_soname_save_LIBS=$LIBS
10137 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10144 #ifdef __cplusplus
10145 extern "C"
10146 #endif
10147 char XOpenDevice ();
10149 main ()
10151 return XOpenDevice ();
10153 return 0;
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 case "$LIBEXT" in
10158 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10159 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'` ;;
10160 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10161 if ${ac_cv_lib_soname_Xi:+false} :; then :
10162 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10163 fi ;;
10164 esac
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 LIBS=$ac_check_soname_save_LIBS
10170 if ${ac_cv_lib_soname_Xi:+false} :; then :
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10172 $as_echo "not found" >&6; }
10174 else
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10176 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10178 cat >>confdefs.h <<_ACEOF
10179 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10180 _ACEOF
10185 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10186 case "x$with_xinput" in
10187 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10188 xno) ;;
10189 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10190 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10191 esac
10195 if test "x$ac_cv_lib_soname_Xi" != x
10196 then
10197 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10198 case "x$with_xinput2" in
10199 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10200 xno) ;;
10201 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10202 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10203 esac
10208 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10209 then
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10211 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10212 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_check_lib_save_LIBS=$LIBS
10216 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10223 #ifdef __cplusplus
10224 extern "C"
10225 #endif
10226 char XShmQueryExtension ();
10228 main ()
10230 return XShmQueryExtension ();
10232 return 0;
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 ac_cv_lib_Xext_XShmQueryExtension=yes
10237 else
10238 ac_cv_lib_Xext_XShmQueryExtension=no
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 LIBS=$ac_check_lib_save_LIBS
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10245 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10246 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10248 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10253 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10254 case "x$with_xshm" in
10255 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10256 xno) ;;
10257 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10258 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10259 esac
10263 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10264 then
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10266 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10267 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_check_lib_save_LIBS=$LIBS
10271 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10275 /* Override any GCC internal prototype to avoid an error.
10276 Use char because int might match the return type of a GCC
10277 builtin and then its argument prototype would still apply. */
10278 #ifdef __cplusplus
10279 extern "C"
10280 #endif
10281 char XShapeQueryExtension ();
10283 main ()
10285 return XShapeQueryExtension ();
10287 return 0;
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_lib_Xext_XShapeQueryExtension=yes
10292 else
10293 ac_cv_lib_Xext_XShapeQueryExtension=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 LIBS=$ac_check_lib_save_LIBS
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10300 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10301 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10303 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10308 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10309 case "x$with_xshape" in
10310 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10311 xno) ;;
10312 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10313 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10314 esac
10318 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10319 then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10321 $as_echo_n "checking for -lXxf86vm... " >&6; }
10322 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_check_soname_save_LIBS=$LIBS
10326 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10333 #ifdef __cplusplus
10334 extern "C"
10335 #endif
10336 char XF86VidModeQueryExtension ();
10338 main ()
10340 return XF86VidModeQueryExtension ();
10342 return 0;
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 case "$LIBEXT" in
10347 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10348 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'` ;;
10349 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10350 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10351 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10352 fi ;;
10353 esac
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 LIBS=$ac_check_soname_save_LIBS
10359 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10361 $as_echo "not found" >&6; }
10363 else
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10365 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10367 cat >>confdefs.h <<_ACEOF
10368 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10369 _ACEOF
10374 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10375 case "x$with_xxf86vm" in
10376 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10377 xno) ;;
10378 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10379 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10380 esac
10384 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10385 then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10387 $as_echo_n "checking for -lXrender... " >&6; }
10388 if ${ac_cv_lib_soname_Xrender+:} false; then :
10389 $as_echo_n "(cached) " >&6
10390 else
10391 ac_check_soname_save_LIBS=$LIBS
10392 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10396 /* Override any GCC internal prototype to avoid an error.
10397 Use char because int might match the return type of a GCC
10398 builtin and then its argument prototype would still apply. */
10399 #ifdef __cplusplus
10400 extern "C"
10401 #endif
10402 char XRenderQueryExtension ();
10404 main ()
10406 return XRenderQueryExtension ();
10408 return 0;
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 case "$LIBEXT" in
10413 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10414 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'` ;;
10415 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10416 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10417 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10418 fi ;;
10419 esac
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 LIBS=$ac_check_soname_save_LIBS
10425 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10427 $as_echo "not found" >&6; }
10429 else
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10431 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10433 cat >>confdefs.h <<_ACEOF
10434 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10435 _ACEOF
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10438 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10439 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10440 $as_echo_n "(cached) " >&6
10441 else
10442 ac_check_lib_save_LIBS=$LIBS
10443 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10450 #ifdef __cplusplus
10451 extern "C"
10452 #endif
10453 char XRenderSetPictureTransform ();
10455 main ()
10457 return XRenderSetPictureTransform ();
10459 return 0;
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10464 else
10465 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_lib_save_LIBS
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10472 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10473 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10475 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10480 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10481 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10482 $as_echo_n "(cached) " >&6
10483 else
10484 ac_check_lib_save_LIBS=$LIBS
10485 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10489 /* Override any GCC internal prototype to avoid an error.
10490 Use char because int might match the return type of a GCC
10491 builtin and then its argument prototype would still apply. */
10492 #ifdef __cplusplus
10493 extern "C"
10494 #endif
10495 char XRenderCreateLinearGradient ();
10497 main ()
10499 return XRenderCreateLinearGradient ();
10501 return 0;
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10506 else
10507 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10509 rm -f core conftest.err conftest.$ac_objext \
10510 conftest$ac_exeext conftest.$ac_ext
10511 LIBS=$ac_check_lib_save_LIBS
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10514 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10515 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10517 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10524 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10525 case "x$with_xrender" in
10526 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10527 xno) ;;
10528 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10529 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10530 esac
10534 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10535 then
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10538 #include <X11/Xlib.h>
10539 #include <X11/extensions/Xrandr.h>
10541 main ()
10543 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10545 return 0;
10547 _ACEOF
10548 if ac_fn_c_try_compile "$LINENO"; then :
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10550 $as_echo_n "checking for -lXrandr... " >&6; }
10551 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10552 $as_echo_n "(cached) " >&6
10553 else
10554 ac_check_soname_save_LIBS=$LIBS
10555 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10559 /* Override any GCC internal prototype to avoid an error.
10560 Use char because int might match the return type of a GCC
10561 builtin and then its argument prototype would still apply. */
10562 #ifdef __cplusplus
10563 extern "C"
10564 #endif
10565 char XRRQueryExtension ();
10567 main ()
10569 return XRRQueryExtension ();
10571 return 0;
10573 _ACEOF
10574 if ac_fn_c_try_link "$LINENO"; then :
10575 case "$LIBEXT" in
10576 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10577 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'` ;;
10578 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10579 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10580 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10581 fi ;;
10582 esac
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_soname_save_LIBS
10588 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10590 $as_echo "not found" >&6; }
10592 else
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10594 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10596 cat >>confdefs.h <<_ACEOF
10597 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10598 _ACEOF
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10602 #include <X11/Xlib.h>
10603 #include <X11/extensions/Xrandr.h>
10605 main ()
10607 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10609 return 0;
10611 _ACEOF
10612 if ac_fn_c_try_compile "$LINENO"; then :
10614 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10622 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10623 case "x$with_xrandr" in
10624 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10625 xno) ;;
10626 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10627 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10628 esac
10632 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10633 then
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 #include <X11/Xlib.h>
10637 #include <X11/extensions/Xfixes.h>
10639 main ()
10641 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10643 return 0;
10645 _ACEOF
10646 if ac_fn_c_try_compile "$LINENO"; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10648 $as_echo_n "checking for -lXfixes... " >&6; }
10649 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_check_soname_save_LIBS=$LIBS
10653 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char XFixesQueryVersion ();
10665 main ()
10667 return XFixesQueryVersion ();
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 case "$LIBEXT" in
10674 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10675 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'` ;;
10676 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10677 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10678 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10679 fi ;;
10680 esac
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_soname_save_LIBS
10686 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10688 $as_echo "not found" >&6; }
10690 else
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10692 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10694 cat >>confdefs.h <<_ACEOF
10695 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10696 _ACEOF
10701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10703 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10704 case "x$with_xfixes" in
10705 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10706 xno) ;;
10707 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10708 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10709 esac
10713 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10714 then
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 #include <X11/Xlib.h>
10718 #include <X11/extensions/Xinerama.h>
10720 main ()
10722 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10724 return 0;
10726 _ACEOF
10727 if ac_fn_c_try_compile "$LINENO"; then :
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10729 $as_echo_n "checking for -lXinerama... " >&6; }
10730 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10731 $as_echo_n "(cached) " >&6
10732 else
10733 ac_check_soname_save_LIBS=$LIBS
10734 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10738 /* Override any GCC internal prototype to avoid an error.
10739 Use char because int might match the return type of a GCC
10740 builtin and then its argument prototype would still apply. */
10741 #ifdef __cplusplus
10742 extern "C"
10743 #endif
10744 char XineramaQueryScreens ();
10746 main ()
10748 return XineramaQueryScreens ();
10750 return 0;
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"; then :
10754 case "$LIBEXT" in
10755 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10756 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'` ;;
10757 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10758 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10759 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10760 fi ;;
10761 esac
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_soname_save_LIBS
10767 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10769 $as_echo "not found" >&6; }
10771 else
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10773 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10775 cat >>confdefs.h <<_ACEOF
10776 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10777 _ACEOF
10782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10784 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10785 case "x$with_xinerama" in
10786 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10789 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10790 esac
10794 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10795 then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10797 $as_echo_n "checking for -lXcomposite... " >&6; }
10798 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10799 $as_echo_n "(cached) " >&6
10800 else
10801 ac_check_soname_save_LIBS=$LIBS
10802 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 char XCompositeRedirectWindow ();
10814 main ()
10816 return XCompositeRedirectWindow ();
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10822 case "$LIBEXT" in
10823 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10824 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'` ;;
10825 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10826 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10827 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10828 fi ;;
10829 esac
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LIBS=$ac_check_soname_save_LIBS
10835 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10837 $as_echo "not found" >&6; }
10839 else
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10841 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10843 cat >>confdefs.h <<_ACEOF
10844 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10845 _ACEOF
10850 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10851 case "x$with_xcomposite" in
10852 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10853 xno) ;;
10854 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10855 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10856 esac
10860 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10861 #include <X11/Xlib.h>
10862 #endif
10864 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10866 cat >>confdefs.h <<_ACEOF
10867 #define HAVE_XICCALLBACK_CALLBACK 1
10868 _ACEOF
10872 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10873 #include <X11/Xlib.h>
10874 #endif
10876 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10878 cat >>confdefs.h <<_ACEOF
10879 #define HAVE_XEVENT_XCOOKIE 1
10880 _ACEOF
10887 opengl_msg=""
10888 if test "x$with_opengl" != "xno"
10889 then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10891 $as_echo_n "checking for -lGL... " >&6; }
10892 if ${ac_cv_lib_soname_GL+:} false; then :
10893 $as_echo_n "(cached) " >&6
10894 else
10895 ac_check_soname_save_LIBS=$LIBS
10896 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10903 #ifdef __cplusplus
10904 extern "C"
10905 #endif
10906 char glXCreateContext ();
10908 main ()
10910 return glXCreateContext ();
10912 return 0;
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 case "$LIBEXT" in
10917 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10918 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'` ;;
10919 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10920 if ${ac_cv_lib_soname_GL:+false} :; then :
10921 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10922 fi ;;
10923 esac
10925 rm -f core conftest.err conftest.$ac_objext \
10926 conftest$ac_exeext conftest.$ac_ext
10927 LIBS=$ac_check_soname_save_LIBS
10929 if ${ac_cv_lib_soname_GL:+false} :; then :
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10931 $as_echo "not found" >&6; }
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10933 $as_echo_n "checking for -lGL... " >&6; }
10934 if ${ac_cv_lib_soname_GL+:} false; then :
10935 $as_echo_n "(cached) " >&6
10936 else
10937 ac_check_soname_save_LIBS=$LIBS
10938 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"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10942 /* Override any GCC internal prototype to avoid an error.
10943 Use char because int might match the return type of a GCC
10944 builtin and then its argument prototype would still apply. */
10945 #ifdef __cplusplus
10946 extern "C"
10947 #endif
10948 char glXCreateContext ();
10950 main ()
10952 return glXCreateContext ();
10954 return 0;
10956 _ACEOF
10957 if ac_fn_c_try_link "$LINENO"; then :
10958 case "$LIBEXT" in
10959 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10960 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'` ;;
10961 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10962 if ${ac_cv_lib_soname_GL:+false} :; then :
10963 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10964 fi ;;
10965 esac
10967 rm -f core conftest.err conftest.$ac_objext \
10968 conftest$ac_exeext conftest.$ac_ext
10969 LIBS=$ac_check_soname_save_LIBS
10971 if ${ac_cv_lib_soname_GL:+false} :; then :
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10973 $as_echo "not found" >&6; }
10974 if test -f /usr/X11R6/lib/libGL.a
10975 then
10976 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10977 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10978 else
10979 opengl_msg="No OpenGL library found on this system."
10981 else
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10983 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10985 cat >>confdefs.h <<_ACEOF
10986 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10987 _ACEOF
10989 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"
10991 else
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10993 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10995 cat >>confdefs.h <<_ACEOF
10996 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10997 _ACEOF
10999 OPENGL_LIBS="-lGL"
11001 if test "x$with_glu" != "xno"
11002 then
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11004 $as_echo_n "checking for -lGLU... " >&6; }
11005 if ${ac_cv_lib_soname_GLU+:} false; then :
11006 $as_echo_n "(cached) " >&6
11007 else
11008 ac_check_soname_save_LIBS=$LIBS
11009 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11011 /* end confdefs.h. */
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11016 #ifdef __cplusplus
11017 extern "C"
11018 #endif
11019 char gluLookAt ();
11021 main ()
11023 return gluLookAt ();
11025 return 0;
11027 _ACEOF
11028 if ac_fn_c_try_link "$LINENO"; then :
11029 case "$LIBEXT" in
11030 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11031 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'` ;;
11032 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11033 if ${ac_cv_lib_soname_GLU:+false} :; then :
11034 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11035 fi ;;
11036 esac
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_soname_save_LIBS
11042 if ${ac_cv_lib_soname_GLU:+false} :; then :
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11044 $as_echo "not found" >&6; }
11046 else
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11048 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11050 cat >>confdefs.h <<_ACEOF
11051 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11052 _ACEOF
11056 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11057 case "x$with_glu" in
11058 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11059 xno) ;;
11060 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11061 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11062 esac
11067 if test "x$with_osmesa" != "xno"
11068 then
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11070 $as_echo_n "checking for -lOSMesa... " >&6; }
11071 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_soname_save_LIBS=$LIBS
11075 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char OSMesaGetProcAddress ();
11087 main ()
11089 return OSMesaGetProcAddress ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 case "$LIBEXT" in
11096 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11097 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'` ;;
11098 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11099 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11100 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11101 fi ;;
11102 esac
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_soname_save_LIBS
11108 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11110 $as_echo "not found" >&6; }
11112 else
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11114 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11116 cat >>confdefs.h <<_ACEOF
11117 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11118 _ACEOF
11122 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11123 case "x$with_osmesa" in
11124 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11125 xno) ;;
11126 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11127 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11128 esac
11133 if test -n "$opengl_msg"; then :
11134 case "x$with_opengl" in
11135 x) as_fn_append wine_warnings "|$opengl_msg
11136 OpenGL and Direct3D won't be supported." ;;
11137 xno) ;;
11138 *) as_fn_error $? "$opengl_msg
11139 OpenGL and Direct3D won't be supported.
11140 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11141 esac
11145 CPPFLAGS="$ac_save_CPPFLAGS"
11146 else
11147 X_CFLAGS=""
11148 X_LIBS=""
11151 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11152 then
11153 if test "x$X_LIBS" = "x"; then :
11154 case "x$with_x" in
11155 xno) ;;
11156 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11157 without X support, which probably isn't what you want. You will need
11158 to install ${notice_platform}development packages of Xlib at the very least.
11159 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11160 esac
11161 enable_winex11_drv=${enable_winex11_drv:-no}
11163 else
11164 if test "x$X_LIBS" = "x"; then :
11165 case "x$with_x" in
11166 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11167 xno) ;;
11168 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11169 This is an error since --with-x was requested." "$LINENO" 5 ;;
11170 esac
11171 enable_winex11_drv=${enable_winex11_drv:-no}
11175 if test "$ac_cv_header_CL_cl_h" = "yes"
11176 then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11178 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11179 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11180 $as_echo_n "(cached) " >&6
11181 else
11182 ac_check_lib_save_LIBS=$LIBS
11183 LIBS="-lOpenCL $LIBS"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11190 #ifdef __cplusplus
11191 extern "C"
11192 #endif
11193 char clGetPlatformInfo ();
11195 main ()
11197 return clGetPlatformInfo ();
11199 return 0;
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11204 else
11205 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11212 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11213 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11214 OPENCL_LIBS="-lOpenCL"
11219 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11220 case "x$with_opencl" in
11221 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11222 xno) ;;
11223 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11224 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11225 esac
11226 enable_opencl=${enable_opencl:-no}
11229 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11230 then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11232 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11233 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lpcap $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char pcap_create ();
11249 main ()
11251 return pcap_create ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_pcap_pcap_create=yes
11258 else
11259 ac_cv_lib_pcap_pcap_create=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11266 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11267 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11268 PCAP_LIBS="-lpcap"
11273 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11274 case "x$with_pcap" in
11275 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11276 xno) ;;
11277 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11278 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11279 esac
11280 enable_wpcap=${enable_wpcap:-no}
11284 if test "x$with_xml" != "xno"
11285 then
11286 if ${XML2_CFLAGS:+false} :; then :
11287 if ${PKG_CONFIG+:} false; then :
11288 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11291 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11292 if ${XML2_LIBS:+false} :; then :
11293 if ${PKG_CONFIG+:} false; then :
11294 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11297 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11298 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11299 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11300 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11301 ac_save_CPPFLAGS=$CPPFLAGS
11302 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11303 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11304 do :
11305 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11306 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11307 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11308 cat >>confdefs.h <<_ACEOF
11309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11310 _ACEOF
11314 done
11316 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"
11317 then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11319 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11320 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-lxml2 $XML2_LIBS $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char xmlParseMemory ();
11336 main ()
11338 return xmlParseMemory ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_xml2_xmlParseMemory=yes
11345 else
11346 ac_cv_lib_xml2_xmlParseMemory=no
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11353 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11354 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11356 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11358 else
11359 XML2_LIBS=""
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11363 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11364 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11365 $as_echo_n "(cached) " >&6
11366 else
11367 ac_check_lib_save_LIBS=$LIBS
11368 LIBS="-lxml2 $XML2_LIBS $LIBS"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 char xmlReadMemory ();
11380 main ()
11382 return xmlReadMemory ();
11384 return 0;
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"; then :
11388 ac_cv_lib_xml2_xmlReadMemory=yes
11389 else
11390 ac_cv_lib_xml2_xmlReadMemory=no
11392 rm -f core conftest.err conftest.$ac_objext \
11393 conftest$ac_exeext conftest.$ac_ext
11394 LIBS=$ac_check_lib_save_LIBS
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11397 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11398 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11400 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11405 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11406 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_lib_save_LIBS=$LIBS
11410 LIBS="-lxml2 $XML2_LIBS $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char xmlNewDocPI ();
11422 main ()
11424 return xmlNewDocPI ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 ac_cv_lib_xml2_xmlNewDocPI=yes
11431 else
11432 ac_cv_lib_xml2_xmlNewDocPI=no
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_lib_save_LIBS
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11439 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11440 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11442 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11447 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11448 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11449 $as_echo_n "(cached) " >&6
11450 else
11451 ac_check_lib_save_LIBS=$LIBS
11452 LIBS="-lxml2 $XML2_LIBS $LIBS"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11459 #ifdef __cplusplus
11460 extern "C"
11461 #endif
11462 char xmlSchemaSetParserStructuredErrors ();
11464 main ()
11466 return xmlSchemaSetParserStructuredErrors ();
11468 return 0;
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"; then :
11472 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11473 else
11474 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11476 rm -f core conftest.err conftest.$ac_objext \
11477 conftest$ac_exeext conftest.$ac_ext
11478 LIBS=$ac_check_lib_save_LIBS
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11481 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11482 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11484 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11489 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11490 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11491 $as_echo_n "(cached) " >&6
11492 else
11493 ac_check_lib_save_LIBS=$LIBS
11494 LIBS="-lxml2 $XML2_LIBS $LIBS"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char xmlSchemaSetValidStructuredErrors ();
11506 main ()
11508 return xmlSchemaSetValidStructuredErrors ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11515 else
11516 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_lib_save_LIBS
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11523 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11524 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11526 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11531 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11532 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11533 $as_echo_n "(cached) " >&6
11534 else
11535 ac_check_lib_save_LIBS=$LIBS
11536 LIBS="-lxml2 $XML2_LIBS $LIBS"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11543 #ifdef __cplusplus
11544 extern "C"
11545 #endif
11546 char xmlFirstElementChild ();
11548 main ()
11550 return xmlFirstElementChild ();
11552 return 0;
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"; then :
11556 ac_cv_lib_xml2_xmlFirstElementChild=yes
11557 else
11558 ac_cv_lib_xml2_xmlFirstElementChild=no
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_lib_save_LIBS
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11565 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11566 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11568 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11572 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11574 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11576 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11580 else
11581 XML2_CFLAGS=""
11582 XML2_LIBS=""
11584 CPPFLAGS=$ac_save_CPPFLAGS
11585 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11586 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11589 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11590 case "x$with_xml" in
11591 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11592 xno) ;;
11593 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11594 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11595 esac
11599 if test "x$with_xslt" != "xno"
11600 then
11601 if ${XSLT_CFLAGS:+false} :; then :
11602 if ${PKG_CONFIG+:} false; then :
11603 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11606 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11607 if ${XSLT_LIBS:+false} :; then :
11608 if ${PKG_CONFIG+:} false; then :
11609 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11612 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11613 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11614 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11615 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11616 ac_save_CPPFLAGS=$CPPFLAGS
11617 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11618 for ac_header in libxslt/pattern.h libxslt/transform.h
11619 do :
11620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11621 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11622 # include <libxslt/pattern.h>
11623 #endif
11625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11626 cat >>confdefs.h <<_ACEOF
11627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11628 _ACEOF
11632 done
11634 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11635 then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11637 $as_echo_n "checking for -lxslt... " >&6; }
11638 if ${ac_cv_lib_soname_xslt+:} false; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 ac_check_soname_save_LIBS=$LIBS
11642 LIBS="-lxslt $XSLT_LIBS $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 char xsltCompilePattern ();
11654 main ()
11656 return xsltCompilePattern ();
11658 return 0;
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 case "$LIBEXT" in
11663 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11664 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'` ;;
11665 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11666 if ${ac_cv_lib_soname_xslt:+false} :; then :
11667 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11668 fi ;;
11669 esac
11671 rm -f core conftest.err conftest.$ac_objext \
11672 conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_soname_save_LIBS
11675 if ${ac_cv_lib_soname_xslt:+false} :; then :
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11677 $as_echo "not found" >&6; }
11679 else
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11681 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11683 cat >>confdefs.h <<_ACEOF
11684 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11685 _ACEOF
11689 else
11690 XSLT_CFLAGS=""
11692 CPPFLAGS=$ac_save_CPPFLAGS
11693 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11694 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11697 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11698 case "x$with_xslt" in
11699 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11700 xno) ;;
11701 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11702 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11703 esac
11707 if test "x$with_dbus" != "xno"
11708 then
11709 if ${DBUS_CFLAGS:+false} :; then :
11710 if ${PKG_CONFIG+:} false; then :
11711 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11715 if ${DBUS_LIBS:+false} :; then :
11716 if ${PKG_CONFIG+:} false; then :
11717 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11722 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11723 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11724 ac_save_CPPFLAGS=$CPPFLAGS
11725 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11726 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11727 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11729 $as_echo_n "checking for -ldbus-1... " >&6; }
11730 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11731 $as_echo_n "(cached) " >&6
11732 else
11733 ac_check_soname_save_LIBS=$LIBS
11734 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11741 #ifdef __cplusplus
11742 extern "C"
11743 #endif
11744 char dbus_connection_close ();
11746 main ()
11748 return dbus_connection_close ();
11750 return 0;
11752 _ACEOF
11753 if ac_fn_c_try_link "$LINENO"; then :
11754 case "$LIBEXT" in
11755 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11756 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'` ;;
11757 *) 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'`
11758 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11759 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11760 fi ;;
11761 esac
11763 rm -f core conftest.err conftest.$ac_objext \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_soname_save_LIBS
11767 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11769 $as_echo "not found" >&6; }
11770 DBUS_CFLAGS=""
11771 else
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11773 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11775 cat >>confdefs.h <<_ACEOF
11776 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11777 _ACEOF
11781 else
11782 DBUS_CFLAGS=""
11786 CPPFLAGS=$ac_save_CPPFLAGS
11787 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11788 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11791 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11792 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11793 case "x$with_dbus" in
11794 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11795 xno) ;;
11796 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11797 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11798 esac
11802 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11803 then
11804 if ${HAL_CFLAGS:+false} :; then :
11805 if ${PKG_CONFIG+:} false; then :
11806 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11810 if ${HAL_LIBS:+false} :; then :
11811 if ${PKG_CONFIG+:} false; then :
11812 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11816 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11817 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11818 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11819 ac_save_CPPFLAGS=$CPPFLAGS
11820 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11821 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11822 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11824 $as_echo_n "checking for -lhal... " >&6; }
11825 if ${ac_cv_lib_soname_hal+:} false; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 ac_check_soname_save_LIBS=$LIBS
11829 LIBS="-lhal $HAL_LIBS $LIBS"
11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11836 #ifdef __cplusplus
11837 extern "C"
11838 #endif
11839 char libhal_ctx_new ();
11841 main ()
11843 return libhal_ctx_new ();
11845 return 0;
11847 _ACEOF
11848 if ac_fn_c_try_link "$LINENO"; then :
11849 case "$LIBEXT" in
11850 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11851 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'` ;;
11852 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11853 if ${ac_cv_lib_soname_hal:+false} :; then :
11854 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11855 fi ;;
11856 esac
11858 rm -f core conftest.err conftest.$ac_objext \
11859 conftest$ac_exeext conftest.$ac_ext
11860 LIBS=$ac_check_soname_save_LIBS
11862 if ${ac_cv_lib_soname_hal:+false} :; then :
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11864 $as_echo "not found" >&6; }
11865 HAL_CFLAGS=""
11866 else
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11868 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11870 cat >>confdefs.h <<_ACEOF
11871 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11872 _ACEOF
11876 else
11877 HAL_CFLAGS=""
11881 CPPFLAGS=$ac_save_CPPFLAGS
11882 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11883 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11885 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11886 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11887 case "x$with_hal" in
11888 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11889 xno) ;;
11890 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11891 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11892 esac
11897 if test "x$with_gnutls" != "xno"
11898 then
11899 if ${GNUTLS_CFLAGS:+false} :; then :
11900 if ${PKG_CONFIG+:} false; then :
11901 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11905 if ${GNUTLS_LIBS:+false} :; then :
11906 if ${PKG_CONFIG+:} false; then :
11907 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11912 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11913 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11914 ac_save_CPPFLAGS=$CPPFLAGS
11915 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11916 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11917 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <gnutls/gnutls.h>
11921 #include <gnutls/crypto.h>
11923 main ()
11925 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11927 return 0;
11929 _ACEOF
11930 if ac_fn_c_try_compile "$LINENO"; then :
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11932 $as_echo_n "checking for -lgnutls... " >&6; }
11933 if ${ac_cv_lib_soname_gnutls+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_soname_save_LIBS=$LIBS
11937 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11944 #ifdef __cplusplus
11945 extern "C"
11946 #endif
11947 char gnutls_global_init ();
11949 main ()
11951 return gnutls_global_init ();
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 case "$LIBEXT" in
11958 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11959 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'` ;;
11960 *) 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'`
11961 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11962 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'`
11963 fi ;;
11964 esac
11966 rm -f core conftest.err conftest.$ac_objext \
11967 conftest$ac_exeext conftest.$ac_ext
11968 LIBS=$ac_check_soname_save_LIBS
11970 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11972 $as_echo "not found" >&6; }
11973 GNUTLS_CFLAGS=""
11974 else
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11976 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11978 cat >>confdefs.h <<_ACEOF
11979 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11980 _ACEOF
11984 ac_wine_check_funcs_save_LIBS="$LIBS"
11985 LIBS="$LIBS $GNUTLS_LIBS"
11986 for ac_func in gnutls_cipher_init
11987 do :
11988 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11989 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11990 cat >>confdefs.h <<_ACEOF
11991 #define HAVE_GNUTLS_CIPHER_INIT 1
11992 _ACEOF
11994 else
11995 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11997 done
11999 LIBS="$ac_wine_check_funcs_save_LIBS"
12001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12002 else
12003 GNUTLS_CFLAGS=""
12007 CPPFLAGS=$ac_save_CPPFLAGS
12008 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12009 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12012 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12013 case "x$with_gnutls" in
12014 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12015 xno) ;;
12016 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12017 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12018 esac
12022 CURSES_LIBS=""
12023 if test "$ac_cv_header_ncurses_h" = "yes"
12024 then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12026 $as_echo_n "checking for -lncurses... " >&6; }
12027 if ${ac_cv_lib_soname_ncurses+:} false; then :
12028 $as_echo_n "(cached) " >&6
12029 else
12030 ac_check_soname_save_LIBS=$LIBS
12031 LIBS="-lncurses $LIBS"
12032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12035 /* Override any GCC internal prototype to avoid an error.
12036 Use char because int might match the return type of a GCC
12037 builtin and then its argument prototype would still apply. */
12038 #ifdef __cplusplus
12039 extern "C"
12040 #endif
12041 char waddch ();
12043 main ()
12045 return waddch ();
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"; then :
12051 case "$LIBEXT" in
12052 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12053 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'` ;;
12054 *) 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'`
12055 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12056 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12057 fi ;;
12058 esac
12060 rm -f core conftest.err conftest.$ac_objext \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_soname_save_LIBS
12064 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12066 $as_echo "not found" >&6; }
12068 else
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12070 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12072 cat >>confdefs.h <<_ACEOF
12073 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12074 _ACEOF
12076 CURSES_LIBS="-lncurses"
12078 elif test "$ac_cv_header_curses_h" = "yes"
12079 then
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12081 $as_echo_n "checking for -lcurses... " >&6; }
12082 if ${ac_cv_lib_soname_curses+:} false; then :
12083 $as_echo_n "(cached) " >&6
12084 else
12085 ac_check_soname_save_LIBS=$LIBS
12086 LIBS="-lcurses $LIBS"
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12093 #ifdef __cplusplus
12094 extern "C"
12095 #endif
12096 char waddch ();
12098 main ()
12100 return waddch ();
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"; then :
12106 case "$LIBEXT" in
12107 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12108 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'` ;;
12109 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12110 if ${ac_cv_lib_soname_curses:+false} :; then :
12111 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12112 fi ;;
12113 esac
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_soname_save_LIBS
12119 if ${ac_cv_lib_soname_curses:+false} :; then :
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12121 $as_echo "not found" >&6; }
12123 else
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12125 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12127 cat >>confdefs.h <<_ACEOF
12128 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12129 _ACEOF
12131 CURSES_LIBS="-lcurses"
12134 ac_save_LIBS="$LIBS"
12135 LIBS="$LIBS $CURSES_LIBS"
12136 for ac_func in mousemask
12137 do :
12138 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12139 if test "x$ac_cv_func_mousemask" = xyes; then :
12140 cat >>confdefs.h <<_ACEOF
12141 #define HAVE_MOUSEMASK 1
12142 _ACEOF
12145 done
12147 LIBS="$ac_save_LIBS"
12148 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12149 case "x$with_curses" in
12150 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12151 xno) ;;
12152 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12153 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12154 esac
12158 if test "x$with_sane" != "xno"
12159 then
12160 if ${SANE_CFLAGS:+false} :; then :
12161 if ${PKG_CONFIG+:} false; then :
12162 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12165 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12166 if ${SANE_LIBS:+false} :; then :
12167 if ${PKG_CONFIG+:} false; then :
12168 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12171 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12173 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12174 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12175 ac_save_CPPFLAGS=$CPPFLAGS
12176 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12177 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12178 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12180 $as_echo_n "checking for -lsane... " >&6; }
12181 if ${ac_cv_lib_soname_sane+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_soname_save_LIBS=$LIBS
12185 LIBS="-lsane $SANE_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char sane_init ();
12197 main ()
12199 return sane_init ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 case "$LIBEXT" in
12206 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12207 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'` ;;
12208 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12209 if ${ac_cv_lib_soname_sane:+false} :; then :
12210 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12211 fi ;;
12212 esac
12214 rm -f core conftest.err conftest.$ac_objext \
12215 conftest$ac_exeext conftest.$ac_ext
12216 LIBS=$ac_check_soname_save_LIBS
12218 if ${ac_cv_lib_soname_sane:+false} :; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12220 $as_echo "not found" >&6; }
12221 SANE_CFLAGS=""
12222 else
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12224 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12226 cat >>confdefs.h <<_ACEOF
12227 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12228 _ACEOF
12232 else
12233 SANE_CFLAGS=""
12237 CPPFLAGS=$ac_save_CPPFLAGS
12238 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12239 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12242 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12243 case "x$with_sane" in
12244 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12245 xno) ;;
12246 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12247 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12248 esac
12252 if test "x$with_v4l" != "xno"
12253 then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12255 $as_echo_n "checking for -lv4l1... " >&6; }
12256 if ${ac_cv_lib_soname_v4l1+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_soname_save_LIBS=$LIBS
12260 LIBS="-lv4l1 $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 #ifdef __cplusplus
12268 extern "C"
12269 #endif
12270 char v4l1_open ();
12272 main ()
12274 return v4l1_open ();
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 case "$LIBEXT" in
12281 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12282 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'` ;;
12283 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12284 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12285 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12286 fi ;;
12287 esac
12289 rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_soname_save_LIBS
12293 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12295 $as_echo "not found" >&6; }
12297 else
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12299 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12301 cat >>confdefs.h <<_ACEOF
12302 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12303 _ACEOF
12308 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12309 case "x$with_v4l" in
12310 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12311 xno) ;;
12312 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12313 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12314 esac
12318 if test "x$with_gphoto" != "xno"
12319 then
12320 if ${GPHOTO2_CFLAGS:+false} :; then :
12321 if ${PKG_CONFIG+:} false; then :
12322 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12325 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12326 if ${GPHOTO2_LIBS:+false} :; then :
12327 if ${PKG_CONFIG+:} false; then :
12328 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12331 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12332 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12333 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12334 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12335 ac_save_CPPFLAGS=$CPPFLAGS
12336 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12337 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12338 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12340 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12341 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12342 $as_echo_n "(cached) " >&6
12343 else
12344 ac_check_lib_save_LIBS=$LIBS
12345 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12352 #ifdef __cplusplus
12353 extern "C"
12354 #endif
12355 char gp_camera_new ();
12357 main ()
12359 return gp_camera_new ();
12361 return 0;
12363 _ACEOF
12364 if ac_fn_c_try_link "$LINENO"; then :
12365 ac_cv_lib_gphoto2_gp_camera_new=yes
12366 else
12367 ac_cv_lib_gphoto2_gp_camera_new=no
12369 rm -f core conftest.err conftest.$ac_objext \
12370 conftest$ac_exeext conftest.$ac_ext
12371 LIBS=$ac_check_lib_save_LIBS
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12374 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12375 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12377 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12379 else
12380 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12383 else
12384 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12388 CPPFLAGS=$ac_save_CPPFLAGS
12389 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12390 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12392 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12393 if ${PKG_CONFIG+:} false; then :
12394 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12397 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12398 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12399 if ${PKG_CONFIG+:} false; then :
12400 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12403 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12404 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12405 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12406 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12407 ac_save_CPPFLAGS=$CPPFLAGS
12408 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12409 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12410 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12412 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12413 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_lib_save_LIBS=$LIBS
12417 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char gp_port_info_list_new ();
12429 main ()
12431 return gp_port_info_list_new ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12438 else
12439 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12446 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12447 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12449 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12451 else
12452 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12455 else
12456 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12460 CPPFLAGS=$ac_save_CPPFLAGS
12461 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12462 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12465 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12466 case "x$with_gphoto" in
12467 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12468 xno) ;;
12469 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12470 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12471 esac
12474 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12475 case "x$with_gphoto" in
12476 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12477 xno) ;;
12478 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12479 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12480 esac
12485 if test "$ac_cv_header_resolv_h" = "yes"
12486 then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12488 $as_echo_n "checking for resolver library... " >&6; }
12489 if ${ac_cv_have_resolv+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_save_LIBS="$LIBS"
12493 for lib in '' -lresolv
12495 LIBS="$lib $ac_save_LIBS"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12498 #ifdef HAVE_NETINET_IN_H
12499 #include <netinet/in.h>
12500 #endif
12501 #include <resolv.h>
12503 main ()
12505 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_link "$LINENO"; then :
12511 ac_cv_have_resolv=${lib:-"none required"}
12512 else
12513 ac_cv_have_resolv="not found"
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 test "x$ac_cv_have_resolv" = "xnot found" || break
12518 done
12519 LIBS="$ac_save_LIBS"
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12522 $as_echo "$ac_cv_have_resolv" >&6; }
12524 case "$ac_cv_have_resolv" in
12525 "not found") ;;
12526 "none required")
12528 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12531 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12533 RESOLV_LIBS=$ac_cv_have_resolv
12535 esac
12538 if test "x$with_cms" != "xno"
12539 then
12540 if ${LCMS2_CFLAGS:+false} :; then :
12541 if ${PKG_CONFIG+:} false; then :
12542 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12546 if ${LCMS2_LIBS:+false} :; then :
12547 if ${PKG_CONFIG+:} false; then :
12548 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12552 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12553 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12554 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12555 ac_save_CPPFLAGS=$CPPFLAGS
12556 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12557 for ac_header in lcms2.h
12558 do :
12559 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12561 cat >>confdefs.h <<_ACEOF
12562 #define HAVE_LCMS2_H 1
12563 _ACEOF
12567 done
12569 if test "$ac_cv_header_lcms2_h" = "yes"
12570 then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12572 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12573 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12574 $as_echo_n "(cached) " >&6
12575 else
12576 ac_check_lib_save_LIBS=$LIBS
12577 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12584 #ifdef __cplusplus
12585 extern "C"
12586 #endif
12587 char cmsOpenProfileFromFile ();
12589 main ()
12591 return cmsOpenProfileFromFile ();
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_link "$LINENO"; then :
12597 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12598 else
12599 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12603 LIBS=$ac_check_lib_save_LIBS
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12606 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12607 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12609 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12611 else
12612 LCMS2_LIBS=""
12615 else
12616 LCMS2_CFLAGS=""
12617 LCMS2_LIBS=""
12619 CPPFLAGS=$ac_save_CPPFLAGS
12620 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12621 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12624 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12625 case "x$with_cms" in
12626 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12627 xno) ;;
12628 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12629 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12630 esac
12634 if test "x$with_freetype" != "xno"
12635 then
12636 if ${FREETYPE_CFLAGS:+false} :; then :
12637 if ${PKG_CONFIG+:} false; then :
12638 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12641 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12642 if ${FREETYPE_LIBS:+false} :; then :
12643 if ${PKG_CONFIG+:} false; then :
12644 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12647 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12648 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12649 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12650 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12651 ac_save_CPPFLAGS=$CPPFLAGS
12652 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12653 for ac_header in ft2build.h
12654 do :
12655 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12656 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12657 cat >>confdefs.h <<_ACEOF
12658 #define HAVE_FT2BUILD_H 1
12659 _ACEOF
12663 done
12665 if test "$ac_cv_header_ft2build_h" = "yes"
12666 then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12668 $as_echo_n "checking for -lfreetype... " >&6; }
12669 if ${ac_cv_lib_soname_freetype+:} false; then :
12670 $as_echo_n "(cached) " >&6
12671 else
12672 ac_check_soname_save_LIBS=$LIBS
12673 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12680 #ifdef __cplusplus
12681 extern "C"
12682 #endif
12683 char FT_Init_FreeType ();
12685 main ()
12687 return FT_Init_FreeType ();
12689 return 0;
12691 _ACEOF
12692 if ac_fn_c_try_link "$LINENO"; then :
12693 case "$LIBEXT" in
12694 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12695 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'` ;;
12696 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12697 if ${ac_cv_lib_soname_freetype:+false} :; then :
12698 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12699 fi ;;
12700 esac
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_soname_save_LIBS
12706 if ${ac_cv_lib_soname_freetype:+false} :; then :
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12708 $as_echo "not found" >&6; }
12709 FREETYPE_LIBS=""
12710 else
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12712 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12714 cat >>confdefs.h <<_ACEOF
12715 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12716 _ACEOF
12719 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12721 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12722 #include FT_MODULE_H
12724 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12726 cat >>confdefs.h <<_ACEOF
12727 #define HAVE_FT_TRUETYPEENGINETYPE 1
12728 _ACEOF
12734 else
12735 FREETYPE_CFLAGS=""
12736 FREETYPE_LIBS=""
12738 CPPFLAGS=$ac_save_CPPFLAGS
12739 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12740 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12743 if test "x$ac_cv_lib_soname_freetype" = x; then :
12744 case "x$with_freetype" in
12745 xno) ;;
12746 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12747 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12748 esac
12749 enable_fonts=${enable_fonts:-no}
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12753 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12754 if ${ac_cv_c_ppdev+:} false; then :
12755 $as_echo_n "(cached) " >&6
12756 else
12757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12759 #ifdef HAVE_SYS_IOCTL_H
12760 # include <sys/ioctl.h>
12761 #endif
12762 #include <linux/ppdev.h>
12764 main ()
12766 ioctl (1,PPCLAIM,0)
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_compile "$LINENO"; then :
12772 ac_cv_c_ppdev="yes"
12773 else
12774 ac_cv_c_ppdev="no"
12776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12779 $as_echo "$ac_cv_c_ppdev" >&6; }
12780 if test "$ac_cv_c_ppdev" = "yes"
12781 then
12783 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12787 ac_wine_check_funcs_save_LIBS="$LIBS"
12788 LIBS="$LIBS $PTHREAD_LIBS"
12789 for ac_func in \
12790 pthread_attr_get_np \
12791 pthread_getattr_np \
12792 pthread_getthreadid_np \
12793 pthread_get_stackaddr_np \
12794 pthread_get_stacksize_np
12795 do :
12796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12799 cat >>confdefs.h <<_ACEOF
12800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12801 _ACEOF
12804 done
12806 LIBS="$ac_wine_check_funcs_save_LIBS"
12808 if test "$ac_cv_header_zlib_h" = "yes"
12809 then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12811 $as_echo_n "checking for inflate in -lz... " >&6; }
12812 if ${ac_cv_lib_z_inflate+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
12815 ac_check_lib_save_LIBS=$LIBS
12816 LIBS="-lz $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 #ifdef __cplusplus
12824 extern "C"
12825 #endif
12826 char inflate ();
12828 main ()
12830 return inflate ();
12832 return 0;
12834 _ACEOF
12835 if ac_fn_c_try_link "$LINENO"; then :
12836 ac_cv_lib_z_inflate=yes
12837 else
12838 ac_cv_lib_z_inflate=no
12840 rm -f core conftest.err conftest.$ac_objext \
12841 conftest$ac_exeext conftest.$ac_ext
12842 LIBS=$ac_check_lib_save_LIBS
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12845 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12846 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12848 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12850 Z_LIBS="-lz"
12855 if test "x$Z_LIBS" = "x"; then :
12856 case "x$with_zlib" in
12857 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12858 xno) ;;
12859 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12860 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12861 esac
12865 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12866 then
12867 if test "$ac_cv_header_gettext_po_h" = "yes"
12868 then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12870 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12871 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12872 $as_echo_n "(cached) " >&6
12873 else
12874 ac_check_lib_save_LIBS=$LIBS
12875 LIBS="-lgettextpo $LIBS"
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12882 #ifdef __cplusplus
12883 extern "C"
12884 #endif
12885 char po_message_msgctxt ();
12887 main ()
12889 return po_message_msgctxt ();
12891 return 0;
12893 _ACEOF
12894 if ac_fn_c_try_link "$LINENO"; then :
12895 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12896 else
12897 ac_cv_lib_gettextpo_po_message_msgctxt=no
12899 rm -f core conftest.err conftest.$ac_objext \
12900 conftest$ac_exeext conftest.$ac_ext
12901 LIBS=$ac_check_lib_save_LIBS
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12904 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12905 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12907 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12909 GETTEXTPO_LIBS="-lgettextpo"
12914 if test "x$GETTEXTPO_LIBS" = "x"; then :
12915 case "x$with_gettextpo" in
12916 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12917 xno) ;;
12918 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12919 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12920 esac
12923 if test "$srcdir" != .; then :
12924 case "x$with_gettextpo" in
12925 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12926 xno) ;;
12927 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12928 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12929 esac
12934 if test "x$with_pulse" != "xno";
12935 then
12936 if ${PULSE_CFLAGS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12942 if ${PULSE_LIBS:+false} :; then :
12943 if ${PKG_CONFIG+:} false; then :
12944 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12951 ac_save_CPPFLAGS=$CPPFLAGS
12952 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12953 for ac_header in pulse/pulseaudio.h
12954 do :
12955 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12957 cat >>confdefs.h <<_ACEOF
12958 #define HAVE_PULSE_PULSEAUDIO_H 1
12959 _ACEOF
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12961 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12962 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12963 $as_echo_n "(cached) " >&6
12964 else
12965 ac_check_lib_save_LIBS=$LIBS
12966 LIBS="-lpulse $PULSE_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 #ifdef __cplusplus
12974 extern "C"
12975 #endif
12976 char pa_stream_is_corked ();
12978 main ()
12980 return pa_stream_is_corked ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"; then :
12986 ac_cv_lib_pulse_pa_stream_is_corked=yes
12987 else
12988 ac_cv_lib_pulse_pa_stream_is_corked=no
12990 rm -f core conftest.err conftest.$ac_objext \
12991 conftest$ac_exeext conftest.$ac_ext
12992 LIBS=$ac_check_lib_save_LIBS
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12995 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12996 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12998 else
12999 PULSE_LIBS=""
13002 else
13003 PULSE_LIBS=""
13006 done
13008 CPPFLAGS=$ac_save_CPPFLAGS
13009 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13010 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13013 if test -z "$PULSE_LIBS"; then :
13014 case "x$with_pulse" in
13015 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13016 xno) ;;
13017 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13018 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13019 esac
13020 enable_winepulse_drv=${enable_winepulse_drv:-no}
13023 if test "x$with_gstreamer" != "xno"
13024 then
13025 if ${GSTREAMER_CFLAGS:+false} :; then :
13026 if ${PKG_CONFIG+:} false; then :
13027 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13031 if ${GSTREAMER_LIBS:+false} :; then :
13032 if ${PKG_CONFIG+:} false; then :
13033 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13038 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13039 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13040 ac_save_CPPFLAGS=$CPPFLAGS
13041 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13042 ac_gst_incl=""
13043 for i in $GSTREAMER_CFLAGS
13045 case "$i" in
13046 -I*) ac_gst_incl="$ac_gst_incl $i";;
13047 esac
13048 done
13049 GSTREAMER_CFLAGS=$ac_gst_incl
13050 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13051 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13052 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13054 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h. */
13057 #include <gst/gst.h>
13059 main ()
13061 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13063 return 0;
13065 _ACEOF
13066 if ac_fn_c_try_compile "$LINENO"; then :
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13068 $as_echo "yes" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13070 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13071 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13072 $as_echo_n "(cached) " >&6
13073 else
13074 ac_check_lib_save_LIBS=$LIBS
13075 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13077 /* end confdefs.h. */
13079 /* Override any GCC internal prototype to avoid an error.
13080 Use char because int might match the return type of a GCC
13081 builtin and then its argument prototype would still apply. */
13082 #ifdef __cplusplus
13083 extern "C"
13084 #endif
13085 char gst_pad_new ();
13087 main ()
13089 return gst_pad_new ();
13091 return 0;
13093 _ACEOF
13094 if ac_fn_c_try_link "$LINENO"; then :
13095 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13096 else
13097 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13099 rm -f core conftest.err conftest.$ac_objext \
13100 conftest$ac_exeext conftest.$ac_ext
13101 LIBS=$ac_check_lib_save_LIBS
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13104 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13105 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13109 else
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13111 $as_echo "no" >&6; }
13112 ac_glib2_broken=yes
13113 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13119 CPPFLAGS=$ac_save_CPPFLAGS
13120 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13121 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13124 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 :
13125 case "x$with_gstreamer" in
13126 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13127 xno) ;;
13128 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13129 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13130 esac
13133 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13135 ALSA_LIBS=""
13137 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13138 then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13140 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13141 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13142 $as_echo_n "(cached) " >&6
13143 else
13144 ac_check_lib_save_LIBS=$LIBS
13145 LIBS="-lasound $LIBS"
13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13152 #ifdef __cplusplus
13153 extern "C"
13154 #endif
13155 char snd_pcm_hw_params_get_access_mask ();
13157 main ()
13159 return snd_pcm_hw_params_get_access_mask ();
13161 return 0;
13163 _ACEOF
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13166 else
13167 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13174 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13175 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13178 #ifdef HAVE_ALSA_ASOUNDLIB_H
13179 #include <alsa/asoundlib.h>
13180 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13181 #include <sys/asoundlib.h>
13182 #endif
13184 main ()
13186 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13188 return 0;
13190 _ACEOF
13191 if ac_fn_c_try_compile "$LINENO"; then :
13192 ALSA_LIBS="-lasound"
13194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13198 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13200 if test "x$with_oss" != xno
13201 then
13202 ac_save_CPPFLAGS="$CPPFLAGS"
13203 if test -f /etc/oss.conf
13204 then
13205 . /etc/oss.conf
13207 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13208 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13209 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13210 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13211 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13213 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13215 cat >>confdefs.h <<_ACEOF
13216 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13217 _ACEOF
13219 OSS4_CFLAGS="$ac_oss_incl"
13226 CPPFLAGS="$ac_save_CPPFLAGS"
13228 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13229 case "x$with_oss" in
13230 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13231 xno) ;;
13232 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13233 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13234 esac
13235 enable_wineoss_drv=${enable_wineoss_drv:-no}
13238 if test "x$with_udev" != "xno"
13239 then
13240 if ${UDEV_CFLAGS:+false} :; then :
13241 if ${PKG_CONFIG+:} false; then :
13242 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13246 if ${UDEV_LIBS:+false} :; then :
13247 if ${PKG_CONFIG+:} false; then :
13248 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13252 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13253 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13254 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13255 ac_save_CPPFLAGS=$CPPFLAGS
13256 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13257 for ac_header in libudev.h
13258 do :
13259 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13260 if test "x$ac_cv_header_libudev_h" = xyes; then :
13261 cat >>confdefs.h <<_ACEOF
13262 #define HAVE_LIBUDEV_H 1
13263 _ACEOF
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13265 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13266 if ${ac_cv_lib_udev_udev_new+:} false; then :
13267 $as_echo_n "(cached) " >&6
13268 else
13269 ac_check_lib_save_LIBS=$LIBS
13270 LIBS="-ludev $UDEV_LIBS $LIBS"
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13277 #ifdef __cplusplus
13278 extern "C"
13279 #endif
13280 char udev_new ();
13282 main ()
13284 return udev_new ();
13286 return 0;
13288 _ACEOF
13289 if ac_fn_c_try_link "$LINENO"; then :
13290 ac_cv_lib_udev_udev_new=yes
13291 else
13292 ac_cv_lib_udev_udev_new=no
13294 rm -f core conftest.err conftest.$ac_objext \
13295 conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_lib_save_LIBS
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13299 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13300 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13302 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13304 else
13305 UDEV_LIBS=""
13308 else
13309 UDEV_LIBS=""
13312 done
13314 CPPFLAGS=$ac_save_CPPFLAGS
13315 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13316 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13319 if test "x$UDEV_LIBS" = "x"; then :
13320 case "x$with_udev" in
13321 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13322 xno) ;;
13323 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13324 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13325 esac
13329 if test "x$with_capi" != "xno"
13330 then
13331 if ${CAPI20_CFLAGS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13337 if ${CAPI20_LIBS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13344 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13345 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13346 ac_save_CPPFLAGS=$CPPFLAGS
13347 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13348 for ac_header in capi20.h linux/capi.h
13349 do :
13350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13353 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13354 cat >>confdefs.h <<_ACEOF
13355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13356 _ACEOF
13360 done
13362 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13363 then
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13365 $as_echo_n "checking for -lcapi20... " >&6; }
13366 if ${ac_cv_lib_soname_capi20+:} false; then :
13367 $as_echo_n "(cached) " >&6
13368 else
13369 ac_check_soname_save_LIBS=$LIBS
13370 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char capi20_register ();
13382 main ()
13384 return capi20_register ();
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 case "$LIBEXT" in
13391 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13392 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'` ;;
13393 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13394 if ${ac_cv_lib_soname_capi20:+false} :; then :
13395 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13396 fi ;;
13397 esac
13399 rm -f core conftest.err conftest.$ac_objext \
13400 conftest$ac_exeext conftest.$ac_ext
13401 LIBS=$ac_check_soname_save_LIBS
13403 if ${ac_cv_lib_soname_capi20:+false} :; then :
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13405 $as_echo "not found" >&6; }
13407 else
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13409 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13411 cat >>confdefs.h <<_ACEOF
13412 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13413 _ACEOF
13418 CPPFLAGS=$ac_save_CPPFLAGS
13419 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13420 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13423 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13424 case "x$with_capi" in
13425 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13426 xno) ;;
13427 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13428 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13429 esac
13433 CUPS_CFLAGS=""
13435 if test "x$with_cups" != "xno"
13436 then
13437 ac_save_CPPFLAGS="$CPPFLAGS"
13438 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13439 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13440 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13441 for ac_header in cups/cups.h
13442 do :
13443 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13444 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13445 cat >>confdefs.h <<_ACEOF
13446 #define HAVE_CUPS_CUPS_H 1
13447 _ACEOF
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13449 $as_echo_n "checking for -lcups... " >&6; }
13450 if ${ac_cv_lib_soname_cups+:} false; then :
13451 $as_echo_n "(cached) " >&6
13452 else
13453 ac_check_soname_save_LIBS=$LIBS
13454 LIBS="-lcups $ac_cups_libs $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13461 #ifdef __cplusplus
13462 extern "C"
13463 #endif
13464 char cupsGetDefault ();
13466 main ()
13468 return cupsGetDefault ();
13470 return 0;
13472 _ACEOF
13473 if ac_fn_c_try_link "$LINENO"; then :
13474 case "$LIBEXT" in
13475 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13476 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'` ;;
13477 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13478 if ${ac_cv_lib_soname_cups:+false} :; then :
13479 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13480 fi ;;
13481 esac
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_cups:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13491 else
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13493 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13495 cat >>confdefs.h <<_ACEOF
13496 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13497 _ACEOF
13499 CUPS_CFLAGS="$ac_cups_cflags"
13501 for ac_header in cups/ppd.h
13502 do :
13503 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13504 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13505 cat >>confdefs.h <<_ACEOF
13506 #define HAVE_CUPS_PPD_H 1
13507 _ACEOF
13511 done
13515 done
13517 CPPFLAGS="$ac_save_CPPFLAGS"
13519 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13520 case "x$with_cups" in
13521 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13522 xno) ;;
13523 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13524 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13525 esac
13529 if test "x$with_fontconfig" != "xno"
13530 then
13531 if ${FONTCONFIG_CFLAGS:+false} :; then :
13532 if ${PKG_CONFIG+:} false; then :
13533 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13536 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13537 if ${FONTCONFIG_LIBS:+false} :; then :
13538 if ${PKG_CONFIG+:} false; then :
13539 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13542 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13544 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13545 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13546 ac_save_CPPFLAGS=$CPPFLAGS
13547 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13548 for ac_header in fontconfig/fontconfig.h
13549 do :
13550 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13551 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13552 cat >>confdefs.h <<_ACEOF
13553 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13554 _ACEOF
13558 done
13560 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13561 then
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13563 $as_echo_n "checking for -lfontconfig... " >&6; }
13564 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13565 $as_echo_n "(cached) " >&6
13566 else
13567 ac_check_soname_save_LIBS=$LIBS
13568 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13572 /* Override any GCC internal prototype to avoid an error.
13573 Use char because int might match the return type of a GCC
13574 builtin and then its argument prototype would still apply. */
13575 #ifdef __cplusplus
13576 extern "C"
13577 #endif
13578 char FcInit ();
13580 main ()
13582 return FcInit ();
13584 return 0;
13586 _ACEOF
13587 if ac_fn_c_try_link "$LINENO"; then :
13588 case "$LIBEXT" in
13589 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13590 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'` ;;
13591 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13592 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13593 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13594 fi ;;
13595 esac
13597 rm -f core conftest.err conftest.$ac_objext \
13598 conftest$ac_exeext conftest.$ac_ext
13599 LIBS=$ac_check_soname_save_LIBS
13601 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13603 $as_echo "not found" >&6; }
13604 FONTCONFIG_CFLAGS=""
13605 else
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13607 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13609 cat >>confdefs.h <<_ACEOF
13610 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13611 _ACEOF
13615 else
13616 FONTCONFIG_CFLAGS=""
13618 CPPFLAGS=$ac_save_CPPFLAGS
13619 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13620 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13623 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13624 case "x$with_fontconfig" in
13625 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13626 xno) ;;
13627 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13628 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13629 esac
13633 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13634 then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13636 $as_echo_n "checking for -lgsm... " >&6; }
13637 if ${ac_cv_lib_soname_gsm+:} false; then :
13638 $as_echo_n "(cached) " >&6
13639 else
13640 ac_check_soname_save_LIBS=$LIBS
13641 LIBS="-lgsm $LIBS"
13642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13648 #ifdef __cplusplus
13649 extern "C"
13650 #endif
13651 char gsm_create ();
13653 main ()
13655 return gsm_create ();
13657 return 0;
13659 _ACEOF
13660 if ac_fn_c_try_link "$LINENO"; then :
13661 case "$LIBEXT" in
13662 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13663 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'` ;;
13664 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13665 if ${ac_cv_lib_soname_gsm:+false} :; then :
13666 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13667 fi ;;
13668 esac
13670 rm -f core conftest.err conftest.$ac_objext \
13671 conftest$ac_exeext conftest.$ac_ext
13672 LIBS=$ac_check_soname_save_LIBS
13674 if ${ac_cv_lib_soname_gsm:+false} :; then :
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13676 $as_echo "not found" >&6; }
13678 else
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13680 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13682 cat >>confdefs.h <<_ACEOF
13683 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13684 _ACEOF
13689 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13690 case "x$with_gsm" in
13691 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13692 xno) ;;
13693 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13694 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13695 esac
13699 if test "x$with_jpeg" != "xno"
13700 then
13701 if ${JPEG_CFLAGS:+false} :; then :
13702 if ${PKG_CONFIG+:} false; then :
13703 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13707 if ${JPEG_LIBS:+false} :; then :
13708 if ${PKG_CONFIG+:} false; then :
13709 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13714 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13715 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13716 ac_save_CPPFLAGS=$CPPFLAGS
13717 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13718 for ac_header in jpeglib.h
13719 do :
13720 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13721 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13722 cat >>confdefs.h <<_ACEOF
13723 #define HAVE_JPEGLIB_H 1
13724 _ACEOF
13728 done
13730 if test "$ac_cv_header_jpeglib_h" = "yes"
13731 then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13733 $as_echo_n "checking for -ljpeg... " >&6; }
13734 if ${ac_cv_lib_soname_jpeg+:} false; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 ac_check_soname_save_LIBS=$LIBS
13738 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13745 #ifdef __cplusplus
13746 extern "C"
13747 #endif
13748 char jpeg_start_decompress ();
13750 main ()
13752 return jpeg_start_decompress ();
13754 return 0;
13756 _ACEOF
13757 if ac_fn_c_try_link "$LINENO"; then :
13758 case "$LIBEXT" in
13759 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13760 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'` ;;
13761 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13762 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13763 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13764 fi ;;
13765 esac
13767 rm -f core conftest.err conftest.$ac_objext \
13768 conftest$ac_exeext conftest.$ac_ext
13769 LIBS=$ac_check_soname_save_LIBS
13771 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13773 $as_echo "not found" >&6; }
13774 JPEG_CFLAGS=""
13775 else
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13777 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13779 cat >>confdefs.h <<_ACEOF
13780 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13781 _ACEOF
13785 else
13786 JPEG_CFLAGS=""
13788 CPPFLAGS=$ac_save_CPPFLAGS
13789 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13790 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13793 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13794 case "x$with_jpeg" in
13795 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13796 xno) ;;
13797 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13798 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13799 esac
13803 if test "x$with_png" != "xno"
13804 then
13805 if ${PNG_CFLAGS:+false} :; then :
13806 if ${PKG_CONFIG+:} false; then :
13807 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13810 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13811 if ${PNG_LIBS:+false} :; then :
13812 if ${PKG_CONFIG+:} false; then :
13813 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13816 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13818 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13819 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13820 ac_save_CPPFLAGS=$CPPFLAGS
13821 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13822 for ac_header in png.h
13823 do :
13824 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13825 if test "x$ac_cv_header_png_h" = xyes; then :
13826 cat >>confdefs.h <<_ACEOF
13827 #define HAVE_PNG_H 1
13828 _ACEOF
13832 done
13834 if test "$ac_cv_header_png_h" = "yes"
13835 then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13837 $as_echo_n "checking for -lpng... " >&6; }
13838 if ${ac_cv_lib_soname_png+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_check_soname_save_LIBS=$LIBS
13842 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus
13850 extern "C"
13851 #endif
13852 char png_create_read_struct ();
13854 main ()
13856 return png_create_read_struct ();
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 case "$LIBEXT" in
13863 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13864 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'` ;;
13865 *) 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'`
13866 if ${ac_cv_lib_soname_png:+false} :; then :
13867 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13868 fi ;;
13869 esac
13871 rm -f core conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 LIBS=$ac_check_soname_save_LIBS
13875 if ${ac_cv_lib_soname_png:+false} :; then :
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13877 $as_echo "not found" >&6; }
13878 PNG_CFLAGS=""
13879 else
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13881 $as_echo "$ac_cv_lib_soname_png" >&6; }
13883 cat >>confdefs.h <<_ACEOF
13884 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13885 _ACEOF
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 #include <png.h>
13891 main ()
13893 typeof(png_set_expand_gray_1_2_4_to_8) *p
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_compile "$LINENO"; then :
13900 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13905 else
13906 PNG_CFLAGS=""
13908 CPPFLAGS=$ac_save_CPPFLAGS
13909 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13910 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13913 if test "x$ac_cv_lib_soname_png" = "x"; then :
13914 case "x$with_png" in
13915 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13916 xno) ;;
13917 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13918 This is an error since --with-png was requested." "$LINENO" 5 ;;
13919 esac
13923 if test "x$with_tiff" != "xno"
13924 then
13925 if ${TIFF_CFLAGS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13931 if ${TIFF_LIBS:+false} :; then :
13932 if ${PKG_CONFIG+:} false; then :
13933 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13938 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13940 ac_save_CPPFLAGS=$CPPFLAGS
13941 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13942 for ac_header in tiffio.h
13943 do :
13944 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13945 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13946 cat >>confdefs.h <<_ACEOF
13947 #define HAVE_TIFFIO_H 1
13948 _ACEOF
13952 done
13954 if test "$ac_cv_header_tiffio_h" = "yes"
13955 then
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13957 $as_echo_n "checking for -ltiff... " >&6; }
13958 if ${ac_cv_lib_soname_tiff+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 ac_check_soname_save_LIBS=$LIBS
13962 LIBS="-ltiff $TIFF_LIBS $LIBS"
13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13966 /* Override any GCC internal prototype to avoid an error.
13967 Use char because int might match the return type of a GCC
13968 builtin and then its argument prototype would still apply. */
13969 #ifdef __cplusplus
13970 extern "C"
13971 #endif
13972 char TIFFClientOpen ();
13974 main ()
13976 return TIFFClientOpen ();
13978 return 0;
13980 _ACEOF
13981 if ac_fn_c_try_link "$LINENO"; then :
13982 case "$LIBEXT" in
13983 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13984 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'` ;;
13985 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13986 if ${ac_cv_lib_soname_tiff:+false} :; then :
13987 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13988 fi ;;
13989 esac
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 LIBS=$ac_check_soname_save_LIBS
13995 if ${ac_cv_lib_soname_tiff:+false} :; then :
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13997 $as_echo "not found" >&6; }
13999 else
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14001 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14003 cat >>confdefs.h <<_ACEOF
14004 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14005 _ACEOF
14010 CPPFLAGS=$ac_save_CPPFLAGS
14011 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14012 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14015 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14016 case "x$with_tiff" in
14017 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14018 xno) ;;
14019 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14020 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14021 esac
14025 if test "x$with_mpg123" != "xno"
14026 then
14027 if ${MPG123_CFLAGS:+false} :; then :
14028 if ${PKG_CONFIG+:} false; then :
14029 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14033 if ${MPG123_LIBS:+false} :; then :
14034 if ${PKG_CONFIG+:} false; then :
14035 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14039 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14040 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14041 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14042 ac_save_CPPFLAGS=$CPPFLAGS
14043 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14044 for ac_header in mpg123.h
14045 do :
14046 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14047 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14048 cat >>confdefs.h <<_ACEOF
14049 #define HAVE_MPG123_H 1
14050 _ACEOF
14054 done
14056 if test "$ac_cv_header_mpg123_h" = "yes"
14057 then
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14059 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14060 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14061 $as_echo_n "(cached) " >&6
14062 else
14063 ac_check_lib_save_LIBS=$LIBS
14064 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14068 /* Override any GCC internal prototype to avoid an error.
14069 Use char because int might match the return type of a GCC
14070 builtin and then its argument prototype would still apply. */
14071 #ifdef __cplusplus
14072 extern "C"
14073 #endif
14074 char mpg123_feed ();
14076 main ()
14078 return mpg123_feed ();
14080 return 0;
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_lib_mpg123_mpg123_feed=yes
14085 else
14086 ac_cv_lib_mpg123_mpg123_feed=no
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14093 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14094 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14096 else
14097 MPG123_LIBS=""
14100 else
14101 MPG123_CFLAGS=""
14102 MPG123_LIBS=""
14104 CPPFLAGS=$ac_save_CPPFLAGS
14105 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14106 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14109 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14110 case "x$with_mpg123" in
14111 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14112 xno) ;;
14113 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14114 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14115 esac
14116 enable_winemp3_acm=${enable_winemp3_acm:-no}
14119 if test "$ac_cv_header_AL_al_h" = "yes"
14120 then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14122 $as_echo_n "checking for -lopenal... " >&6; }
14123 if ${ac_cv_lib_soname_openal+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_check_soname_save_LIBS=$LIBS
14127 LIBS="-lopenal $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 #ifdef __cplusplus
14135 extern "C"
14136 #endif
14137 char alGetSource3i ();
14139 main ()
14141 return alGetSource3i ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 case "$LIBEXT" in
14148 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14149 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'` ;;
14150 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14151 if ${ac_cv_lib_soname_openal:+false} :; then :
14152 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14153 fi ;;
14154 esac
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_soname_save_LIBS
14160 if ${ac_cv_lib_soname_openal:+false} :; then :
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14162 $as_echo "not found" >&6; }
14164 else
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14166 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14168 cat >>confdefs.h <<_ACEOF
14169 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14170 _ACEOF
14172 OPENAL_LIBS="-lopenal"
14174 ac_cv_lib_openal=yes
14176 cat >>confdefs.h <<_ACEOF
14177 #define HAVE_OPENAL 1
14178 _ACEOF
14182 if test "x$ac_cv_lib_openal" != xyes; then :
14183 case "x$with_openal" in
14184 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14185 xno) ;;
14186 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14187 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14188 esac
14189 enable_openal32=${enable_openal32:-no}
14192 if test "x$ac_cv_lib_openal" = xyes
14193 then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14195 $as_echo_n "checking for openal-soft... " >&6; }
14196 if ${ac_cv_have_openalsoft+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14201 #include <AL/al.h>
14202 #include <AL/alc.h>
14203 #include <AL/alext.h>
14204 LPALCRENDERSAMPLESSOFT x;
14206 main ()
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_compile "$LINENO"; then :
14214 ac_cv_have_openalsoft=yes
14215 else
14216 ac_cv_have_openalsoft=no
14218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14221 $as_echo "$ac_cv_have_openalsoft" >&6; }
14223 if test "x$ac_cv_have_openalsoft" != xyes
14224 then
14225 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14226 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14227 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14228 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14229 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14230 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14231 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14232 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14233 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14234 enable_xapofx1_1=${enable_xapofx1_1:-no}
14235 enable_xapofx1_2=${enable_xapofx1_2:-no}
14236 enable_xapofx1_3=${enable_xapofx1_3:-no}
14237 enable_xapofx1_4=${enable_xapofx1_4:-no}
14238 enable_xapofx1_5=${enable_xapofx1_5:-no}
14239 enable_xaudio2_0=${enable_xaudio2_0:-no}
14240 enable_xaudio2_1=${enable_xaudio2_1:-no}
14241 enable_xaudio2_2=${enable_xaudio2_2:-no}
14242 enable_xaudio2_3=${enable_xaudio2_3:-no}
14243 enable_xaudio2_4=${enable_xaudio2_4:-no}
14244 enable_xaudio2_5=${enable_xaudio2_5:-no}
14245 enable_xaudio2_6=${enable_xaudio2_6:-no}
14246 enable_xaudio2_7=${enable_xaudio2_7:-no}
14247 enable_xaudio2_8=${enable_xaudio2_8:-no}
14248 enable_xaudio2_9=${enable_xaudio2_9:-no}
14251 if test "$ac_cv_header_kstat_h" = "yes"
14252 then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14254 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14255 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_check_lib_save_LIBS=$LIBS
14259 LIBS="-lkstat $LIBS"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14266 #ifdef __cplusplus
14267 extern "C"
14268 #endif
14269 char kstat_open ();
14271 main ()
14273 return kstat_open ();
14275 return 0;
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_lib_kstat_kstat_open=yes
14280 else
14281 ac_cv_lib_kstat_kstat_open=no
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_lib_save_LIBS
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14288 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14289 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14291 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14293 KSTAT_LIBS="-lkstat"
14299 if test "$ac_cv_header_libprocstat_h" = "yes"
14300 then
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14302 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14303 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_check_lib_save_LIBS=$LIBS
14307 LIBS="-lprocstat $LIBS"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14311 /* Override any GCC internal prototype to avoid an error.
14312 Use char because int might match the return type of a GCC
14313 builtin and then its argument prototype would still apply. */
14314 #ifdef __cplusplus
14315 extern "C"
14316 #endif
14317 char procstat_open_sysctl ();
14319 main ()
14321 return procstat_open_sysctl ();
14323 return 0;
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"; then :
14327 ac_cv_lib_procstat_procstat_open_sysctl=yes
14328 else
14329 ac_cv_lib_procstat_procstat_open_sysctl=no
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_lib_save_LIBS
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14336 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14337 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14339 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14341 PROCSTAT_LIBS="-lprocstat"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14348 $as_echo_n "checking for -lodbc... " >&6; }
14349 if ${ac_cv_lib_soname_odbc+:} false; then :
14350 $as_echo_n "(cached) " >&6
14351 else
14352 ac_check_soname_save_LIBS=$LIBS
14353 LIBS="-lodbc $LIBS"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14360 #ifdef __cplusplus
14361 extern "C"
14362 #endif
14363 char SQLConnect ();
14365 main ()
14367 return SQLConnect ();
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 case "$LIBEXT" in
14374 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14375 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'` ;;
14376 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14377 if ${ac_cv_lib_soname_odbc:+false} :; then :
14378 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14379 fi ;;
14380 esac
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 LIBS=$ac_check_soname_save_LIBS
14386 if ${ac_cv_lib_soname_odbc:+false} :; then :
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14388 $as_echo "not found" >&6; }
14389 cat >>confdefs.h <<_ACEOF
14390 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14391 _ACEOF
14393 else
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14395 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14397 cat >>confdefs.h <<_ACEOF
14398 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14399 _ACEOF
14404 if test "x$with_netapi" != "xno"
14405 then
14406 if ${NETAPI_CFLAGS:+false} :; then :
14407 if ${PKG_CONFIG+:} false; then :
14408 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14412 if ${NETAPI_LIBS:+false} :; then :
14413 if ${PKG_CONFIG+:} false; then :
14414 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14419 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14420 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14421 ac_save_CPPFLAGS=$CPPFLAGS
14422 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14424 $as_echo_n "checking for -lnetapi... " >&6; }
14425 if ${ac_cv_lib_soname_netapi+:} false; then :
14426 $as_echo_n "(cached) " >&6
14427 else
14428 ac_check_soname_save_LIBS=$LIBS
14429 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14433 /* Override any GCC internal prototype to avoid an error.
14434 Use char because int might match the return type of a GCC
14435 builtin and then its argument prototype would still apply. */
14436 #ifdef __cplusplus
14437 extern "C"
14438 #endif
14439 char libnetapi_init ();
14441 main ()
14443 return libnetapi_init ();
14445 return 0;
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 case "$LIBEXT" in
14450 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14451 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'` ;;
14452 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14453 if ${ac_cv_lib_soname_netapi:+false} :; then :
14454 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14455 fi ;;
14456 esac
14458 rm -f core conftest.err conftest.$ac_objext \
14459 conftest$ac_exeext conftest.$ac_ext
14460 LIBS=$ac_check_soname_save_LIBS
14462 if ${ac_cv_lib_soname_netapi:+false} :; then :
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14464 $as_echo "not found" >&6; }
14465 cat >>confdefs.h <<_ACEOF
14466 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14467 _ACEOF
14469 else
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14471 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14473 cat >>confdefs.h <<_ACEOF
14474 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14475 _ACEOF
14479 CPPFLAGS=$ac_save_CPPFLAGS
14480 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14481 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14485 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14486 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14487 then
14488 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14492 EXTRACFLAGS=""
14494 if test "x${GCC}" = "xyes"
14495 then
14496 EXTRACFLAGS="-Wall -pipe"
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14499 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14500 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14501 $as_echo_n "(cached) " >&6
14502 else
14503 if test "$cross_compiling" = yes; then :
14504 ac_cv_c_gcc_strength_bug="no"
14505 else
14506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14507 /* end confdefs.h. */
14508 int L[4] = {0,1,2,3};
14510 main ()
14512 static int Array[3];
14513 unsigned int B = 3;
14514 int i;
14515 for(i=0; i<B; i++) Array[i] = i - 3;
14516 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14517 L[i] = 4;
14518 return (Array[1] != -2 || L[2] != 3)
14520 return 0;
14522 _ACEOF
14523 if ac_fn_c_try_run "$LINENO"; then :
14524 ac_cv_c_gcc_strength_bug="no"
14525 else
14526 ac_cv_c_gcc_strength_bug="yes"
14528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14529 conftest.$ac_objext conftest.beam conftest.$ac_ext
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14534 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14535 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14536 then
14537 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14541 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14542 if ${ac_cv_cflags__fno_builtin+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_wine_try_cflags_saved=$CFLAGS
14546 CFLAGS="$CFLAGS -fno-builtin"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14549 int main(int argc, char **argv) { return 0; }
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_cflags__fno_builtin=yes
14553 else
14554 ac_cv_cflags__fno_builtin=no
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 CFLAGS=$ac_wine_try_cflags_saved
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14561 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14562 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14563 BUILTINFLAG="-fno-builtin"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14567 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14568 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 ac_wine_try_cflags_saved=$CFLAGS
14572 CFLAGS="$CFLAGS -fno-strict-aliasing"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 int main(int argc, char **argv) { return 0; }
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 ac_cv_cflags__fno_strict_aliasing=yes
14579 else
14580 ac_cv_cflags__fno_strict_aliasing=no
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14584 CFLAGS=$ac_wine_try_cflags_saved
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14587 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14588 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14589 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14592 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14593 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 ac_wine_try_cflags_saved=$CFLAGS
14597 CFLAGS="$CFLAGS -fexcess-precision=standard"
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 int main(int argc, char **argv) { return 0; }
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"; then :
14603 ac_cv_cflags__fexcess_precision_standard=yes
14604 else
14605 ac_cv_cflags__fexcess_precision_standard=no
14607 rm -f core conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14609 CFLAGS=$ac_wine_try_cflags_saved
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14612 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14613 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14614 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14617 saved_CFLAGS=$CFLAGS
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14619 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14620 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 ac_wine_try_cflags_saved=$CFLAGS
14624 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 int main(int argc, char **argv) { return 0; }
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"; then :
14630 ac_cv_cflags__Werror_unknown_warning_option=yes
14631 else
14632 ac_cv_cflags__Werror_unknown_warning_option=no
14634 rm -f core conftest.err conftest.$ac_objext \
14635 conftest$ac_exeext conftest.$ac_ext
14636 CFLAGS=$ac_wine_try_cflags_saved
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14639 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14640 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14641 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14644 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14645 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 ac_wine_try_cflags_saved=$CFLAGS
14649 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14652 int main(int argc, char **argv) { return 0; }
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 ac_cv_cflags__Wdeclaration_after_statement=yes
14656 else
14657 ac_cv_cflags__Wdeclaration_after_statement=no
14659 rm -f core conftest.err conftest.$ac_objext \
14660 conftest$ac_exeext conftest.$ac_ext
14661 CFLAGS=$ac_wine_try_cflags_saved
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14664 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14665 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14666 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14669 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14670 if ${ac_cv_cflags__Wempty_body+:} false; then :
14671 $as_echo_n "(cached) " >&6
14672 else
14673 ac_wine_try_cflags_saved=$CFLAGS
14674 CFLAGS="$CFLAGS -Wempty-body"
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677 int main(int argc, char **argv) { return 0; }
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_cflags__Wempty_body=yes
14681 else
14682 ac_cv_cflags__Wempty_body=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 CFLAGS=$ac_wine_try_cflags_saved
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14689 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14690 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14691 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14694 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14695 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_wine_try_cflags_saved=$CFLAGS
14699 CFLAGS="$CFLAGS -Wignored-qualifiers"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 int main(int argc, char **argv) { return 0; }
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_cflags__Wignored_qualifiers=yes
14706 else
14707 ac_cv_cflags__Wignored_qualifiers=no
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14711 CFLAGS=$ac_wine_try_cflags_saved
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14714 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14715 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14716 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14719 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14720 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_wine_try_cflags_saved=$CFLAGS
14724 CFLAGS="$CFLAGS -Wshift-overflow=2"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 int main(int argc, char **argv) { return 0; }
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_cflags__Wshift_overflow_2=yes
14731 else
14732 ac_cv_cflags__Wshift_overflow_2=no
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 CFLAGS=$ac_wine_try_cflags_saved
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14739 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14740 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14741 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14744 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14745 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_wine_try_cflags_saved=$CFLAGS
14749 CFLAGS="$CFLAGS -Wstrict-prototypes"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 int main(int argc, char **argv) { return 0; }
14753 _ACEOF
14754 if ac_fn_c_try_link "$LINENO"; then :
14755 ac_cv_cflags__Wstrict_prototypes=yes
14756 else
14757 ac_cv_cflags__Wstrict_prototypes=no
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14761 CFLAGS=$ac_wine_try_cflags_saved
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14764 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14765 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14766 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14769 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14770 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14771 $as_echo_n "(cached) " >&6
14772 else
14773 ac_wine_try_cflags_saved=$CFLAGS
14774 CFLAGS="$CFLAGS -Wtype-limits"
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 int main(int argc, char **argv) { return 0; }
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_cflags__Wtype_limits=yes
14781 else
14782 ac_cv_cflags__Wtype_limits=no
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext conftest.$ac_ext
14786 CFLAGS=$ac_wine_try_cflags_saved
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14789 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14790 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14791 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14794 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14795 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14796 $as_echo_n "(cached) " >&6
14797 else
14798 ac_wine_try_cflags_saved=$CFLAGS
14799 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 int main(int argc, char **argv) { return 0; }
14803 _ACEOF
14804 if ac_fn_c_try_link "$LINENO"; then :
14805 ac_cv_cflags__Wunused_but_set_parameter=yes
14806 else
14807 ac_cv_cflags__Wunused_but_set_parameter=no
14809 rm -f core conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14811 CFLAGS=$ac_wine_try_cflags_saved
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14814 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14815 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14816 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14819 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14820 if ${ac_cv_cflags__Wvla+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 ac_wine_try_cflags_saved=$CFLAGS
14824 CFLAGS="$CFLAGS -Wvla"
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 int main(int argc, char **argv) { return 0; }
14828 _ACEOF
14829 if ac_fn_c_try_link "$LINENO"; then :
14830 ac_cv_cflags__Wvla=yes
14831 else
14832 ac_cv_cflags__Wvla=no
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 CFLAGS=$ac_wine_try_cflags_saved
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14839 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14840 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14841 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14844 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14845 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14846 $as_echo_n "(cached) " >&6
14847 else
14848 ac_wine_try_cflags_saved=$CFLAGS
14849 CFLAGS="$CFLAGS -Wwrite-strings"
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14852 int main(int argc, char **argv) { return 0; }
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_cflags__Wwrite_strings=yes
14856 else
14857 ac_cv_cflags__Wwrite_strings=no
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 CFLAGS=$ac_wine_try_cflags_saved
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14864 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14865 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14866 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14870 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14871 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 ac_wine_try_cflags_saved=$CFLAGS
14875 CFLAGS="$CFLAGS -Wpointer-arith"
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 int main(int argc, char **argv) { return 0; }
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_cflags__Wpointer_arith=yes
14882 else
14883 ac_cv_cflags__Wpointer_arith=no
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 CFLAGS=$ac_wine_try_cflags_saved
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14890 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14891 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14892 saved_string_h_CFLAGS=$CFLAGS
14893 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14895 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14896 if ${ac_cv_c_string_h_warnings+:} false; then :
14897 $as_echo_n "(cached) " >&6
14898 else
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 #include <string.h>
14903 main ()
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_compile "$LINENO"; then :
14911 ac_cv_c_string_h_warnings=no
14912 else
14913 ac_cv_c_string_h_warnings=yes
14915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14918 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14919 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14920 CFLAGS=$saved_string_h_CFLAGS
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14924 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14925 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 ac_wine_try_cflags_saved=$CFLAGS
14929 CFLAGS="$CFLAGS -Wlogical-op"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 int main(int argc, char **argv) { return 0; }
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_cflags__Wlogical_op=yes
14936 else
14937 ac_cv_cflags__Wlogical_op=no
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14941 CFLAGS=$ac_wine_try_cflags_saved
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14944 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14945 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14946 saved_string_h_CFLAGS=$CFLAGS
14947 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14949 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14950 if ${ac_cv_c_logicalop_noisy+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 #include <string.h>
14956 char*f(const char *h,char n) {return strchr(h,n);}
14958 main ()
14962 return 0;
14964 _ACEOF
14965 if ac_fn_c_try_compile "$LINENO"; then :
14966 ac_cv_c_logicalop_noisy=no
14967 else
14968 ac_cv_c_logicalop_noisy=yes
14970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14973 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14974 CFLAGS=$saved_string_h_CFLAGS
14975 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14978 CFLAGS=$saved_CFLAGS
14980 for ac_flag in $CFLAGS; do
14981 case $ac_flag in
14982 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14983 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14984 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14985 $as_echo_n "(cached) " >&6
14986 else
14987 ac_wine_try_cflags_saved=$CFLAGS
14988 CFLAGS="$CFLAGS -gdwarf-2"
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 int main(int argc, char **argv) { return 0; }
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_cflags__gdwarf_2=yes
14995 else
14996 ac_cv_cflags__gdwarf_2=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 CFLAGS=$ac_wine_try_cflags_saved
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15003 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15004 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15005 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15008 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15009 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 ac_wine_try_cflags_saved=$CFLAGS
15013 CFLAGS="$CFLAGS -gstrict-dwarf"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15016 int main(int argc, char **argv) { return 0; }
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 ac_cv_cflags__gstrict_dwarf=yes
15020 else
15021 ac_cv_cflags__gstrict_dwarf=no
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15025 CFLAGS=$ac_wine_try_cflags_saved
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15028 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15029 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15030 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15031 fi ;;
15032 esac
15033 done
15035 case $host_cpu in
15036 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15037 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15038 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15039 $as_echo_n "(cached) " >&6
15040 else
15041 ac_wine_try_cflags_saved=$CFLAGS
15042 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15045 int main(int argc, char **argv) { return 0; }
15046 _ACEOF
15047 if ac_fn_c_try_link "$LINENO"; then :
15048 ac_cv_cflags__fno_omit_frame_pointer=yes
15049 else
15050 ac_cv_cflags__fno_omit_frame_pointer=no
15052 rm -f core conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 CFLAGS=$ac_wine_try_cflags_saved
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15057 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15058 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15059 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15060 fi ;;
15061 esac
15063 case $host in
15064 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15065 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15066 if ${ac_cv_cflags__Wno_format+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 ac_wine_try_cflags_saved=$CFLAGS
15070 CFLAGS="$CFLAGS -Wno-format"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 int main(int argc, char **argv) { return 0; }
15074 _ACEOF
15075 if ac_fn_c_try_link "$LINENO"; then :
15076 ac_cv_cflags__Wno_format=yes
15077 else
15078 ac_cv_cflags__Wno_format=no
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 CFLAGS=$ac_wine_try_cflags_saved
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15085 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15086 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15087 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15088 fi ;;
15089 esac
15091 if test "x$enable_maintainer_mode" = "xyes"
15092 then
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15094 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15095 if ${ac_cv_cflags__Werror+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 ac_wine_try_cflags_saved=$CFLAGS
15099 CFLAGS="$CFLAGS -Werror"
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15102 int main(int argc, char **argv) { return 0; }
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 ac_cv_cflags__Werror=yes
15106 else
15107 ac_cv_cflags__Werror=no
15109 rm -f core conftest.err conftest.$ac_objext \
15110 conftest$ac_exeext conftest.$ac_ext
15111 CFLAGS=$ac_wine_try_cflags_saved
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15114 $as_echo "$ac_cv_cflags__Werror" >&6; }
15115 if test "x$ac_cv_cflags__Werror" = xyes; then :
15116 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15120 saved_CFLAGS="$CFLAGS"
15121 CFLAGS="$CFLAGS -Werror"
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15123 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15124 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15131 main ()
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_compile "$LINENO"; then :
15139 ac_cv_have_ms_hook_prologue="yes"
15140 else
15141 ac_cv_have_ms_hook_prologue="no"
15143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15146 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15147 CFLAGS="$saved_CFLAGS"
15148 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15149 then
15151 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15153 else
15154 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15161 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15162 if ${ac_cv_c_fortify_enabled+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 #include <string.h>
15169 main ()
15171 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15172 #error Fortify enabled
15173 #endif
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_compile "$LINENO"; then :
15179 ac_cv_c_fortify_enabled=no
15180 else
15181 ac_cv_c_fortify_enabled=yes
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15186 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15187 if test "$ac_cv_c_fortify_enabled" = yes
15188 then
15189 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15194 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15195 if ${ac_cv_c_extern_prefix+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 extern int ac_test;
15202 main ()
15204 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15206 return 0;
15208 _ACEOF
15209 if ac_fn_c_try_link "$LINENO"; then :
15210 ac_cv_c_extern_prefix="yes"
15211 else
15212 ac_cv_c_extern_prefix="no"
15214 rm -f core conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15218 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15220 case $host_cpu in
15221 *i[3456789]86*)
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15223 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15224 if ${ac_cv_c_stdcall_suffix+:} false; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229 #ifndef _MSC_VER
15230 #define __stdcall __attribute__((__stdcall__))
15231 #endif
15232 int __stdcall ac_test(int i) { return i; }
15234 main ()
15236 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15238 return 0;
15240 _ACEOF
15241 if ac_fn_c_try_link "$LINENO"; then :
15242 ac_cv_c_stdcall_suffix="yes"
15243 else
15244 ac_cv_c_stdcall_suffix="no"
15246 rm -f core conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext conftest.$ac_ext
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15250 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15251 *) ac_cv_c_stdcall_suffix="no" ;;
15252 esac
15255 if test "$ac_cv_c_extern_prefix" = "yes"
15256 then
15257 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15259 asm_name_prefix="_"
15260 else
15261 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15263 asm_name_prefix=""
15267 if test "$ac_cv_c_stdcall_suffix" = "yes"
15268 then
15269 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15271 else
15272 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15278 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15279 if ${ac_cv_asm_func_def+:} false; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15286 main ()
15288 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"; then :
15294 ac_cv_asm_func_def=".def"
15295 else
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15300 main ()
15302 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15304 return 0;
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 ac_cv_asm_func_def=".type @function"
15309 else
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15314 main ()
15316 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15318 return 0;
15320 _ACEOF
15321 if ac_fn_c_try_link "$LINENO"; then :
15322 ac_cv_asm_func_def=".type 2"
15323 else
15324 ac_cv_asm_func_def="unknown"
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15336 $as_echo "$ac_cv_asm_func_def" >&6; }
15339 case "$ac_cv_asm_func_def" in
15340 ".def")
15341 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15343 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15344 ".type @function")
15345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15347 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15348 ".type 2")
15349 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15351 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15353 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15355 asm_func_header="" ;;
15356 esac
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15359 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15360 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 asm(".text\n\t.long 0");
15367 main ()
15371 return 0;
15373 _ACEOF
15374 if ac_fn_c_try_compile "$LINENO"; then :
15375 ac_cv_c_asm_outside_funcs="yes"
15376 else
15377 ac_cv_c_asm_outside_funcs="no"
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15382 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15385 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15386 if ${ac_cv_c_dot_previous+:} false; then :
15387 $as_echo_n "(cached) " >&6
15388 else
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15393 main ()
15395 asm(".text\nac_test:\t.long 0\n\t.previous");
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 ac_cv_c_dot_previous="yes"
15402 else
15403 ac_cv_c_dot_previous="no"
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext conftest.$ac_ext
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15409 $as_echo "$ac_cv_c_dot_previous" >&6; }
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15412 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15413 if ${ac_cv_c_cfi_support+:} false; then :
15414 $as_echo_n "(cached) " >&6
15415 else
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15418 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15420 main ()
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_compile "$LINENO"; then :
15428 ac_cv_c_cfi_support="yes"
15429 else
15430 ac_cv_c_cfi_support="no"
15432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15435 $as_echo "$ac_cv_c_cfi_support" >&6; }
15437 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15438 asm_func_trailer=""
15439 if test "$ac_cv_c_dot_previous" = "yes"
15440 then
15441 asm_func_trailer="\\n\\t.previous"
15443 if test "$ac_cv_c_cfi_support" = "yes"
15444 then
15445 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15446 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15448 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15450 UNWINDFLAGS=-fasynchronous-unwind-tables
15452 else
15453 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15455 if test "x$enable_win64" = "xyes"
15456 then
15457 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15461 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15464 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15465 then
15466 cat >>confdefs.h <<_ACEOF
15467 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15468 _ACEOF
15470 else
15471 cat >>confdefs.h <<_ACEOF
15472 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15473 _ACEOF
15477 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15480 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15484 case $build_os in
15485 cygwin*|mingw32*) TOOLSEXT=".exe"
15487 esac
15489 case $host_os in
15490 linux*)
15491 case $host_cpu in
15492 *i[3456789]86*|x86_64*)
15493 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15494 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15496 esac
15498 esac
15501 ac_save_CFLAGS="$CFLAGS"
15502 CFLAGS="$CFLAGS $BUILTINFLAG"
15503 for ac_func in \
15504 __res_get_state \
15505 __res_getservers \
15506 _finite \
15507 _isnan \
15508 _pclose \
15509 _popen \
15510 _snprintf \
15511 _spawnvp \
15512 _strdup \
15513 _stricmp \
15514 _strnicmp \
15515 _strtoi64 \
15516 _strtoui64 \
15517 _vsnprintf \
15518 asctime_r \
15519 chsize \
15520 dlopen \
15521 epoll_create \
15522 ffs \
15523 finitef \
15524 fnmatch \
15525 fork \
15526 fpclass \
15527 fstatfs \
15528 fstatvfs \
15529 ftruncate \
15530 futimens \
15531 futimes \
15532 futimesat \
15533 getattrlist \
15534 getauxval \
15535 getifaddrs \
15536 getopt_long_only \
15537 getpwuid \
15538 gettimeofday \
15539 getuid \
15540 isnanf \
15541 kqueue \
15542 lstat \
15543 memmove \
15544 mmap \
15545 pclose \
15546 pipe2 \
15547 poll \
15548 popen \
15549 port_create \
15550 prctl \
15551 pread \
15552 proc_pidinfo \
15553 pwrite \
15554 readdir \
15555 readlink \
15556 sched_yield \
15557 select \
15558 setproctitle \
15559 setprogname \
15560 setrlimit \
15561 settimeofday \
15562 sigaltstack \
15563 sigprocmask \
15564 snprintf \
15565 statfs \
15566 statvfs \
15567 strcasecmp \
15568 strdup \
15569 strerror \
15570 strncasecmp \
15571 strtold \
15572 strtoll \
15573 strtoull \
15574 symlink \
15575 sysinfo \
15576 tcdrain \
15577 thr_kill2 \
15578 timegm \
15579 usleep \
15580 vsnprintf
15582 do :
15583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15586 cat >>confdefs.h <<_ACEOF
15587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15588 _ACEOF
15591 done
15593 CFLAGS="$ac_save_CFLAGS"
15595 if test "$ac_cv_func_dlopen" = no
15596 then
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15599 if ${ac_cv_lib_dl_dlopen+:} false; then :
15600 $as_echo_n "(cached) " >&6
15601 else
15602 ac_check_lib_save_LIBS=$LIBS
15603 LIBS="-ldl $LIBS"
15604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15605 /* end confdefs.h. */
15607 /* Override any GCC internal prototype to avoid an error.
15608 Use char because int might match the return type of a GCC
15609 builtin and then its argument prototype would still apply. */
15610 #ifdef __cplusplus
15611 extern "C"
15612 #endif
15613 char dlopen ();
15615 main ()
15617 return dlopen ();
15619 return 0;
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"; then :
15623 ac_cv_lib_dl_dlopen=yes
15624 else
15625 ac_cv_lib_dl_dlopen=no
15627 rm -f core conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15629 LIBS=$ac_check_lib_save_LIBS
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15632 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15633 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15634 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15635 DL_LIBS="-ldl"
15640 ac_wine_check_funcs_save_LIBS="$LIBS"
15641 LIBS="$LIBS $DL_LIBS"
15642 for ac_func in dladdr
15643 do :
15644 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15645 if test "x$ac_cv_func_dladdr" = xyes; then :
15646 cat >>confdefs.h <<_ACEOF
15647 #define HAVE_DLADDR 1
15648 _ACEOF
15651 done
15653 LIBS="$ac_wine_check_funcs_save_LIBS"
15655 if test "$ac_cv_func_poll" = no
15656 then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15658 $as_echo_n "checking for poll in -lpoll... " >&6; }
15659 if ${ac_cv_lib_poll_poll+:} false; then :
15660 $as_echo_n "(cached) " >&6
15661 else
15662 ac_check_lib_save_LIBS=$LIBS
15663 LIBS="-lpoll $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 #ifdef __cplusplus
15671 extern "C"
15672 #endif
15673 char poll ();
15675 main ()
15677 return poll ();
15679 return 0;
15681 _ACEOF
15682 if ac_fn_c_try_link "$LINENO"; then :
15683 ac_cv_lib_poll_poll=yes
15684 else
15685 ac_cv_lib_poll_poll=no
15687 rm -f core conftest.err conftest.$ac_objext \
15688 conftest$ac_exeext conftest.$ac_ext
15689 LIBS=$ac_check_lib_save_LIBS
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15692 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15693 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15694 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15695 POLL_LIBS="-lpoll"
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15702 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15703 if ${ac_cv_search_gethostbyname+:} false; then :
15704 $as_echo_n "(cached) " >&6
15705 else
15706 ac_func_search_save_LIBS=$LIBS
15707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15713 #ifdef __cplusplus
15714 extern "C"
15715 #endif
15716 char gethostbyname ();
15718 main ()
15720 return gethostbyname ();
15722 return 0;
15724 _ACEOF
15725 for ac_lib in '' nsl; do
15726 if test -z "$ac_lib"; then
15727 ac_res="none required"
15728 else
15729 ac_res=-l$ac_lib
15730 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15732 if ac_fn_c_try_link "$LINENO"; then :
15733 ac_cv_search_gethostbyname=$ac_res
15735 rm -f core conftest.err conftest.$ac_objext \
15736 conftest$ac_exeext
15737 if ${ac_cv_search_gethostbyname+:} false; then :
15738 break
15740 done
15741 if ${ac_cv_search_gethostbyname+:} false; then :
15743 else
15744 ac_cv_search_gethostbyname=no
15746 rm conftest.$ac_ext
15747 LIBS=$ac_func_search_save_LIBS
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15750 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15751 ac_res=$ac_cv_search_gethostbyname
15752 if test "$ac_res" != no; then :
15753 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15759 $as_echo_n "checking for library containing connect... " >&6; }
15760 if ${ac_cv_search_connect+:} false; then :
15761 $as_echo_n "(cached) " >&6
15762 else
15763 ac_func_search_save_LIBS=$LIBS
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 #ifdef __cplusplus
15771 extern "C"
15772 #endif
15773 char connect ();
15775 main ()
15777 return connect ();
15779 return 0;
15781 _ACEOF
15782 for ac_lib in '' socket; do
15783 if test -z "$ac_lib"; then
15784 ac_res="none required"
15785 else
15786 ac_res=-l$ac_lib
15787 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15789 if ac_fn_c_try_link "$LINENO"; then :
15790 ac_cv_search_connect=$ac_res
15792 rm -f core conftest.err conftest.$ac_objext \
15793 conftest$ac_exeext
15794 if ${ac_cv_search_connect+:} false; then :
15795 break
15797 done
15798 if ${ac_cv_search_connect+:} false; then :
15800 else
15801 ac_cv_search_connect=no
15803 rm conftest.$ac_ext
15804 LIBS=$ac_func_search_save_LIBS
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15807 $as_echo "$ac_cv_search_connect" >&6; }
15808 ac_res=$ac_cv_search_connect
15809 if test "$ac_res" != no; then :
15810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15816 $as_echo_n "checking for library containing inet_aton... " >&6; }
15817 if ${ac_cv_search_inet_aton+:} false; then :
15818 $as_echo_n "(cached) " >&6
15819 else
15820 ac_func_search_save_LIBS=$LIBS
15821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15824 /* Override any GCC internal prototype to avoid an error.
15825 Use char because int might match the return type of a GCC
15826 builtin and then its argument prototype would still apply. */
15827 #ifdef __cplusplus
15828 extern "C"
15829 #endif
15830 char inet_aton ();
15832 main ()
15834 return inet_aton ();
15836 return 0;
15838 _ACEOF
15839 for ac_lib in '' resolv; do
15840 if test -z "$ac_lib"; then
15841 ac_res="none required"
15842 else
15843 ac_res=-l$ac_lib
15844 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15846 if ac_fn_c_try_link "$LINENO"; then :
15847 ac_cv_search_inet_aton=$ac_res
15849 rm -f core conftest.err conftest.$ac_objext \
15850 conftest$ac_exeext
15851 if ${ac_cv_search_inet_aton+:} false; then :
15852 break
15854 done
15855 if ${ac_cv_search_inet_aton+:} false; then :
15857 else
15858 ac_cv_search_inet_aton=no
15860 rm conftest.$ac_ext
15861 LIBS=$ac_func_search_save_LIBS
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15864 $as_echo "$ac_cv_search_inet_aton" >&6; }
15865 ac_res=$ac_cv_search_inet_aton
15866 if test "$ac_res" != no; then :
15867 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15872 for ac_func in \
15873 getaddrinfo \
15874 getnameinfo \
15875 getnetbyname \
15876 getprotobyname \
15877 getprotobynumber \
15878 getservbyport \
15879 inet_addr \
15880 inet_network \
15881 inet_ntop \
15882 inet_pton \
15883 sendmsg \
15884 socketpair \
15886 do :
15887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15889 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15892 _ACEOF
15895 done
15898 ac_save_LIBS=$LIBS
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15900 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15901 if ${ac_cv_search_clock_gettime+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 ac_func_search_save_LIBS=$LIBS
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char clock_gettime ();
15916 main ()
15918 return clock_gettime ();
15920 return 0;
15922 _ACEOF
15923 for ac_lib in '' rt; do
15924 if test -z "$ac_lib"; then
15925 ac_res="none required"
15926 else
15927 ac_res=-l$ac_lib
15928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15930 if ac_fn_c_try_link "$LINENO"; then :
15931 ac_cv_search_clock_gettime=$ac_res
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext
15935 if ${ac_cv_search_clock_gettime+:} false; then :
15936 break
15938 done
15939 if ${ac_cv_search_clock_gettime+:} false; then :
15941 else
15942 ac_cv_search_clock_gettime=no
15944 rm conftest.$ac_ext
15945 LIBS=$ac_func_search_save_LIBS
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15948 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15949 ac_res=$ac_cv_search_clock_gettime
15950 if test "$ac_res" != no; then :
15951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15953 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15955 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15959 LIBS=$ac_save_LIBS
15961 if test "x$with_ldap" != "xno"
15962 then
15963 if ${LDAP_CFLAGS:+false} :; then :
15964 if ${PKG_CONFIG+:} false; then :
15965 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15969 if ${LDAP_LIBS:+false} :; then :
15970 if ${PKG_CONFIG+:} false; then :
15971 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15975 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15976 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15977 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15978 ac_save_CPPFLAGS=$CPPFLAGS
15979 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15980 for ac_header in ldap.h lber.h
15981 do :
15982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15983 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15984 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15987 _ACEOF
15991 done
15993 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15994 then
15995 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15997 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15999 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16000 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_check_lib_save_LIBS=$LIBS
16004 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char ldap_initialize ();
16016 main ()
16018 return ldap_initialize ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 ac_cv_lib_ldap_r_ldap_initialize=yes
16025 else
16026 ac_cv_lib_ldap_r_ldap_initialize=no
16028 rm -f core conftest.err conftest.$ac_objext \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_lib_save_LIBS
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16033 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16034 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16036 $as_echo_n "checking for ber_init in -llber... " >&6; }
16037 if ${ac_cv_lib_lber_ber_init+:} false; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 ac_check_lib_save_LIBS=$LIBS
16041 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16045 /* Override any GCC internal prototype to avoid an error.
16046 Use char because int might match the return type of a GCC
16047 builtin and then its argument prototype would still apply. */
16048 #ifdef __cplusplus
16049 extern "C"
16050 #endif
16051 char ber_init ();
16053 main ()
16055 return ber_init ();
16057 return 0;
16059 _ACEOF
16060 if ac_fn_c_try_link "$LINENO"; then :
16061 ac_cv_lib_lber_ber_init=yes
16062 else
16063 ac_cv_lib_lber_ber_init=no
16065 rm -f core conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext conftest.$ac_ext
16067 LIBS=$ac_check_lib_save_LIBS
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16070 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16071 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16073 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16075 else
16076 LDAP_LIBS=""
16079 else
16080 LDAP_LIBS=""
16083 else
16084 LDAP_LIBS=""
16087 ac_wine_check_funcs_save_LIBS="$LIBS"
16088 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16089 for ac_func in \
16090 ldap_count_references \
16091 ldap_first_reference \
16092 ldap_next_reference \
16093 ldap_parse_reference \
16094 ldap_parse_sort_control \
16095 ldap_parse_sortresponse_control \
16096 ldap_parse_vlv_control \
16097 ldap_parse_vlvresponse_control
16098 do :
16099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16104 _ACEOF
16107 done
16109 LIBS="$ac_wine_check_funcs_save_LIBS"
16110 else
16111 LDAP_LIBS=""
16113 CPPFLAGS=$ac_save_CPPFLAGS
16114 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16115 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16118 if test "x$LDAP_LIBS" = "x"; then :
16119 case "x$with_ldap" in
16120 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16121 xno) ;;
16122 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16123 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16124 esac
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16129 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16130 if ${wine_cv_one_arg_mkdir+:} false; then :
16131 $as_echo_n "(cached) " >&6
16132 else
16133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134 /* end confdefs.h. */
16135 #include <sys/stat.h>
16137 main ()
16139 mkdir("foo");
16141 return 0;
16143 _ACEOF
16144 if ac_fn_c_try_compile "$LINENO"; then :
16145 wine_cv_one_arg_mkdir=yes
16146 else
16147 wine_cv_one_arg_mkdir=no
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16152 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16153 if test "$wine_cv_one_arg_mkdir" = "yes"
16154 then
16156 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16161 $as_echo_n "checking for sched_setaffinity... " >&6; }
16162 if ${wine_cv_have_sched_setaffinity+:} false; then :
16163 $as_echo_n "(cached) " >&6
16164 else
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16167 #define _GNU_SOURCE
16168 #include <sched.h>
16170 main ()
16172 sched_setaffinity(0, 0, 0);
16174 return 0;
16176 _ACEOF
16177 if ac_fn_c_try_link "$LINENO"; then :
16178 wine_cv_have_sched_setaffinity=yes
16179 else
16180 wine_cv_have_sched_setaffinity=no
16182 rm -f core conftest.err conftest.$ac_objext \
16183 conftest$ac_exeext conftest.$ac_ext
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16186 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16187 if test "$wine_cv_have_sched_setaffinity" = "yes"
16188 then
16190 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16195 $as_echo_n "checking for fallocate... " >&6; }
16196 if ${wine_cv_have_fallocate+:} false; then :
16197 $as_echo_n "(cached) " >&6
16198 else
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16201 #define _GNU_SOURCE
16202 #include <fcntl.h>
16204 main ()
16206 fallocate(-1, 0, 0, 0);
16208 return 0;
16210 _ACEOF
16211 if ac_fn_c_try_link "$LINENO"; then :
16212 wine_cv_have_fallocate=yes
16213 else
16214 wine_cv_have_fallocate=no
16216 rm -f core conftest.err conftest.$ac_objext \
16217 conftest$ac_exeext conftest.$ac_ext
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16220 $as_echo "$wine_cv_have_fallocate" >&6; }
16221 if test "$wine_cv_have_fallocate" = "yes"
16222 then
16224 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16230 $as_echo_n "checking for inline... " >&6; }
16231 if ${ac_cv_c_inline+:} false; then :
16232 $as_echo_n "(cached) " >&6
16233 else
16234 ac_cv_c_inline=no
16235 for ac_kw in inline __inline__ __inline; do
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #ifndef __cplusplus
16239 typedef int foo_t;
16240 static $ac_kw foo_t static_foo () {return 0; }
16241 $ac_kw foo_t foo () {return 0; }
16242 #endif
16244 _ACEOF
16245 if ac_fn_c_try_compile "$LINENO"; then :
16246 ac_cv_c_inline=$ac_kw
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249 test "$ac_cv_c_inline" != no && break
16250 done
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16254 $as_echo "$ac_cv_c_inline" >&6; }
16256 case $ac_cv_c_inline in
16257 inline | yes) ;;
16259 case $ac_cv_c_inline in
16260 no) ac_val=;;
16261 *) ac_val=$ac_cv_c_inline;;
16262 esac
16263 cat >>confdefs.h <<_ACEOF
16264 #ifndef __cplusplus
16265 #define inline $ac_val
16266 #endif
16267 _ACEOF
16269 esac
16271 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16272 if test "x$ac_cv_type_mode_t" = xyes; then :
16274 cat >>confdefs.h <<_ACEOF
16275 #define HAVE_MODE_T 1
16276 _ACEOF
16280 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16281 if test "x$ac_cv_type_off_t" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_OFF_T 1
16285 _ACEOF
16289 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16290 if test "x$ac_cv_type_pid_t" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_PID_T 1
16294 _ACEOF
16298 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16299 if test "x$ac_cv_type_size_t" = xyes; then :
16301 cat >>confdefs.h <<_ACEOF
16302 #define HAVE_SIZE_T 1
16303 _ACEOF
16307 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16308 if test "x$ac_cv_type_ssize_t" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_SSIZE_T 1
16312 _ACEOF
16316 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16317 if test "x$ac_cv_type_long_long" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_LONG_LONG 1
16321 _ACEOF
16325 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16326 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_FSBLKCNT_T 1
16330 _ACEOF
16334 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16335 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_FSFILCNT_T 1
16339 _ACEOF
16344 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16345 #include <signal.h>
16347 if test "x$ac_cv_type_sigset_t" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_SIGSET_T 1
16351 _ACEOF
16356 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16358 if test "x$ac_cv_type_request_sense" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_REQUEST_SENSE 1
16362 _ACEOF
16368 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16369 #ifdef HAVE_SYS_SOCKET_H
16370 #include <sys/socket.h>
16371 #endif
16372 #ifdef HAVE_SYS_SOCKETVAR_H
16373 #include <sys/socketvar.h>
16374 #endif
16375 #ifdef HAVE_NET_ROUTE_H
16376 #include <net/route.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IN_H
16379 #include <netinet/in.h>
16380 #endif
16381 #ifdef HAVE_NETINET_IN_SYSTM_H
16382 #include <netinet/in_systm.h>
16383 #endif
16384 #ifdef HAVE_NETINET_IP_H
16385 #include <netinet/ip.h>
16386 #endif
16387 #ifdef HAVE_NETINET_IN_PCB_H
16388 #include <netinet/in_pcb.h>
16389 #endif
16391 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_XINPGEN 1
16395 _ACEOF
16401 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16402 #include <link.h>
16403 #endif
16404 #ifdef HAVE_SYS_LINK_H
16405 #include <sys/link.h>
16406 #endif
16408 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_R_DEBUG 1
16412 _ACEOF
16416 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16417 #include <link.h>
16418 #endif
16419 #ifdef HAVE_SYS_LINK_H
16420 #include <sys/link.h>
16421 #endif
16423 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16425 cat >>confdefs.h <<_ACEOF
16426 #define HAVE_STRUCT_LINK_MAP 1
16427 _ACEOF
16433 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16434 #include <linux/input.h>
16435 #endif
16437 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16441 _ACEOF
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16448 $as_echo_n "checking for if_nameindex... " >&6; }
16449 if ${wine_cv_have_if_nameindex+:} false; then :
16450 $as_echo_n "(cached) " >&6
16451 else
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16454 #ifdef HAVE_SYS_TYPES_H
16455 #include <sys/types.h>
16456 #endif
16457 #ifdef HAVE_SYS_SOCKET_H
16458 #include <sys/socket.h>
16459 #endif
16460 #ifdef HAVE_NET_IF_H
16461 # include <net/if.h>
16462 #endif
16464 main ()
16466 struct if_nameindex *p = if_nameindex(); return p->if_index;
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_link "$LINENO"; then :
16472 wine_cv_have_if_nameindex=yes
16473 else
16474 wine_cv_have_if_nameindex=no
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16480 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16481 if test "$wine_cv_have_if_nameindex" = "yes"
16482 then
16484 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16489 $as_echo_n "checking for sigaddset... " >&6; }
16490 if ${wine_cv_have_sigaddset+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #include <signal.h>
16497 main ()
16499 sigset_t set; sigaddset(&set,SIGTERM);
16501 return 0;
16503 _ACEOF
16504 if ac_fn_c_try_link "$LINENO"; then :
16505 wine_cv_have_sigaddset=yes
16506 else
16507 wine_cv_have_sigaddset=no
16509 rm -f core conftest.err conftest.$ac_objext \
16510 conftest$ac_exeext conftest.$ac_ext
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16513 $as_echo "$wine_cv_have_sigaddset" >&6; }
16514 if test "$wine_cv_have_sigaddset" = "yes"
16515 then
16517 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16523 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16524 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #include <netdb.h>
16531 main ()
16534 char *name=0;
16535 struct hostent he;
16536 struct hostent *result;
16537 char *buf=0;
16538 int bufsize=0;
16539 int errnr;
16540 char *addr=0;
16541 int addrlen=0;
16542 int addrtype=0;
16543 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16544 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16547 return 0;
16549 _ACEOF
16550 if ac_fn_c_try_link "$LINENO"; then :
16551 wine_cv_linux_gethostbyname_r_6=yes
16552 else
16553 wine_cv_linux_gethostbyname_r_6=no
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16561 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16562 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16563 then
16565 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16569 if test "$ac_cv_header_linux_joystick_h" = "yes"
16570 then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16572 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16573 if ${wine_cv_linux_joystick_22_api+:} false; then :
16574 $as_echo_n "(cached) " >&6
16575 else
16576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16579 #include <sys/ioctl.h>
16580 #include <sys/types.h>
16581 #include <linux/joystick.h>
16583 struct js_event blub;
16584 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16585 #error "no 2.2 header"
16586 #endif
16589 main ()
16591 /*empty*/
16593 return 0;
16595 _ACEOF
16596 if ac_fn_c_try_compile "$LINENO"; then :
16597 wine_cv_linux_joystick_22_api=yes
16598 else
16599 wine_cv_linux_joystick_22_api=no
16601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16605 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16606 if test "$wine_cv_linux_joystick_22_api" = "yes"
16607 then
16609 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16615 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16616 #ifdef HAVE_SYS_PARAM_H
16617 # include <sys/param.h>
16618 #endif
16619 #ifdef HAVE_SYS_MOUNT_H
16620 # include <sys/mount.h>
16621 #endif
16622 #ifdef HAVE_SYS_VFS_H
16623 # include <sys/vfs.h>
16624 #endif
16625 #ifdef HAVE_SYS_STATFS_H
16626 # include <sys/statfs.h>
16627 #endif
16629 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_STATFS_F_BFREE 1
16633 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16638 #ifdef HAVE_SYS_PARAM_H
16639 # include <sys/param.h>
16640 #endif
16641 #ifdef HAVE_SYS_MOUNT_H
16642 # include <sys/mount.h>
16643 #endif
16644 #ifdef HAVE_SYS_VFS_H
16645 # include <sys/vfs.h>
16646 #endif
16647 #ifdef HAVE_SYS_STATFS_H
16648 # include <sys/statfs.h>
16649 #endif
16651 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16655 _ACEOF
16659 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16660 #ifdef HAVE_SYS_PARAM_H
16661 # include <sys/param.h>
16662 #endif
16663 #ifdef HAVE_SYS_MOUNT_H
16664 # include <sys/mount.h>
16665 #endif
16666 #ifdef HAVE_SYS_VFS_H
16667 # include <sys/vfs.h>
16668 #endif
16669 #ifdef HAVE_SYS_STATFS_H
16670 # include <sys/statfs.h>
16671 #endif
16673 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16675 cat >>confdefs.h <<_ACEOF
16676 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16677 _ACEOF
16681 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16682 #ifdef HAVE_SYS_PARAM_H
16683 # include <sys/param.h>
16684 #endif
16685 #ifdef HAVE_SYS_MOUNT_H
16686 # include <sys/mount.h>
16687 #endif
16688 #ifdef HAVE_SYS_VFS_H
16689 # include <sys/vfs.h>
16690 #endif
16691 #ifdef HAVE_SYS_STATFS_H
16692 # include <sys/statfs.h>
16693 #endif
16695 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16697 cat >>confdefs.h <<_ACEOF
16698 #define HAVE_STRUCT_STATFS_F_FFREE 1
16699 _ACEOF
16703 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16704 #ifdef HAVE_SYS_PARAM_H
16705 # include <sys/param.h>
16706 #endif
16707 #ifdef HAVE_SYS_MOUNT_H
16708 # include <sys/mount.h>
16709 #endif
16710 #ifdef HAVE_SYS_VFS_H
16711 # include <sys/vfs.h>
16712 #endif
16713 #ifdef HAVE_SYS_STATFS_H
16714 # include <sys/statfs.h>
16715 #endif
16717 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16721 _ACEOF
16725 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16726 #ifdef HAVE_SYS_PARAM_H
16727 # include <sys/param.h>
16728 #endif
16729 #ifdef HAVE_SYS_MOUNT_H
16730 # include <sys/mount.h>
16731 #endif
16732 #ifdef HAVE_SYS_VFS_H
16733 # include <sys/vfs.h>
16734 #endif
16735 #ifdef HAVE_SYS_STATFS_H
16736 # include <sys/statfs.h>
16737 #endif
16739 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16743 _ACEOF
16749 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16750 #include <sys/statvfs.h>
16751 #endif
16753 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16757 _ACEOF
16763 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16764 #include <dirent.h>
16765 #endif
16767 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16771 _ACEOF
16777 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16778 #ifdef HAVE_SYS_SOCKET_H
16779 # include <sys/socket.h>
16780 #endif
16781 #ifdef HAVE_SYS_UN_H
16782 # include <sys/un.h>
16783 #endif
16785 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16787 cat >>confdefs.h <<_ACEOF
16788 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16789 _ACEOF
16793 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16794 #ifdef HAVE_SYS_SOCKET_H
16795 # include <sys/socket.h>
16796 #endif
16797 #ifdef HAVE_SYS_UN_H
16798 # include <sys/un.h>
16799 #endif
16801 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16803 cat >>confdefs.h <<_ACEOF
16804 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16805 _ACEOF
16809 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16810 #ifdef HAVE_SYS_SOCKET_H
16811 # include <sys/socket.h>
16812 #endif
16813 #ifdef HAVE_SYS_UN_H
16814 # include <sys/un.h>
16815 #endif
16817 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16819 cat >>confdefs.h <<_ACEOF
16820 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16821 _ACEOF
16827 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16828 #ifdef HAVE_SCSI_SG_H
16829 #include <scsi/sg.h>
16830 #endif
16832 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_SCSIREQ_T_CMD 1
16836 _ACEOF
16840 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>
16841 #ifdef HAVE_SCSI_SG_H
16842 #include <scsi/sg.h>
16843 #endif
16845 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16847 cat >>confdefs.h <<_ACEOF
16848 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16849 _ACEOF
16855 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16857 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16859 cat >>confdefs.h <<_ACEOF
16860 #define HAVE_SIGINFO_T_SI_FD 1
16861 _ACEOF
16867 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16868 #ifdef HAVE_SYS_MTIO_H
16869 #include <sys/mtio.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16876 _ACEOF
16880 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16881 #ifdef HAVE_SYS_MTIO_H
16882 #include <sys/mtio.h>
16883 #endif
16885 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16887 cat >>confdefs.h <<_ACEOF
16888 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16889 _ACEOF
16893 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16894 #ifdef HAVE_SYS_MTIO_H
16895 #include <sys/mtio.h>
16896 #endif
16898 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16900 cat >>confdefs.h <<_ACEOF
16901 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16902 _ACEOF
16908 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16909 #include <getopt.h>
16910 #endif
16912 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_STRUCT_OPTION_NAME 1
16916 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16923 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16927 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16932 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16934 cat >>confdefs.h <<_ACEOF
16935 #define HAVE_STRUCT_STAT_ST_MTIM 1
16936 _ACEOF
16940 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16941 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16945 _ACEOF
16949 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16950 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16952 cat >>confdefs.h <<_ACEOF
16953 #define HAVE_STRUCT_STAT_ST_CTIM 1
16954 _ACEOF
16958 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16959 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16963 _ACEOF
16967 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16968 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16970 cat >>confdefs.h <<_ACEOF
16971 #define HAVE_STRUCT_STAT_ST_ATIM 1
16972 _ACEOF
16976 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16977 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16979 cat >>confdefs.h <<_ACEOF
16980 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16981 _ACEOF
16985 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16986 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16988 cat >>confdefs.h <<_ACEOF
16989 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16990 _ACEOF
16994 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16995 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16999 _ACEOF
17003 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17004 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17008 _ACEOF
17012 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17013 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17017 _ACEOF
17021 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17022 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17026 _ACEOF
17032 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
17033 #include <sys/types.h>
17034 #endif
17035 #ifdef HAVE_NETINET_IN_H
17036 #include <netinet/in.h>
17037 #endif
17039 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17041 cat >>confdefs.h <<_ACEOF
17042 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17043 _ACEOF
17049 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17050 #include <sys/types.h>
17051 #endif
17052 #ifdef HAVE_NETINET_IN_H
17053 #include <netinet/in.h>
17054 #endif
17055 #ifdef HAVE_RESOLV_H
17056 #include <resolv.h>
17057 #endif
17059 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_STRUCT___RES_STATE 1
17063 _ACEOF
17069 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
17070 #include <resolv.h>
17071 #endif
17073 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17077 _ACEOF
17083 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17084 #include <sys/types.h>
17085 #endif
17086 #ifdef HAVE_NETINET_IN_H
17087 # include <netinet/in.h>
17088 #endif
17089 #ifdef HAVE_ARPA_NAMESER_H
17090 # include <arpa/nameser.h>
17091 #endif
17093 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17095 cat >>confdefs.h <<_ACEOF
17096 #define HAVE_NS_MSG__MSG_PTR 1
17097 _ACEOF
17103 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17104 #include <sys/types.h>
17105 #endif
17106 #ifdef HAVE_NETINET_IN_H
17107 #include <netinet/in.h>
17108 #endif
17109 #ifdef HAVE_NETINET_IP_H
17110 #include <netinet/ip.h>
17111 #endif
17112 #ifdef HAVE_NETINET_IP_ICMP_H
17113 #include <netinet/ip_icmp.h>
17114 #endif
17115 #ifdef HAVE_NETINET_ICMP_VAR_H
17116 #include <netinet/icmp_var.h>
17117 #endif
17119 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17123 _ACEOF
17129 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17130 #include <sys/types.h>
17131 #endif
17132 #ifdef HAVE_ALIAS_H
17133 #include <alias.h>
17134 #endif
17135 #ifdef HAVE_SYS_SOCKET_H
17136 #include <sys/socket.h>
17137 #endif
17138 #ifdef HAVE_SYS_SOCKETVAR_H
17139 #include <sys/socketvar.h>
17140 #endif
17141 #ifdef HAVE_SYS_TIMEOUT_H
17142 #include <sys/timeout.h>
17143 #endif
17144 #ifdef HAVE_NETINET_IN_H
17145 #include <netinet/in.h>
17146 #endif
17147 #ifdef HAVE_NETINET_IN_SYSTM_H
17148 #include <netinet/in_systm.h>
17149 #endif
17150 #ifdef HAVE_NETINET_IP_H
17151 #include <netinet/ip.h>
17152 #endif
17153 #ifdef HAVE_NETINET_IP_VAR_H
17154 #include <netinet/ip_var.h>
17155 #endif
17156 #ifdef HAVE_NETINET_IP_ICMP_H
17157 #include <netinet/ip_icmp.h>
17158 #endif
17159 #ifdef HAVE_NETINET_ICMP_VAR_H
17160 #include <netinet/icmp_var.h>
17161 #endif
17163 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17167 _ACEOF
17173 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17174 #include <sys/types.h>
17175 #endif
17176 #ifdef HAVE_SYS_SOCKETVAR_H
17177 #include <sys/socketvar.h>
17178 #endif
17179 #ifdef HAVE_NETINET_IN_H
17180 #include <netinet/in.h>
17181 #endif
17182 #ifdef HAVE_NETINET_IP_VAR_H
17183 #include <netinet/ip_var.h>
17184 #endif
17186 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17188 cat >>confdefs.h <<_ACEOF
17189 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17190 _ACEOF
17196 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
17197 #include <netinet/ip_var.h>
17198 #endif
17200 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17204 _ACEOF
17210 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17211 #include <sys/types.h>
17212 #endif
17213 #ifdef HAVE_SYS_SOCKETVAR_H
17214 #include <sys/socketvar.h>
17215 #endif
17216 #ifdef HAVE_NETINET_IN_H
17217 #include <netinet/in.h>
17218 #endif
17219 #ifdef HAVE_NETINET_TCP_H
17220 #include <netinet/tcp.h>
17221 #endif
17222 #ifdef HAVE_NETINET_TCP_VAR_H
17223 #include <netinet/tcp_var.h>
17224 #endif
17226 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17230 _ACEOF
17236 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
17237 #include <netinet/tcp_var.h>
17238 #endif
17240 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17242 cat >>confdefs.h <<_ACEOF
17243 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17244 _ACEOF
17250 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17251 #include <sys/types.h>
17252 #endif
17253 #ifdef HAVE_NETINET_IN_H
17254 #include <netinet/in.h>
17255 #endif
17256 #ifdef HAVE_NETINET_IP_VAR_H
17257 #include <netinet/ip_var.h>
17258 #endif
17259 #ifdef HAVE_NETINET_UDP_H
17260 #include <netinet/udp.h>
17261 #endif
17262 #ifdef HAVE_NETINET_UDP_VAR_H
17263 #include <netinet/udp_var.h>
17264 #endif
17266 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17270 _ACEOF
17276 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17277 #include <sys/types.h>
17278 #endif
17279 #ifdef HAVE_NET_IF_H
17280 # include <net/if.h>
17281 #endif
17283 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17285 cat >>confdefs.h <<_ACEOF
17286 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17287 _ACEOF
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17294 $as_echo_n "checking for timezone variable... " >&6; }
17295 if ${ac_cv_have_timezone+:} false; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 #include <time.h>
17302 main ()
17304 timezone = 1
17306 return 0;
17308 _ACEOF
17309 if ac_fn_c_try_link "$LINENO"; then :
17310 ac_cv_have_timezone="yes"
17311 else
17312 ac_cv_have_timezone="no"
17314 rm -f core conftest.err conftest.$ac_objext \
17315 conftest$ac_exeext conftest.$ac_ext
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17318 $as_echo "$ac_cv_have_timezone" >&6; }
17319 if test "$ac_cv_have_timezone" = "yes"
17320 then
17322 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17326 $as_echo_n "checking for daylight variable... " >&6; }
17327 if ${ac_cv_have_daylight+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #include <time.h>
17334 main ()
17336 daylight = 1
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342 ac_cv_have_daylight="yes"
17343 else
17344 ac_cv_have_daylight="no"
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17350 $as_echo "$ac_cv_have_daylight" >&6; }
17351 if test "$ac_cv_have_daylight" = "yes"
17352 then
17354 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17358 ac_save_LIBS="$LIBS"
17359 LIBS="$LIBS -lm"
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17361 $as_echo_n "checking for isfinite... " >&6; }
17362 if ${ac_cv_have_isfinite+:} false; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 #define _GNU_SOURCE
17368 #include <math.h>
17370 main ()
17372 float f = 0.0; return isfinite(f)
17374 return 0;
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"; then :
17378 ac_cv_have_isfinite="yes"
17379 else
17380 ac_cv_have_isfinite="no"
17382 rm -f core conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17386 $as_echo "$ac_cv_have_isfinite" >&6; }
17387 if test "$ac_cv_have_isfinite" = "yes"
17388 then
17390 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17395 $as_echo_n "checking for isinf... " >&6; }
17396 if ${ac_cv_have_isinf+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <math.h>
17403 main ()
17405 float f = 0.0; return isinf(f)
17407 return 0;
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"; then :
17411 ac_cv_have_isinf="yes"
17412 else
17413 ac_cv_have_isinf="no"
17415 rm -f core conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17419 $as_echo "$ac_cv_have_isinf" >&6; }
17420 if test "$ac_cv_have_isinf" = "yes"
17421 then
17423 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17428 $as_echo_n "checking for isnan... " >&6; }
17429 if ${ac_cv_have_isnan+:} false; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 #include <math.h>
17436 main ()
17438 float f = 0.0; return isnan(f)
17440 return 0;
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"; then :
17444 ac_cv_have_isnan="yes"
17445 else
17446 ac_cv_have_isnan="no"
17448 rm -f core conftest.err conftest.$ac_objext \
17449 conftest$ac_exeext conftest.$ac_ext
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17452 $as_echo "$ac_cv_have_isnan" >&6; }
17453 if test "$ac_cv_have_isnan" = "yes"
17454 then
17456 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17460 for ac_func in \
17461 acosh \
17462 acoshf \
17463 asinh \
17464 asinhf \
17465 atanh \
17466 atanhf \
17467 cbrt \
17468 cbrtf \
17469 erf \
17470 erfc \
17471 erfcf \
17472 erff \
17473 exp2 \
17474 exp2f \
17475 expm1 \
17476 expm1f \
17477 lgamma \
17478 lgammaf \
17479 llrint \
17480 llrintf \
17481 llround \
17482 llroundf \
17483 log1p \
17484 log1pf \
17485 log2 \
17486 log2f \
17487 lrint \
17488 lrintf \
17489 lround \
17490 lroundf \
17491 nearbyint \
17492 nearbyintf \
17493 powl \
17494 remainder \
17495 remainderf \
17496 rint \
17497 rintf \
17498 round \
17499 roundf \
17500 trunc \
17501 truncf
17503 do :
17504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17506 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17507 cat >>confdefs.h <<_ACEOF
17508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17509 _ACEOF
17512 done
17514 LIBS="$ac_save_LIBS"
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17517 $as_echo_n "checking for __builtin_clz... " >&6; }
17518 if ${ac_cv_have___builtin_clz+:} false; then :
17519 $as_echo_n "(cached) " >&6
17520 else
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17525 main ()
17527 return __builtin_clz(1)
17529 return 0;
17531 _ACEOF
17532 if ac_fn_c_try_link "$LINENO"; then :
17533 ac_cv_have___builtin_clz="yes"
17534 else
17535 ac_cv_have___builtin_clz="no"
17537 rm -f core conftest.err conftest.$ac_objext \
17538 conftest$ac_exeext conftest.$ac_ext
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17541 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17542 if test "$ac_cv_have___builtin_clz" = "yes"
17543 then
17545 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17550 $as_echo_n "checking for __builtin_popcount... " >&6; }
17551 if ${ac_cv_have___builtin_popcount+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17558 main ()
17560 return __builtin_popcount(1)
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_have___builtin_popcount="yes"
17567 else
17568 ac_cv_have___builtin_popcount="no"
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17574 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17575 if test "$ac_cv_have___builtin_popcount" = "yes"
17576 then
17578 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17583 case $host_cpu in
17584 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17585 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17586 if ${ac_cv_cpp_def___i386__+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #ifndef __i386__
17593 #endif
17594 _ACEOF
17595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17596 $EGREP "yes" >/dev/null 2>&1; then :
17597 ac_cv_cpp_def___i386__=yes
17598 else
17599 ac_cv_cpp_def___i386__=no
17601 rm -f conftest*
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17605 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17606 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17607 CFLAGS="$CFLAGS -D__i386__"
17608 LINTFLAGS="$LINTFLAGS -D__i386__"
17609 fi ;;
17610 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17611 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17612 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 #ifndef __x86_64__
17619 #endif
17620 _ACEOF
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "yes" >/dev/null 2>&1; then :
17623 ac_cv_cpp_def___x86_64__=yes
17624 else
17625 ac_cv_cpp_def___x86_64__=no
17627 rm -f conftest*
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17631 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17632 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17633 CFLAGS="$CFLAGS -D__x86_64__"
17634 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17635 fi ;;
17636 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17637 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17638 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #ifndef __sparc64__
17645 #endif
17646 _ACEOF
17647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17648 $EGREP "yes" >/dev/null 2>&1; then :
17649 ac_cv_cpp_def___sparc64__=yes
17650 else
17651 ac_cv_cpp_def___sparc64__=no
17653 rm -f conftest*
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17657 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17658 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17659 CFLAGS="$CFLAGS -D__sparc64__"
17660 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17661 fi ;;
17662 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17663 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17664 if ${ac_cv_cpp_def___sparc__+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 #ifndef __sparc__
17671 #endif
17672 _ACEOF
17673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17674 $EGREP "yes" >/dev/null 2>&1; then :
17675 ac_cv_cpp_def___sparc__=yes
17676 else
17677 ac_cv_cpp_def___sparc__=no
17679 rm -f conftest*
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17683 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17684 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17685 CFLAGS="$CFLAGS -D__sparc__"
17686 LINTFLAGS="$LINTFLAGS -D__sparc__"
17687 fi ;;
17688 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17689 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17690 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #ifndef __powerpc64__
17697 #endif
17698 _ACEOF
17699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17700 $EGREP "yes" >/dev/null 2>&1; then :
17701 ac_cv_cpp_def___powerpc64__=yes
17702 else
17703 ac_cv_cpp_def___powerpc64__=no
17705 rm -f conftest*
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17709 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17710 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17711 CFLAGS="$CFLAGS -D__powerpc64__"
17712 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17713 fi ;;
17714 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17715 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17716 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #ifndef __powerpc__
17723 #endif
17724 _ACEOF
17725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17726 $EGREP "yes" >/dev/null 2>&1; then :
17727 ac_cv_cpp_def___powerpc__=yes
17728 else
17729 ac_cv_cpp_def___powerpc__=no
17731 rm -f conftest*
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17735 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17736 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17737 CFLAGS="$CFLAGS -D__powerpc__"
17738 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17739 fi ;;
17740 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17741 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17742 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #ifndef __aarch64__
17749 #endif
17750 _ACEOF
17751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17752 $EGREP "yes" >/dev/null 2>&1; then :
17753 ac_cv_cpp_def___aarch64__=yes
17754 else
17755 ac_cv_cpp_def___aarch64__=no
17757 rm -f conftest*
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17761 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17762 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17763 CFLAGS="$CFLAGS -D__aarch64__"
17764 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17765 fi ;;
17766 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17767 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17768 if ${ac_cv_cpp_def___arm__+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #ifndef __arm__
17775 #endif
17776 _ACEOF
17777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17778 $EGREP "yes" >/dev/null 2>&1; then :
17779 ac_cv_cpp_def___arm__=yes
17780 else
17781 ac_cv_cpp_def___arm__=no
17783 rm -f conftest*
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17787 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17788 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17789 CFLAGS="$CFLAGS -D__arm__"
17790 LINTFLAGS="$LINTFLAGS -D__arm__"
17791 fi ;;
17792 esac
17794 case $host_vendor in
17795 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17796 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17797 if ${ac_cv_cpp_def___sun__+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 #ifndef __sun__
17804 #endif
17805 _ACEOF
17806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17807 $EGREP "yes" >/dev/null 2>&1; then :
17808 ac_cv_cpp_def___sun__=yes
17809 else
17810 ac_cv_cpp_def___sun__=no
17812 rm -f conftest*
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17816 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17817 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17818 CFLAGS="$CFLAGS -D__sun__"
17819 LINTFLAGS="$LINTFLAGS -D__sun__"
17820 fi ;;
17821 esac
17827 ac_config_commands="$ac_config_commands include/stamp-h"
17829 $as_echo_n "creating Makefile rules..." >&6
17831 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17832 SOCKET_LIBS = $SOCKET_LIBS
17833 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17834 IOKIT_LIBS = $IOKIT_LIBS
17835 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17836 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17837 CORESERVICES_LIBS = $CORESERVICES_LIBS
17838 APPKIT_LIBS = $APPKIT_LIBS
17839 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17840 SECURITY_LIBS = $SECURITY_LIBS
17841 COREAUDIO_LIBS = $COREAUDIO_LIBS
17842 OPENAL_LIBS = $OPENAL_LIBS
17843 OPENCL_LIBS = $OPENCL_LIBS
17844 QUICKTIME_LIBS = $QUICKTIME_LIBS
17845 CARBON_LIBS = $CARBON_LIBS
17846 PTHREAD_LIBS = $PTHREAD_LIBS
17847 X_CFLAGS = $X_CFLAGS
17848 X_PRE_LIBS = $X_PRE_LIBS
17849 X_LIBS = $X_LIBS
17850 X_EXTRA_LIBS = $X_EXTRA_LIBS
17851 PCAP_LIBS = $PCAP_LIBS
17852 XML2_CFLAGS = $XML2_CFLAGS
17853 XML2_LIBS = $XML2_LIBS
17854 XSLT_CFLAGS = $XSLT_CFLAGS
17855 XSLT_LIBS = $XSLT_LIBS
17856 DBUS_CFLAGS = $DBUS_CFLAGS
17857 DBUS_LIBS = $DBUS_LIBS
17858 HAL_CFLAGS = $HAL_CFLAGS
17859 HAL_LIBS = $HAL_LIBS
17860 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17861 GNUTLS_LIBS = $GNUTLS_LIBS
17862 SANE_CFLAGS = $SANE_CFLAGS
17863 SANE_LIBS = $SANE_LIBS
17864 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17865 GPHOTO2_LIBS = $GPHOTO2_LIBS
17866 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17867 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17868 RESOLV_LIBS = $RESOLV_LIBS
17869 LCMS2_CFLAGS = $LCMS2_CFLAGS
17870 LCMS2_LIBS = $LCMS2_LIBS
17871 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17872 FREETYPE_LIBS = $FREETYPE_LIBS
17873 Z_LIBS = $Z_LIBS
17874 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17875 PULSE_CFLAGS = $PULSE_CFLAGS
17876 PULSE_LIBS = $PULSE_LIBS
17877 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17878 GSTREAMER_LIBS = $GSTREAMER_LIBS
17879 ALSA_LIBS = $ALSA_LIBS
17880 OSS4_CFLAGS = $OSS4_CFLAGS
17881 UDEV_CFLAGS = $UDEV_CFLAGS
17882 UDEV_LIBS = $UDEV_LIBS
17883 CAPI20_CFLAGS = $CAPI20_CFLAGS
17884 CAPI20_LIBS = $CAPI20_LIBS
17885 CUPS_CFLAGS = $CUPS_CFLAGS
17886 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17887 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17888 JPEG_CFLAGS = $JPEG_CFLAGS
17889 JPEG_LIBS = $JPEG_LIBS
17890 PNG_CFLAGS = $PNG_CFLAGS
17891 PNG_LIBS = $PNG_LIBS
17892 TIFF_CFLAGS = $TIFF_CFLAGS
17893 TIFF_LIBS = $TIFF_LIBS
17894 MPG123_CFLAGS = $MPG123_CFLAGS
17895 MPG123_LIBS = $MPG123_LIBS
17896 KSTAT_LIBS = $KSTAT_LIBS
17897 PROCSTAT_LIBS = $PROCSTAT_LIBS
17898 NETAPI_CFLAGS = $NETAPI_CFLAGS
17899 NETAPI_LIBS = $NETAPI_LIBS
17900 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17901 DL_LIBS = $DL_LIBS
17902 POLL_LIBS = $POLL_LIBS
17903 RT_LIBS = $RT_LIBS
17904 LDAP_CFLAGS = $LDAP_CFLAGS
17905 LDAP_LIBS = $LDAP_LIBS
17910 wine_fn_append_rule "
17911 # Rules automatically generated by configure
17913 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17915 .INIT: Makefile
17916 .MAKEFILEDEPS:
17917 all: Makefile
17918 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17919 @./config.status Make.tmp Makefile
17920 depend: \$(MAKEDEP) dummy
17921 \$(MAKEDEP)"
17923 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17924 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17926 if test "x$enable_fonts" != xno; then
17927 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17928 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17929 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17930 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17931 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17932 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17934 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17935 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17936 ac_config_links="$ac_config_links wine:tools/winewrapper"
17937 wine_fn_config_symlink wine
17938 if test "x$enable_win64" != xno; then
17939 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17940 wine_fn_config_symlink wine64
17943 wine_fn_config_dll acledit enable_acledit
17944 wine_fn_config_dll aclui enable_aclui implib
17945 wine_fn_config_dll activeds enable_activeds implib
17946 wine_fn_config_dll actxprxy enable_actxprxy clean
17947 wine_fn_config_lib adsiid
17948 wine_fn_config_dll adsldpc enable_adsldpc
17949 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17950 wine_fn_config_test dlls/advapi32/tests advapi32_test
17951 wine_fn_config_dll advpack enable_advpack implib
17952 wine_fn_config_test dlls/advpack/tests advpack_test
17953 wine_fn_config_dll amstream enable_amstream clean
17954 wine_fn_config_test dlls/amstream/tests amstream_test
17955 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17956 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17957 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17959 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17964 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17967 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17969 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17971 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17973 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17975 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17978 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17980 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17982 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17983 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17984 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17985 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17988 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17991 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17993 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17995 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17997 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17998 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18002 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18004 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18005 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18006 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18008 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18013 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18016 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18017 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18020 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18022 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18025 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18026 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18033 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18036 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18041 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18045 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18047 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18048 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18050 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18062 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18063 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18070 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18071 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18085 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18086 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18087 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18088 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18093 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18096 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18097 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18098 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18099 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18100 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18101 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18102 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18103 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18104 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18105 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18106 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18107 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18108 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18109 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18110 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18111 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18112 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18113 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18114 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18115 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18116 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18117 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18118 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18119 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18120 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18121 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18122 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18123 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18124 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18125 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18126 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18127 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18128 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18129 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18130 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18131 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18132 wine_fn_config_dll apphelp enable_apphelp
18133 wine_fn_config_test dlls/apphelp/tests apphelp_test
18134 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18135 wine_fn_config_dll atl enable_atl clean,implib
18136 wine_fn_config_test dlls/atl/tests atl_test
18137 wine_fn_config_dll atl100 enable_atl100 clean,implib
18138 wine_fn_config_test dlls/atl100/tests atl100_test
18139 wine_fn_config_dll atl110 enable_atl110 clean
18140 wine_fn_config_dll atl80 enable_atl80 clean,implib
18141 wine_fn_config_test dlls/atl80/tests atl80_test
18142 wine_fn_config_dll atl90 enable_atl90 clean
18143 wine_fn_config_dll authz enable_authz
18144 wine_fn_config_dll avicap32 enable_avicap32 implib
18145 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18146 wine_fn_config_test dlls/avifil32/tests avifil32_test
18147 wine_fn_config_dll avifile.dll16 enable_win16
18148 wine_fn_config_dll avrt enable_avrt implib
18149 wine_fn_config_dll bcrypt enable_bcrypt implib
18150 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18151 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18152 wine_fn_config_dll browseui enable_browseui clean
18153 wine_fn_config_test dlls/browseui/tests browseui_test
18154 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18155 wine_fn_config_dll cabinet enable_cabinet implib
18156 wine_fn_config_test dlls/cabinet/tests cabinet_test
18157 wine_fn_config_dll capi2032 enable_capi2032 implib
18158 wine_fn_config_dll cards enable_cards implib
18159 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18160 wine_fn_config_dll clusapi enable_clusapi implib
18161 wine_fn_config_dll combase enable_combase
18162 wine_fn_config_test dlls/combase/tests combase_test
18163 wine_fn_config_dll comcat enable_comcat
18164 wine_fn_config_test dlls/comcat/tests comcat_test
18165 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18166 wine_fn_config_test dlls/comctl32/tests comctl32_test
18167 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18168 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18169 wine_fn_config_dll comm.drv16 enable_win16
18170 wine_fn_config_dll commdlg.dll16 enable_win16
18171 wine_fn_config_dll compobj.dll16 enable_win16
18172 wine_fn_config_dll compstui enable_compstui implib
18173 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18174 wine_fn_config_dll concrt140 enable_concrt140
18175 wine_fn_config_dll connect enable_connect
18176 wine_fn_config_dll credui enable_credui clean,implib
18177 wine_fn_config_test dlls/credui/tests credui_test
18178 wine_fn_config_dll crtdll enable_crtdll
18179 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18180 wine_fn_config_test dlls/crypt32/tests crypt32_test
18181 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18182 wine_fn_config_dll cryptdll enable_cryptdll implib
18183 wine_fn_config_dll cryptext enable_cryptext
18184 wine_fn_config_dll cryptnet enable_cryptnet implib
18185 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18186 wine_fn_config_dll cryptui enable_cryptui clean,implib
18187 wine_fn_config_test dlls/cryptui/tests cryptui_test
18188 wine_fn_config_dll ctapi32 enable_ctapi32
18189 wine_fn_config_dll ctl3d.dll16 enable_win16
18190 wine_fn_config_dll ctl3d32 enable_ctl3d32
18191 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18192 wine_fn_config_dll d2d1 enable_d2d1 implib
18193 wine_fn_config_test dlls/d2d1/tests d2d1_test
18194 wine_fn_config_dll d3d10 enable_d3d10 implib
18195 wine_fn_config_test dlls/d3d10/tests d3d10_test
18196 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18197 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18198 wine_fn_config_dll d3d10core enable_d3d10core implib
18199 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18200 wine_fn_config_dll d3d11 enable_d3d11 implib
18201 wine_fn_config_test dlls/d3d11/tests d3d11_test
18202 wine_fn_config_dll d3d8 enable_d3d8 implib
18203 wine_fn_config_test dlls/d3d8/tests d3d8_test
18204 wine_fn_config_dll d3d9 enable_d3d9 implib
18205 wine_fn_config_test dlls/d3d9/tests d3d9_test
18206 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18207 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18208 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18209 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18210 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18211 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18212 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18213 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18214 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18215 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18216 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18217 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18218 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18219 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18220 wine_fn_config_dll d3dim enable_d3dim
18221 wine_fn_config_dll d3drm enable_d3drm implib
18222 wine_fn_config_test dlls/d3drm/tests d3drm_test
18223 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18224 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18225 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18226 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18227 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18228 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18229 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18230 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18231 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18232 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18233 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18234 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18235 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18236 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18237 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18238 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18239 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18240 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18241 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18242 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18243 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18244 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18245 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18246 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18247 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18248 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18249 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18250 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18251 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18252 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18253 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18254 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18255 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18256 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18257 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18258 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18259 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18260 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18261 wine_fn_config_dll davclnt enable_davclnt
18262 wine_fn_config_dll dbgeng enable_dbgeng implib
18263 wine_fn_config_dll dbghelp enable_dbghelp implib
18264 wine_fn_config_dll dciman32 enable_dciman32 implib
18265 wine_fn_config_dll ddeml.dll16 enable_win16
18266 wine_fn_config_dll ddraw enable_ddraw clean,implib
18267 wine_fn_config_test dlls/ddraw/tests ddraw_test
18268 wine_fn_config_dll ddrawex enable_ddrawex clean
18269 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18270 wine_fn_config_dll devenum enable_devenum clean
18271 wine_fn_config_test dlls/devenum/tests devenum_test
18272 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18273 wine_fn_config_dll difxapi enable_difxapi
18274 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18275 wine_fn_config_test dlls/dinput/tests dinput_test
18276 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18277 wine_fn_config_test dlls/dinput8/tests dinput8_test
18278 wine_fn_config_dll dispdib.dll16 enable_win16
18279 wine_fn_config_dll dispex enable_dispex clean
18280 wine_fn_config_test dlls/dispex/tests dispex_test
18281 wine_fn_config_dll display.drv16 enable_win16
18282 wine_fn_config_dll dmband enable_dmband clean
18283 wine_fn_config_test dlls/dmband/tests dmband_test
18284 wine_fn_config_dll dmcompos enable_dmcompos clean
18285 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18286 wine_fn_config_dll dmime enable_dmime clean
18287 wine_fn_config_test dlls/dmime/tests dmime_test
18288 wine_fn_config_dll dmloader enable_dmloader clean
18289 wine_fn_config_test dlls/dmloader/tests dmloader_test
18290 wine_fn_config_dll dmscript enable_dmscript clean
18291 wine_fn_config_test dlls/dmscript/tests dmscript_test
18292 wine_fn_config_dll dmstyle enable_dmstyle clean
18293 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18294 wine_fn_config_dll dmsynth enable_dmsynth clean
18295 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18296 wine_fn_config_dll dmusic enable_dmusic clean
18297 wine_fn_config_test dlls/dmusic/tests dmusic_test
18298 wine_fn_config_dll dmusic32 enable_dmusic32
18299 wine_fn_config_dll dnsapi enable_dnsapi implib
18300 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18301 wine_fn_config_dll dplay enable_dplay
18302 wine_fn_config_dll dplayx enable_dplayx clean,implib
18303 wine_fn_config_test dlls/dplayx/tests dplayx_test
18304 wine_fn_config_dll dpnaddr enable_dpnaddr
18305 wine_fn_config_dll dpnet enable_dpnet clean,implib
18306 wine_fn_config_test dlls/dpnet/tests dpnet_test
18307 wine_fn_config_dll dpnhpast enable_dpnhpast
18308 wine_fn_config_dll dpnlobby enable_dpnlobby
18309 wine_fn_config_dll dpvoice enable_dpvoice clean
18310 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18311 wine_fn_config_dll dpwsockx enable_dpwsockx
18312 wine_fn_config_dll drmclien enable_drmclien
18313 wine_fn_config_dll dsound enable_dsound clean,implib
18314 wine_fn_config_test dlls/dsound/tests dsound_test
18315 wine_fn_config_dll dsquery enable_dsquery
18316 wine_fn_config_dll dssenh enable_dssenh
18317 wine_fn_config_test dlls/dssenh/tests dssenh_test
18318 wine_fn_config_dll dswave enable_dswave clean
18319 wine_fn_config_test dlls/dswave/tests dswave_test
18320 wine_fn_config_dll dwmapi enable_dwmapi implib
18321 wine_fn_config_dll dwrite enable_dwrite implib
18322 wine_fn_config_test dlls/dwrite/tests dwrite_test
18323 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18324 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18325 wine_fn_config_lib dxerr8
18326 wine_fn_config_lib dxerr9
18327 wine_fn_config_dll dxgi enable_dxgi implib
18328 wine_fn_config_test dlls/dxgi/tests dxgi_test
18329 wine_fn_config_lib dxguid
18330 wine_fn_config_dll dxva2 enable_dxva2
18331 wine_fn_config_dll esent enable_esent
18332 wine_fn_config_dll evr enable_evr
18333 wine_fn_config_dll explorerframe enable_explorerframe clean
18334 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18335 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18336 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18337 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18338 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18339 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18340 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18341 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18342 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18343 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18344 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18345 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18346 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18347 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18348 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18349 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18350 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18351 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18352 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18353 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
18354 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18355 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18356 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18357 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18358 wine_fn_config_dll faultrep enable_faultrep implib
18359 wine_fn_config_test dlls/faultrep/tests faultrep_test
18360 wine_fn_config_dll fltlib enable_fltlib
18361 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18362 wine_fn_config_dll fntcache enable_fntcache
18363 wine_fn_config_dll fontsub enable_fontsub
18364 wine_fn_config_dll fusion enable_fusion
18365 wine_fn_config_test dlls/fusion/tests fusion_test
18366 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18367 wine_fn_config_dll gameux enable_gameux clean
18368 wine_fn_config_test dlls/gameux/tests gameux_test
18369 wine_fn_config_dll gdi.exe16 enable_win16
18370 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18371 wine_fn_config_test dlls/gdi32/tests gdi32_test
18372 wine_fn_config_dll gdiplus enable_gdiplus implib
18373 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18374 wine_fn_config_dll glu32 enable_glu32 implib
18375 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18376 wine_fn_config_dll gpkcsp enable_gpkcsp
18377 wine_fn_config_dll hal enable_hal
18378 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18379 wine_fn_config_dll hid enable_hid implib
18380 wine_fn_config_test dlls/hid/tests hid_test
18381 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18382 wine_fn_config_dll hlink enable_hlink clean,implib
18383 wine_fn_config_test dlls/hlink/tests hlink_test
18384 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18385 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18386 wine_fn_config_dll httpapi enable_httpapi
18387 wine_fn_config_dll iccvid enable_iccvid clean
18388 wine_fn_config_dll icmp enable_icmp
18389 wine_fn_config_dll ieframe enable_ieframe clean,implib
18390 wine_fn_config_test dlls/ieframe/tests ieframe_test
18391 wine_fn_config_dll ieproxy enable_ieproxy clean
18392 wine_fn_config_dll ifsmgr.vxd enable_win16
18393 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18394 wine_fn_config_dll imagehlp enable_imagehlp implib
18395 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18396 wine_fn_config_dll imm.dll16 enable_win16
18397 wine_fn_config_dll imm32 enable_imm32 implib
18398 wine_fn_config_test dlls/imm32/tests imm32_test
18399 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18400 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18401 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18402 wine_fn_config_dll inetmib1 enable_inetmib1
18403 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18404 wine_fn_config_dll infosoft enable_infosoft clean
18405 wine_fn_config_test dlls/infosoft/tests infosoft_test
18406 wine_fn_config_dll initpki enable_initpki
18407 wine_fn_config_dll inkobj enable_inkobj
18408 wine_fn_config_dll inseng enable_inseng clean
18409 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18410 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18411 wine_fn_config_dll iprop enable_iprop
18412 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18413 wine_fn_config_dll itircl enable_itircl
18414 wine_fn_config_dll itss enable_itss clean
18415 wine_fn_config_test dlls/itss/tests itss_test
18416 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18417 wine_fn_config_dll jscript enable_jscript clean
18418 wine_fn_config_test dlls/jscript/tests jscript_test
18419 wine_fn_config_dll jsproxy enable_jsproxy implib
18420 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18421 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18422 wine_fn_config_test dlls/kernel32/tests kernel32_test
18423 wine_fn_config_dll kernelbase enable_kernelbase
18424 wine_fn_config_dll keyboard.drv16 enable_win16
18425 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18426 wine_fn_config_dll ksuser enable_ksuser
18427 wine_fn_config_dll ktmw32 enable_ktmw32
18428 wine_fn_config_dll loadperf enable_loadperf implib
18429 wine_fn_config_dll localspl enable_localspl clean
18430 wine_fn_config_test dlls/localspl/tests localspl_test
18431 wine_fn_config_dll localui enable_localui clean
18432 wine_fn_config_test dlls/localui/tests localui_test
18433 wine_fn_config_dll lz32 enable_lz32 implib
18434 wine_fn_config_test dlls/lz32/tests lz32_test
18435 wine_fn_config_dll lzexpand.dll16 enable_win16
18436 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18437 wine_fn_config_test dlls/mapi32/tests mapi32_test
18438 wine_fn_config_dll mapistub enable_mapistub
18439 wine_fn_config_dll mciavi32 enable_mciavi32
18440 wine_fn_config_dll mcicda enable_mcicda
18441 wine_fn_config_dll mciqtz32 enable_mciqtz32
18442 wine_fn_config_dll mciseq enable_mciseq
18443 wine_fn_config_dll mciwave enable_mciwave
18444 wine_fn_config_dll mf enable_mf implib
18445 wine_fn_config_test dlls/mf/tests mf_test
18446 wine_fn_config_dll mf3216 enable_mf3216
18447 wine_fn_config_dll mfplat enable_mfplat implib
18448 wine_fn_config_test dlls/mfplat/tests mfplat_test
18449 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18450 wine_fn_config_dll mgmtapi enable_mgmtapi
18451 wine_fn_config_dll midimap enable_midimap
18452 wine_fn_config_dll mlang enable_mlang clean,implib
18453 wine_fn_config_test dlls/mlang/tests mlang_test
18454 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18455 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18456 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18457 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18458 wine_fn_config_dll mmdevldr.vxd enable_win16
18459 wine_fn_config_dll mmsystem.dll16 enable_win16
18460 wine_fn_config_dll monodebg.vxd enable_win16
18461 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18462 wine_fn_config_dll mouse.drv16 enable_win16
18463 wine_fn_config_dll mpr enable_mpr clean,implib
18464 wine_fn_config_test dlls/mpr/tests mpr_test
18465 wine_fn_config_dll mprapi enable_mprapi implib
18466 wine_fn_config_dll msacm.dll16 enable_win16
18467 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18468 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18469 wine_fn_config_test dlls/msacm32/tests msacm32_test
18470 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18471 wine_fn_config_dll msasn1 enable_msasn1 implib
18472 wine_fn_config_dll mscat32 enable_mscat32
18473 wine_fn_config_dll mscms enable_mscms implib
18474 wine_fn_config_test dlls/mscms/tests mscms_test
18475 wine_fn_config_dll mscoree enable_mscoree clean
18476 wine_fn_config_test dlls/mscoree/tests mscoree_test
18477 wine_fn_config_dll msctf enable_msctf clean
18478 wine_fn_config_test dlls/msctf/tests msctf_test
18479 wine_fn_config_dll msctfp enable_msctfp clean
18480 wine_fn_config_dll msdaps enable_msdaps clean
18481 wine_fn_config_dll msdelta enable_msdelta
18482 wine_fn_config_dll msdmo enable_msdmo implib
18483 wine_fn_config_test dlls/msdmo/tests msdmo_test
18484 wine_fn_config_dll msdrm enable_msdrm
18485 wine_fn_config_dll msftedit enable_msftedit
18486 wine_fn_config_dll msg711.acm enable_msg711_acm
18487 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18488 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18489 wine_fn_config_dll mshtml enable_mshtml clean,implib
18490 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18491 wine_fn_config_dll msi enable_msi clean,implib
18492 wine_fn_config_test dlls/msi/tests msi_test
18493 wine_fn_config_dll msident enable_msident clean
18494 wine_fn_config_dll msimg32 enable_msimg32 implib
18495 wine_fn_config_dll msimsg enable_msimsg
18496 wine_fn_config_dll msimtf enable_msimtf clean
18497 wine_fn_config_dll msisip enable_msisip
18498 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18499 wine_fn_config_dll msls31 enable_msls31
18500 wine_fn_config_dll msnet32 enable_msnet32
18501 wine_fn_config_dll mspatcha enable_mspatcha implib
18502 wine_fn_config_dll msports enable_msports
18503 wine_fn_config_dll msrle32 enable_msrle32 clean
18504 wine_fn_config_test dlls/msrle32/tests msrle32_test
18505 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18506 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18507 wine_fn_config_dll mssign32 enable_mssign32
18508 wine_fn_config_dll mssip32 enable_mssip32
18509 wine_fn_config_dll mstask enable_mstask clean
18510 wine_fn_config_test dlls/mstask/tests mstask_test
18511 wine_fn_config_dll msvcirt enable_msvcirt
18512 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18513 wine_fn_config_dll msvcm80 enable_msvcm80
18514 wine_fn_config_dll msvcm90 enable_msvcm90
18515 wine_fn_config_dll msvcp100 enable_msvcp100
18516 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18517 wine_fn_config_dll msvcp110 enable_msvcp110
18518 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18519 wine_fn_config_dll msvcp120 enable_msvcp120
18520 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18521 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18522 wine_fn_config_dll msvcp140 enable_msvcp140
18523 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18524 wine_fn_config_dll msvcp60 enable_msvcp60
18525 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18526 wine_fn_config_dll msvcp70 enable_msvcp70
18527 wine_fn_config_dll msvcp71 enable_msvcp71
18528 wine_fn_config_dll msvcp80 enable_msvcp80
18529 wine_fn_config_dll msvcp90 enable_msvcp90
18530 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18531 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18532 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18533 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18534 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18535 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18536 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18537 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18538 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18539 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18540 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18541 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18542 wine_fn_config_dll msvcrt enable_msvcrt implib
18543 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18544 wine_fn_config_dll msvcrt20 enable_msvcrt20
18545 wine_fn_config_dll msvcrt40 enable_msvcrt40
18546 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18547 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18548 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18549 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18550 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18551 wine_fn_config_dll msvideo.dll16 enable_win16
18552 wine_fn_config_dll mswsock enable_mswsock implib
18553 wine_fn_config_dll msxml enable_msxml clean
18554 wine_fn_config_dll msxml2 enable_msxml2 clean
18555 wine_fn_config_dll msxml3 enable_msxml3 clean
18556 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18557 wine_fn_config_dll msxml4 enable_msxml4 clean
18558 wine_fn_config_dll msxml6 enable_msxml6 clean
18559 wine_fn_config_dll mtxdm enable_mtxdm
18560 wine_fn_config_dll ncrypt enable_ncrypt
18561 wine_fn_config_dll nddeapi enable_nddeapi implib
18562 wine_fn_config_dll ndis.sys enable_ndis_sys
18563 wine_fn_config_dll netapi32 enable_netapi32 implib
18564 wine_fn_config_test dlls/netapi32/tests netapi32_test
18565 wine_fn_config_dll netcfgx enable_netcfgx clean
18566 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18567 wine_fn_config_dll netprofm enable_netprofm clean
18568 wine_fn_config_test dlls/netprofm/tests netprofm_test
18569 wine_fn_config_dll newdev enable_newdev implib
18570 wine_fn_config_dll normaliz enable_normaliz implib
18571 wine_fn_config_dll npmshtml enable_npmshtml
18572 wine_fn_config_dll npptools enable_npptools
18573 wine_fn_config_dll ntdll enable_ntdll implib
18574 wine_fn_config_test dlls/ntdll/tests ntdll_test
18575 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18576 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18577 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18578 wine_fn_config_dll ntprint enable_ntprint
18579 wine_fn_config_test dlls/ntprint/tests ntprint_test
18580 wine_fn_config_dll objsel enable_objsel clean
18581 wine_fn_config_dll odbc32 enable_odbc32 implib
18582 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18583 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18584 wine_fn_config_dll odbccu32 enable_odbccu32
18585 wine_fn_config_dll ole2.dll16 enable_win16
18586 wine_fn_config_dll ole2conv.dll16 enable_win16
18587 wine_fn_config_dll ole2disp.dll16 enable_win16
18588 wine_fn_config_dll ole2nls.dll16 enable_win16
18589 wine_fn_config_dll ole2prox.dll16 enable_win16
18590 wine_fn_config_dll ole2thk.dll16 enable_win16
18591 wine_fn_config_dll ole32 enable_ole32 clean,implib
18592 wine_fn_config_test dlls/ole32/tests ole32_test
18593 wine_fn_config_dll oleacc enable_oleacc clean,implib
18594 wine_fn_config_test dlls/oleacc/tests oleacc_test
18595 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18596 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18597 wine_fn_config_dll olecli.dll16 enable_win16
18598 wine_fn_config_dll olecli32 enable_olecli32 implib
18599 wine_fn_config_dll oledb32 enable_oledb32 clean
18600 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18601 wine_fn_config_dll oledlg enable_oledlg clean,implib
18602 wine_fn_config_test dlls/oledlg/tests oledlg_test
18603 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18604 wine_fn_config_dll olesvr.dll16 enable_win16
18605 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18606 wine_fn_config_dll olethk32 enable_olethk32
18607 wine_fn_config_dll openal32 enable_openal32
18608 wine_fn_config_dll opencl enable_opencl
18609 wine_fn_config_dll opengl32 enable_opengl32 implib
18610 wine_fn_config_test dlls/opengl32/tests opengl32_test
18611 wine_fn_config_dll packager enable_packager clean
18612 wine_fn_config_test dlls/packager/tests packager_test
18613 wine_fn_config_dll pdh enable_pdh implib
18614 wine_fn_config_test dlls/pdh/tests pdh_test
18615 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18616 wine_fn_config_dll pidgen enable_pidgen
18617 wine_fn_config_dll powrprof enable_powrprof implib
18618 wine_fn_config_dll printui enable_printui
18619 wine_fn_config_dll prntvpt enable_prntvpt
18620 wine_fn_config_dll propsys enable_propsys clean,implib
18621 wine_fn_config_test dlls/propsys/tests propsys_test
18622 wine_fn_config_dll psapi enable_psapi implib
18623 wine_fn_config_test dlls/psapi/tests psapi_test
18624 wine_fn_config_dll pstorec enable_pstorec clean
18625 wine_fn_config_test dlls/pstorec/tests pstorec_test
18626 wine_fn_config_dll qcap enable_qcap
18627 wine_fn_config_test dlls/qcap/tests qcap_test
18628 wine_fn_config_dll qedit enable_qedit clean
18629 wine_fn_config_test dlls/qedit/tests qedit_test
18630 wine_fn_config_dll qmgr enable_qmgr clean
18631 wine_fn_config_test dlls/qmgr/tests qmgr_test
18632 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18633 wine_fn_config_dll quartz enable_quartz clean,implib
18634 wine_fn_config_test dlls/quartz/tests quartz_test clean
18635 wine_fn_config_dll query enable_query
18636 wine_fn_config_dll rasapi16.dll16 enable_win16
18637 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18638 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18639 wine_fn_config_dll rasdlg enable_rasdlg implib
18640 wine_fn_config_dll regapi enable_regapi
18641 wine_fn_config_dll resutils enable_resutils implib
18642 wine_fn_config_dll riched20 enable_riched20 clean,implib
18643 wine_fn_config_test dlls/riched20/tests riched20_test
18644 wine_fn_config_dll riched32 enable_riched32
18645 wine_fn_config_test dlls/riched32/tests riched32_test
18646 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18647 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18648 wine_fn_config_dll rsabase enable_rsabase
18649 wine_fn_config_dll rsaenh enable_rsaenh implib
18650 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18651 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18652 wine_fn_config_dll rtutils enable_rtutils implib
18653 wine_fn_config_dll samlib enable_samlib
18654 wine_fn_config_dll sane.ds enable_sane_ds clean
18655 wine_fn_config_dll scarddlg enable_scarddlg
18656 wine_fn_config_dll sccbase enable_sccbase
18657 wine_fn_config_dll schannel enable_schannel
18658 wine_fn_config_test dlls/schannel/tests schannel_test
18659 wine_fn_config_dll schedsvc enable_schedsvc clean
18660 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18661 wine_fn_config_dll scrobj enable_scrobj clean
18662 wine_fn_config_dll scrrun enable_scrrun clean
18663 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18664 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18665 wine_fn_config_dll secur32 enable_secur32 implib
18666 wine_fn_config_test dlls/secur32/tests secur32_test
18667 wine_fn_config_dll security enable_security
18668 wine_fn_config_dll sensapi enable_sensapi implib
18669 wine_fn_config_dll serialui enable_serialui clean
18670 wine_fn_config_test dlls/serialui/tests serialui_test
18671 wine_fn_config_dll setupapi enable_setupapi clean,implib
18672 wine_fn_config_test dlls/setupapi/tests setupapi_test
18673 wine_fn_config_dll setupx.dll16 enable_win16
18674 wine_fn_config_dll sfc enable_sfc implib
18675 wine_fn_config_dll sfc_os enable_sfc_os implib
18676 wine_fn_config_dll shdoclc enable_shdoclc clean
18677 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18678 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18679 wine_fn_config_dll shell.dll16 enable_win16
18680 wine_fn_config_dll shell32 enable_shell32 clean,implib
18681 wine_fn_config_test dlls/shell32/tests shell32_test
18682 wine_fn_config_dll shfolder enable_shfolder implib
18683 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18684 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18685 wine_fn_config_dll slbcsp enable_slbcsp
18686 wine_fn_config_dll slc enable_slc implib
18687 wine_fn_config_test dlls/slc/tests slc_test
18688 wine_fn_config_dll snmpapi enable_snmpapi implib
18689 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18690 wine_fn_config_dll softpub enable_softpub
18691 wine_fn_config_dll sound.drv16 enable_win16
18692 wine_fn_config_dll spoolss enable_spoolss implib
18693 wine_fn_config_test dlls/spoolss/tests spoolss_test
18694 wine_fn_config_dll sspicli enable_sspicli
18695 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18696 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18697 wine_fn_config_dll sti enable_sti clean,implib
18698 wine_fn_config_test dlls/sti/tests sti_test
18699 wine_fn_config_dll storage.dll16 enable_win16
18700 wine_fn_config_dll stress.dll16 enable_win16
18701 wine_fn_config_lib strmbase
18702 wine_fn_config_lib strmiids
18703 wine_fn_config_dll svrapi enable_svrapi
18704 wine_fn_config_dll sxs enable_sxs implib
18705 wine_fn_config_test dlls/sxs/tests sxs_test
18706 wine_fn_config_dll system.drv16 enable_win16
18707 wine_fn_config_dll t2embed enable_t2embed implib
18708 wine_fn_config_test dlls/t2embed/tests t2embed_test
18709 wine_fn_config_dll tapi32 enable_tapi32 implib
18710 wine_fn_config_dll taskschd enable_taskschd clean
18711 wine_fn_config_test dlls/taskschd/tests taskschd_test
18712 wine_fn_config_dll tdh enable_tdh
18713 wine_fn_config_dll tdi.sys enable_tdi_sys
18714 wine_fn_config_dll toolhelp.dll16 enable_win16
18715 wine_fn_config_dll traffic enable_traffic
18716 wine_fn_config_dll twain.dll16 enable_win16
18717 wine_fn_config_dll twain_32 enable_twain_32
18718 wine_fn_config_test dlls/twain_32/tests twain_32_test
18719 wine_fn_config_dll typelib.dll16 enable_win16
18720 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18721 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18722 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18723 wine_fn_config_dll uiribbon enable_uiribbon clean
18724 wine_fn_config_dll unicows enable_unicows implib
18725 wine_fn_config_dll updspapi enable_updspapi
18726 wine_fn_config_dll url enable_url implib
18727 wine_fn_config_dll urlmon enable_urlmon clean,implib
18728 wine_fn_config_test dlls/urlmon/tests urlmon_test
18729 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18730 wine_fn_config_dll user.exe16 enable_win16
18731 wine_fn_config_dll user32 enable_user32 clean,implib
18732 wine_fn_config_test dlls/user32/tests user32_test
18733 wine_fn_config_dll userenv enable_userenv implib
18734 wine_fn_config_test dlls/userenv/tests userenv_test
18735 wine_fn_config_dll usp10 enable_usp10 implib
18736 wine_fn_config_test dlls/usp10/tests usp10_test
18737 wine_fn_config_lib uuid
18738 wine_fn_config_dll uxtheme enable_uxtheme implib
18739 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18740 wine_fn_config_dll vbscript enable_vbscript clean
18741 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18742 wine_fn_config_dll vcomp enable_vcomp
18743 wine_fn_config_test dlls/vcomp/tests vcomp_test
18744 wine_fn_config_dll vcomp100 enable_vcomp100
18745 wine_fn_config_dll vcomp110 enable_vcomp110
18746 wine_fn_config_dll vcomp120 enable_vcomp120
18747 wine_fn_config_dll vcomp140 enable_vcomp140
18748 wine_fn_config_dll vcomp90 enable_vcomp90
18749 wine_fn_config_dll vcruntime140 enable_vcruntime140
18750 wine_fn_config_dll vdhcp.vxd enable_win16
18751 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18752 wine_fn_config_dll ver.dll16 enable_win16
18753 wine_fn_config_dll version enable_version implib
18754 wine_fn_config_test dlls/version/tests version_test
18755 wine_fn_config_dll virtdisk enable_virtdisk
18756 wine_fn_config_dll vmm.vxd enable_win16
18757 wine_fn_config_dll vnbt.vxd enable_win16
18758 wine_fn_config_dll vnetbios.vxd enable_win16
18759 wine_fn_config_dll vssapi enable_vssapi
18760 wine_fn_config_dll vtdapi.vxd enable_win16
18761 wine_fn_config_dll vwin32.vxd enable_win16
18762 wine_fn_config_dll w32skrnl enable_win16
18763 wine_fn_config_dll w32sys.dll16 enable_win16
18764 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18765 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18766 wine_fn_config_dll wbemprox enable_wbemprox clean
18767 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18768 wine_fn_config_dll webservices enable_webservices implib
18769 wine_fn_config_test dlls/webservices/tests webservices_test
18770 wine_fn_config_dll wer enable_wer implib
18771 wine_fn_config_test dlls/wer/tests wer_test
18772 wine_fn_config_dll wevtapi enable_wevtapi
18773 wine_fn_config_dll wiaservc enable_wiaservc clean
18774 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18775 wine_fn_config_dll wimgapi enable_wimgapi
18776 wine_fn_config_dll win32s16.dll16 enable_win16
18777 wine_fn_config_dll win87em.dll16 enable_win16
18778 wine_fn_config_dll winaspi.dll16 enable_win16
18779 wine_fn_config_dll windebug.dll16 enable_win16
18780 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18781 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18782 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18783 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18784 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18785 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18786 wine_fn_config_dll winebus.sys enable_winebus_sys
18787 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18788 wine_fn_config_lib winecrt0
18789 wine_fn_config_dll wined3d enable_wined3d implib
18790 wine_fn_config_dll winegstreamer enable_winegstreamer
18791 wine_fn_config_dll winehid.sys enable_winehid_sys
18792 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18793 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18794 wine_fn_config_dll winemapi enable_winemapi
18795 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18796 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18797 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18798 wine_fn_config_dll wineps16.drv16 enable_win16
18799 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18800 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18801 wine_fn_config_dll winex11.drv enable_winex11_drv
18802 wine_fn_config_dll wing.dll16 enable_win16
18803 wine_fn_config_dll wing32 enable_wing32
18804 wine_fn_config_dll winhttp enable_winhttp clean,implib
18805 wine_fn_config_test dlls/winhttp/tests winhttp_test
18806 wine_fn_config_dll wininet enable_wininet clean,implib
18807 wine_fn_config_test dlls/wininet/tests wininet_test
18808 wine_fn_config_dll winmm enable_winmm clean,implib
18809 wine_fn_config_test dlls/winmm/tests winmm_test
18810 wine_fn_config_dll winnls.dll16 enable_win16
18811 wine_fn_config_dll winnls32 enable_winnls32 implib
18812 wine_fn_config_dll winscard enable_winscard implib
18813 wine_fn_config_dll winsock.dll16 enable_win16
18814 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18815 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18816 wine_fn_config_dll winsta enable_winsta
18817 wine_fn_config_dll wintab.dll16 enable_win16
18818 wine_fn_config_dll wintab32 enable_wintab32 implib
18819 wine_fn_config_test dlls/wintab32/tests wintab32_test
18820 wine_fn_config_dll wintrust enable_wintrust implib
18821 wine_fn_config_test dlls/wintrust/tests wintrust_test
18822 wine_fn_config_dll winusb enable_winusb
18823 wine_fn_config_dll wlanapi enable_wlanapi implib
18824 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18825 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18826 wine_fn_config_test dlls/wldap32/tests wldap32_test
18827 wine_fn_config_dll wmasf enable_wmasf
18828 wine_fn_config_dll wmi enable_wmi
18829 wine_fn_config_dll wmiutils enable_wmiutils clean
18830 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18831 wine_fn_config_dll wmp enable_wmp clean
18832 wine_fn_config_test dlls/wmp/tests wmp_test
18833 wine_fn_config_dll wmvcore enable_wmvcore implib
18834 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18835 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18836 wine_fn_config_dll wow32 enable_win16 implib
18837 wine_fn_config_dll wpc enable_wpc clean
18838 wine_fn_config_test dlls/wpc/tests wpc_test
18839 wine_fn_config_dll wpcap enable_wpcap
18840 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18841 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18842 wine_fn_config_dll wsdapi enable_wsdapi implib
18843 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18844 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18845 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18846 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18847 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18848 wine_fn_config_dll wsock32 enable_wsock32 implib
18849 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18850 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18851 wine_fn_config_dll wuapi enable_wuapi clean
18852 wine_fn_config_dll wuaueng enable_wuaueng
18853 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18854 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18855 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18856 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18857 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18858 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18859 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18860 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18861 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18862 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18863 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18864 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18865 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18866 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18867 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18868 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18869 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18870 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18871 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18872 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18873 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18874 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18875 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18876 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18877 wine_fn_config_dll xinput1_1 enable_xinput1_1
18878 wine_fn_config_dll xinput1_2 enable_xinput1_2
18879 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18880 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18881 wine_fn_config_dll xinput1_4 enable_xinput1_4
18882 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18883 wine_fn_config_dll xmllite enable_xmllite implib
18884 wine_fn_config_test dlls/xmllite/tests xmllite_test
18885 wine_fn_config_dll xolehlp enable_xolehlp
18886 wine_fn_config_dll xpsprint enable_xpsprint
18887 wine_fn_config_dll xpssvcs enable_xpssvcs
18888 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18889 wine_fn_config_makefile include enable_include clean,install-dev
18890 wine_fn_config_makefile libs/port enable_libs_port
18891 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18892 wine_fn_config_makefile libs/wpp enable_libs_wpp
18893 wine_fn_config_makefile loader enable_loader clean,install-lib
18894 wine_fn_config_makefile po enable_po clean
18895 wine_fn_config_program arp enable_arp install
18896 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18897 wine_fn_config_program attrib enable_attrib clean,install
18898 wine_fn_config_program cabarc enable_cabarc install
18899 wine_fn_config_program cacls enable_cacls install
18900 wine_fn_config_program clock enable_clock clean,install
18901 wine_fn_config_program cmd enable_cmd clean,install
18902 wine_fn_config_test programs/cmd/tests cmd.exe_test
18903 wine_fn_config_program conhost enable_conhost install
18904 wine_fn_config_program control enable_control install
18905 wine_fn_config_program cscript enable_cscript clean,install
18906 wine_fn_config_program dpnsvr enable_dpnsvr install
18907 wine_fn_config_program dxdiag enable_dxdiag clean,install
18908 wine_fn_config_program eject enable_eject install
18909 wine_fn_config_program expand enable_expand install
18910 wine_fn_config_program explorer enable_explorer clean,install
18911 wine_fn_config_program extrac32 enable_extrac32 install
18912 wine_fn_config_program findstr enable_findstr install
18913 wine_fn_config_program fsutil enable_fsutil install
18914 wine_fn_config_program hh enable_hh install
18915 wine_fn_config_program hostname enable_hostname clean,install
18916 wine_fn_config_program icacls enable_icacls install
18917 wine_fn_config_program icinfo enable_icinfo install
18918 wine_fn_config_program iexplore enable_iexplore install
18919 wine_fn_config_program ipconfig enable_ipconfig clean,install
18920 wine_fn_config_program lodctr enable_lodctr install
18921 wine_fn_config_program mofcomp enable_mofcomp install
18922 wine_fn_config_program mshta enable_mshta install
18923 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18924 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18925 wine_fn_config_program net enable_net clean,install
18926 wine_fn_config_program netsh enable_netsh install
18927 wine_fn_config_program netstat enable_netstat clean,install
18928 wine_fn_config_program ngen enable_ngen install
18929 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18930 wine_fn_config_program oleview enable_oleview clean,install
18931 wine_fn_config_program ping enable_ping install
18932 wine_fn_config_program plugplay enable_plugplay install
18933 wine_fn_config_program powershell enable_powershell install
18934 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18935 wine_fn_config_program progman enable_progman clean,install
18936 wine_fn_config_program reg enable_reg clean,install
18937 wine_fn_config_test programs/reg/tests reg.exe_test
18938 wine_fn_config_program regasm enable_regasm install
18939 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18940 wine_fn_config_test programs/regedit/tests regedit.exe_test
18941 wine_fn_config_program regsvcs enable_regsvcs install
18942 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18943 wine_fn_config_program rpcss enable_rpcss clean,install
18944 wine_fn_config_program rundll.exe16 enable_win16 install
18945 wine_fn_config_program rundll32 enable_rundll32 install
18946 wine_fn_config_program sc enable_sc install
18947 wine_fn_config_program schtasks enable_schtasks install
18948 wine_fn_config_program sdbinst enable_sdbinst install
18949 wine_fn_config_program secedit enable_secedit install
18950 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18951 wine_fn_config_program services enable_services clean,install
18952 wine_fn_config_test programs/services/tests services.exe_test
18953 wine_fn_config_program shutdown enable_shutdown install
18954 wine_fn_config_program spoolsv enable_spoolsv install
18955 wine_fn_config_program start enable_start clean,install
18956 wine_fn_config_program subst enable_subst install
18957 wine_fn_config_program svchost enable_svchost install
18958 wine_fn_config_program systeminfo enable_systeminfo install
18959 wine_fn_config_program taskkill enable_taskkill clean,install
18960 wine_fn_config_program tasklist enable_tasklist install
18961 wine_fn_config_program taskmgr enable_taskmgr clean,install
18962 wine_fn_config_program termsv enable_termsv install
18963 wine_fn_config_program uninstaller enable_uninstaller clean,install
18964 wine_fn_config_program unlodctr enable_unlodctr install
18965 wine_fn_config_program view enable_view clean,install
18966 wine_fn_config_program wevtutil enable_wevtutil install
18967 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18968 wine_fn_config_program winebrowser enable_winebrowser install
18969 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18970 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18971 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18972 wine_fn_config_program winedevice enable_winedevice install
18973 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18974 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18975 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18976 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18977 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18978 wine_fn_config_program winetest enable_winetest clean
18979 wine_fn_config_program winevdm enable_win16 install
18980 wine_fn_config_program winhelp.exe16 enable_win16 install
18981 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18982 wine_fn_config_program winoldap.mod16 enable_win16 install
18983 wine_fn_config_program winver enable_winver install
18984 wine_fn_config_program wmic enable_wmic clean,install
18985 wine_fn_config_program wmplayer enable_wmplayer install
18986 wine_fn_config_program wordpad enable_wordpad clean,install
18987 wine_fn_config_program write enable_write clean,install
18988 wine_fn_config_program wscript enable_wscript clean,install
18989 wine_fn_config_test programs/wscript/tests wscript.exe_test
18990 wine_fn_config_program wusa enable_wusa install
18991 wine_fn_config_program xcopy enable_xcopy clean,install
18992 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18993 wine_fn_config_makefile server enable_server clean,install-lib
18994 wine_fn_config_tool tools clean
18995 wine_fn_config_tool tools/sfnt2fon clean
18996 wine_fn_config_tool tools/widl clean,install-dev
18997 wine_fn_config_tool tools/winebuild clean,install-dev
18998 wine_fn_config_tool tools/winedump clean,install-dev
18999 wine_fn_config_tool tools/winegcc clean,install-dev
19000 wine_fn_config_tool tools/winemaker clean,install-dev
19001 wine_fn_config_tool tools/wmc clean,install-dev
19002 wine_fn_config_tool tools/wrc clean,install-dev
19005 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19006 wine_fn_append_file CONFIGURE_TARGETS "tags"
19007 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19008 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19009 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19010 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19011 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19012 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19014 if test "x$enable_tools" != xno
19015 then
19016 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19017 ac_config_commands="$ac_config_commands tools/makedep"
19021 ac_config_commands="$ac_config_commands Makefile"
19024 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19028 if test "x$enable_maintainer_mode" = xyes
19029 then
19030 wine_fn_append_rule "configure: configure.ac aclocal.m4
19031 autoconf --warnings=all
19032 include/config.h.in: include/stamp-h.in
19033 include/stamp-h.in: configure.ac aclocal.m4
19034 autoheader --warnings=all
19035 @echo timestamp > \$@"
19038 if test "x$enable_tools" != xno
19039 then
19040 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19041 @./config.status tools/makedep
19042 Makefile: tools/makedep$ac_exeext"
19043 else
19044 wine_fn_append_rule "\$(MAKEDEP):
19045 @echo \"You need to run make in $TOOLSDIR first\" && false"
19048 if test -n "$with_wine64"
19049 then
19050 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19051 fonts server:
19052 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19053 $with_wine64/loader/wine:
19054 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19055 $with_wine64/loader/wine-preloader:
19056 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19057 clean::
19058 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19059 else
19060 WINELOADER_INSTALL="wine.inf"
19062 wine_fn_append_rule "install install-lib::
19063 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19064 uninstall::
19065 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19066 case $host_os in
19067 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19068 *) wine_fn_append_rule "install install-lib::
19069 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19070 uninstall::
19071 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19072 esac
19075 $as_echo " done" >&6
19076 cat >confcache <<\_ACEOF
19077 # This file is a shell script that caches the results of configure
19078 # tests run on this system so they can be shared between configure
19079 # scripts and configure runs, see configure's option --config-cache.
19080 # It is not useful on other systems. If it contains results you don't
19081 # want to keep, you may remove or edit it.
19083 # config.status only pays attention to the cache file if you give it
19084 # the --recheck option to rerun configure.
19086 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19087 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19088 # following values.
19090 _ACEOF
19092 # The following way of writing the cache mishandles newlines in values,
19093 # but we know of no workaround that is simple, portable, and efficient.
19094 # So, we kill variables containing newlines.
19095 # Ultrix sh set writes to stderr and can't be redirected directly,
19096 # and sets the high bit in the cache file unless we assign to the vars.
19098 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19099 eval ac_val=\$$ac_var
19100 case $ac_val in #(
19101 *${as_nl}*)
19102 case $ac_var in #(
19103 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19104 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19105 esac
19106 case $ac_var in #(
19107 _ | IFS | as_nl) ;; #(
19108 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19109 *) { eval $ac_var=; unset $ac_var;} ;;
19110 esac ;;
19111 esac
19112 done
19114 (set) 2>&1 |
19115 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19116 *${as_nl}ac_space=\ *)
19117 # `set' does not quote correctly, so add quotes: double-quote
19118 # substitution turns \\\\ into \\, and sed turns \\ into \.
19119 sed -n \
19120 "s/'/'\\\\''/g;
19121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19122 ;; #(
19124 # `set' quotes correctly as required by POSIX, so do not add quotes.
19125 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19127 esac |
19128 sort
19130 sed '
19131 /^ac_cv_env_/b end
19132 t clear
19133 :clear
19134 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19135 t end
19136 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19137 :end' >>confcache
19138 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19139 if test -w "$cache_file"; then
19140 if test "x$cache_file" != "x/dev/null"; then
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19142 $as_echo "$as_me: updating cache $cache_file" >&6;}
19143 if test ! -f "$cache_file" || test -h "$cache_file"; then
19144 cat confcache >"$cache_file"
19145 else
19146 case $cache_file in #(
19147 */* | ?:*)
19148 mv -f confcache "$cache_file"$$ &&
19149 mv -f "$cache_file"$$ "$cache_file" ;; #(
19151 mv -f confcache "$cache_file" ;;
19152 esac
19155 else
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19157 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19160 rm -f confcache
19162 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19163 # Let make expand exec_prefix.
19164 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19166 DEFS=-DHAVE_CONFIG_H
19168 ac_libobjs=
19169 ac_ltlibobjs=
19171 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19172 # 1. Remove the extension, and $U if already installed.
19173 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19174 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19175 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19176 # will be set to the directory where LIBOBJS objects are built.
19177 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19178 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19179 done
19180 LIBOBJS=$ac_libobjs
19182 LTLIBOBJS=$ac_ltlibobjs
19186 : "${CONFIG_STATUS=./config.status}"
19187 ac_write_fail=0
19188 ac_clean_files_save=$ac_clean_files
19189 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19191 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19192 as_write_fail=0
19193 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19194 #! $SHELL
19195 # Generated by $as_me.
19196 # Run this file to recreate the current configuration.
19197 # Compiler output produced by configure, useful for debugging
19198 # configure, is in config.log if it exists.
19200 debug=false
19201 ac_cs_recheck=false
19202 ac_cs_silent=false
19204 SHELL=\${CONFIG_SHELL-$SHELL}
19205 export SHELL
19206 _ASEOF
19207 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19208 ## -------------------- ##
19209 ## M4sh Initialization. ##
19210 ## -------------------- ##
19212 # Be more Bourne compatible
19213 DUALCASE=1; export DUALCASE # for MKS sh
19214 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19215 emulate sh
19216 NULLCMD=:
19217 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19218 # is contrary to our usage. Disable this feature.
19219 alias -g '${1+"$@"}'='"$@"'
19220 setopt NO_GLOB_SUBST
19221 else
19222 case `(set -o) 2>/dev/null` in #(
19223 *posix*) :
19224 set -o posix ;; #(
19225 *) :
19227 esac
19231 as_nl='
19233 export as_nl
19234 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19235 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19236 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19238 # Prefer a ksh shell builtin over an external printf program on Solaris,
19239 # but without wasting forks for bash or zsh.
19240 if test -z "$BASH_VERSION$ZSH_VERSION" \
19241 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19242 as_echo='print -r --'
19243 as_echo_n='print -rn --'
19244 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19245 as_echo='printf %s\n'
19246 as_echo_n='printf %s'
19247 else
19248 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19249 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19250 as_echo_n='/usr/ucb/echo -n'
19251 else
19252 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19253 as_echo_n_body='eval
19254 arg=$1;
19255 case $arg in #(
19256 *"$as_nl"*)
19257 expr "X$arg" : "X\\(.*\\)$as_nl";
19258 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19259 esac;
19260 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19262 export as_echo_n_body
19263 as_echo_n='sh -c $as_echo_n_body as_echo'
19265 export as_echo_body
19266 as_echo='sh -c $as_echo_body as_echo'
19269 # The user is always right.
19270 if test "${PATH_SEPARATOR+set}" != set; then
19271 PATH_SEPARATOR=:
19272 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19273 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19274 PATH_SEPARATOR=';'
19279 # IFS
19280 # We need space, tab and new line, in precisely that order. Quoting is
19281 # there to prevent editors from complaining about space-tab.
19282 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19283 # splitting by setting IFS to empty value.)
19284 IFS=" "" $as_nl"
19286 # Find who we are. Look in the path if we contain no directory separator.
19287 as_myself=
19288 case $0 in #((
19289 *[\\/]* ) as_myself=$0 ;;
19290 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19291 for as_dir in $PATH
19293 IFS=$as_save_IFS
19294 test -z "$as_dir" && as_dir=.
19295 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19296 done
19297 IFS=$as_save_IFS
19300 esac
19301 # We did not find ourselves, most probably we were run as `sh COMMAND'
19302 # in which case we are not to be found in the path.
19303 if test "x$as_myself" = x; then
19304 as_myself=$0
19306 if test ! -f "$as_myself"; then
19307 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19308 exit 1
19311 # Unset variables that we do not need and which cause bugs (e.g. in
19312 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19313 # suppresses any "Segmentation fault" message there. '((' could
19314 # trigger a bug in pdksh 5.2.14.
19315 for as_var in BASH_ENV ENV MAIL MAILPATH
19316 do eval test x\${$as_var+set} = xset \
19317 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19318 done
19319 PS1='$ '
19320 PS2='> '
19321 PS4='+ '
19323 # NLS nuisances.
19324 LC_ALL=C
19325 export LC_ALL
19326 LANGUAGE=C
19327 export LANGUAGE
19329 # CDPATH.
19330 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19333 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19334 # ----------------------------------------
19335 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19336 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19337 # script with STATUS, using 1 if that was 0.
19338 as_fn_error ()
19340 as_status=$1; test $as_status -eq 0 && as_status=1
19341 if test "$4"; then
19342 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19343 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19345 $as_echo "$as_me: error: $2" >&2
19346 as_fn_exit $as_status
19347 } # as_fn_error
19350 # as_fn_set_status STATUS
19351 # -----------------------
19352 # Set $? to STATUS, without forking.
19353 as_fn_set_status ()
19355 return $1
19356 } # as_fn_set_status
19358 # as_fn_exit STATUS
19359 # -----------------
19360 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19361 as_fn_exit ()
19363 set +e
19364 as_fn_set_status $1
19365 exit $1
19366 } # as_fn_exit
19368 # as_fn_unset VAR
19369 # ---------------
19370 # Portably unset VAR.
19371 as_fn_unset ()
19373 { eval $1=; unset $1;}
19375 as_unset=as_fn_unset
19376 # as_fn_append VAR VALUE
19377 # ----------------------
19378 # Append the text in VALUE to the end of the definition contained in VAR. Take
19379 # advantage of any shell optimizations that allow amortized linear growth over
19380 # repeated appends, instead of the typical quadratic growth present in naive
19381 # implementations.
19382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19383 eval 'as_fn_append ()
19385 eval $1+=\$2
19387 else
19388 as_fn_append ()
19390 eval $1=\$$1\$2
19392 fi # as_fn_append
19394 # as_fn_arith ARG...
19395 # ------------------
19396 # Perform arithmetic evaluation on the ARGs, and store the result in the
19397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19398 # must be portable across $(()) and expr.
19399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19400 eval 'as_fn_arith ()
19402 as_val=$(( $* ))
19404 else
19405 as_fn_arith ()
19407 as_val=`expr "$@" || test $? -eq 1`
19409 fi # as_fn_arith
19412 if expr a : '\(a\)' >/dev/null 2>&1 &&
19413 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19414 as_expr=expr
19415 else
19416 as_expr=false
19419 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19420 as_basename=basename
19421 else
19422 as_basename=false
19425 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19426 as_dirname=dirname
19427 else
19428 as_dirname=false
19431 as_me=`$as_basename -- "$0" ||
19432 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19433 X"$0" : 'X\(//\)$' \| \
19434 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19435 $as_echo X/"$0" |
19436 sed '/^.*\/\([^/][^/]*\)\/*$/{
19437 s//\1/
19440 /^X\/\(\/\/\)$/{
19441 s//\1/
19444 /^X\/\(\/\).*/{
19445 s//\1/
19448 s/.*/./; q'`
19450 # Avoid depending upon Character Ranges.
19451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19454 as_cr_digits='0123456789'
19455 as_cr_alnum=$as_cr_Letters$as_cr_digits
19457 ECHO_C= ECHO_N= ECHO_T=
19458 case `echo -n x` in #(((((
19459 -n*)
19460 case `echo 'xy\c'` in
19461 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19462 xy) ECHO_C='\c';;
19463 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19464 ECHO_T=' ';;
19465 esac;;
19467 ECHO_N='-n';;
19468 esac
19470 rm -f conf$$ conf$$.exe conf$$.file
19471 if test -d conf$$.dir; then
19472 rm -f conf$$.dir/conf$$.file
19473 else
19474 rm -f conf$$.dir
19475 mkdir conf$$.dir 2>/dev/null
19477 if (echo >conf$$.file) 2>/dev/null; then
19478 if ln -s conf$$.file conf$$ 2>/dev/null; then
19479 as_ln_s='ln -s'
19480 # ... but there are two gotchas:
19481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19483 # In both cases, we have to default to `cp -pR'.
19484 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19485 as_ln_s='cp -pR'
19486 elif ln conf$$.file conf$$ 2>/dev/null; then
19487 as_ln_s=ln
19488 else
19489 as_ln_s='cp -pR'
19491 else
19492 as_ln_s='cp -pR'
19494 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19495 rmdir conf$$.dir 2>/dev/null
19498 # as_fn_mkdir_p
19499 # -------------
19500 # Create "$as_dir" as a directory, including parents if necessary.
19501 as_fn_mkdir_p ()
19504 case $as_dir in #(
19505 -*) as_dir=./$as_dir;;
19506 esac
19507 test -d "$as_dir" || eval $as_mkdir_p || {
19508 as_dirs=
19509 while :; do
19510 case $as_dir in #(
19511 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19512 *) as_qdir=$as_dir;;
19513 esac
19514 as_dirs="'$as_qdir' $as_dirs"
19515 as_dir=`$as_dirname -- "$as_dir" ||
19516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19517 X"$as_dir" : 'X\(//\)[^/]' \| \
19518 X"$as_dir" : 'X\(//\)$' \| \
19519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19520 $as_echo X"$as_dir" |
19521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19522 s//\1/
19525 /^X\(\/\/\)[^/].*/{
19526 s//\1/
19529 /^X\(\/\/\)$/{
19530 s//\1/
19533 /^X\(\/\).*/{
19534 s//\1/
19537 s/.*/./; q'`
19538 test -d "$as_dir" && break
19539 done
19540 test -z "$as_dirs" || eval "mkdir $as_dirs"
19541 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19544 } # as_fn_mkdir_p
19545 if mkdir -p . 2>/dev/null; then
19546 as_mkdir_p='mkdir -p "$as_dir"'
19547 else
19548 test -d ./-p && rmdir ./-p
19549 as_mkdir_p=false
19553 # as_fn_executable_p FILE
19554 # -----------------------
19555 # Test if FILE is an executable regular file.
19556 as_fn_executable_p ()
19558 test -f "$1" && test -x "$1"
19559 } # as_fn_executable_p
19560 as_test_x='test -x'
19561 as_executable_p=as_fn_executable_p
19563 # Sed expression to map a string onto a valid CPP name.
19564 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19566 # Sed expression to map a string onto a valid variable name.
19567 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19570 exec 6>&1
19571 ## ----------------------------------- ##
19572 ## Main body of $CONFIG_STATUS script. ##
19573 ## ----------------------------------- ##
19574 _ASEOF
19575 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19578 # Save the log message, to keep $0 and so on meaningful, and to
19579 # report actual input values of CONFIG_FILES etc. instead of their
19580 # values after options handling.
19581 ac_log="
19582 This file was extended by Wine $as_me 2.14, which was
19583 generated by GNU Autoconf 2.69. Invocation command line was
19585 CONFIG_FILES = $CONFIG_FILES
19586 CONFIG_HEADERS = $CONFIG_HEADERS
19587 CONFIG_LINKS = $CONFIG_LINKS
19588 CONFIG_COMMANDS = $CONFIG_COMMANDS
19589 $ $0 $@
19591 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19594 _ACEOF
19596 case $ac_config_files in *"
19597 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19598 esac
19600 case $ac_config_headers in *"
19601 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19602 esac
19605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19606 # Files that config.status was made for.
19607 config_files="$ac_config_files"
19608 config_headers="$ac_config_headers"
19609 config_links="$ac_config_links"
19610 config_commands="$ac_config_commands"
19612 _ACEOF
19614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19615 ac_cs_usage="\
19616 \`$as_me' instantiates files and other configuration actions
19617 from templates according to the current configuration. Unless the files
19618 and actions are specified as TAGs, all are instantiated by default.
19620 Usage: $0 [OPTION]... [TAG]...
19622 -h, --help print this help, then exit
19623 -V, --version print version number and configuration settings, then exit
19624 --config print configuration, then exit
19625 -q, --quiet, --silent
19626 do not print progress messages
19627 -d, --debug don't remove temporary files
19628 --recheck update $as_me by reconfiguring in the same conditions
19629 --file=FILE[:TEMPLATE]
19630 instantiate the configuration file FILE
19631 --header=FILE[:TEMPLATE]
19632 instantiate the configuration header FILE
19634 Configuration files:
19635 $config_files
19637 Configuration headers:
19638 $config_headers
19640 Configuration links:
19641 $config_links
19643 Configuration commands:
19644 $config_commands
19646 Report bugs to <wine-devel@winehq.org>.
19647 Wine home page: <http://www.winehq.org>."
19649 _ACEOF
19650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19651 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19652 ac_cs_version="\\
19653 Wine config.status 2.14
19654 configured by $0, generated by GNU Autoconf 2.69,
19655 with options \\"\$ac_cs_config\\"
19657 Copyright (C) 2012 Free Software Foundation, Inc.
19658 This config.status script is free software; the Free Software Foundation
19659 gives unlimited permission to copy, distribute and modify it."
19661 ac_pwd='$ac_pwd'
19662 srcdir='$srcdir'
19663 test -n "\$AWK" || AWK=awk
19664 _ACEOF
19666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19667 # The default lists apply if the user does not specify any file.
19668 ac_need_defaults=:
19669 while test $# != 0
19671 case $1 in
19672 --*=?*)
19673 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19674 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19675 ac_shift=:
19677 --*=)
19678 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19679 ac_optarg=
19680 ac_shift=:
19683 ac_option=$1
19684 ac_optarg=$2
19685 ac_shift=shift
19687 esac
19689 case $ac_option in
19690 # Handling of the options.
19691 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19692 ac_cs_recheck=: ;;
19693 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19694 $as_echo "$ac_cs_version"; exit ;;
19695 --config | --confi | --conf | --con | --co | --c )
19696 $as_echo "$ac_cs_config"; exit ;;
19697 --debug | --debu | --deb | --de | --d | -d )
19698 debug=: ;;
19699 --file | --fil | --fi | --f )
19700 $ac_shift
19701 case $ac_optarg in
19702 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19703 '') as_fn_error $? "missing file argument" ;;
19704 esac
19705 as_fn_append CONFIG_FILES " '$ac_optarg'"
19706 ac_need_defaults=false;;
19707 --header | --heade | --head | --hea )
19708 $ac_shift
19709 case $ac_optarg in
19710 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19711 esac
19712 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19713 ac_need_defaults=false;;
19714 --he | --h)
19715 # Conflict between --help and --header
19716 as_fn_error $? "ambiguous option: \`$1'
19717 Try \`$0 --help' for more information.";;
19718 --help | --hel | -h )
19719 $as_echo "$ac_cs_usage"; exit ;;
19720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19721 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19722 ac_cs_silent=: ;;
19724 # This is an error.
19725 -*) as_fn_error $? "unrecognized option: \`$1'
19726 Try \`$0 --help' for more information." ;;
19728 *) as_fn_append ac_config_targets " $1"
19729 ac_need_defaults=false ;;
19731 esac
19732 shift
19733 done
19735 ac_configure_extra_args=
19737 if $ac_cs_silent; then
19738 exec 6>/dev/null
19739 ac_configure_extra_args="$ac_configure_extra_args --silent"
19742 _ACEOF
19743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19744 if \$ac_cs_recheck; then
19745 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19746 shift
19747 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19748 CONFIG_SHELL='$SHELL'
19749 export CONFIG_SHELL
19750 exec "\$@"
19753 _ACEOF
19754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19755 exec 5>>config.log
19757 echo
19758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19759 ## Running $as_me. ##
19760 _ASBOX
19761 $as_echo "$ac_log"
19762 } >&5
19764 _ACEOF
19765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19767 # INIT-COMMANDS
19769 wine_fn_output_makedep ()
19771 as_dir=tools; as_fn_mkdir_p
19772 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19774 wine_fn_output_makefile ()
19776 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19777 `cat $wine_rules_file`
19778 _WINE_EOF
19779 as_fn_error $? "could not create Makefile" "$LINENO" 5
19782 _ACEOF
19784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19786 # Handling of arguments.
19787 for ac_config_target in $ac_config_targets
19789 case $ac_config_target in
19790 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19791 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19792 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19793 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19794 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19795 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19796 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19797 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19798 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19799 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19800 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19801 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19802 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19804 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19805 esac
19806 done
19809 # If the user did not use the arguments to specify the items to instantiate,
19810 # then the envvar interface is used. Set only those that are not.
19811 # We use the long form for the default assignment because of an extremely
19812 # bizarre bug on SunOS 4.1.3.
19813 if $ac_need_defaults; then
19814 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19815 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19816 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19820 # Have a temporary directory for convenience. Make it in the build tree
19821 # simply because there is no reason against having it here, and in addition,
19822 # creating and moving files from /tmp can sometimes cause problems.
19823 # Hook for its removal unless debugging.
19824 # Note that there is a small window in which the directory will not be cleaned:
19825 # after its creation but before its name has been assigned to `$tmp'.
19826 $debug ||
19828 tmp= ac_tmp=
19829 trap 'exit_status=$?
19830 : "${ac_tmp:=$tmp}"
19831 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19833 trap 'as_fn_exit 1' 1 2 13 15
19835 # Create a (secure) tmp directory for tmp files.
19838 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19839 test -d "$tmp"
19840 } ||
19842 tmp=./conf$$-$RANDOM
19843 (umask 077 && mkdir "$tmp")
19844 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19845 ac_tmp=$tmp
19847 # Set up the scripts for CONFIG_FILES section.
19848 # No need to generate them if there are no CONFIG_FILES.
19849 # This happens for instance with `./config.status config.h'.
19850 if test -n "$CONFIG_FILES"; then
19853 ac_cr=`echo X | tr X '\015'`
19854 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19855 # But we know of no other shell where ac_cr would be empty at this
19856 # point, so we can use a bashism as a fallback.
19857 if test "x$ac_cr" = x; then
19858 eval ac_cr=\$\'\\r\'
19860 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19861 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19862 ac_cs_awk_cr='\\r'
19863 else
19864 ac_cs_awk_cr=$ac_cr
19867 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19868 _ACEOF
19872 echo "cat >conf$$subs.awk <<_ACEOF" &&
19873 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19874 echo "_ACEOF"
19875 } >conf$$subs.sh ||
19876 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19877 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19878 ac_delim='%!_!# '
19879 for ac_last_try in false false false false false :; do
19880 . ./conf$$subs.sh ||
19881 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19883 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19884 if test $ac_delim_n = $ac_delim_num; then
19885 break
19886 elif $ac_last_try; then
19887 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19888 else
19889 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19891 done
19892 rm -f conf$$subs.sh
19894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19895 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19896 _ACEOF
19897 sed -n '
19899 s/^/S["/; s/!.*/"]=/
19902 s/^[^!]*!//
19903 :repl
19904 t repl
19905 s/'"$ac_delim"'$//
19906 t delim
19909 s/\(.\{148\}\)..*/\1/
19910 t more1
19911 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19914 b repl
19915 :more1
19916 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19919 s/.\{148\}//
19920 t nl
19921 :delim
19923 s/\(.\{148\}\)..*/\1/
19924 t more2
19925 s/["\\]/\\&/g; s/^/"/; s/$/"/
19928 :more2
19929 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19932 s/.\{148\}//
19933 t delim
19934 ' <conf$$subs.awk | sed '
19935 /^[^""]/{
19937 s/\n//
19939 ' >>$CONFIG_STATUS || ac_write_fail=1
19940 rm -f conf$$subs.awk
19941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19942 _ACAWK
19943 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19944 for (key in S) S_is_set[key] = 1
19945 FS = "\a"
19949 line = $ 0
19950 nfields = split(line, field, "@")
19951 substed = 0
19952 len = length(field[1])
19953 for (i = 2; i < nfields; i++) {
19954 key = field[i]
19955 keylen = length(key)
19956 if (S_is_set[key]) {
19957 value = S[key]
19958 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19959 len += length(value) + length(field[++i])
19960 substed = 1
19961 } else
19962 len += 1 + keylen
19965 print line
19968 _ACAWK
19969 _ACEOF
19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19971 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19972 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19973 else
19975 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19976 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19977 _ACEOF
19979 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19980 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19981 # trailing colons and then remove the whole line if VPATH becomes empty
19982 # (actually we leave an empty line to preserve line numbers).
19983 if test "x$srcdir" = x.; then
19984 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19986 s///
19987 s/^/:/
19988 s/[ ]*$/:/
19989 s/:\$(srcdir):/:/g
19990 s/:\${srcdir}:/:/g
19991 s/:@srcdir@:/:/g
19992 s/^:*//
19993 s/:*$//
19995 s/\(=[ ]*\).*/\1/
19997 s/\n//
19998 s/^[^=]*=[ ]*$//
20002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20003 fi # test -n "$CONFIG_FILES"
20005 # Set up the scripts for CONFIG_HEADERS section.
20006 # No need to generate them if there are no CONFIG_HEADERS.
20007 # This happens for instance with `./config.status Makefile'.
20008 if test -n "$CONFIG_HEADERS"; then
20009 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20010 BEGIN {
20011 _ACEOF
20013 # Transform confdefs.h into an awk script `defines.awk', embedded as
20014 # here-document in config.status, that substitutes the proper values into
20015 # config.h.in to produce config.h.
20017 # Create a delimiter string that does not exist in confdefs.h, to ease
20018 # handling of long lines.
20019 ac_delim='%!_!# '
20020 for ac_last_try in false false :; do
20021 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20022 if test -z "$ac_tt"; then
20023 break
20024 elif $ac_last_try; then
20025 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20026 else
20027 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20029 done
20031 # For the awk script, D is an array of macro values keyed by name,
20032 # likewise P contains macro parameters if any. Preserve backslash
20033 # newline sequences.
20035 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20036 sed -n '
20037 s/.\{148\}/&'"$ac_delim"'/g
20038 t rset
20039 :rset
20040 s/^[ ]*#[ ]*define[ ][ ]*/ /
20041 t def
20043 :def
20044 s/\\$//
20045 t bsnl
20046 s/["\\]/\\&/g
20047 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20048 D["\1"]=" \3"/p
20049 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20051 :bsnl
20052 s/["\\]/\\&/g
20053 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20054 D["\1"]=" \3\\\\\\n"\\/p
20055 t cont
20056 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20057 t cont
20059 :cont
20061 s/.\{148\}/&'"$ac_delim"'/g
20062 t clear
20063 :clear
20064 s/\\$//
20065 t bsnlc
20066 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20068 :bsnlc
20069 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20070 b cont
20071 ' <confdefs.h | sed '
20072 s/'"$ac_delim"'/"\\\
20073 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20076 for (key in D) D_is_set[key] = 1
20077 FS = "\a"
20079 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20080 line = \$ 0
20081 split(line, arg, " ")
20082 if (arg[1] == "#") {
20083 defundef = arg[2]
20084 mac1 = arg[3]
20085 } else {
20086 defundef = substr(arg[1], 2)
20087 mac1 = arg[2]
20089 split(mac1, mac2, "(") #)
20090 macro = mac2[1]
20091 prefix = substr(line, 1, index(line, defundef) - 1)
20092 if (D_is_set[macro]) {
20093 # Preserve the white space surrounding the "#".
20094 print prefix "define", macro P[macro] D[macro]
20095 next
20096 } else {
20097 # Replace #undef with comments. This is necessary, for example,
20098 # in the case of _POSIX_SOURCE, which is predefined and required
20099 # on some systems where configure will not decide to define it.
20100 if (defundef == "undef") {
20101 print "/*", prefix defundef, macro, "*/"
20102 next
20106 { print }
20107 _ACAWK
20108 _ACEOF
20109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20110 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20111 fi # test -n "$CONFIG_HEADERS"
20114 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20115 shift
20116 for ac_tag
20118 case $ac_tag in
20119 :[FHLC]) ac_mode=$ac_tag; continue;;
20120 esac
20121 case $ac_mode$ac_tag in
20122 :[FHL]*:*);;
20123 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20124 :[FH]-) ac_tag=-:-;;
20125 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20126 esac
20127 ac_save_IFS=$IFS
20128 IFS=:
20129 set x $ac_tag
20130 IFS=$ac_save_IFS
20131 shift
20132 ac_file=$1
20133 shift
20135 case $ac_mode in
20136 :L) ac_source=$1;;
20137 :[FH])
20138 ac_file_inputs=
20139 for ac_f
20141 case $ac_f in
20142 -) ac_f="$ac_tmp/stdin";;
20143 *) # Look for the file first in the build tree, then in the source tree
20144 # (if the path is not absolute). The absolute path cannot be DOS-style,
20145 # because $ac_f cannot contain `:'.
20146 test -f "$ac_f" ||
20147 case $ac_f in
20148 [\\/$]*) false;;
20149 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20150 esac ||
20151 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20152 esac
20153 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20154 as_fn_append ac_file_inputs " '$ac_f'"
20155 done
20157 # Let's still pretend it is `configure' which instantiates (i.e., don't
20158 # use $as_me), people would be surprised to read:
20159 # /* config.h. Generated by config.status. */
20160 configure_input='Generated from '`
20161 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20162 `' by configure.'
20163 if test x"$ac_file" != x-; then
20164 configure_input="$ac_file. $configure_input"
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20166 $as_echo "$as_me: creating $ac_file" >&6;}
20168 # Neutralize special characters interpreted by sed in replacement strings.
20169 case $configure_input in #(
20170 *\&* | *\|* | *\\* )
20171 ac_sed_conf_input=`$as_echo "$configure_input" |
20172 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20173 *) ac_sed_conf_input=$configure_input;;
20174 esac
20176 case $ac_tag in
20177 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20178 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20179 esac
20181 esac
20183 ac_dir=`$as_dirname -- "$ac_file" ||
20184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20185 X"$ac_file" : 'X\(//\)[^/]' \| \
20186 X"$ac_file" : 'X\(//\)$' \| \
20187 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20188 $as_echo X"$ac_file" |
20189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20190 s//\1/
20193 /^X\(\/\/\)[^/].*/{
20194 s//\1/
20197 /^X\(\/\/\)$/{
20198 s//\1/
20201 /^X\(\/\).*/{
20202 s//\1/
20205 s/.*/./; q'`
20206 as_dir="$ac_dir"; as_fn_mkdir_p
20207 ac_builddir=.
20209 case "$ac_dir" in
20210 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20212 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20213 # A ".." for each directory in $ac_dir_suffix.
20214 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20215 case $ac_top_builddir_sub in
20216 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20217 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20218 esac ;;
20219 esac
20220 ac_abs_top_builddir=$ac_pwd
20221 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20222 # for backward compatibility:
20223 ac_top_builddir=$ac_top_build_prefix
20225 case $srcdir in
20226 .) # We are building in place.
20227 ac_srcdir=.
20228 ac_top_srcdir=$ac_top_builddir_sub
20229 ac_abs_top_srcdir=$ac_pwd ;;
20230 [\\/]* | ?:[\\/]* ) # Absolute name.
20231 ac_srcdir=$srcdir$ac_dir_suffix;
20232 ac_top_srcdir=$srcdir
20233 ac_abs_top_srcdir=$srcdir ;;
20234 *) # Relative name.
20235 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20236 ac_top_srcdir=$ac_top_build_prefix$srcdir
20237 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20238 esac
20239 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20242 case $ac_mode in
20245 # CONFIG_FILE
20248 _ACEOF
20250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20251 # If the template does not know about datarootdir, expand it.
20252 # FIXME: This hack should be removed a few years after 2.60.
20253 ac_datarootdir_hack=; ac_datarootdir_seen=
20254 ac_sed_dataroot='
20255 /datarootdir/ {
20259 /@datadir@/p
20260 /@docdir@/p
20261 /@infodir@/p
20262 /@localedir@/p
20263 /@mandir@/p'
20264 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20265 *datarootdir*) ac_datarootdir_seen=yes;;
20266 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20268 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20269 _ACEOF
20270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20271 ac_datarootdir_hack='
20272 s&@datadir@&$datadir&g
20273 s&@docdir@&$docdir&g
20274 s&@infodir@&$infodir&g
20275 s&@localedir@&$localedir&g
20276 s&@mandir@&$mandir&g
20277 s&\\\${datarootdir}&$datarootdir&g' ;;
20278 esac
20279 _ACEOF
20281 # Neutralize VPATH when `$srcdir' = `.'.
20282 # Shell code in configure.ac might set extrasub.
20283 # FIXME: do we really want to maintain this feature?
20284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20285 ac_sed_extra="$ac_vpsub
20286 $extrasub
20287 _ACEOF
20288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20290 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20291 s|@configure_input@|$ac_sed_conf_input|;t t
20292 s&@top_builddir@&$ac_top_builddir_sub&;t t
20293 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20294 s&@srcdir@&$ac_srcdir&;t t
20295 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20296 s&@top_srcdir@&$ac_top_srcdir&;t t
20297 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20298 s&@builddir@&$ac_builddir&;t t
20299 s&@abs_builddir@&$ac_abs_builddir&;t t
20300 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20301 $ac_datarootdir_hack
20303 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20304 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20306 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20307 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20308 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20309 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20311 which seems to be undefined. Please make sure it is defined" >&5
20312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20313 which seems to be undefined. Please make sure it is defined" >&2;}
20315 rm -f "$ac_tmp/stdin"
20316 case $ac_file in
20317 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20318 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20319 esac \
20320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20324 # CONFIG_HEADER
20326 if test x"$ac_file" != x-; then
20328 $as_echo "/* $configure_input */" \
20329 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20330 } >"$ac_tmp/config.h" \
20331 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20332 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20334 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20335 else
20336 rm -f "$ac_file"
20337 mv "$ac_tmp/config.h" "$ac_file" \
20338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20340 else
20341 $as_echo "/* $configure_input */" \
20342 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20343 || as_fn_error $? "could not create -" "$LINENO" 5
20348 # CONFIG_LINK
20351 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20353 else
20354 # Prefer the file from the source tree if names are identical.
20355 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20356 ac_source=$srcdir/$ac_source
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20360 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20362 if test ! -r "$ac_source"; then
20363 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20365 rm -f "$ac_file"
20367 # Try a relative symlink, then a hard link, then a copy.
20368 case $ac_source in
20369 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20370 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20371 esac
20372 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20373 ln "$ac_source" "$ac_file" 2>/dev/null ||
20374 cp -p "$ac_source" "$ac_file" ||
20375 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20378 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20379 $as_echo "$as_me: executing $ac_file commands" >&6;}
20381 esac
20384 case $ac_file$ac_mode in
20385 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20386 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20387 "Makefile":C) wine_fn_output_makefile Makefile ;;
20389 esac
20390 done # for ac_tag
20393 as_fn_exit 0
20394 _ACEOF
20395 ac_clean_files=$ac_clean_files_save
20397 test $ac_write_fail = 0 ||
20398 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20401 # configure is writing to config.log, and then calls config.status.
20402 # config.status does its own redirection, appending to config.log.
20403 # Unfortunately, on DOS this fails, as config.log is still kept open
20404 # by configure, so config.status won't be able to write to it; its
20405 # output is simply discarded. So we exec the FD to /dev/null,
20406 # effectively closing config.log, so it can be properly (re)opened and
20407 # appended to by config.status. When coming back to configure, we
20408 # need to make the FD available again.
20409 if test "$no_create" != yes; then
20410 ac_cs_success=:
20411 ac_config_status_args=
20412 test "$silent" = yes &&
20413 ac_config_status_args="$ac_config_status_args --quiet"
20414 exec 5>/dev/null
20415 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20416 exec 5>>config.log
20417 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20418 # would make configure fail if this is the last instruction.
20419 $ac_cs_success || as_fn_exit 1
20421 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20423 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20427 if test "$no_create" = "yes"
20428 then
20429 exit 0
20432 ac_save_IFS="$IFS"
20433 if test "x$wine_notices" != x; then
20434 echo >&6
20435 IFS="|"
20436 for msg in $wine_notices; do
20437 IFS="$ac_save_IFS"
20438 if ${msg:+false} :; then :
20440 else
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20442 $as_echo "$as_me: $msg" >&6;}
20444 done
20446 IFS="|"
20447 for msg in $wine_warnings; do
20448 IFS="$ac_save_IFS"
20449 if ${msg:+false} :; then :
20451 else
20452 echo >&2
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20454 $as_echo "$as_me: WARNING: $msg" >&2;}
20456 done
20457 IFS="$ac_save_IFS"
20459 $as_echo "
20460 $as_me: Finished. Do '${ac_make}' to compile Wine.
20461 " >&6