inetcomm: Implemented IMimeBody::GetClassID().
[wine.git] / configure
blobd17ff5e32ee75f6ab06759c4386020ff883fd188
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.9.
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.9'
584 PACKAGE_STRING='Wine 2.9'
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 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xfixes
857 with_xinerama
858 with_xinput
859 with_xinput2
860 with_xml
861 with_xrandr
862 with_xrender
863 with_xshape
864 with_xshm
865 with_xslt
866 with_xxf86vm
867 with_zlib
868 with_wine_tools
869 with_wine64
870 enable_largefile
871 with_x
872 enable_acledit
873 enable_aclui
874 enable_activeds
875 enable_actxprxy
876 enable_advapi32
877 enable_advpack
878 enable_amstream
879 enable_api_ms_win_appmodel_identity_l1_1_0
880 enable_api_ms_win_appmodel_runtime_l1_1_1
881 enable_api_ms_win_core_apiquery_l1_1_0
882 enable_api_ms_win_core_appcompat_l1_1_1
883 enable_api_ms_win_core_appinit_l1_1_0
884 enable_api_ms_win_core_atoms_l1_1_0
885 enable_api_ms_win_core_bem_l1_1_0
886 enable_api_ms_win_core_com_l1_1_0
887 enable_api_ms_win_core_com_l1_1_1
888 enable_api_ms_win_core_com_private_l1_1_0
889 enable_api_ms_win_core_console_l1_1_0
890 enable_api_ms_win_core_console_l2_1_0
891 enable_api_ms_win_core_datetime_l1_1_0
892 enable_api_ms_win_core_datetime_l1_1_1
893 enable_api_ms_win_core_debug_l1_1_0
894 enable_api_ms_win_core_debug_l1_1_1
895 enable_api_ms_win_core_delayload_l1_1_0
896 enable_api_ms_win_core_delayload_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_0
898 enable_api_ms_win_core_errorhandling_l1_1_1
899 enable_api_ms_win_core_errorhandling_l1_1_2
900 enable_api_ms_win_core_fibers_l1_1_0
901 enable_api_ms_win_core_fibers_l1_1_1
902 enable_api_ms_win_core_file_l1_1_0
903 enable_api_ms_win_core_file_l1_2_0
904 enable_api_ms_win_core_file_l1_2_1
905 enable_api_ms_win_core_file_l2_1_0
906 enable_api_ms_win_core_file_l2_1_1
907 enable_api_ms_win_core_handle_l1_1_0
908 enable_api_ms_win_core_heap_l1_1_0
909 enable_api_ms_win_core_heap_l1_2_0
910 enable_api_ms_win_core_heap_obsolete_l1_1_0
911 enable_api_ms_win_core_interlocked_l1_1_0
912 enable_api_ms_win_core_interlocked_l1_2_0
913 enable_api_ms_win_core_io_l1_1_0
914 enable_api_ms_win_core_io_l1_1_1
915 enable_api_ms_win_core_job_l1_1_0
916 enable_api_ms_win_core_job_l2_1_0
917 enable_api_ms_win_core_kernel32_legacy_l1_1_0
918 enable_api_ms_win_core_kernel32_legacy_l1_1_1
919 enable_api_ms_win_core_kernel32_private_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_1_0
921 enable_api_ms_win_core_libraryloader_l1_1_1
922 enable_api_ms_win_core_libraryloader_l1_2_0
923 enable_api_ms_win_core_libraryloader_l1_2_2
924 enable_api_ms_win_core_localization_l1_1_0
925 enable_api_ms_win_core_localization_l1_2_0
926 enable_api_ms_win_core_localization_l1_2_1
927 enable_api_ms_win_core_localization_l2_1_0
928 enable_api_ms_win_core_localization_obsolete_l1_1_0
929 enable_api_ms_win_core_localization_obsolete_l1_2_0
930 enable_api_ms_win_core_localization_private_l1_1_0
931 enable_api_ms_win_core_localregistry_l1_1_0
932 enable_api_ms_win_core_memory_l1_1_0
933 enable_api_ms_win_core_memory_l1_1_1
934 enable_api_ms_win_core_memory_l1_1_2
935 enable_api_ms_win_core_misc_l1_1_0
936 enable_api_ms_win_core_namedpipe_l1_1_0
937 enable_api_ms_win_core_namedpipe_l1_2_0
938 enable_api_ms_win_core_namespace_l1_1_0
939 enable_api_ms_win_core_normalization_l1_1_0
940 enable_api_ms_win_core_path_l1_1_0
941 enable_api_ms_win_core_privateprofile_l1_1_1
942 enable_api_ms_win_core_processenvironment_l1_1_0
943 enable_api_ms_win_core_processenvironment_l1_2_0
944 enable_api_ms_win_core_processthreads_l1_1_0
945 enable_api_ms_win_core_processthreads_l1_1_1
946 enable_api_ms_win_core_processthreads_l1_1_2
947 enable_api_ms_win_core_profile_l1_1_0
948 enable_api_ms_win_core_psapi_l1_1_0
949 enable_api_ms_win_core_psapi_obsolete_l1_1_0
950 enable_api_ms_win_core_quirks_l1_1_0
951 enable_api_ms_win_core_realtime_l1_1_0
952 enable_api_ms_win_core_registry_l1_1_0
953 enable_api_ms_win_core_registry_l2_1_0
954 enable_api_ms_win_core_registryuserspecific_l1_1_0
955 enable_api_ms_win_core_rtlsupport_l1_1_0
956 enable_api_ms_win_core_rtlsupport_l1_2_0
957 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
958 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
959 enable_api_ms_win_core_sidebyside_l1_1_0
960 enable_api_ms_win_core_string_l1_1_0
961 enable_api_ms_win_core_string_l2_1_0
962 enable_api_ms_win_core_string_obsolete_l1_1_0
963 enable_api_ms_win_core_stringansi_l1_1_0
964 enable_api_ms_win_core_synch_l1_1_0
965 enable_api_ms_win_core_synch_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_1_0
967 enable_api_ms_win_core_sysinfo_l1_2_0
968 enable_api_ms_win_core_sysinfo_l1_2_1
969 enable_api_ms_win_core_threadpool_l1_1_0
970 enable_api_ms_win_core_threadpool_l1_2_0
971 enable_api_ms_win_core_threadpool_legacy_l1_1_0
972 enable_api_ms_win_core_threadpool_private_l1_1_0
973 enable_api_ms_win_core_timezone_l1_1_0
974 enable_api_ms_win_core_toolhelp_l1_1_0
975 enable_api_ms_win_core_url_l1_1_0
976 enable_api_ms_win_core_util_l1_1_0
977 enable_api_ms_win_core_version_l1_1_0
978 enable_api_ms_win_core_version_private_l1_1_0
979 enable_api_ms_win_core_versionansi_l1_1_0
980 enable_api_ms_win_core_windowserrorreporting_l1_1_0
981 enable_api_ms_win_core_winrt_error_l1_1_0
982 enable_api_ms_win_core_winrt_error_l1_1_1
983 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
984 enable_api_ms_win_core_winrt_l1_1_0
985 enable_api_ms_win_core_winrt_registration_l1_1_0
986 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
987 enable_api_ms_win_core_winrt_string_l1_1_0
988 enable_api_ms_win_core_wow64_l1_1_0
989 enable_api_ms_win_core_xstate_l1_1_0
990 enable_api_ms_win_core_xstate_l2_1_0
991 enable_api_ms_win_crt_conio_l1_1_0
992 enable_api_ms_win_crt_convert_l1_1_0
993 enable_api_ms_win_crt_environment_l1_1_0
994 enable_api_ms_win_crt_filesystem_l1_1_0
995 enable_api_ms_win_crt_heap_l1_1_0
996 enable_api_ms_win_crt_locale_l1_1_0
997 enable_api_ms_win_crt_math_l1_1_0
998 enable_api_ms_win_crt_multibyte_l1_1_0
999 enable_api_ms_win_crt_private_l1_1_0
1000 enable_api_ms_win_crt_process_l1_1_0
1001 enable_api_ms_win_crt_runtime_l1_1_0
1002 enable_api_ms_win_crt_stdio_l1_1_0
1003 enable_api_ms_win_crt_string_l1_1_0
1004 enable_api_ms_win_crt_time_l1_1_0
1005 enable_api_ms_win_crt_utility_l1_1_0
1006 enable_api_ms_win_devices_config_l1_1_1
1007 enable_api_ms_win_devices_query_l1_1_1
1008 enable_api_ms_win_downlevel_advapi32_l1_1_0
1009 enable_api_ms_win_downlevel_advapi32_l2_1_0
1010 enable_api_ms_win_downlevel_normaliz_l1_1_0
1011 enable_api_ms_win_downlevel_ole32_l1_1_0
1012 enable_api_ms_win_downlevel_shell32_l1_1_0
1013 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1014 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1015 enable_api_ms_win_downlevel_user32_l1_1_0
1016 enable_api_ms_win_downlevel_version_l1_1_0
1017 enable_api_ms_win_dx_d3dkmt_l1_1_0
1018 enable_api_ms_win_eventing_classicprovider_l1_1_0
1019 enable_api_ms_win_eventing_consumer_l1_1_0
1020 enable_api_ms_win_eventing_controller_l1_1_0
1021 enable_api_ms_win_eventing_provider_l1_1_0
1022 enable_api_ms_win_eventlog_legacy_l1_1_0
1023 enable_api_ms_win_mm_misc_l1_1_1
1024 enable_api_ms_win_mm_mme_l1_1_0
1025 enable_api_ms_win_ntuser_dc_access_l1_1_0
1026 enable_api_ms_win_power_base_l1_1_0
1027 enable_api_ms_win_power_setting_l1_1_0
1028 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1029 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1030 enable_api_ms_win_security_audit_l1_1_1
1031 enable_api_ms_win_security_base_l1_1_0
1032 enable_api_ms_win_security_base_l1_2_0
1033 enable_api_ms_win_security_base_private_l1_1_1
1034 enable_api_ms_win_security_grouppolicy_l1_1_0
1035 enable_api_ms_win_security_lsalookup_l1_1_0
1036 enable_api_ms_win_security_lsalookup_l1_1_1
1037 enable_api_ms_win_security_lsalookup_l2_1_1
1038 enable_api_ms_win_security_lsapolicy_l1_1_0
1039 enable_api_ms_win_security_sddl_l1_1_0
1040 enable_api_ms_win_security_systemfunctions_l1_1_0
1041 enable_api_ms_win_service_core_l1_1_0
1042 enable_api_ms_win_service_core_l1_1_1
1043 enable_api_ms_win_service_management_l1_1_0
1044 enable_api_ms_win_service_management_l2_1_0
1045 enable_api_ms_win_service_private_l1_1_1
1046 enable_api_ms_win_service_winsvc_l1_1_0
1047 enable_api_ms_win_service_winsvc_l1_2_0
1048 enable_api_ms_win_shell_shellcom_l1_1_0
1049 enable_api_ms_win_shell_shellfolders_l1_1_0
1050 enable_apphelp
1051 enable_appwiz_cpl
1052 enable_atl
1053 enable_atl100
1054 enable_atl110
1055 enable_atl80
1056 enable_atl90
1057 enable_authz
1058 enable_avicap32
1059 enable_avifil32
1060 enable_avrt
1061 enable_bcrypt
1062 enable_bluetoothapis
1063 enable_browseui
1064 enable_bthprops_cpl
1065 enable_cabinet
1066 enable_capi2032
1067 enable_cards
1068 enable_cfgmgr32
1069 enable_clusapi
1070 enable_combase
1071 enable_comcat
1072 enable_comctl32
1073 enable_comdlg32
1074 enable_compstui
1075 enable_comsvcs
1076 enable_concrt140
1077 enable_connect
1078 enable_credui
1079 enable_crtdll
1080 enable_crypt32
1081 enable_cryptdlg
1082 enable_cryptdll
1083 enable_cryptext
1084 enable_cryptnet
1085 enable_cryptui
1086 enable_ctapi32
1087 enable_ctl3d32
1088 enable_d2d1
1089 enable_d3d10
1090 enable_d3d10_1
1091 enable_d3d10core
1092 enable_d3d11
1093 enable_d3d8
1094 enable_d3d9
1095 enable_d3dcompiler_33
1096 enable_d3dcompiler_34
1097 enable_d3dcompiler_35
1098 enable_d3dcompiler_36
1099 enable_d3dcompiler_37
1100 enable_d3dcompiler_38
1101 enable_d3dcompiler_39
1102 enable_d3dcompiler_40
1103 enable_d3dcompiler_41
1104 enable_d3dcompiler_42
1105 enable_d3dcompiler_43
1106 enable_d3dcompiler_46
1107 enable_d3dcompiler_47
1108 enable_d3dim
1109 enable_d3drm
1110 enable_d3dx10_33
1111 enable_d3dx10_34
1112 enable_d3dx10_35
1113 enable_d3dx10_36
1114 enable_d3dx10_37
1115 enable_d3dx10_38
1116 enable_d3dx10_39
1117 enable_d3dx10_40
1118 enable_d3dx10_41
1119 enable_d3dx10_42
1120 enable_d3dx10_43
1121 enable_d3dx11_42
1122 enable_d3dx11_43
1123 enable_d3dx9_24
1124 enable_d3dx9_25
1125 enable_d3dx9_26
1126 enable_d3dx9_27
1127 enable_d3dx9_28
1128 enable_d3dx9_29
1129 enable_d3dx9_30
1130 enable_d3dx9_31
1131 enable_d3dx9_32
1132 enable_d3dx9_33
1133 enable_d3dx9_34
1134 enable_d3dx9_35
1135 enable_d3dx9_36
1136 enable_d3dx9_37
1137 enable_d3dx9_38
1138 enable_d3dx9_39
1139 enable_d3dx9_40
1140 enable_d3dx9_41
1141 enable_d3dx9_42
1142 enable_d3dx9_43
1143 enable_d3dxof
1144 enable_davclnt
1145 enable_dbgeng
1146 enable_dbghelp
1147 enable_dciman32
1148 enable_ddraw
1149 enable_ddrawex
1150 enable_devenum
1151 enable_dhcpcsvc
1152 enable_difxapi
1153 enable_dinput
1154 enable_dinput8
1155 enable_dispex
1156 enable_dmband
1157 enable_dmcompos
1158 enable_dmime
1159 enable_dmloader
1160 enable_dmscript
1161 enable_dmstyle
1162 enable_dmsynth
1163 enable_dmusic
1164 enable_dmusic32
1165 enable_dnsapi
1166 enable_dplay
1167 enable_dplayx
1168 enable_dpnaddr
1169 enable_dpnet
1170 enable_dpnhpast
1171 enable_dpnlobby
1172 enable_dpvoice
1173 enable_dpwsockx
1174 enable_drmclien
1175 enable_dsound
1176 enable_dssenh
1177 enable_dswave
1178 enable_dwmapi
1179 enable_dwrite
1180 enable_dxdiagn
1181 enable_dxgi
1182 enable_dxva2
1183 enable_esent
1184 enable_evr
1185 enable_explorerframe
1186 enable_ext_ms_win_authz_context_l1_1_0
1187 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1188 enable_ext_ms_win_gdi_dc_create_l1_1_1
1189 enable_ext_ms_win_gdi_dc_l1_2_0
1190 enable_ext_ms_win_gdi_devcaps_l1_1_0
1191 enable_ext_ms_win_gdi_draw_l1_1_1
1192 enable_ext_ms_win_gdi_render_l1_1_0
1193 enable_ext_ms_win_kernel32_package_current_l1_1_0
1194 enable_ext_ms_win_ntuser_message_l1_1_1
1195 enable_ext_ms_win_ntuser_private_l1_1_1
1196 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1197 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1198 enable_ext_ms_win_ntuser_window_l1_1_1
1199 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1200 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1201 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1202 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1203 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1204 enable_faultrep
1205 enable_fltlib
1206 enable_fltmgr_sys
1207 enable_fntcache
1208 enable_fontsub
1209 enable_fusion
1210 enable_fwpuclnt
1211 enable_gameux
1212 enable_gdi32
1213 enable_gdiplus
1214 enable_glu32
1215 enable_gphoto2_ds
1216 enable_gpkcsp
1217 enable_hal
1218 enable_hhctrl_ocx
1219 enable_hid
1220 enable_hidclass_sys
1221 enable_hlink
1222 enable_hnetcfg
1223 enable_httpapi
1224 enable_iccvid
1225 enable_icmp
1226 enable_ieframe
1227 enable_imaadp32_acm
1228 enable_imagehlp
1229 enable_imm32
1230 enable_inetcomm
1231 enable_inetcpl_cpl
1232 enable_inetmib1
1233 enable_infosoft
1234 enable_initpki
1235 enable_inkobj
1236 enable_inseng
1237 enable_iphlpapi
1238 enable_iprop
1239 enable_irprops_cpl
1240 enable_itircl
1241 enable_itss
1242 enable_joy_cpl
1243 enable_jscript
1244 enable_jsproxy
1245 enable_kernel32
1246 enable_kernelbase
1247 enable_ksuser
1248 enable_ktmw32
1249 enable_loadperf
1250 enable_localspl
1251 enable_localui
1252 enable_lz32
1253 enable_mapi32
1254 enable_mapistub
1255 enable_mciavi32
1256 enable_mcicda
1257 enable_mciqtz32
1258 enable_mciseq
1259 enable_mciwave
1260 enable_mf
1261 enable_mf3216
1262 enable_mfplat
1263 enable_mfreadwrite
1264 enable_mgmtapi
1265 enable_midimap
1266 enable_mlang
1267 enable_mmcndmgr
1268 enable_mmdevapi
1269 enable_mountmgr_sys
1270 enable_mpr
1271 enable_mprapi
1272 enable_msacm32_drv
1273 enable_msacm32
1274 enable_msadp32_acm
1275 enable_msasn1
1276 enable_mscat32
1277 enable_mscms
1278 enable_mscoree
1279 enable_msctf
1280 enable_msctfp
1281 enable_msdaps
1282 enable_msdelta
1283 enable_msdmo
1284 enable_msdrm
1285 enable_msftedit
1286 enable_msg711_acm
1287 enable_msgsm32_acm
1288 enable_mshtml_tlb
1289 enable_mshtml
1290 enable_msi
1291 enable_msident
1292 enable_msimg32
1293 enable_msimsg
1294 enable_msimtf
1295 enable_msisip
1296 enable_msisys_ocx
1297 enable_msls31
1298 enable_msnet32
1299 enable_mspatcha
1300 enable_msports
1301 enable_msrle32
1302 enable_msscript_ocx
1303 enable_mssign32
1304 enable_mssip32
1305 enable_mstask
1306 enable_msvcirt
1307 enable_msvcm80
1308 enable_msvcm90
1309 enable_msvcp100
1310 enable_msvcp110
1311 enable_msvcp120
1312 enable_msvcp120_app
1313 enable_msvcp140
1314 enable_msvcp60
1315 enable_msvcp70
1316 enable_msvcp71
1317 enable_msvcp80
1318 enable_msvcp90
1319 enable_msvcr100
1320 enable_msvcr110
1321 enable_msvcr120
1322 enable_msvcr120_app
1323 enable_msvcr70
1324 enable_msvcr71
1325 enable_msvcr80
1326 enable_msvcr90
1327 enable_msvcrt
1328 enable_msvcrt20
1329 enable_msvcrt40
1330 enable_msvcrtd
1331 enable_msvfw32
1332 enable_msvidc32
1333 enable_mswsock
1334 enable_msxml
1335 enable_msxml2
1336 enable_msxml3
1337 enable_msxml4
1338 enable_msxml6
1339 enable_mtxdm
1340 enable_ncrypt
1341 enable_nddeapi
1342 enable_ndis_sys
1343 enable_netapi32
1344 enable_netcfgx
1345 enable_netprofm
1346 enable_newdev
1347 enable_normaliz
1348 enable_npmshtml
1349 enable_npptools
1350 enable_ntdll
1351 enable_ntdsapi
1352 enable_ntoskrnl_exe
1353 enable_ntprint
1354 enable_objsel
1355 enable_odbc32
1356 enable_odbccp32
1357 enable_odbccu32
1358 enable_ole32
1359 enable_oleacc
1360 enable_oleaut32
1361 enable_olecli32
1362 enable_oledb32
1363 enable_oledlg
1364 enable_olepro32
1365 enable_olesvr32
1366 enable_olethk32
1367 enable_openal32
1368 enable_opencl
1369 enable_opengl32
1370 enable_packager
1371 enable_pdh
1372 enable_photometadatahandler
1373 enable_pidgen
1374 enable_powrprof
1375 enable_printui
1376 enable_prntvpt
1377 enable_propsys
1378 enable_psapi
1379 enable_pstorec
1380 enable_qcap
1381 enable_qedit
1382 enable_qmgr
1383 enable_qmgrprxy
1384 enable_quartz
1385 enable_query
1386 enable_rasapi32
1387 enable_rasdlg
1388 enable_regapi
1389 enable_resutils
1390 enable_riched20
1391 enable_riched32
1392 enable_rpcrt4
1393 enable_rsabase
1394 enable_rsaenh
1395 enable_rstrtmgr
1396 enable_rtutils
1397 enable_samlib
1398 enable_sane_ds
1399 enable_scarddlg
1400 enable_sccbase
1401 enable_schannel
1402 enable_schedsvc
1403 enable_scrobj
1404 enable_scrrun
1405 enable_scsiport_sys
1406 enable_secur32
1407 enable_security
1408 enable_sensapi
1409 enable_serialui
1410 enable_setupapi
1411 enable_sfc
1412 enable_sfc_os
1413 enable_shdoclc
1414 enable_shdocvw
1415 enable_shell32
1416 enable_shfolder
1417 enable_shlwapi
1418 enable_slbcsp
1419 enable_slc
1420 enable_snmpapi
1421 enable_softpub
1422 enable_spoolss
1423 enable_sspicli
1424 enable_stdole2_tlb
1425 enable_stdole32_tlb
1426 enable_sti
1427 enable_svrapi
1428 enable_sxs
1429 enable_t2embed
1430 enable_tapi32
1431 enable_taskschd
1432 enable_tdi_sys
1433 enable_traffic
1434 enable_twain_32
1435 enable_ucrtbase
1436 enable_uiautomationcore
1437 enable_unicows
1438 enable_updspapi
1439 enable_url
1440 enable_urlmon
1441 enable_usbd_sys
1442 enable_user32
1443 enable_userenv
1444 enable_usp10
1445 enable_uxtheme
1446 enable_vbscript
1447 enable_vcomp
1448 enable_vcomp100
1449 enable_vcomp110
1450 enable_vcomp120
1451 enable_vcomp140
1452 enable_vcomp90
1453 enable_vcruntime140
1454 enable_vdmdbg
1455 enable_version
1456 enable_virtdisk
1457 enable_vssapi
1458 enable_wbemdisp
1459 enable_wbemprox
1460 enable_webservices
1461 enable_wer
1462 enable_wevtapi
1463 enable_wiaservc
1464 enable_wimgapi
1465 enable_windowscodecs
1466 enable_windowscodecsext
1467 enable_winealsa_drv
1468 enable_wineandroid_drv
1469 enable_winebus_sys
1470 enable_winecoreaudio_drv
1471 enable_wined3d
1472 enable_winegstreamer
1473 enable_winehid_sys
1474 enable_winejoystick_drv
1475 enable_winemac_drv
1476 enable_winemapi
1477 enable_winemp3_acm
1478 enable_wineoss_drv
1479 enable_wineps_drv
1480 enable_winepulse_drv
1481 enable_wineqtdecoder
1482 enable_winex11_drv
1483 enable_wing32
1484 enable_winhttp
1485 enable_wininet
1486 enable_winmm
1487 enable_winnls32
1488 enable_winscard
1489 enable_winspool_drv
1490 enable_winsta
1491 enable_wintab32
1492 enable_wintrust
1493 enable_winusb
1494 enable_wlanapi
1495 enable_wldap32
1496 enable_wmasf
1497 enable_wmi
1498 enable_wmiutils
1499 enable_wmp
1500 enable_wmvcore
1501 enable_wnaspi32
1502 enable_wpc
1503 enable_wpcap
1504 enable_ws2_32
1505 enable_wsdapi
1506 enable_wshom_ocx
1507 enable_wsnmp32
1508 enable_wsock32
1509 enable_wtsapi32
1510 enable_wuapi
1511 enable_wuaueng
1512 enable_x3daudio1_0
1513 enable_x3daudio1_1
1514 enable_x3daudio1_2
1515 enable_x3daudio1_3
1516 enable_x3daudio1_4
1517 enable_x3daudio1_5
1518 enable_x3daudio1_6
1519 enable_x3daudio1_7
1520 enable_xapofx1_1
1521 enable_xapofx1_2
1522 enable_xapofx1_3
1523 enable_xapofx1_4
1524 enable_xapofx1_5
1525 enable_xaudio2_0
1526 enable_xaudio2_1
1527 enable_xaudio2_2
1528 enable_xaudio2_3
1529 enable_xaudio2_4
1530 enable_xaudio2_5
1531 enable_xaudio2_6
1532 enable_xaudio2_7
1533 enable_xaudio2_8
1534 enable_xaudio2_9
1535 enable_xinput1_1
1536 enable_xinput1_2
1537 enable_xinput1_3
1538 enable_xinput1_4
1539 enable_xinput9_1_0
1540 enable_xmllite
1541 enable_xolehlp
1542 enable_xpsprint
1543 enable_xpssvcs
1544 enable_fonts
1545 enable_include
1546 enable_libs_port
1547 enable_libs_wine
1548 enable_libs_wpp
1549 enable_loader
1550 enable_po
1551 enable_arp
1552 enable_aspnet_regiis
1553 enable_attrib
1554 enable_cabarc
1555 enable_cacls
1556 enable_clock
1557 enable_cmd
1558 enable_conhost
1559 enable_control
1560 enable_cscript
1561 enable_dpnsvr
1562 enable_dxdiag
1563 enable_eject
1564 enable_expand
1565 enable_explorer
1566 enable_extrac32
1567 enable_findstr
1568 enable_fsutil
1569 enable_hh
1570 enable_hostname
1571 enable_icacls
1572 enable_icinfo
1573 enable_iexplore
1574 enable_ipconfig
1575 enable_lodctr
1576 enable_mofcomp
1577 enable_mshta
1578 enable_msiexec
1579 enable_msinfo32
1580 enable_net
1581 enable_netsh
1582 enable_netstat
1583 enable_ngen
1584 enable_notepad
1585 enable_oleview
1586 enable_ping
1587 enable_plugplay
1588 enable_presentationfontcache
1589 enable_progman
1590 enable_reg
1591 enable_regasm
1592 enable_regedit
1593 enable_regsvcs
1594 enable_regsvr32
1595 enable_rpcss
1596 enable_rundll32
1597 enable_sc
1598 enable_schtasks
1599 enable_sdbinst
1600 enable_secedit
1601 enable_servicemodelreg
1602 enable_services
1603 enable_shutdown
1604 enable_spoolsv
1605 enable_start
1606 enable_subst
1607 enable_svchost
1608 enable_systeminfo
1609 enable_taskkill
1610 enable_tasklist
1611 enable_taskmgr
1612 enable_termsv
1613 enable_uninstaller
1614 enable_unlodctr
1615 enable_view
1616 enable_wevtutil
1617 enable_wineboot
1618 enable_winebrowser
1619 enable_winecfg
1620 enable_wineconsole
1621 enable_winedbg
1622 enable_winedevice
1623 enable_winefile
1624 enable_winemenubuilder
1625 enable_winemine
1626 enable_winemsibuilder
1627 enable_winepath
1628 enable_winetest
1629 enable_winhlp32
1630 enable_winver
1631 enable_wmic
1632 enable_wmplayer
1633 enable_wordpad
1634 enable_write
1635 enable_wscript
1636 enable_wusa
1637 enable_xcopy
1638 enable_server
1639 enable_tools
1641 ac_precious_vars='build_alias
1642 host_alias
1643 target_alias
1645 CFLAGS
1646 LDFLAGS
1647 LIBS
1648 CPPFLAGS
1650 CXXFLAGS
1653 XMKMF
1654 XML2_CFLAGS
1655 XML2_LIBS
1656 XSLT_CFLAGS
1657 XSLT_LIBS
1658 DBUS_CFLAGS
1659 DBUS_LIBS
1660 HAL_CFLAGS
1661 HAL_LIBS
1662 GNUTLS_CFLAGS
1663 GNUTLS_LIBS
1664 SANE_CFLAGS
1665 SANE_LIBS
1666 GPHOTO2_CFLAGS
1667 GPHOTO2_LIBS
1668 GPHOTO2_PORT_CFLAGS
1669 GPHOTO2_PORT_LIBS
1670 LCMS2_CFLAGS
1671 LCMS2_LIBS
1672 FREETYPE_CFLAGS
1673 FREETYPE_LIBS
1674 PULSE_CFLAGS
1675 PULSE_LIBS
1676 GSTREAMER_CFLAGS
1677 GSTREAMER_LIBS
1678 UDEV_CFLAGS
1679 UDEV_LIBS
1680 CAPI20_CFLAGS
1681 CAPI20_LIBS
1682 FONTCONFIG_CFLAGS
1683 FONTCONFIG_LIBS
1684 JPEG_CFLAGS
1685 JPEG_LIBS
1686 PNG_CFLAGS
1687 PNG_LIBS
1688 TIFF_CFLAGS
1689 TIFF_LIBS
1690 MPG123_CFLAGS
1691 MPG123_LIBS
1692 NETAPI_CFLAGS
1693 NETAPI_LIBS'
1696 # Initialize some variables set by options.
1697 ac_init_help=
1698 ac_init_version=false
1699 ac_unrecognized_opts=
1700 ac_unrecognized_sep=
1701 # The variables have the same names as the options, with
1702 # dashes changed to underlines.
1703 cache_file=/dev/null
1704 exec_prefix=NONE
1705 no_create=
1706 no_recursion=
1707 prefix=NONE
1708 program_prefix=NONE
1709 program_suffix=NONE
1710 program_transform_name=s,x,x,
1711 silent=
1712 site=
1713 srcdir=
1714 verbose=
1715 x_includes=NONE
1716 x_libraries=NONE
1718 # Installation directory options.
1719 # These are left unexpanded so users can "make install exec_prefix=/foo"
1720 # and all the variables that are supposed to be based on exec_prefix
1721 # by default will actually change.
1722 # Use braces instead of parens because sh, perl, etc. also accept them.
1723 # (The list follows the same order as the GNU Coding Standards.)
1724 bindir='${exec_prefix}/bin'
1725 sbindir='${exec_prefix}/sbin'
1726 libexecdir='${exec_prefix}/libexec'
1727 datarootdir='${prefix}/share'
1728 datadir='${datarootdir}'
1729 sysconfdir='${prefix}/etc'
1730 sharedstatedir='${prefix}/com'
1731 localstatedir='${prefix}/var'
1732 runstatedir='${localstatedir}/run'
1733 includedir='${prefix}/include'
1734 oldincludedir='/usr/include'
1735 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1736 infodir='${datarootdir}/info'
1737 htmldir='${docdir}'
1738 dvidir='${docdir}'
1739 pdfdir='${docdir}'
1740 psdir='${docdir}'
1741 libdir='${exec_prefix}/lib'
1742 localedir='${datarootdir}/locale'
1743 mandir='${datarootdir}/man'
1745 ac_prev=
1746 ac_dashdash=
1747 for ac_option
1749 # If the previous option needs an argument, assign it.
1750 if test -n "$ac_prev"; then
1751 eval $ac_prev=\$ac_option
1752 ac_prev=
1753 continue
1756 case $ac_option in
1757 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1758 *=) ac_optarg= ;;
1759 *) ac_optarg=yes ;;
1760 esac
1762 # Accept the important Cygnus configure options, so we can diagnose typos.
1764 case $ac_dashdash$ac_option in
1766 ac_dashdash=yes ;;
1768 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1769 ac_prev=bindir ;;
1770 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1771 bindir=$ac_optarg ;;
1773 -build | --build | --buil | --bui | --bu)
1774 ac_prev=build_alias ;;
1775 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1776 build_alias=$ac_optarg ;;
1778 -cache-file | --cache-file | --cache-fil | --cache-fi \
1779 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1780 ac_prev=cache_file ;;
1781 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1782 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1783 cache_file=$ac_optarg ;;
1785 --config-cache | -C)
1786 cache_file=config.cache ;;
1788 -datadir | --datadir | --datadi | --datad)
1789 ac_prev=datadir ;;
1790 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1791 datadir=$ac_optarg ;;
1793 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1794 | --dataroo | --dataro | --datar)
1795 ac_prev=datarootdir ;;
1796 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1797 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1798 datarootdir=$ac_optarg ;;
1800 -disable-* | --disable-*)
1801 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1802 # Reject names that are not valid shell variable names.
1803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1804 as_fn_error $? "invalid feature name: $ac_useropt"
1805 ac_useropt_orig=$ac_useropt
1806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1807 case $ac_user_opts in
1809 "enable_$ac_useropt"
1810 "*) ;;
1811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1812 ac_unrecognized_sep=', ';;
1813 esac
1814 eval enable_$ac_useropt=no ;;
1816 -docdir | --docdir | --docdi | --doc | --do)
1817 ac_prev=docdir ;;
1818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1819 docdir=$ac_optarg ;;
1821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1822 ac_prev=dvidir ;;
1823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1824 dvidir=$ac_optarg ;;
1826 -enable-* | --enable-*)
1827 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1828 # Reject names that are not valid shell variable names.
1829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1830 as_fn_error $? "invalid feature name: $ac_useropt"
1831 ac_useropt_orig=$ac_useropt
1832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1833 case $ac_user_opts in
1835 "enable_$ac_useropt"
1836 "*) ;;
1837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1838 ac_unrecognized_sep=', ';;
1839 esac
1840 eval enable_$ac_useropt=\$ac_optarg ;;
1842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1844 | --exec | --exe | --ex)
1845 ac_prev=exec_prefix ;;
1846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1848 | --exec=* | --exe=* | --ex=*)
1849 exec_prefix=$ac_optarg ;;
1851 -gas | --gas | --ga | --g)
1852 # Obsolete; use --with-gas.
1853 with_gas=yes ;;
1855 -help | --help | --hel | --he | -h)
1856 ac_init_help=long ;;
1857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1858 ac_init_help=recursive ;;
1859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1860 ac_init_help=short ;;
1862 -host | --host | --hos | --ho)
1863 ac_prev=host_alias ;;
1864 -host=* | --host=* | --hos=* | --ho=*)
1865 host_alias=$ac_optarg ;;
1867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1868 ac_prev=htmldir ;;
1869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1870 | --ht=*)
1871 htmldir=$ac_optarg ;;
1873 -includedir | --includedir | --includedi | --included | --include \
1874 | --includ | --inclu | --incl | --inc)
1875 ac_prev=includedir ;;
1876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1877 | --includ=* | --inclu=* | --incl=* | --inc=*)
1878 includedir=$ac_optarg ;;
1880 -infodir | --infodir | --infodi | --infod | --info | --inf)
1881 ac_prev=infodir ;;
1882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1883 infodir=$ac_optarg ;;
1885 -libdir | --libdir | --libdi | --libd)
1886 ac_prev=libdir ;;
1887 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1888 libdir=$ac_optarg ;;
1890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1891 | --libexe | --libex | --libe)
1892 ac_prev=libexecdir ;;
1893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1894 | --libexe=* | --libex=* | --libe=*)
1895 libexecdir=$ac_optarg ;;
1897 -localedir | --localedir | --localedi | --localed | --locale)
1898 ac_prev=localedir ;;
1899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1900 localedir=$ac_optarg ;;
1902 -localstatedir | --localstatedir | --localstatedi | --localstated \
1903 | --localstate | --localstat | --localsta | --localst | --locals)
1904 ac_prev=localstatedir ;;
1905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1907 localstatedir=$ac_optarg ;;
1909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1910 ac_prev=mandir ;;
1911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1912 mandir=$ac_optarg ;;
1914 -nfp | --nfp | --nf)
1915 # Obsolete; use --without-fp.
1916 with_fp=no ;;
1918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1919 | --no-cr | --no-c | -n)
1920 no_create=yes ;;
1922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1924 no_recursion=yes ;;
1926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1928 | --oldin | --oldi | --old | --ol | --o)
1929 ac_prev=oldincludedir ;;
1930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1933 oldincludedir=$ac_optarg ;;
1935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1936 ac_prev=prefix ;;
1937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1938 prefix=$ac_optarg ;;
1940 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1941 | --program-pre | --program-pr | --program-p)
1942 ac_prev=program_prefix ;;
1943 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1945 program_prefix=$ac_optarg ;;
1947 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1948 | --program-suf | --program-su | --program-s)
1949 ac_prev=program_suffix ;;
1950 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1952 program_suffix=$ac_optarg ;;
1954 -program-transform-name | --program-transform-name \
1955 | --program-transform-nam | --program-transform-na \
1956 | --program-transform-n | --program-transform- \
1957 | --program-transform | --program-transfor \
1958 | --program-transfo | --program-transf \
1959 | --program-trans | --program-tran \
1960 | --progr-tra | --program-tr | --program-t)
1961 ac_prev=program_transform_name ;;
1962 -program-transform-name=* | --program-transform-name=* \
1963 | --program-transform-nam=* | --program-transform-na=* \
1964 | --program-transform-n=* | --program-transform-=* \
1965 | --program-transform=* | --program-transfor=* \
1966 | --program-transfo=* | --program-transf=* \
1967 | --program-trans=* | --program-tran=* \
1968 | --progr-tra=* | --program-tr=* | --program-t=*)
1969 program_transform_name=$ac_optarg ;;
1971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1972 ac_prev=pdfdir ;;
1973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1974 pdfdir=$ac_optarg ;;
1976 -psdir | --psdir | --psdi | --psd | --ps)
1977 ac_prev=psdir ;;
1978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1979 psdir=$ac_optarg ;;
1981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1982 | -silent | --silent | --silen | --sile | --sil)
1983 silent=yes ;;
1985 -runstatedir | --runstatedir | --runstatedi | --runstated \
1986 | --runstate | --runstat | --runsta | --runst | --runs \
1987 | --run | --ru | --r)
1988 ac_prev=runstatedir ;;
1989 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1990 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1991 | --run=* | --ru=* | --r=*)
1992 runstatedir=$ac_optarg ;;
1994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1995 ac_prev=sbindir ;;
1996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1997 | --sbi=* | --sb=*)
1998 sbindir=$ac_optarg ;;
2000 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2002 | --sharedst | --shareds | --shared | --share | --shar \
2003 | --sha | --sh)
2004 ac_prev=sharedstatedir ;;
2005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2008 | --sha=* | --sh=*)
2009 sharedstatedir=$ac_optarg ;;
2011 -site | --site | --sit)
2012 ac_prev=site ;;
2013 -site=* | --site=* | --sit=*)
2014 site=$ac_optarg ;;
2016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2017 ac_prev=srcdir ;;
2018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2019 srcdir=$ac_optarg ;;
2021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2022 | --syscon | --sysco | --sysc | --sys | --sy)
2023 ac_prev=sysconfdir ;;
2024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2026 sysconfdir=$ac_optarg ;;
2028 -target | --target | --targe | --targ | --tar | --ta | --t)
2029 ac_prev=target_alias ;;
2030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2031 target_alias=$ac_optarg ;;
2033 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2034 verbose=yes ;;
2036 -version | --version | --versio | --versi | --vers | -V)
2037 ac_init_version=: ;;
2039 -with-* | --with-*)
2040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2041 # Reject names that are not valid shell variable names.
2042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2043 as_fn_error $? "invalid package name: $ac_useropt"
2044 ac_useropt_orig=$ac_useropt
2045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2046 case $ac_user_opts in
2048 "with_$ac_useropt"
2049 "*) ;;
2050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2051 ac_unrecognized_sep=', ';;
2052 esac
2053 eval with_$ac_useropt=\$ac_optarg ;;
2055 -without-* | --without-*)
2056 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2057 # Reject names that are not valid shell variable names.
2058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2059 as_fn_error $? "invalid package name: $ac_useropt"
2060 ac_useropt_orig=$ac_useropt
2061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2062 case $ac_user_opts in
2064 "with_$ac_useropt"
2065 "*) ;;
2066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2067 ac_unrecognized_sep=', ';;
2068 esac
2069 eval with_$ac_useropt=no ;;
2071 --x)
2072 # Obsolete; use --with-x.
2073 with_x=yes ;;
2075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2076 | --x-incl | --x-inc | --x-in | --x-i)
2077 ac_prev=x_includes ;;
2078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2080 x_includes=$ac_optarg ;;
2082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2084 ac_prev=x_libraries ;;
2085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2087 x_libraries=$ac_optarg ;;
2089 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2090 Try \`$0 --help' for more information"
2093 *=*)
2094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2095 # Reject names that are not valid shell variable names.
2096 case $ac_envvar in #(
2097 '' | [0-9]* | *[!_$as_cr_alnum]* )
2098 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2099 esac
2100 eval $ac_envvar=\$ac_optarg
2101 export $ac_envvar ;;
2104 # FIXME: should be removed in autoconf 3.0.
2105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2108 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2111 esac
2112 done
2114 if test -n "$ac_prev"; then
2115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2116 as_fn_error $? "missing argument to $ac_option"
2119 if test -n "$ac_unrecognized_opts"; then
2120 case $enable_option_checking in
2121 no) ;;
2122 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2124 esac
2127 # Check all directory arguments for consistency.
2128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2129 datadir sysconfdir sharedstatedir localstatedir includedir \
2130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2131 libdir localedir mandir runstatedir
2133 eval ac_val=\$$ac_var
2134 # Remove trailing slashes.
2135 case $ac_val in
2136 */ )
2137 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2138 eval $ac_var=\$ac_val;;
2139 esac
2140 # Be sure to have absolute directory names.
2141 case $ac_val in
2142 [\\/$]* | ?:[\\/]* ) continue;;
2143 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2144 esac
2145 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2146 done
2148 # There might be people who depend on the old broken behavior: `$host'
2149 # used to hold the argument of --host etc.
2150 # FIXME: To remove some day.
2151 build=$build_alias
2152 host=$host_alias
2153 target=$target_alias
2155 # FIXME: To remove some day.
2156 if test "x$host_alias" != x; then
2157 if test "x$build_alias" = x; then
2158 cross_compiling=maybe
2159 elif test "x$build_alias" != "x$host_alias"; then
2160 cross_compiling=yes
2164 ac_tool_prefix=
2165 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2167 test "$silent" = yes && exec 6>/dev/null
2170 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2171 ac_ls_di=`ls -di .` &&
2172 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2173 as_fn_error $? "working directory cannot be determined"
2174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2175 as_fn_error $? "pwd does not report name of working directory"
2178 # Find the source files, if location was not specified.
2179 if test -z "$srcdir"; then
2180 ac_srcdir_defaulted=yes
2181 # Try the directory containing this script, then the parent directory.
2182 ac_confdir=`$as_dirname -- "$as_myself" ||
2183 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2184 X"$as_myself" : 'X\(//\)[^/]' \| \
2185 X"$as_myself" : 'X\(//\)$' \| \
2186 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2187 $as_echo X"$as_myself" |
2188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2189 s//\1/
2192 /^X\(\/\/\)[^/].*/{
2193 s//\1/
2196 /^X\(\/\/\)$/{
2197 s//\1/
2200 /^X\(\/\).*/{
2201 s//\1/
2204 s/.*/./; q'`
2205 srcdir=$ac_confdir
2206 if test ! -r "$srcdir/$ac_unique_file"; then
2207 srcdir=..
2209 else
2210 ac_srcdir_defaulted=no
2212 if test ! -r "$srcdir/$ac_unique_file"; then
2213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2214 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2216 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2217 ac_abs_confdir=`(
2218 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2219 pwd)`
2220 # When building in place, set srcdir=.
2221 if test "$ac_abs_confdir" = "$ac_pwd"; then
2222 srcdir=.
2224 # Remove unnecessary trailing slashes from srcdir.
2225 # Double slashes in file names in object file debugging info
2226 # mess up M-x gdb in Emacs.
2227 case $srcdir in
2228 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2229 esac
2230 for ac_var in $ac_precious_vars; do
2231 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2232 eval ac_env_${ac_var}_value=\$${ac_var}
2233 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2234 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2235 done
2238 # Report the --help message.
2240 if test "$ac_init_help" = "long"; then
2241 # Omit some internal or obsolete options to make the list less imposing.
2242 # This message is too long to be a string in the A/UX 3.1 sh.
2243 cat <<_ACEOF
2244 \`configure' configures Wine 2.9 to adapt to many kinds of systems.
2246 Usage: $0 [OPTION]... [VAR=VALUE]...
2248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2249 VAR=VALUE. See below for descriptions of some of the useful variables.
2251 Defaults for the options are specified in brackets.
2253 Configuration:
2254 -h, --help display this help and exit
2255 --help=short display options specific to this package
2256 --help=recursive display the short help of all the included packages
2257 -V, --version display version information and exit
2258 -q, --quiet, --silent do not print \`checking ...' messages
2259 --cache-file=FILE cache test results in FILE [disabled]
2260 -C, --config-cache alias for \`--cache-file=config.cache'
2261 -n, --no-create do not create output files
2262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2264 Installation directories:
2265 --prefix=PREFIX install architecture-independent files in PREFIX
2266 [$ac_default_prefix]
2267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2268 [PREFIX]
2270 By default, \`make install' will install all the files in
2271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2273 for instance \`--prefix=\$HOME'.
2275 For better control, use the options below.
2277 Fine tuning of the installation directories:
2278 --bindir=DIR user executables [EPREFIX/bin]
2279 --sbindir=DIR system admin executables [EPREFIX/sbin]
2280 --libexecdir=DIR program executables [EPREFIX/libexec]
2281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2284 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2285 --libdir=DIR object code libraries [EPREFIX/lib]
2286 --includedir=DIR C header files [PREFIX/include]
2287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2290 --infodir=DIR info documentation [DATAROOTDIR/info]
2291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2292 --mandir=DIR man documentation [DATAROOTDIR/man]
2293 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2294 --htmldir=DIR html documentation [DOCDIR]
2295 --dvidir=DIR dvi documentation [DOCDIR]
2296 --pdfdir=DIR pdf documentation [DOCDIR]
2297 --psdir=DIR ps documentation [DOCDIR]
2298 _ACEOF
2300 cat <<\_ACEOF
2302 X features:
2303 --x-includes=DIR X include files are in DIR
2304 --x-libraries=DIR X library files are in DIR
2306 System types:
2307 --build=BUILD configure for building on BUILD [guessed]
2308 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2309 _ACEOF
2312 if test -n "$ac_init_help"; then
2313 case $ac_init_help in
2314 short | recursive ) echo "Configuration of Wine 2.9:";;
2315 esac
2316 cat <<\_ACEOF
2318 Optional Features:
2319 --disable-option-checking ignore unrecognized --enable/--with options
2320 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2321 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2322 --disable-win16 do not include Win16 support
2323 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2324 binaries)
2325 --disable-tests do not build the regression tests
2326 --enable-maintainer-mode
2327 enable maintainer-specific build rules
2328 --disable-largefile omit support for large files
2330 Optional Packages:
2331 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2332 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2333 --without-alsa do not use the Alsa sound support
2334 --without-capi do not use CAPI (ISDN support)
2335 --without-cms do not use CMS (color management support)
2336 --without-coreaudio do not use the CoreAudio sound support
2337 --without-cups do not use CUPS
2338 --without-curses do not use (n)curses
2339 --without-dbus do not use DBus (dynamic device support)
2340 --without-fontconfig do not use fontconfig
2341 --without-freetype do not use the FreeType library
2342 --without-gettext do not use gettext
2343 --with-gettextpo use the GetTextPO library to rebuild po files
2344 --without-gphoto do not use gphoto (Digital Camera support)
2345 --without-glu do not use the GLU library
2346 --without-gnutls do not use GnuTLS (schannel support)
2347 --without-gsm do not use libgsm (GSM 06.10 codec support)
2348 --without-gstreamer do not use GStreamer (codecs support)
2349 --without-hal do not use HAL (dynamic device support)
2350 --without-jpeg do not use JPEG
2351 --without-ldap do not use LDAP
2352 --without-mpg123 do not use the mpg123 library
2353 --without-netapi do not use the Samba NetAPI library
2354 --without-openal do not use OpenAL
2355 --without-opencl do not use OpenCL
2356 --without-opengl do not use OpenGL
2357 --without-osmesa do not use the OSMesa library
2358 --without-oss do not use the OSS sound support
2359 --without-pcap do not use the Packet Capture library
2360 --without-png do not use PNG
2361 --without-pthread do not use the pthread library
2362 --without-pulse do not use PulseAudio sound support
2363 --without-sane do not use SANE (scanner support)
2364 --without-tiff do not use TIFF
2365 --without-udev do not use udev (plug and play support)
2366 --without-v4l do not use v4l1 (v4l support)
2367 --without-xcomposite do not use the Xcomposite extension
2368 --without-xcursor do not use the Xcursor extension
2369 --without-xfixes do not use Xfixes for clipboard change notifications
2370 --without-xinerama do not use Xinerama (multi-monitor support)
2371 --without-xinput do not use the Xinput extension
2372 --without-xinput2 do not use the Xinput 2 extension
2373 --without-xml do not use XML
2374 --without-xrandr do not use Xrandr (resolution changes)
2375 --without-xrender do not use the Xrender extension
2376 --without-xshape do not use the Xshape extension
2377 --without-xshm do not use XShm (shared memory extension)
2378 --without-xslt do not use XSLT
2379 --without-xxf86vm do not use XFree video mode extension
2380 --without-zlib do not use Zlib (data compression)
2381 --with-wine-tools=DIR use Wine tools from directory DIR
2382 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2383 --with-x use the X Window System
2385 Some influential environment variables:
2386 CC C compiler command
2387 CFLAGS C compiler flags
2388 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2389 nonstandard directory <lib dir>
2390 LIBS libraries to pass to the linker, e.g. -l<library>
2391 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2392 you have headers in a nonstandard directory <include dir>
2393 CXX C++ compiler command
2394 CXXFLAGS C++ compiler flags
2395 CPP C preprocessor
2396 XMKMF Path to xmkmf, Makefile generator for X Window System
2397 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2398 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2399 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2400 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2401 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2402 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2403 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2404 HAL_LIBS Linker flags for hal, overriding pkg-config
2405 GNUTLS_CFLAGS
2406 C compiler flags for gnutls, overriding pkg-config
2407 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2408 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2409 SANE_LIBS Linker flags for libsane, overriding pkg-config
2410 GPHOTO2_CFLAGS
2411 C compiler flags for libgphoto2, overriding pkg-config
2412 GPHOTO2_LIBS
2413 Linker flags for libgphoto2, overriding pkg-config
2414 GPHOTO2_PORT_CFLAGS
2415 C compiler flags for libgphoto2_port, overriding pkg-config
2416 GPHOTO2_PORT_LIBS
2417 Linker flags for libgphoto2_port, overriding pkg-config
2418 LCMS2_CFLAGS
2419 C compiler flags for lcms2, overriding pkg-config
2420 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2421 FREETYPE_CFLAGS
2422 C compiler flags for freetype2, overriding pkg-config
2423 FREETYPE_LIBS
2424 Linker flags for freetype2, overriding pkg-config
2425 PULSE_CFLAGS
2426 C compiler flags for libpulse, overriding pkg-config
2427 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2428 GSTREAMER_CFLAGS
2429 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2430 gstreamer-audio-1.0, overriding pkg-config
2431 GSTREAMER_LIBS
2432 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2433 gstreamer-audio-1.0, overriding pkg-config
2434 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2435 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2436 CAPI20_CFLAGS
2437 C compiler flags for capi20, overriding pkg-config
2438 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2439 FONTCONFIG_CFLAGS
2440 C compiler flags for fontconfig, overriding pkg-config
2441 FONTCONFIG_LIBS
2442 Linker flags for fontconfig, overriding pkg-config
2443 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2444 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2445 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2446 PNG_LIBS Linker flags for libpng, overriding pkg-config
2447 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2448 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2449 MPG123_CFLAGS
2450 C compiler flags for libmpg123, overriding pkg-config
2451 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2452 NETAPI_CFLAGS
2453 C compiler flags for netapi, overriding pkg-config
2454 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2456 Use these variables to override the choices made by `configure' or to help
2457 it to find libraries and programs with nonstandard names/locations.
2459 Report bugs to <wine-devel@winehq.org>.
2460 Wine home page: <http://www.winehq.org>.
2461 _ACEOF
2462 ac_status=$?
2465 if test "$ac_init_help" = "recursive"; then
2466 # If there are subdirs, report their specific --help.
2467 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2468 test -d "$ac_dir" ||
2469 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2470 continue
2471 ac_builddir=.
2473 case "$ac_dir" in
2474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2477 # A ".." for each directory in $ac_dir_suffix.
2478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2479 case $ac_top_builddir_sub in
2480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2482 esac ;;
2483 esac
2484 ac_abs_top_builddir=$ac_pwd
2485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2486 # for backward compatibility:
2487 ac_top_builddir=$ac_top_build_prefix
2489 case $srcdir in
2490 .) # We are building in place.
2491 ac_srcdir=.
2492 ac_top_srcdir=$ac_top_builddir_sub
2493 ac_abs_top_srcdir=$ac_pwd ;;
2494 [\\/]* | ?:[\\/]* ) # Absolute name.
2495 ac_srcdir=$srcdir$ac_dir_suffix;
2496 ac_top_srcdir=$srcdir
2497 ac_abs_top_srcdir=$srcdir ;;
2498 *) # Relative name.
2499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2500 ac_top_srcdir=$ac_top_build_prefix$srcdir
2501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2502 esac
2503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2505 cd "$ac_dir" || { ac_status=$?; continue; }
2506 # Check for guested configure.
2507 if test -f "$ac_srcdir/configure.gnu"; then
2508 echo &&
2509 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2510 elif test -f "$ac_srcdir/configure"; then
2511 echo &&
2512 $SHELL "$ac_srcdir/configure" --help=recursive
2513 else
2514 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2515 fi || ac_status=$?
2516 cd "$ac_pwd" || { ac_status=$?; break; }
2517 done
2520 test -n "$ac_init_help" && exit $ac_status
2521 if $ac_init_version; then
2522 cat <<\_ACEOF
2523 Wine configure 2.9
2524 generated by GNU Autoconf 2.69
2526 Copyright (C) 2012 Free Software Foundation, Inc.
2527 This configure script is free software; the Free Software Foundation
2528 gives unlimited permission to copy, distribute and modify it.
2529 _ACEOF
2530 exit
2533 ## ------------------------ ##
2534 ## Autoconf initialization. ##
2535 ## ------------------------ ##
2537 # ac_fn_c_try_compile LINENO
2538 # --------------------------
2539 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2540 ac_fn_c_try_compile ()
2542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2543 rm -f conftest.$ac_objext
2544 if { { ac_try="$ac_compile"
2545 case "(($ac_try" in
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2548 esac
2549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550 $as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_compile") 2>conftest.err
2552 ac_status=$?
2553 if test -s conftest.err; then
2554 grep -v '^ *+' conftest.err >conftest.er1
2555 cat conftest.er1 >&5
2556 mv -f conftest.er1 conftest.err
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } && {
2560 test -z "$ac_c_werror_flag" ||
2561 test ! -s conftest.err
2562 } && test -s conftest.$ac_objext; then :
2563 ac_retval=0
2564 else
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 ac_retval=1
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 as_fn_set_status $ac_retval
2573 } # ac_fn_c_try_compile
2575 # ac_fn_cxx_try_compile LINENO
2576 # ----------------------------
2577 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2578 ac_fn_cxx_try_compile ()
2580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581 rm -f conftest.$ac_objext
2582 if { { ac_try="$ac_compile"
2583 case "(($ac_try" in
2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2586 esac
2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588 $as_echo "$ac_try_echo"; } >&5
2589 (eval "$ac_compile") 2>conftest.err
2590 ac_status=$?
2591 if test -s conftest.err; then
2592 grep -v '^ *+' conftest.err >conftest.er1
2593 cat conftest.er1 >&5
2594 mv -f conftest.er1 conftest.err
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; } && {
2598 test -z "$ac_cxx_werror_flag" ||
2599 test ! -s conftest.err
2600 } && test -s conftest.$ac_objext; then :
2601 ac_retval=0
2602 else
2603 $as_echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2606 ac_retval=1
2608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2609 as_fn_set_status $ac_retval
2611 } # ac_fn_cxx_try_compile
2613 # ac_fn_c_try_link LINENO
2614 # -----------------------
2615 # Try to link conftest.$ac_ext, and return whether this succeeded.
2616 ac_fn_c_try_link ()
2618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2619 rm -f conftest.$ac_objext conftest$ac_exeext
2620 if { { ac_try="$ac_link"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_link") 2>conftest.err
2628 ac_status=$?
2629 if test -s conftest.err; then
2630 grep -v '^ *+' conftest.err >conftest.er1
2631 cat conftest.er1 >&5
2632 mv -f conftest.er1 conftest.err
2634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2635 test $ac_status = 0; } && {
2636 test -z "$ac_c_werror_flag" ||
2637 test ! -s conftest.err
2638 } && test -s conftest$ac_exeext && {
2639 test "$cross_compiling" = yes ||
2640 test -x conftest$ac_exeext
2641 }; then :
2642 ac_retval=0
2643 else
2644 $as_echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2647 ac_retval=1
2649 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2650 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2651 # interfere with the next link command; also delete a directory that is
2652 # left behind by Apple's compiler. We do this before executing the actions.
2653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 as_fn_set_status $ac_retval
2657 } # ac_fn_c_try_link
2659 # ac_fn_c_try_cpp LINENO
2660 # ----------------------
2661 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2662 ac_fn_c_try_cpp ()
2664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2665 if { { ac_try="$ac_cpp conftest.$ac_ext"
2666 case "(($ac_try" in
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2669 esac
2670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2671 $as_echo "$ac_try_echo"; } >&5
2672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2673 ac_status=$?
2674 if test -s conftest.err; then
2675 grep -v '^ *+' conftest.err >conftest.er1
2676 cat conftest.er1 >&5
2677 mv -f conftest.er1 conftest.err
2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2680 test $ac_status = 0; } > conftest.i && {
2681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2682 test ! -s conftest.err
2683 }; then :
2684 ac_retval=0
2685 else
2686 $as_echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.$ac_ext >&5
2689 ac_retval=1
2691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2692 as_fn_set_status $ac_retval
2694 } # ac_fn_c_try_cpp
2696 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2697 # -------------------------------------------------------
2698 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2699 # the include files in INCLUDES and setting the cache variable VAR
2700 # accordingly.
2701 ac_fn_c_check_header_mongrel ()
2703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2704 if eval \${$3+:} false; then :
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2706 $as_echo_n "checking for $2... " >&6; }
2707 if eval \${$3+:} false; then :
2708 $as_echo_n "(cached) " >&6
2710 eval ac_res=\$$3
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2712 $as_echo "$ac_res" >&6; }
2713 else
2714 # Is the header compilable?
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2716 $as_echo_n "checking $2 usability... " >&6; }
2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2720 #include <$2>
2721 _ACEOF
2722 if ac_fn_c_try_compile "$LINENO"; then :
2723 ac_header_compiler=yes
2724 else
2725 ac_header_compiler=no
2727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2729 $as_echo "$ac_header_compiler" >&6; }
2731 # Is the header present?
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2733 $as_echo_n "checking $2 presence... " >&6; }
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2736 #include <$2>
2737 _ACEOF
2738 if ac_fn_c_try_cpp "$LINENO"; then :
2739 ac_header_preproc=yes
2740 else
2741 ac_header_preproc=no
2743 rm -f conftest.err conftest.i conftest.$ac_ext
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2745 $as_echo "$ac_header_preproc" >&6; }
2747 # So? What about this header?
2748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2749 yes:no: )
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2751 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2753 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2755 no:yes:* )
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2757 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2759 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2761 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2763 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2765 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2766 ( $as_echo "## ------------------------------------ ##
2767 ## Report this to wine-devel@winehq.org ##
2768 ## ------------------------------------ ##"
2769 ) | sed "s/^/$as_me: WARNING: /" >&2
2771 esac
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval \${$3+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 eval "$3=\$ac_header_compiler"
2779 eval ac_res=\$$3
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2781 $as_echo "$ac_res" >&6; }
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 } # ac_fn_c_check_header_mongrel
2787 # ac_fn_c_try_run LINENO
2788 # ----------------------
2789 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2790 # that executables *can* be run.
2791 ac_fn_c_try_run ()
2793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2794 if { { ac_try="$ac_link"
2795 case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 $as_echo "$ac_try_echo"; } >&5
2801 (eval "$ac_link") 2>&5
2802 ac_status=$?
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2805 { { case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_try") 2>&5
2812 ac_status=$?
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; }; }; then :
2815 ac_retval=0
2816 else
2817 $as_echo "$as_me: program exited with status $ac_status" >&5
2818 $as_echo "$as_me: failed program was:" >&5
2819 sed 's/^/| /' conftest.$ac_ext >&5
2821 ac_retval=$ac_status
2823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_run
2829 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2830 # -------------------------------------------------------
2831 # Tests whether HEADER exists and can be compiled using the include files in
2832 # INCLUDES, setting the cache variable VAR accordingly.
2833 ac_fn_c_check_header_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2837 $as_echo_n "checking for $2... " >&6; }
2838 if eval \${$3+:} false; then :
2839 $as_echo_n "(cached) " >&6
2840 else
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2844 #include <$2>
2845 _ACEOF
2846 if ac_fn_c_try_compile "$LINENO"; then :
2847 eval "$3=yes"
2848 else
2849 eval "$3=no"
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2853 eval ac_res=\$$3
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2855 $as_echo "$ac_res" >&6; }
2856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2858 } # ac_fn_c_check_header_compile
2860 # ac_fn_c_check_func LINENO FUNC VAR
2861 # ----------------------------------
2862 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2863 ac_fn_c_check_func ()
2865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2867 $as_echo_n "checking for $2... " >&6; }
2868 if eval \${$3+:} false; then :
2869 $as_echo_n "(cached) " >&6
2870 else
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2873 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2875 #define $2 innocuous_$2
2877 /* System header to define __stub macros and hopefully few prototypes,
2878 which can conflict with char $2 (); below.
2879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2880 <limits.h> exists even on freestanding compilers. */
2882 #ifdef __STDC__
2883 # include <limits.h>
2884 #else
2885 # include <assert.h>
2886 #endif
2888 #undef $2
2890 /* Override any GCC internal prototype to avoid an error.
2891 Use char because int might match the return type of a GCC
2892 builtin and then its argument prototype would still apply. */
2893 #ifdef __cplusplus
2894 extern "C"
2895 #endif
2896 char $2 ();
2897 /* The GNU C library defines this for functions which it implements
2898 to always fail with ENOSYS. Some functions are actually named
2899 something starting with __ and the normal name is an alias. */
2900 #if defined __stub_$2 || defined __stub___$2
2901 choke me
2902 #endif
2905 main ()
2907 return $2 ();
2909 return 0;
2911 _ACEOF
2912 if ac_fn_c_try_link "$LINENO"; then :
2913 eval "$3=yes"
2914 else
2915 eval "$3=no"
2917 rm -f core conftest.err conftest.$ac_objext \
2918 conftest$ac_exeext conftest.$ac_ext
2920 eval ac_res=\$$3
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2922 $as_echo "$ac_res" >&6; }
2923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2925 } # ac_fn_c_check_func
2927 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2928 # ----------------------------------------------------
2929 # Tries to find if the field MEMBER exists in type AGGR, after including
2930 # INCLUDES, setting cache variable VAR accordingly.
2931 ac_fn_c_check_member ()
2933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2935 $as_echo_n "checking for $2.$3... " >&6; }
2936 if eval \${$4+:} false; then :
2937 $as_echo_n "(cached) " >&6
2938 else
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2943 main ()
2945 static $2 ac_aggr;
2946 if (ac_aggr.$3)
2947 return 0;
2949 return 0;
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953 eval "$4=yes"
2954 else
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2959 main ()
2961 static $2 ac_aggr;
2962 if (sizeof ac_aggr.$3)
2963 return 0;
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 eval "$4=yes"
2970 else
2971 eval "$4=no"
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 eval ac_res=\$$4
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 $as_echo "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_member
2984 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2985 # -------------------------------------------
2986 # Tests whether TYPE exists after having included INCLUDES, setting cache
2987 # variable VAR accordingly.
2988 ac_fn_c_check_type ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2992 $as_echo_n "checking for $2... " >&6; }
2993 if eval \${$3+:} false; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 eval "$3=no"
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3001 main ()
3003 if (sizeof ($2))
3004 return 0;
3006 return 0;
3008 _ACEOF
3009 if ac_fn_c_try_compile "$LINENO"; then :
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3014 main ()
3016 if (sizeof (($2)))
3017 return 0;
3019 return 0;
3021 _ACEOF
3022 if ac_fn_c_try_compile "$LINENO"; then :
3024 else
3025 eval "$3=yes"
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 eval ac_res=\$$3
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3033 $as_echo "$ac_res" >&6; }
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3036 } # ac_fn_c_check_type
3037 cat >config.log <<_ACEOF
3038 This file contains any messages produced by compilers while
3039 running configure, to aid debugging if configure makes a mistake.
3041 It was created by Wine $as_me 2.9, which was
3042 generated by GNU Autoconf 2.69. Invocation command line was
3044 $ $0 $@
3046 _ACEOF
3047 exec 5>>config.log
3049 cat <<_ASUNAME
3050 ## --------- ##
3051 ## Platform. ##
3052 ## --------- ##
3054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3071 _ASUNAME
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 for as_dir in $PATH
3076 IFS=$as_save_IFS
3077 test -z "$as_dir" && as_dir=.
3078 $as_echo "PATH: $as_dir"
3079 done
3080 IFS=$as_save_IFS
3082 } >&5
3084 cat >&5 <<_ACEOF
3087 ## ----------- ##
3088 ## Core tests. ##
3089 ## ----------- ##
3091 _ACEOF
3094 # Keep a trace of the command line.
3095 # Strip out --no-create and --no-recursion so they do not pile up.
3096 # Strip out --silent because we don't want to record it for future runs.
3097 # Also quote any args containing shell meta-characters.
3098 # Make two passes to allow for proper duplicate-argument suppression.
3099 ac_configure_args=
3100 ac_configure_args0=
3101 ac_configure_args1=
3102 ac_must_keep_next=false
3103 for ac_pass in 1 2
3105 for ac_arg
3107 case $ac_arg in
3108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3110 | -silent | --silent | --silen | --sile | --sil)
3111 continue ;;
3112 *\'*)
3113 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3114 esac
3115 case $ac_pass in
3116 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3118 as_fn_append ac_configure_args1 " '$ac_arg'"
3119 if test $ac_must_keep_next = true; then
3120 ac_must_keep_next=false # Got value, back to normal.
3121 else
3122 case $ac_arg in
3123 *=* | --config-cache | -C | -disable-* | --disable-* \
3124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3126 | -with-* | --with-* | -without-* | --without-* | --x)
3127 case "$ac_configure_args0 " in
3128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3129 esac
3131 -* ) ac_must_keep_next=true ;;
3132 esac
3134 as_fn_append ac_configure_args " '$ac_arg'"
3136 esac
3137 done
3138 done
3139 { ac_configure_args0=; unset ac_configure_args0;}
3140 { ac_configure_args1=; unset ac_configure_args1;}
3142 # When interrupted or exit'd, cleanup temporary files, and complete
3143 # config.log. We remove comments because anyway the quotes in there
3144 # would cause problems or look ugly.
3145 # WARNING: Use '\'' to represent an apostrophe within the trap.
3146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3147 trap 'exit_status=$?
3148 # Save into config.log some information that might help in debugging.
3150 echo
3152 $as_echo "## ---------------- ##
3153 ## Cache variables. ##
3154 ## ---------------- ##"
3155 echo
3156 # The following way of writing the cache mishandles newlines in values,
3158 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3159 eval ac_val=\$$ac_var
3160 case $ac_val in #(
3161 *${as_nl}*)
3162 case $ac_var in #(
3163 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3164 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3165 esac
3166 case $ac_var in #(
3167 _ | IFS | as_nl) ;; #(
3168 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3169 *) { eval $ac_var=; unset $ac_var;} ;;
3170 esac ;;
3171 esac
3172 done
3173 (set) 2>&1 |
3174 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3175 *${as_nl}ac_space=\ *)
3176 sed -n \
3177 "s/'\''/'\''\\\\'\'''\''/g;
3178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3179 ;; #(
3181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3183 esac |
3184 sort
3186 echo
3188 $as_echo "## ----------------- ##
3189 ## Output variables. ##
3190 ## ----------------- ##"
3191 echo
3192 for ac_var in $ac_subst_vars
3194 eval ac_val=\$$ac_var
3195 case $ac_val in
3196 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3197 esac
3198 $as_echo "$ac_var='\''$ac_val'\''"
3199 done | sort
3200 echo
3202 if test -n "$ac_subst_files"; then
3203 $as_echo "## ------------------- ##
3204 ## File substitutions. ##
3205 ## ------------------- ##"
3206 echo
3207 for ac_var in $ac_subst_files
3209 eval ac_val=\$$ac_var
3210 case $ac_val in
3211 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3212 esac
3213 $as_echo "$ac_var='\''$ac_val'\''"
3214 done | sort
3215 echo
3218 if test -s confdefs.h; then
3219 $as_echo "## ----------- ##
3220 ## confdefs.h. ##
3221 ## ----------- ##"
3222 echo
3223 cat confdefs.h
3224 echo
3226 test "$ac_signal" != 0 &&
3227 $as_echo "$as_me: caught signal $ac_signal"
3228 $as_echo "$as_me: exit $exit_status"
3229 } >&5
3230 rm -f core *.core core.conftest.* &&
3231 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3232 exit $exit_status
3234 for ac_signal in 1 2 13 15; do
3235 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3236 done
3237 ac_signal=0
3239 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3240 rm -f -r conftest* confdefs.h
3242 $as_echo "/* confdefs.h */" > confdefs.h
3244 # Predefined preprocessor variables.
3246 cat >>confdefs.h <<_ACEOF
3247 #define PACKAGE_NAME "$PACKAGE_NAME"
3248 _ACEOF
3250 cat >>confdefs.h <<_ACEOF
3251 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3252 _ACEOF
3254 cat >>confdefs.h <<_ACEOF
3255 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3256 _ACEOF
3258 cat >>confdefs.h <<_ACEOF
3259 #define PACKAGE_STRING "$PACKAGE_STRING"
3260 _ACEOF
3262 cat >>confdefs.h <<_ACEOF
3263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3264 _ACEOF
3266 cat >>confdefs.h <<_ACEOF
3267 #define PACKAGE_URL "$PACKAGE_URL"
3268 _ACEOF
3271 # Let the site file select an alternate cache file if it wants to.
3272 # Prefer an explicitly selected file to automatically selected ones.
3273 ac_site_file1=NONE
3274 ac_site_file2=NONE
3275 if test -n "$CONFIG_SITE"; then
3276 # We do not want a PATH search for config.site.
3277 case $CONFIG_SITE in #((
3278 -*) ac_site_file1=./$CONFIG_SITE;;
3279 */*) ac_site_file1=$CONFIG_SITE;;
3280 *) ac_site_file1=./$CONFIG_SITE;;
3281 esac
3282 elif test "x$prefix" != xNONE; then
3283 ac_site_file1=$prefix/share/config.site
3284 ac_site_file2=$prefix/etc/config.site
3285 else
3286 ac_site_file1=$ac_default_prefix/share/config.site
3287 ac_site_file2=$ac_default_prefix/etc/config.site
3289 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3291 test "x$ac_site_file" = xNONE && continue
3292 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3294 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3295 sed 's/^/| /' "$ac_site_file" >&5
3296 . "$ac_site_file" \
3297 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3299 as_fn_error $? "failed to load site script $ac_site_file
3300 See \`config.log' for more details" "$LINENO" 5; }
3302 done
3304 if test -r "$cache_file"; then
3305 # Some versions of bash will fail to source /dev/null (special files
3306 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3307 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3309 $as_echo "$as_me: loading cache $cache_file" >&6;}
3310 case $cache_file in
3311 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3312 *) . "./$cache_file";;
3313 esac
3315 else
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3317 $as_echo "$as_me: creating cache $cache_file" >&6;}
3318 >$cache_file
3321 # Check that the precious variables saved in the cache have kept the same
3322 # value.
3323 ac_cache_corrupted=false
3324 for ac_var in $ac_precious_vars; do
3325 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3326 eval ac_new_set=\$ac_env_${ac_var}_set
3327 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3328 eval ac_new_val=\$ac_env_${ac_var}_value
3329 case $ac_old_set,$ac_new_set in
3330 set,)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3332 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3333 ac_cache_corrupted=: ;;
3334 ,set)
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3336 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3337 ac_cache_corrupted=: ;;
3338 ,);;
3340 if test "x$ac_old_val" != "x$ac_new_val"; then
3341 # differences in whitespace do not lead to failure.
3342 ac_old_val_w=`echo x $ac_old_val`
3343 ac_new_val_w=`echo x $ac_new_val`
3344 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3346 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3347 ac_cache_corrupted=:
3348 else
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3350 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3351 eval $ac_var=\$ac_old_val
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3354 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3356 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3357 fi;;
3358 esac
3359 # Pass precious variables to config.status.
3360 if test "$ac_new_set" = set; then
3361 case $ac_new_val in
3362 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3363 *) ac_arg=$ac_var=$ac_new_val ;;
3364 esac
3365 case " $ac_configure_args " in
3366 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3367 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3368 esac
3370 done
3371 if $ac_cache_corrupted; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3375 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3376 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3378 ## -------------------- ##
3379 ## Main body of script. ##
3380 ## -------------------- ##
3382 ac_ext=c
3383 ac_cpp='$CPP $CPPFLAGS'
3384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3390 ac_config_headers="$ac_config_headers include/config.h"
3392 ac_aux_dir=
3393 for ac_dir in tools "$srcdir"/tools; do
3394 if test -f "$ac_dir/install-sh"; then
3395 ac_aux_dir=$ac_dir
3396 ac_install_sh="$ac_aux_dir/install-sh -c"
3397 break
3398 elif test -f "$ac_dir/install.sh"; then
3399 ac_aux_dir=$ac_dir
3400 ac_install_sh="$ac_aux_dir/install.sh -c"
3401 break
3402 elif test -f "$ac_dir/shtool"; then
3403 ac_aux_dir=$ac_dir
3404 ac_install_sh="$ac_aux_dir/shtool install -c"
3405 break
3407 done
3408 if test -z "$ac_aux_dir"; then
3409 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3412 # These three variables are undocumented and unsupported,
3413 # and are intended to be withdrawn in a future Autoconf release.
3414 # They can cause serious problems if a builder's source tree is in a directory
3415 # whose full name contains unusual characters.
3416 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3417 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3418 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3422 libwine_version="1.0"
3426 # Check whether --enable-win16 was given.
3427 if test "${enable_win16+set}" = set; then :
3428 enableval=$enable_win16;
3431 # Check whether --enable-win64 was given.
3432 if test "${enable_win64+set}" = set; then :
3433 enableval=$enable_win64;
3436 # Check whether --enable-tests was given.
3437 if test "${enable_tests+set}" = set; then :
3438 enableval=$enable_tests;
3441 # Check whether --enable-maintainer-mode was given.
3442 if test "${enable_maintainer_mode+set}" = set; then :
3443 enableval=$enable_maintainer_mode;
3448 # Check whether --with-alsa was given.
3449 if test "${with_alsa+set}" = set; then :
3450 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3454 # Check whether --with-capi was given.
3455 if test "${with_capi+set}" = set; then :
3456 withval=$with_capi;
3460 # Check whether --with-cms was given.
3461 if test "${with_cms+set}" = set; then :
3462 withval=$with_cms;
3466 # Check whether --with-coreaudio was given.
3467 if test "${with_coreaudio+set}" = set; then :
3468 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3472 # Check whether --with-cups was given.
3473 if test "${with_cups+set}" = set; then :
3474 withval=$with_cups;
3478 # Check whether --with-curses was given.
3479 if test "${with_curses+set}" = set; then :
3480 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3484 # Check whether --with-dbus was given.
3485 if test "${with_dbus+set}" = set; then :
3486 withval=$with_dbus;
3490 # Check whether --with-fontconfig was given.
3491 if test "${with_fontconfig+set}" = set; then :
3492 withval=$with_fontconfig;
3496 # Check whether --with-freetype was given.
3497 if test "${with_freetype+set}" = set; then :
3498 withval=$with_freetype;
3502 # Check whether --with-gettext was given.
3503 if test "${with_gettext+set}" = set; then :
3504 withval=$with_gettext;
3508 # Check whether --with-gettextpo was given.
3509 if test "${with_gettextpo+set}" = set; then :
3510 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3514 # Check whether --with-gphoto was given.
3515 if test "${with_gphoto+set}" = set; then :
3516 withval=$with_gphoto;
3520 # Check whether --with-glu was given.
3521 if test "${with_glu+set}" = set; then :
3522 withval=$with_glu;
3526 # Check whether --with-gnutls was given.
3527 if test "${with_gnutls+set}" = set; then :
3528 withval=$with_gnutls;
3532 # Check whether --with-gsm was given.
3533 if test "${with_gsm+set}" = set; then :
3534 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3538 # Check whether --with-gstreamer was given.
3539 if test "${with_gstreamer+set}" = set; then :
3540 withval=$with_gstreamer;
3544 # Check whether --with-hal was given.
3545 if test "${with_hal+set}" = set; then :
3546 withval=$with_hal;
3550 # Check whether --with-jpeg was given.
3551 if test "${with_jpeg+set}" = set; then :
3552 withval=$with_jpeg;
3556 # Check whether --with-ldap was given.
3557 if test "${with_ldap+set}" = set; then :
3558 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3562 # Check whether --with-mpg123 was given.
3563 if test "${with_mpg123+set}" = set; then :
3564 withval=$with_mpg123;
3568 # Check whether --with-netapi was given.
3569 if test "${with_netapi+set}" = set; then :
3570 withval=$with_netapi;
3574 # Check whether --with-openal was given.
3575 if test "${with_openal+set}" = set; then :
3576 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3580 # Check whether --with-opencl was given.
3581 if test "${with_opencl+set}" = set; then :
3582 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3586 # Check whether --with-opengl was given.
3587 if test "${with_opengl+set}" = set; then :
3588 withval=$with_opengl;
3592 # Check whether --with-osmesa was given.
3593 if test "${with_osmesa+set}" = set; then :
3594 withval=$with_osmesa;
3598 # Check whether --with-oss was given.
3599 if test "${with_oss+set}" = set; then :
3600 withval=$with_oss;
3604 # Check whether --with-pcap was given.
3605 if test "${with_pcap+set}" = set; then :
3606 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3610 # Check whether --with-png was given.
3611 if test "${with_png+set}" = set; then :
3612 withval=$with_png;
3616 # Check whether --with-pthread was given.
3617 if test "${with_pthread+set}" = set; then :
3618 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3622 # Check whether --with-pulse was given.
3623 if test "${with_pulse+set}" = set; then :
3624 withval=$with_pulse;
3628 # Check whether --with-sane was given.
3629 if test "${with_sane+set}" = set; then :
3630 withval=$with_sane;
3634 # Check whether --with-tiff was given.
3635 if test "${with_tiff+set}" = set; then :
3636 withval=$with_tiff;
3640 # Check whether --with-udev was given.
3641 if test "${with_udev+set}" = set; then :
3642 withval=$with_udev;
3646 # Check whether --with-v4l was given.
3647 if test "${with_v4l+set}" = set; then :
3648 withval=$with_v4l;
3652 # Check whether --with-xcomposite was given.
3653 if test "${with_xcomposite+set}" = set; then :
3654 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3658 # Check whether --with-xcursor was given.
3659 if test "${with_xcursor+set}" = set; then :
3660 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3664 # Check whether --with-xfixes was given.
3665 if test "${with_xfixes+set}" = set; then :
3666 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3670 # Check whether --with-xinerama was given.
3671 if test "${with_xinerama+set}" = set; then :
3672 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3676 # Check whether --with-xinput was given.
3677 if test "${with_xinput+set}" = set; then :
3678 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3682 # Check whether --with-xinput2 was given.
3683 if test "${with_xinput2+set}" = set; then :
3684 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3688 # Check whether --with-xml was given.
3689 if test "${with_xml+set}" = set; then :
3690 withval=$with_xml;
3694 # Check whether --with-xrandr was given.
3695 if test "${with_xrandr+set}" = set; then :
3696 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3700 # Check whether --with-xrender was given.
3701 if test "${with_xrender+set}" = set; then :
3702 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3706 # Check whether --with-xshape was given.
3707 if test "${with_xshape+set}" = set; then :
3708 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3712 # Check whether --with-xshm was given.
3713 if test "${with_xshm+set}" = set; then :
3714 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3718 # Check whether --with-xslt was given.
3719 if test "${with_xslt+set}" = set; then :
3720 withval=$with_xslt;
3724 # Check whether --with-xxf86vm was given.
3725 if test "${with_xxf86vm+set}" = set; then :
3726 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
3730 # Check whether --with-zlib was given.
3731 if test "${with_zlib+set}" = set; then :
3732 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3737 # Check whether --with-wine-tools was given.
3738 if test "${with_wine_tools+set}" = set; then :
3739 withval=$with_wine_tools;
3743 # Check whether --with-wine64 was given.
3744 if test "${with_wine64+set}" = set; then :
3745 withval=$with_wine64;
3749 # Make sure we can run config.sub.
3750 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3751 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3754 $as_echo_n "checking build system type... " >&6; }
3755 if ${ac_cv_build+:} false; then :
3756 $as_echo_n "(cached) " >&6
3757 else
3758 ac_build_alias=$build_alias
3759 test "x$ac_build_alias" = x &&
3760 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3761 test "x$ac_build_alias" = x &&
3762 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3763 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3764 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3768 $as_echo "$ac_cv_build" >&6; }
3769 case $ac_cv_build in
3770 *-*-*) ;;
3771 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3772 esac
3773 build=$ac_cv_build
3774 ac_save_IFS=$IFS; IFS='-'
3775 set x $ac_cv_build
3776 shift
3777 build_cpu=$1
3778 build_vendor=$2
3779 shift; shift
3780 # Remember, the first character of IFS is used to create $*,
3781 # except with old shells:
3782 build_os=$*
3783 IFS=$ac_save_IFS
3784 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3788 $as_echo_n "checking host system type... " >&6; }
3789 if ${ac_cv_host+:} false; then :
3790 $as_echo_n "(cached) " >&6
3791 else
3792 if test "x$host_alias" = x; then
3793 ac_cv_host=$ac_cv_build
3794 else
3795 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3796 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3801 $as_echo "$ac_cv_host" >&6; }
3802 case $ac_cv_host in
3803 *-*-*) ;;
3804 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3805 esac
3806 host=$ac_cv_host
3807 ac_save_IFS=$IFS; IFS='-'
3808 set x $ac_cv_host
3809 shift
3810 host_cpu=$1
3811 host_vendor=$2
3812 shift; shift
3813 # Remember, the first character of IFS is used to create $*,
3814 # except with old shells:
3815 host_os=$*
3816 IFS=$ac_save_IFS
3817 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3821 case "$srcdir" in
3822 .) ;;
3823 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3824 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3825 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3826 fi ;;
3827 esac
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3831 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3832 set x ${MAKE-make}
3833 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3834 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3835 $as_echo_n "(cached) " >&6
3836 else
3837 cat >conftest.make <<\_ACEOF
3838 SHELL = /bin/sh
3839 all:
3840 @echo '@@@%%%=$(MAKE)=@@@%%%'
3841 _ACEOF
3842 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3843 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3844 *@@@%%%=?*=@@@%%%*)
3845 eval ac_cv_prog_make_${ac_make}_set=yes;;
3847 eval ac_cv_prog_make_${ac_make}_set=no;;
3848 esac
3849 rm -f conftest.make
3851 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3853 $as_echo "yes" >&6; }
3854 SET_MAKE=
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3858 SET_MAKE="MAKE=${MAKE-make}"
3861 ac_ext=c
3862 ac_cpp='$CPP $CPPFLAGS'
3863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3866 if test -n "$ac_tool_prefix"; then
3867 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3868 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if ${ac_cv_prog_CC+:} false; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 if test -n "$CC"; then
3875 ac_cv_prog_CC="$CC" # Let the user override the test.
3876 else
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 for as_dir in $PATH
3880 IFS=$as_save_IFS
3881 test -z "$as_dir" && as_dir=.
3882 for ac_exec_ext in '' $ac_executable_extensions; do
3883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3884 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 break 2
3888 done
3889 done
3890 IFS=$as_save_IFS
3894 CC=$ac_cv_prog_CC
3895 if test -n "$CC"; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897 $as_echo "$CC" >&6; }
3898 else
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3905 if test -z "$ac_cv_prog_CC"; then
3906 ac_ct_CC=$CC
3907 # Extract the first word of "gcc", so it can be a program name with args.
3908 set dummy gcc; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 if test -n "$ac_ct_CC"; then
3915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3920 IFS=$as_save_IFS
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_ac_ct_CC="gcc"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 break 2
3928 done
3929 done
3930 IFS=$as_save_IFS
3934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3935 if test -n "$ac_ct_CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3937 $as_echo "$ac_ct_CC" >&6; }
3938 else
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3943 if test "x$ac_ct_CC" = x; then
3944 CC=""
3945 else
3946 case $cross_compiling:$ac_tool_warned in
3947 yes:)
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3950 ac_tool_warned=yes ;;
3951 esac
3952 CC=$ac_ct_CC
3954 else
3955 CC="$ac_cv_prog_CC"
3958 if test -z "$CC"; then
3959 if test -n "$ac_tool_prefix"; then
3960 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3961 set dummy ${ac_tool_prefix}cc; ac_word=$2
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963 $as_echo_n "checking for $ac_word... " >&6; }
3964 if ${ac_cv_prog_CC+:} false; then :
3965 $as_echo_n "(cached) " >&6
3966 else
3967 if test -n "$CC"; then
3968 ac_cv_prog_CC="$CC" # Let the user override the test.
3969 else
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 for as_dir in $PATH
3973 IFS=$as_save_IFS
3974 test -z "$as_dir" && as_dir=.
3975 for ac_exec_ext in '' $ac_executable_extensions; do
3976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_CC="${ac_tool_prefix}cc"
3978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 break 2
3981 done
3982 done
3983 IFS=$as_save_IFS
3987 CC=$ac_cv_prog_CC
3988 if test -n "$CC"; then
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3990 $as_echo "$CC" >&6; }
3991 else
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3999 if test -z "$CC"; then
4000 # Extract the first word of "cc", so it can be a program name with args.
4001 set dummy cc; ac_word=$2
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4003 $as_echo_n "checking for $ac_word... " >&6; }
4004 if ${ac_cv_prog_CC+:} false; then :
4005 $as_echo_n "(cached) " >&6
4006 else
4007 if test -n "$CC"; then
4008 ac_cv_prog_CC="$CC" # Let the user override the test.
4009 else
4010 ac_prog_rejected=no
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH
4014 IFS=$as_save_IFS
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4019 ac_prog_rejected=yes
4020 continue
4022 ac_cv_prog_CC="cc"
4023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 break 2
4026 done
4027 done
4028 IFS=$as_save_IFS
4030 if test $ac_prog_rejected = yes; then
4031 # We found a bogon in the path, so make sure we never use it.
4032 set dummy $ac_cv_prog_CC
4033 shift
4034 if test $# != 0; then
4035 # We chose a different compiler from the bogus one.
4036 # However, it has the same basename, so the bogon will be chosen
4037 # first if we set CC to just the basename; use the full file name.
4038 shift
4039 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4044 CC=$ac_cv_prog_CC
4045 if test -n "$CC"; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047 $as_echo "$CC" >&6; }
4048 else
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4055 if test -z "$CC"; then
4056 if test -n "$ac_tool_prefix"; then
4057 for ac_prog in cl.exe
4059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062 $as_echo_n "checking for $ac_word... " >&6; }
4063 if ${ac_cv_prog_CC+:} false; then :
4064 $as_echo_n "(cached) " >&6
4065 else
4066 if test -n "$CC"; then
4067 ac_cv_prog_CC="$CC" # Let the user override the test.
4068 else
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4072 IFS=$as_save_IFS
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 break 2
4080 done
4081 done
4082 IFS=$as_save_IFS
4086 CC=$ac_cv_prog_CC
4087 if test -n "$CC"; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4089 $as_echo "$CC" >&6; }
4090 else
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 $as_echo "no" >&6; }
4096 test -n "$CC" && break
4097 done
4099 if test -z "$CC"; then
4100 ac_ct_CC=$CC
4101 for ac_prog in cl.exe
4103 # Extract the first word of "$ac_prog", so it can be a program name with args.
4104 set dummy $ac_prog; ac_word=$2
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106 $as_echo_n "checking for $ac_word... " >&6; }
4107 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4108 $as_echo_n "(cached) " >&6
4109 else
4110 if test -n "$ac_ct_CC"; then
4111 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4112 else
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114 for as_dir in $PATH
4116 IFS=$as_save_IFS
4117 test -z "$as_dir" && as_dir=.
4118 for ac_exec_ext in '' $ac_executable_extensions; do
4119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120 ac_cv_prog_ac_ct_CC="$ac_prog"
4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 break 2
4124 done
4125 done
4126 IFS=$as_save_IFS
4130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4131 if test -n "$ac_ct_CC"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4133 $as_echo "$ac_ct_CC" >&6; }
4134 else
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4140 test -n "$ac_ct_CC" && break
4141 done
4143 if test "x$ac_ct_CC" = x; then
4144 CC=""
4145 else
4146 case $cross_compiling:$ac_tool_warned in
4147 yes:)
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4150 ac_tool_warned=yes ;;
4151 esac
4152 CC=$ac_ct_CC
4159 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error $? "no acceptable C compiler found in \$PATH
4162 See \`config.log' for more details" "$LINENO" 5; }
4164 # Provide some information about the compiler.
4165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4166 set X $ac_compile
4167 ac_compiler=$2
4168 for ac_option in --version -v -V -qversion; do
4169 { { ac_try="$ac_compiler $ac_option >&5"
4170 case "(($ac_try" in
4171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4173 esac
4174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4175 $as_echo "$ac_try_echo"; } >&5
4176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4177 ac_status=$?
4178 if test -s conftest.err; then
4179 sed '10a\
4180 ... rest of stderr output deleted ...
4181 10q' conftest.err >conftest.er1
4182 cat conftest.er1 >&5
4184 rm -f conftest.er1 conftest.err
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }
4187 done
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4193 main ()
4197 return 0;
4199 _ACEOF
4200 ac_clean_files_save=$ac_clean_files
4201 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4202 # Try to create an executable without -o first, disregard a.out.
4203 # It will help us diagnose broken compilers, and finding out an intuition
4204 # of exeext.
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4206 $as_echo_n "checking whether the C compiler works... " >&6; }
4207 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4209 # The possible output files:
4210 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4212 ac_rmfiles=
4213 for ac_file in $ac_files
4215 case $ac_file in
4216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4217 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4218 esac
4219 done
4220 rm -f $ac_rmfiles
4222 if { { ac_try="$ac_link_default"
4223 case "(($ac_try" in
4224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4225 *) ac_try_echo=$ac_try;;
4226 esac
4227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4228 $as_echo "$ac_try_echo"; } >&5
4229 (eval "$ac_link_default") 2>&5
4230 ac_status=$?
4231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4232 test $ac_status = 0; }; then :
4233 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4234 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4235 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4236 # so that the user can short-circuit this test for compilers unknown to
4237 # Autoconf.
4238 for ac_file in $ac_files ''
4240 test -f "$ac_file" || continue
4241 case $ac_file in
4242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4244 [ab].out )
4245 # We found the default executable, but exeext='' is most
4246 # certainly right.
4247 break;;
4248 *.* )
4249 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4250 then :; else
4251 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4253 # We set ac_cv_exeext here because the later test for it is not
4254 # safe: cross compilers may not add the suffix if given an `-o'
4255 # argument, so we may need to know it at that point already.
4256 # Even if this section looks crufty: it has the advantage of
4257 # actually working.
4258 break;;
4260 break;;
4261 esac
4262 done
4263 test "$ac_cv_exeext" = no && ac_cv_exeext=
4265 else
4266 ac_file=''
4268 if test -z "$ac_file"; then :
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4271 $as_echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.$ac_ext >&5
4274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4276 as_fn_error 77 "C compiler cannot create executables
4277 See \`config.log' for more details" "$LINENO" 5; }
4278 else
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4280 $as_echo "yes" >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4283 $as_echo_n "checking for C compiler default output file name... " >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4285 $as_echo "$ac_file" >&6; }
4286 ac_exeext=$ac_cv_exeext
4288 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4289 ac_clean_files=$ac_clean_files_save
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4291 $as_echo_n "checking for suffix of executables... " >&6; }
4292 if { { ac_try="$ac_link"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_link") 2>&5
4300 ac_status=$?
4301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }; then :
4303 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4304 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4305 # work properly (i.e., refer to `conftest.exe'), while it won't with
4306 # `rm'.
4307 for ac_file in conftest.exe conftest conftest.*; do
4308 test -f "$ac_file" || continue
4309 case $ac_file in
4310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4311 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4312 break;;
4313 * ) break;;
4314 esac
4315 done
4316 else
4317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4319 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4320 See \`config.log' for more details" "$LINENO" 5; }
4322 rm -f conftest conftest$ac_cv_exeext
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4324 $as_echo "$ac_cv_exeext" >&6; }
4326 rm -f conftest.$ac_ext
4327 EXEEXT=$ac_cv_exeext
4328 ac_exeext=$EXEEXT
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4331 #include <stdio.h>
4333 main ()
4335 FILE *f = fopen ("conftest.out", "w");
4336 return ferror (f) || fclose (f) != 0;
4339 return 0;
4341 _ACEOF
4342 ac_clean_files="$ac_clean_files conftest.out"
4343 # Check that the compiler produces executables we can run. If not, either
4344 # the compiler is broken, or we cross compile.
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4346 $as_echo_n "checking whether we are cross compiling... " >&6; }
4347 if test "$cross_compiling" != yes; then
4348 { { ac_try="$ac_link"
4349 case "(($ac_try" in
4350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4351 *) ac_try_echo=$ac_try;;
4352 esac
4353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4354 $as_echo "$ac_try_echo"; } >&5
4355 (eval "$ac_link") 2>&5
4356 ac_status=$?
4357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 test $ac_status = 0; }
4359 if { ac_try='./conftest$ac_cv_exeext'
4360 { { case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4363 esac
4364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4365 $as_echo "$ac_try_echo"; } >&5
4366 (eval "$ac_try") 2>&5
4367 ac_status=$?
4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 test $ac_status = 0; }; }; then
4370 cross_compiling=no
4371 else
4372 if test "$cross_compiling" = maybe; then
4373 cross_compiling=yes
4374 else
4375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4377 as_fn_error $? "cannot run C compiled programs.
4378 If you meant to cross compile, use \`--host'.
4379 See \`config.log' for more details" "$LINENO" 5; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4384 $as_echo "$cross_compiling" >&6; }
4386 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4387 ac_clean_files=$ac_clean_files_save
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4389 $as_echo_n "checking for suffix of object files... " >&6; }
4390 if ${ac_cv_objext+:} false; then :
4391 $as_echo_n "(cached) " >&6
4392 else
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4397 main ()
4401 return 0;
4403 _ACEOF
4404 rm -f conftest.o conftest.obj
4405 if { { ac_try="$ac_compile"
4406 case "(($ac_try" in
4407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4408 *) ac_try_echo=$ac_try;;
4409 esac
4410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4411 $as_echo "$ac_try_echo"; } >&5
4412 (eval "$ac_compile") 2>&5
4413 ac_status=$?
4414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4415 test $ac_status = 0; }; then :
4416 for ac_file in conftest.o conftest.obj conftest.*; do
4417 test -f "$ac_file" || continue;
4418 case $ac_file in
4419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4421 break;;
4422 esac
4423 done
4424 else
4425 $as_echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4430 as_fn_error $? "cannot compute suffix of object files: cannot compile
4431 See \`config.log' for more details" "$LINENO" 5; }
4433 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4436 $as_echo "$ac_cv_objext" >&6; }
4437 OBJEXT=$ac_cv_objext
4438 ac_objext=$OBJEXT
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4440 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4441 if ${ac_cv_c_compiler_gnu+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4448 main ()
4450 #ifndef __GNUC__
4451 choke me
4452 #endif
4455 return 0;
4457 _ACEOF
4458 if ac_fn_c_try_compile "$LINENO"; then :
4459 ac_compiler_gnu=yes
4460 else
4461 ac_compiler_gnu=no
4463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4468 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4469 if test $ac_compiler_gnu = yes; then
4470 GCC=yes
4471 else
4472 GCC=
4474 ac_test_CFLAGS=${CFLAGS+set}
4475 ac_save_CFLAGS=$CFLAGS
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4477 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4478 if ${ac_cv_prog_cc_g+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 ac_save_c_werror_flag=$ac_c_werror_flag
4482 ac_c_werror_flag=yes
4483 ac_cv_prog_cc_g=no
4484 CFLAGS="-g"
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4489 main ()
4493 return 0;
4495 _ACEOF
4496 if ac_fn_c_try_compile "$LINENO"; then :
4497 ac_cv_prog_cc_g=yes
4498 else
4499 CFLAGS=""
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4504 main ()
4508 return 0;
4510 _ACEOF
4511 if ac_fn_c_try_compile "$LINENO"; then :
4513 else
4514 ac_c_werror_flag=$ac_save_c_werror_flag
4515 CFLAGS="-g"
4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4520 main ()
4524 return 0;
4526 _ACEOF
4527 if ac_fn_c_try_compile "$LINENO"; then :
4528 ac_cv_prog_cc_g=yes
4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 ac_c_werror_flag=$ac_save_c_werror_flag
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4538 $as_echo "$ac_cv_prog_cc_g" >&6; }
4539 if test "$ac_test_CFLAGS" = set; then
4540 CFLAGS=$ac_save_CFLAGS
4541 elif test $ac_cv_prog_cc_g = yes; then
4542 if test "$GCC" = yes; then
4543 CFLAGS="-g -O2"
4544 else
4545 CFLAGS="-g"
4547 else
4548 if test "$GCC" = yes; then
4549 CFLAGS="-O2"
4550 else
4551 CFLAGS=
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4555 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4556 if ${ac_cv_prog_cc_c89+:} false; then :
4557 $as_echo_n "(cached) " >&6
4558 else
4559 ac_cv_prog_cc_c89=no
4560 ac_save_CC=$CC
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563 #include <stdarg.h>
4564 #include <stdio.h>
4565 struct stat;
4566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4567 struct buf { int x; };
4568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4569 static char *e (p, i)
4570 char **p;
4571 int i;
4573 return p[i];
4575 static char *f (char * (*g) (char **, int), char **p, ...)
4577 char *s;
4578 va_list v;
4579 va_start (v,p);
4580 s = g (p, va_arg (v,int));
4581 va_end (v);
4582 return s;
4585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4586 function prototypes and stuff, but not '\xHH' hex character constants.
4587 These don't provoke an error unfortunately, instead are silently treated
4588 as 'x'. The following induces an error, until -std is added to get
4589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4590 array size at least. It's necessary to write '\x00'==0 to get something
4591 that's true only with -std. */
4592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4595 inside strings and character constants. */
4596 #define FOO(x) 'x'
4597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4599 int test (int i, double x);
4600 struct s1 {int (*f) (int a);};
4601 struct s2 {int (*f) (double a);};
4602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4603 int argc;
4604 char **argv;
4606 main ()
4608 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4610 return 0;
4612 _ACEOF
4613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4614 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4616 CC="$ac_save_CC $ac_arg"
4617 if ac_fn_c_try_compile "$LINENO"; then :
4618 ac_cv_prog_cc_c89=$ac_arg
4620 rm -f core conftest.err conftest.$ac_objext
4621 test "x$ac_cv_prog_cc_c89" != "xno" && break
4622 done
4623 rm -f conftest.$ac_ext
4624 CC=$ac_save_CC
4627 # AC_CACHE_VAL
4628 case "x$ac_cv_prog_cc_c89" in
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4631 $as_echo "none needed" >&6; } ;;
4632 xno)
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4634 $as_echo "unsupported" >&6; } ;;
4636 CC="$CC $ac_cv_prog_cc_c89"
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4638 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4639 esac
4640 if test "x$ac_cv_prog_cc_c89" != xno; then :
4644 ac_ext=c
4645 ac_cpp='$CPP $CPPFLAGS'
4646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4650 ac_ext=cpp
4651 ac_cpp='$CXXCPP $CPPFLAGS'
4652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4655 if test -z "$CXX"; then
4656 if test -n "$CCC"; then
4657 CXX=$CCC
4658 else
4659 if test -n "$ac_tool_prefix"; then
4660 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_CXX+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 if test -n "$CXX"; then
4670 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4671 else
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 for as_dir in $PATH
4675 IFS=$as_save_IFS
4676 test -z "$as_dir" && as_dir=.
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 break 2
4683 done
4684 done
4685 IFS=$as_save_IFS
4689 CXX=$ac_cv_prog_CXX
4690 if test -n "$CXX"; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4692 $as_echo "$CXX" >&6; }
4693 else
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4699 test -n "$CXX" && break
4700 done
4702 if test -z "$CXX"; then
4703 ac_ct_CXX=$CXX
4704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4706 # Extract the first word of "$ac_prog", so it can be a program name with args.
4707 set dummy $ac_prog; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4711 $as_echo_n "(cached) " >&6
4712 else
4713 if test -n "$ac_ct_CXX"; then
4714 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4715 else
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4719 IFS=$as_save_IFS
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4723 ac_cv_prog_ac_ct_CXX="$ac_prog"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 break 2
4727 done
4728 done
4729 IFS=$as_save_IFS
4733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4734 if test -n "$ac_ct_CXX"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4736 $as_echo "$ac_ct_CXX" >&6; }
4737 else
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4743 test -n "$ac_ct_CXX" && break
4744 done
4746 if test "x$ac_ct_CXX" = x; then
4747 CXX="g++"
4748 else
4749 case $cross_compiling:$ac_tool_warned in
4750 yes:)
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned=yes ;;
4754 esac
4755 CXX=$ac_ct_CXX
4761 # Provide some information about the compiler.
4762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4763 set X $ac_compile
4764 ac_compiler=$2
4765 for ac_option in --version -v -V -qversion; do
4766 { { ac_try="$ac_compiler $ac_option >&5"
4767 case "(($ac_try" in
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4770 esac
4771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4772 $as_echo "$ac_try_echo"; } >&5
4773 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4774 ac_status=$?
4775 if test -s conftest.err; then
4776 sed '10a\
4777 ... rest of stderr output deleted ...
4778 10q' conftest.err >conftest.er1
4779 cat conftest.er1 >&5
4781 rm -f conftest.er1 conftest.err
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }
4784 done
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4787 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4788 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4789 $as_echo_n "(cached) " >&6
4790 else
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4795 main ()
4797 #ifndef __GNUC__
4798 choke me
4799 #endif
4802 return 0;
4804 _ACEOF
4805 if ac_fn_cxx_try_compile "$LINENO"; then :
4806 ac_compiler_gnu=yes
4807 else
4808 ac_compiler_gnu=no
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4815 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4816 if test $ac_compiler_gnu = yes; then
4817 GXX=yes
4818 else
4819 GXX=
4821 ac_test_CXXFLAGS=${CXXFLAGS+set}
4822 ac_save_CXXFLAGS=$CXXFLAGS
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4824 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4825 if ${ac_cv_prog_cxx_g+:} false; then :
4826 $as_echo_n "(cached) " >&6
4827 else
4828 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4829 ac_cxx_werror_flag=yes
4830 ac_cv_prog_cxx_g=no
4831 CXXFLAGS="-g"
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4836 main ()
4840 return 0;
4842 _ACEOF
4843 if ac_fn_cxx_try_compile "$LINENO"; then :
4844 ac_cv_prog_cxx_g=yes
4845 else
4846 CXXFLAGS=""
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4851 main ()
4855 return 0;
4857 _ACEOF
4858 if ac_fn_cxx_try_compile "$LINENO"; then :
4860 else
4861 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4862 CXXFLAGS="-g"
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4867 main ()
4871 return 0;
4873 _ACEOF
4874 if ac_fn_cxx_try_compile "$LINENO"; then :
4875 ac_cv_prog_cxx_g=yes
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4885 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4886 if test "$ac_test_CXXFLAGS" = set; then
4887 CXXFLAGS=$ac_save_CXXFLAGS
4888 elif test $ac_cv_prog_cxx_g = yes; then
4889 if test "$GXX" = yes; then
4890 CXXFLAGS="-g -O2"
4891 else
4892 CXXFLAGS="-g"
4894 else
4895 if test "$GXX" = yes; then
4896 CXXFLAGS="-O2"
4897 else
4898 CXXFLAGS=
4901 ac_ext=c
4902 ac_cpp='$CPP $CPPFLAGS'
4903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4907 if test -n "$ac_tool_prefix"; then
4908 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4909 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if ${ac_cv_prog_CPPBIN+:} false; then :
4913 $as_echo_n "(cached) " >&6
4914 else
4915 if test -n "$CPPBIN"; then
4916 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4917 else
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919 for as_dir in $PATH
4921 IFS=$as_save_IFS
4922 test -z "$as_dir" && as_dir=.
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4925 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 break 2
4929 done
4930 done
4931 IFS=$as_save_IFS
4935 CPPBIN=$ac_cv_prog_CPPBIN
4936 if test -n "$CPPBIN"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4938 $as_echo "$CPPBIN" >&6; }
4939 else
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4946 if test -z "$ac_cv_prog_CPPBIN"; then
4947 ac_ct_CPPBIN=$CPPBIN
4948 # Extract the first word of "cpp", so it can be a program name with args.
4949 set dummy cpp; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 if test -n "$ac_ct_CPPBIN"; then
4956 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4965 ac_cv_prog_ac_ct_CPPBIN="cpp"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4969 done
4970 done
4971 IFS=$as_save_IFS
4975 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4976 if test -n "$ac_ct_CPPBIN"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4978 $as_echo "$ac_ct_CPPBIN" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4984 if test "x$ac_ct_CPPBIN" = x; then
4985 CPPBIN="cpp"
4986 else
4987 case $cross_compiling:$ac_tool_warned in
4988 yes:)
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4991 ac_tool_warned=yes ;;
4992 esac
4993 CPPBIN=$ac_ct_CPPBIN
4995 else
4996 CPPBIN="$ac_cv_prog_CPPBIN"
5000 cat >>confdefs.h <<_ACEOF
5001 #define EXEEXT "$ac_exeext"
5002 _ACEOF
5004 if test -n "$ac_tool_prefix"; then
5005 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5006 set dummy ${ac_tool_prefix}ld; ac_word=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if ${ac_cv_prog_LD+:} false; then :
5010 $as_echo_n "(cached) " >&6
5011 else
5012 if test -n "$LD"; then
5013 ac_cv_prog_LD="$LD" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5018 IFS=$as_save_IFS
5019 test -z "$as_dir" && as_dir=.
5020 for ac_exec_ext in '' $ac_executable_extensions; do
5021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5022 ac_cv_prog_LD="${ac_tool_prefix}ld"
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 break 2
5026 done
5027 done
5028 IFS=$as_save_IFS
5032 LD=$ac_cv_prog_LD
5033 if test -n "$LD"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5035 $as_echo "$LD" >&6; }
5036 else
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5043 if test -z "$ac_cv_prog_LD"; then
5044 ac_ct_LD=$LD
5045 # Extract the first word of "ld", so it can be a program name with args.
5046 set dummy ld; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5050 $as_echo_n "(cached) " >&6
5051 else
5052 if test -n "$ac_ct_LD"; then
5053 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5054 else
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 for as_dir in $PATH
5058 IFS=$as_save_IFS
5059 test -z "$as_dir" && as_dir=.
5060 for ac_exec_ext in '' $ac_executable_extensions; do
5061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5062 ac_cv_prog_ac_ct_LD="ld"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 break 2
5066 done
5067 done
5068 IFS=$as_save_IFS
5072 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5073 if test -n "$ac_ct_LD"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5075 $as_echo "$ac_ct_LD" >&6; }
5076 else
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5081 if test "x$ac_ct_LD" = x; then
5082 LD=""
5083 else
5084 case $cross_compiling:$ac_tool_warned in
5085 yes:)
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5088 ac_tool_warned=yes ;;
5089 esac
5090 LD=$ac_ct_LD
5092 else
5093 LD="$ac_cv_prog_LD"
5097 case $host in
5098 *-darwin*)
5099 with_fontconfig=${with_fontconfig:-no}
5101 *-mingw32*|*-cygwin*)
5102 enable_win16=${enable_win16:-no}
5103 CFLAGS="$CFLAGS -D_WIN32"
5105 esac
5107 case $host in
5108 x86_64*|amd64*)
5109 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5110 then
5111 CC="$CC -m32"
5112 CXX="$CXX -m32"
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5114 $as_echo_n "checking whether $CC works... " >&6; }
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5120 main ()
5124 return 0;
5126 _ACEOF
5127 if ac_fn_c_try_link "$LINENO"; then :
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5129 $as_echo "yes" >&6; }
5130 else
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }
5133 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5135 rm -f core conftest.err conftest.$ac_objext \
5136 conftest$ac_exeext conftest.$ac_ext
5137 host_cpu="i386"
5138 notice_platform="32-bit "
5139 TARGETFLAGS="-m32"
5141 enable_win16=${enable_win16:-yes}
5142 else
5143 if test "x${GCC}" = "xyes"
5144 then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5146 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5149 #include <stdarg.h>
5151 main ()
5153 void func(__builtin_ms_va_list *args);
5155 return 0;
5157 _ACEOF
5158 if ac_fn_c_try_compile "$LINENO"; then :
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5160 $as_echo "yes" >&6; }
5161 else
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5164 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5168 CC="$CC -m64"
5169 CXX="$CXX -m64"
5170 host_cpu="x86_64"
5171 notice_platform="64-bit "
5172 TARGETFLAGS="-m64"
5176 arm*)
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5178 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5181 int ac_test(int i) { return i; }
5183 main ()
5185 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5187 return 0;
5189 _ACEOF
5190 if ac_fn_c_try_link "$LINENO"; then :
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5192 $as_echo "yes" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5196 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5198 rm -f core conftest.err conftest.$ac_objext \
5199 conftest$ac_exeext conftest.$ac_ext
5200 CFLAGS="$CFLAGS -marm"
5201 TARGETFLAGS="-marm"
5204 i[3456789]86*)
5205 enable_win16=${enable_win16:-yes}
5207 esac
5209 enable_win16=${enable_win16:-no}
5210 enable_win64=${enable_win64:-no}
5212 enable_winetest=${enable_winetest:-$enable_tests}
5214 if test -n "$with_wine64"
5215 then
5216 if test "x$enable_win64" = "xyes"
5217 then
5218 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5219 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5221 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5222 You should create a separate build directory and run configure from there." "$LINENO" 5
5223 enable_fonts=${enable_fonts:-no}
5224 enable_server=${enable_server:-no}
5225 elif test "x$enable_win64" = "xyes"
5226 then
5227 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5231 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5232 if ${wine_cv_toolsdir+:} false; then :
5233 $as_echo_n "(cached) " >&6
5234 else
5235 wine_cv_toolsdir="$with_wine_tools"
5236 if test -z "$with_wine_tools"; then
5237 if test "$cross_compiling" = "yes"; then
5238 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5239 elif test -n "$with_wine64"; then
5240 wine_cv_toolsdir="$with_wine64"
5243 if test -z "$wine_cv_toolsdir"; then
5244 wine_makedep=tools/makedep
5245 wine_cv_toolsdir="\$(top_builddir)"
5246 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5247 wine_makedep=$wine_cv_toolsdir/tools/makedep
5248 case "$wine_cv_toolsdir" in
5249 /*) ;;
5250 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5251 esac
5252 enable_tools=${enable_tools:-no}
5253 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5254 else
5255 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5259 $as_echo "$wine_cv_toolsdir" >&6; }
5260 TOOLSDIR=$wine_cv_toolsdir
5262 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5263 then
5264 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5268 for ac_prog in flex
5270 # Extract the first word of "$ac_prog", so it can be a program name with args.
5271 set dummy $ac_prog; ac_word=$2
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5273 $as_echo_n "checking for $ac_word... " >&6; }
5274 if ${ac_cv_prog_FLEX+:} false; then :
5275 $as_echo_n "(cached) " >&6
5276 else
5277 if test -n "$FLEX"; then
5278 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_FLEX="$ac_prog"
5288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 break 2
5291 done
5292 done
5293 IFS=$as_save_IFS
5297 FLEX=$ac_cv_prog_FLEX
5298 if test -n "$FLEX"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5300 $as_echo "$FLEX" >&6; }
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5307 test -n "$FLEX" && break
5308 done
5309 test -n "$FLEX" || FLEX="none"
5311 if test "$FLEX" = "none"
5312 then
5313 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5316 $as_echo_n "checking whether flex is recent enough... " >&6; }
5317 cat >conftest.l <<EOF
5318 %top{
5319 #include "prediluvian.h"
5323 if $FLEX -t conftest.l >/dev/null 2>&5
5324 then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5326 $as_echo "yes" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5330 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5333 for ac_prog in bison
5335 # Extract the first word of "$ac_prog", so it can be a program name with args.
5336 set dummy $ac_prog; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_BISON+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 if test -n "$BISON"; then
5343 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_BISON="$ac_prog"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 BISON=$ac_cv_prog_BISON
5363 if test -n "$BISON"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5365 $as_echo "$BISON" >&6; }
5366 else
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 test -n "$BISON" && break
5373 done
5374 test -n "$BISON" || BISON="none"
5376 if test "$BISON" = "none"
5377 then
5378 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5381 if test -n "$ac_tool_prefix"; then
5382 for ac_prog in ar gar
5384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387 $as_echo_n "checking for $ac_word... " >&6; }
5388 if ${ac_cv_prog_AR+:} false; then :
5389 $as_echo_n "(cached) " >&6
5390 else
5391 if test -n "$AR"; then
5392 ac_cv_prog_AR="$AR" # Let the user override the test.
5393 else
5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 for as_dir in $PATH
5397 IFS=$as_save_IFS
5398 test -z "$as_dir" && as_dir=.
5399 for ac_exec_ext in '' $ac_executable_extensions; do
5400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5401 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 break 2
5405 done
5406 done
5407 IFS=$as_save_IFS
5411 AR=$ac_cv_prog_AR
5412 if test -n "$AR"; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5414 $as_echo "$AR" >&6; }
5415 else
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5421 test -n "$AR" && break
5422 done
5424 if test -z "$AR"; then
5425 ac_ct_AR=$AR
5426 for ac_prog in ar gar
5428 # Extract the first word of "$ac_prog", so it can be a program name with args.
5429 set dummy $ac_prog; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5435 if test -n "$ac_ct_AR"; then
5436 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5437 else
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH
5441 IFS=$as_save_IFS
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5445 ac_cv_prog_ac_ct_AR="$ac_prog"
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 break 2
5449 done
5450 done
5451 IFS=$as_save_IFS
5455 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5456 if test -n "$ac_ct_AR"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5458 $as_echo "$ac_ct_AR" >&6; }
5459 else
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5465 test -n "$ac_ct_AR" && break
5466 done
5468 if test "x$ac_ct_AR" = x; then
5469 AR="ar"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5475 ac_tool_warned=yes ;;
5476 esac
5477 AR=$ac_ct_AR
5481 if test -n "$ac_tool_prefix"; then
5482 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5483 set dummy ${ac_tool_prefix}strip; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_STRIP+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$STRIP"; then
5490 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 break 2
5503 done
5504 done
5505 IFS=$as_save_IFS
5509 STRIP=$ac_cv_prog_STRIP
5510 if test -n "$STRIP"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5512 $as_echo "$STRIP" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5520 if test -z "$ac_cv_prog_STRIP"; then
5521 ac_ct_STRIP=$STRIP
5522 # Extract the first word of "strip", so it can be a program name with args.
5523 set dummy strip; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -n "$ac_ct_STRIP"; then
5530 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_ac_ct_STRIP="strip"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5550 if test -n "$ac_ct_STRIP"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5552 $as_echo "$ac_ct_STRIP" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5558 if test "x$ac_ct_STRIP" = x; then
5559 STRIP="strip"
5560 else
5561 case $cross_compiling:$ac_tool_warned in
5562 yes:)
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5565 ac_tool_warned=yes ;;
5566 esac
5567 STRIP=$ac_ct_STRIP
5569 else
5570 STRIP="$ac_cv_prog_STRIP"
5573 ARFLAGS=rc
5575 if test -n "$ac_tool_prefix"; then
5576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5577 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579 $as_echo_n "checking for $ac_word... " >&6; }
5580 if ${ac_cv_prog_RANLIB+:} false; then :
5581 $as_echo_n "(cached) " >&6
5582 else
5583 if test -n "$RANLIB"; then
5584 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 break 2
5597 done
5598 done
5599 IFS=$as_save_IFS
5603 RANLIB=$ac_cv_prog_RANLIB
5604 if test -n "$RANLIB"; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5606 $as_echo "$RANLIB" >&6; }
5607 else
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609 $as_echo "no" >&6; }
5614 if test -z "$ac_cv_prog_RANLIB"; then
5615 ac_ct_RANLIB=$RANLIB
5616 # Extract the first word of "ranlib", so it can be a program name with args.
5617 set dummy ranlib; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -n "$ac_ct_RANLIB"; then
5624 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_ac_ct_RANLIB="ranlib"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5644 if test -n "$ac_ct_RANLIB"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5646 $as_echo "$ac_ct_RANLIB" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5652 if test "x$ac_ct_RANLIB" = x; then
5653 RANLIB=":"
5654 else
5655 case $cross_compiling:$ac_tool_warned in
5656 yes:)
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5659 ac_tool_warned=yes ;;
5660 esac
5661 RANLIB=$ac_ct_RANLIB
5663 else
5664 RANLIB="$ac_cv_prog_RANLIB"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5668 $as_echo_n "checking whether ln -s works... " >&6; }
5669 LN_S=$as_ln_s
5670 if test "$LN_S" = "ln -s"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5672 $as_echo "yes" >&6; }
5673 else
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5675 $as_echo "no, using $LN_S" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5679 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5680 if ${ac_cv_path_GREP+:} false; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -z "$GREP"; then
5684 ac_path_GREP_found=false
5685 # Loop through the user's path and test for each of PROGNAME-LIST
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5689 IFS=$as_save_IFS
5690 test -z "$as_dir" && as_dir=.
5691 for ac_prog in grep ggrep; do
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5694 as_fn_executable_p "$ac_path_GREP" || continue
5695 # Check for GNU ac_path_GREP and select it if it is found.
5696 # Check for GNU $ac_path_GREP
5697 case `"$ac_path_GREP" --version 2>&1` in
5698 *GNU*)
5699 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5701 ac_count=0
5702 $as_echo_n 0123456789 >"conftest.in"
5703 while :
5705 cat "conftest.in" "conftest.in" >"conftest.tmp"
5706 mv "conftest.tmp" "conftest.in"
5707 cp "conftest.in" "conftest.nl"
5708 $as_echo 'GREP' >> "conftest.nl"
5709 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5710 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5711 as_fn_arith $ac_count + 1 && ac_count=$as_val
5712 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5713 # Best one so far, save it but keep looking for a better one
5714 ac_cv_path_GREP="$ac_path_GREP"
5715 ac_path_GREP_max=$ac_count
5717 # 10*(2^10) chars as input seems more than enough
5718 test $ac_count -gt 10 && break
5719 done
5720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5721 esac
5723 $ac_path_GREP_found && break 3
5724 done
5725 done
5726 done
5727 IFS=$as_save_IFS
5728 if test -z "$ac_cv_path_GREP"; then
5729 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5731 else
5732 ac_cv_path_GREP=$GREP
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5737 $as_echo "$ac_cv_path_GREP" >&6; }
5738 GREP="$ac_cv_path_GREP"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5742 $as_echo_n "checking for egrep... " >&6; }
5743 if ${ac_cv_path_EGREP+:} false; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5747 then ac_cv_path_EGREP="$GREP -E"
5748 else
5749 if test -z "$EGREP"; then
5750 ac_path_EGREP_found=false
5751 # Loop through the user's path and test for each of PROGNAME-LIST
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5755 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=.
5757 for ac_prog in egrep; do
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5760 as_fn_executable_p "$ac_path_EGREP" || continue
5761 # Check for GNU ac_path_EGREP and select it if it is found.
5762 # Check for GNU $ac_path_EGREP
5763 case `"$ac_path_EGREP" --version 2>&1` in
5764 *GNU*)
5765 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5767 ac_count=0
5768 $as_echo_n 0123456789 >"conftest.in"
5769 while :
5771 cat "conftest.in" "conftest.in" >"conftest.tmp"
5772 mv "conftest.tmp" "conftest.in"
5773 cp "conftest.in" "conftest.nl"
5774 $as_echo 'EGREP' >> "conftest.nl"
5775 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5776 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5777 as_fn_arith $ac_count + 1 && ac_count=$as_val
5778 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5779 # Best one so far, save it but keep looking for a better one
5780 ac_cv_path_EGREP="$ac_path_EGREP"
5781 ac_path_EGREP_max=$ac_count
5783 # 10*(2^10) chars as input seems more than enough
5784 test $ac_count -gt 10 && break
5785 done
5786 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5787 esac
5789 $ac_path_EGREP_found && break 3
5790 done
5791 done
5792 done
5793 IFS=$as_save_IFS
5794 if test -z "$ac_cv_path_EGREP"; then
5795 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5797 else
5798 ac_cv_path_EGREP=$EGREP
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5804 $as_echo "$ac_cv_path_EGREP" >&6; }
5805 EGREP="$ac_cv_path_EGREP"
5808 # Extract the first word of "ldconfig", so it can be a program name with args.
5809 set dummy ldconfig; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if ${ac_cv_path_LDCONFIG+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 case $LDCONFIG in
5816 [\\/]* | ?:[\\/]*)
5817 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in /sbin /usr/sbin $PATH
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5831 done
5832 done
5833 IFS=$as_save_IFS
5835 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5837 esac
5839 LDCONFIG=$ac_cv_path_LDCONFIG
5840 if test -n "$LDCONFIG"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5842 $as_echo "$LDCONFIG" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5849 for ac_prog in msgfmt
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_MSGFMT+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$MSGFMT"; then
5859 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_MSGFMT="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 MSGFMT=$ac_cv_prog_MSGFMT
5879 if test -n "$MSGFMT"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5881 $as_echo "$MSGFMT" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$MSGFMT" && break
5889 done
5890 test -n "$MSGFMT" || MSGFMT="false"
5892 if ${ac_tool_prefix+:} false; then :
5893 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5894 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5898 $as_echo_n "(cached) " >&6
5899 else
5900 if test -n "$PKG_CONFIG"; then
5901 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5902 else
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH
5906 IFS=$as_save_IFS
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 break 2
5914 done
5915 done
5916 IFS=$as_save_IFS
5920 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5921 if test -n "$PKG_CONFIG"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5923 $as_echo "$PKG_CONFIG" >&6; }
5924 else
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5931 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5932 if test "x$cross_compiling" = xyes; then :
5934 else
5935 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5936 # Extract the first word of "pkg-config", so it can be a program name with args.
5937 set dummy pkg-config; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 if test -n "$PKG_CONFIG"; then
5944 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5945 else
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 for as_dir in $PATH
5949 IFS=$as_save_IFS
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5953 ac_cv_prog_PKG_CONFIG="pkg-config"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 break 2
5957 done
5958 done
5959 IFS=$as_save_IFS
5963 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5964 if test -n "$PKG_CONFIG"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5966 $as_echo "$PKG_CONFIG" >&6; }
5967 else
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5974 else
5975 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5978 if test "x$enable_maintainer_mode" != "xyes"
5979 then
5980 FONTFORGE=""
5981 RSVG=""
5982 CONVERT=""
5983 ICOTOOL=""
5984 else
5985 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5986 for ac_prog in fontforge
5988 # Extract the first word of "$ac_prog", so it can be a program name with args.
5989 set dummy $ac_prog; ac_word=$2
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5991 $as_echo_n "checking for $ac_word... " >&6; }
5992 if ${ac_cv_prog_FONTFORGE+:} false; then :
5993 $as_echo_n "(cached) " >&6
5994 else
5995 if test -n "$FONTFORGE"; then
5996 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5997 else
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in $PATH
6001 IFS=$as_save_IFS
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6005 ac_cv_prog_FONTFORGE="$ac_prog"
6006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 break 2
6009 done
6010 done
6011 IFS=$as_save_IFS
6015 FONTFORGE=$ac_cv_prog_FONTFORGE
6016 if test -n "$FONTFORGE"; then
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6018 $as_echo "$FONTFORGE" >&6; }
6019 else
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6021 $as_echo "no" >&6; }
6025 test -n "$FONTFORGE" && break
6026 done
6027 test -n "$FONTFORGE" || FONTFORGE="false"
6029 for ac_prog in rsvg-convert rsvg
6031 # Extract the first word of "$ac_prog", so it can be a program name with args.
6032 set dummy $ac_prog; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_RSVG+:} false; then :
6036 $as_echo_n "(cached) " >&6
6037 else
6038 if test -n "$RSVG"; then
6039 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6044 IFS=$as_save_IFS
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_RSVG="$ac_prog"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 break 2
6052 done
6053 done
6054 IFS=$as_save_IFS
6058 RSVG=$ac_cv_prog_RSVG
6059 if test -n "$RSVG"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6061 $as_echo "$RSVG" >&6; }
6062 else
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6068 test -n "$RSVG" && break
6069 done
6070 test -n "$RSVG" || RSVG="false"
6072 for ac_prog in convert
6074 # Extract the first word of "$ac_prog", so it can be a program name with args.
6075 set dummy $ac_prog; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if ${ac_cv_prog_CONVERT+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 if test -n "$CONVERT"; then
6082 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_CONVERT="$ac_prog"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 CONVERT=$ac_cv_prog_CONVERT
6102 if test -n "$CONVERT"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6104 $as_echo "$CONVERT" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6111 test -n "$CONVERT" && break
6112 done
6113 test -n "$CONVERT" || CONVERT="false"
6115 for ac_prog in icotool
6117 # Extract the first word of "$ac_prog", so it can be a program name with args.
6118 set dummy $ac_prog; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_ICOTOOL+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$ICOTOOL"; then
6125 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ICOTOOL="$ac_prog"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 ICOTOOL=$ac_cv_prog_ICOTOOL
6145 if test -n "$ICOTOOL"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6147 $as_echo "$ICOTOOL" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6154 test -n "$ICOTOOL" && break
6155 done
6156 test -n "$ICOTOOL" || ICOTOOL="false"
6158 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6159 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6161 if test "$CONVERT" = false
6162 then
6163 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6164 else
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6166 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6167 convert_version=`convert --version | head -n1`
6168 if test "x$convert_version" != "x"
6169 then
6170 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6171 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6172 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6173 then
6174 CONVERT=false
6177 if test "$CONVERT" = false
6178 then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6180 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6181 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6182 else
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6184 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6188 if test "$ICOTOOL" = false
6189 then
6190 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6191 else
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6193 $as_echo_n "checking for recent enough icotool... " >&6; }
6194 icotool_version=`icotool --version | head -n1`
6195 if test "x$icotool_version" != "x"
6196 then
6197 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6198 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6199 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6200 then
6201 ICOTOOL=false
6202 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6205 if test "$ICOTOOL" = false
6206 then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6208 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6209 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6210 else
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6212 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6216 with_gettext=yes
6217 with_gettextpo=yes
6218 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6221 test "x$with_gettext" != xno || MSGFMT=false
6222 if test "$MSGFMT" != "false"
6223 then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6225 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6226 cat >conftest.po <<EOF
6227 # comment
6228 msgctxt "ctxt"
6229 msgid "id"
6230 msgstr "str"
6232 if $MSGFMT -o /dev/null conftest.po 2>&5
6233 then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6235 $as_echo "yes" >&6; }
6236 else
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238 $as_echo "no" >&6; }
6239 MSGFMT=false
6242 if test "$MSGFMT" = false; then :
6243 case "x$with_gettext" in
6244 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6245 xno) ;;
6246 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6247 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6248 esac
6249 enable_po=${enable_po:-no}
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6254 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6255 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 ac_check_lib_save_LIBS=$LIBS
6259 LIBS="-li386 $LIBS"
6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char i386_set_ldt ();
6271 main ()
6273 return i386_set_ldt ();
6275 return 0;
6277 _ACEOF
6278 if ac_fn_c_try_link "$LINENO"; then :
6279 ac_cv_lib_i386_i386_set_ldt=yes
6280 else
6281 ac_cv_lib_i386_i386_set_ldt=no
6283 rm -f core conftest.err conftest.$ac_objext \
6284 conftest$ac_exeext conftest.$ac_ext
6285 LIBS=$ac_check_lib_save_LIBS
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6288 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6289 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6290 cat >>confdefs.h <<_ACEOF
6291 #define HAVE_LIBI386 1
6292 _ACEOF
6294 LIBS="-li386 $LIBS"
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6299 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6300 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 ac_check_lib_save_LIBS=$LIBS
6304 LIBS="-lossaudio $LIBS"
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6308 /* Override any GCC internal prototype to avoid an error.
6309 Use char because int might match the return type of a GCC
6310 builtin and then its argument prototype would still apply. */
6311 #ifdef __cplusplus
6312 extern "C"
6313 #endif
6314 char _oss_ioctl ();
6316 main ()
6318 return _oss_ioctl ();
6320 return 0;
6322 _ACEOF
6323 if ac_fn_c_try_link "$LINENO"; then :
6324 ac_cv_lib_ossaudio__oss_ioctl=yes
6325 else
6326 ac_cv_lib_ossaudio__oss_ioctl=no
6328 rm -f core conftest.err conftest.$ac_objext \
6329 conftest$ac_exeext conftest.$ac_ext
6330 LIBS=$ac_check_lib_save_LIBS
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6333 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6334 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6335 cat >>confdefs.h <<_ACEOF
6336 #define HAVE_LIBOSSAUDIO 1
6337 _ACEOF
6339 LIBS="-lossaudio $LIBS"
6344 OPENGL_LIBS=""
6348 # Check whether --enable-largefile was given.
6349 if test "${enable_largefile+set}" = set; then :
6350 enableval=$enable_largefile;
6353 if test "$enable_largefile" != no; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6356 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6357 if ${ac_cv_sys_largefile_CC+:} false; then :
6358 $as_echo_n "(cached) " >&6
6359 else
6360 ac_cv_sys_largefile_CC=no
6361 if test "$GCC" != yes; then
6362 ac_save_CC=$CC
6363 while :; do
6364 # IRIX 6.2 and later do not support large files by default,
6365 # so use the C compiler's -n32 option if that helps.
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6368 #include <sys/types.h>
6369 /* Check that off_t can represent 2**63 - 1 correctly.
6370 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6371 since some C++ compilers masquerading as C compilers
6372 incorrectly reject 9223372036854775807. */
6373 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6374 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6375 && LARGE_OFF_T % 2147483647 == 1)
6376 ? 1 : -1];
6378 main ()
6382 return 0;
6384 _ACEOF
6385 if ac_fn_c_try_compile "$LINENO"; then :
6386 break
6388 rm -f core conftest.err conftest.$ac_objext
6389 CC="$CC -n32"
6390 if ac_fn_c_try_compile "$LINENO"; then :
6391 ac_cv_sys_largefile_CC=' -n32'; break
6393 rm -f core conftest.err conftest.$ac_objext
6394 break
6395 done
6396 CC=$ac_save_CC
6397 rm -f conftest.$ac_ext
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6401 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6402 if test "$ac_cv_sys_largefile_CC" != no; then
6403 CC=$CC$ac_cv_sys_largefile_CC
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6407 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6408 if ${ac_cv_sys_file_offset_bits+:} false; then :
6409 $as_echo_n "(cached) " >&6
6410 else
6411 while :; do
6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #include <sys/types.h>
6415 /* Check that off_t can represent 2**63 - 1 correctly.
6416 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6417 since some C++ compilers masquerading as C compilers
6418 incorrectly reject 9223372036854775807. */
6419 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6420 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6421 && LARGE_OFF_T % 2147483647 == 1)
6422 ? 1 : -1];
6424 main ()
6428 return 0;
6430 _ACEOF
6431 if ac_fn_c_try_compile "$LINENO"; then :
6432 ac_cv_sys_file_offset_bits=no; break
6434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6437 #define _FILE_OFFSET_BITS 64
6438 #include <sys/types.h>
6439 /* Check that off_t can represent 2**63 - 1 correctly.
6440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6441 since some C++ compilers masquerading as C compilers
6442 incorrectly reject 9223372036854775807. */
6443 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6445 && LARGE_OFF_T % 2147483647 == 1)
6446 ? 1 : -1];
6448 main ()
6452 return 0;
6454 _ACEOF
6455 if ac_fn_c_try_compile "$LINENO"; then :
6456 ac_cv_sys_file_offset_bits=64; break
6458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6459 ac_cv_sys_file_offset_bits=unknown
6460 break
6461 done
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6464 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6465 case $ac_cv_sys_file_offset_bits in #(
6466 no | unknown) ;;
6468 cat >>confdefs.h <<_ACEOF
6469 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6470 _ACEOF
6472 esac
6473 rm -rf conftest*
6474 if test $ac_cv_sys_file_offset_bits = unknown; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6476 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6477 if ${ac_cv_sys_large_files+:} false; then :
6478 $as_echo_n "(cached) " >&6
6479 else
6480 while :; do
6481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6483 #include <sys/types.h>
6484 /* Check that off_t can represent 2**63 - 1 correctly.
6485 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6486 since some C++ compilers masquerading as C compilers
6487 incorrectly reject 9223372036854775807. */
6488 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6489 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6490 && LARGE_OFF_T % 2147483647 == 1)
6491 ? 1 : -1];
6493 main ()
6497 return 0;
6499 _ACEOF
6500 if ac_fn_c_try_compile "$LINENO"; then :
6501 ac_cv_sys_large_files=no; break
6503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6506 #define _LARGE_FILES 1
6507 #include <sys/types.h>
6508 /* Check that off_t can represent 2**63 - 1 correctly.
6509 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6510 since some C++ compilers masquerading as C compilers
6511 incorrectly reject 9223372036854775807. */
6512 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6513 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6514 && LARGE_OFF_T % 2147483647 == 1)
6515 ? 1 : -1];
6517 main ()
6521 return 0;
6523 _ACEOF
6524 if ac_fn_c_try_compile "$LINENO"; then :
6525 ac_cv_sys_large_files=1; break
6527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6528 ac_cv_sys_large_files=unknown
6529 break
6530 done
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6533 $as_echo "$ac_cv_sys_large_files" >&6; }
6534 case $ac_cv_sys_large_files in #(
6535 no | unknown) ;;
6537 cat >>confdefs.h <<_ACEOF
6538 #define _LARGE_FILES $ac_cv_sys_large_files
6539 _ACEOF
6541 esac
6542 rm -rf conftest*
6549 ac_ext=c
6550 ac_cpp='$CPP $CPPFLAGS'
6551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6555 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6556 # On Suns, sometimes $CPP names a directory.
6557 if test -n "$CPP" && test -d "$CPP"; then
6558 CPP=
6560 if test -z "$CPP"; then
6561 if ${ac_cv_prog_CPP+:} false; then :
6562 $as_echo_n "(cached) " >&6
6563 else
6564 # Double quotes because CPP needs to be expanded
6565 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6567 ac_preproc_ok=false
6568 for ac_c_preproc_warn_flag in '' yes
6570 # Use a header file that comes with gcc, so configuring glibc
6571 # with a fresh cross-compiler works.
6572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6573 # <limits.h> exists even on freestanding compilers.
6574 # On the NeXT, cc -E runs the code through the compiler's parser,
6575 # not just through cpp. "Syntax error" is here to catch this case.
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #ifdef __STDC__
6579 # include <limits.h>
6580 #else
6581 # include <assert.h>
6582 #endif
6583 Syntax error
6584 _ACEOF
6585 if ac_fn_c_try_cpp "$LINENO"; then :
6587 else
6588 # Broken: fails on valid input.
6589 continue
6591 rm -f conftest.err conftest.i conftest.$ac_ext
6593 # OK, works on sane cases. Now check whether nonexistent headers
6594 # can be detected and how.
6595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 #include <ac_nonexistent.h>
6598 _ACEOF
6599 if ac_fn_c_try_cpp "$LINENO"; then :
6600 # Broken: success on invalid input.
6601 continue
6602 else
6603 # Passes both tests.
6604 ac_preproc_ok=:
6605 break
6607 rm -f conftest.err conftest.i conftest.$ac_ext
6609 done
6610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6611 rm -f conftest.i conftest.err conftest.$ac_ext
6612 if $ac_preproc_ok; then :
6613 break
6616 done
6617 ac_cv_prog_CPP=$CPP
6620 CPP=$ac_cv_prog_CPP
6621 else
6622 ac_cv_prog_CPP=$CPP
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6625 $as_echo "$CPP" >&6; }
6626 ac_preproc_ok=false
6627 for ac_c_preproc_warn_flag in '' yes
6629 # Use a header file that comes with gcc, so configuring glibc
6630 # with a fresh cross-compiler works.
6631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6632 # <limits.h> exists even on freestanding compilers.
6633 # On the NeXT, cc -E runs the code through the compiler's parser,
6634 # not just through cpp. "Syntax error" is here to catch this case.
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 #ifdef __STDC__
6638 # include <limits.h>
6639 #else
6640 # include <assert.h>
6641 #endif
6642 Syntax error
6643 _ACEOF
6644 if ac_fn_c_try_cpp "$LINENO"; then :
6646 else
6647 # Broken: fails on valid input.
6648 continue
6650 rm -f conftest.err conftest.i conftest.$ac_ext
6652 # OK, works on sane cases. Now check whether nonexistent headers
6653 # can be detected and how.
6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6656 #include <ac_nonexistent.h>
6657 _ACEOF
6658 if ac_fn_c_try_cpp "$LINENO"; then :
6659 # Broken: success on invalid input.
6660 continue
6661 else
6662 # Passes both tests.
6663 ac_preproc_ok=:
6664 break
6666 rm -f conftest.err conftest.i conftest.$ac_ext
6668 done
6669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6670 rm -f conftest.i conftest.err conftest.$ac_ext
6671 if $ac_preproc_ok; then :
6673 else
6674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6676 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6677 See \`config.log' for more details" "$LINENO" 5; }
6680 ac_ext=c
6681 ac_cpp='$CPP $CPPFLAGS'
6682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6688 $as_echo_n "checking for ANSI C header files... " >&6; }
6689 if ${ac_cv_header_stdc+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6694 #include <stdlib.h>
6695 #include <stdarg.h>
6696 #include <string.h>
6697 #include <float.h>
6700 main ()
6704 return 0;
6706 _ACEOF
6707 if ac_fn_c_try_compile "$LINENO"; then :
6708 ac_cv_header_stdc=yes
6709 else
6710 ac_cv_header_stdc=no
6712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6714 if test $ac_cv_header_stdc = yes; then
6715 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6718 #include <string.h>
6720 _ACEOF
6721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6722 $EGREP "memchr" >/dev/null 2>&1; then :
6724 else
6725 ac_cv_header_stdc=no
6727 rm -f conftest*
6731 if test $ac_cv_header_stdc = yes; then
6732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6735 #include <stdlib.h>
6737 _ACEOF
6738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6739 $EGREP "free" >/dev/null 2>&1; then :
6741 else
6742 ac_cv_header_stdc=no
6744 rm -f conftest*
6748 if test $ac_cv_header_stdc = yes; then
6749 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6750 if test "$cross_compiling" = yes; then :
6752 else
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6755 #include <ctype.h>
6756 #include <stdlib.h>
6757 #if ((' ' & 0x0FF) == 0x020)
6758 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6759 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6760 #else
6761 # define ISLOWER(c) \
6762 (('a' <= (c) && (c) <= 'i') \
6763 || ('j' <= (c) && (c) <= 'r') \
6764 || ('s' <= (c) && (c) <= 'z'))
6765 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6766 #endif
6768 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6770 main ()
6772 int i;
6773 for (i = 0; i < 256; i++)
6774 if (XOR (islower (i), ISLOWER (i))
6775 || toupper (i) != TOUPPER (i))
6776 return 2;
6777 return 0;
6779 _ACEOF
6780 if ac_fn_c_try_run "$LINENO"; then :
6782 else
6783 ac_cv_header_stdc=no
6785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6786 conftest.$ac_objext conftest.beam conftest.$ac_ext
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6792 $as_echo "$ac_cv_header_stdc" >&6; }
6793 if test $ac_cv_header_stdc = yes; then
6795 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6799 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6800 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6801 inttypes.h stdint.h unistd.h
6802 do :
6803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6804 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6806 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6807 cat >>confdefs.h <<_ACEOF
6808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6809 _ACEOF
6813 done
6816 for ac_header in \
6817 AL/al.h \
6818 ApplicationServices/ApplicationServices.h \
6819 AudioToolbox/AudioConverter.h \
6820 AudioUnit/AudioUnit.h \
6821 AudioUnit/AudioComponent.h \
6822 CL/cl.h \
6823 Carbon/Carbon.h \
6824 CommonCrypto/CommonDigest.h \
6825 CoreAudio/CoreAudio.h \
6826 CoreServices/CoreServices.h \
6827 DiskArbitration/DiskArbitration.h \
6828 IOKit/IOKitLib.h \
6829 IOKit/hid/IOHIDLib.h \
6830 OpenAL/al.h \
6831 OpenCL/opencl.h \
6832 QuickTime/ImageCompression.h \
6833 Security/Security.h \
6834 alias.h \
6835 alsa/asoundlib.h \
6836 arpa/inet.h \
6837 arpa/nameser.h \
6838 asm/types.h \
6839 asm/user.h \
6840 curses.h \
6841 direct.h \
6842 dirent.h \
6843 dlfcn.h \
6844 elf.h \
6845 float.h \
6846 fnmatch.h \
6847 getopt.h \
6848 gettext-po.h \
6849 grp.h \
6850 gsm.h \
6851 gsm/gsm.h \
6852 ieeefp.h \
6853 inet/mib2.h \
6854 io.h \
6855 kstat.h \
6856 lber.h \
6857 ldap.h \
6858 libproc.h \
6859 link.h \
6860 linux/cdrom.h \
6861 linux/compiler.h \
6862 linux/filter.h \
6863 linux/hdreg.h \
6864 linux/hidraw.h \
6865 linux/input.h \
6866 linux/ioctl.h \
6867 linux/joystick.h \
6868 linux/major.h \
6869 linux/param.h \
6870 linux/serial.h \
6871 linux/types.h \
6872 linux/ucdrom.h \
6873 lwp.h \
6874 mach-o/nlist.h \
6875 mach-o/loader.h \
6876 mach/mach.h \
6877 mach/machine.h \
6878 machine/cpu.h \
6879 machine/limits.h \
6880 machine/sysarch.h \
6881 mntent.h \
6882 ncurses.h \
6883 netdb.h \
6884 netinet/in.h \
6885 netinet/in_systm.h \
6886 netinet/tcp.h \
6887 netinet/tcp_fsm.h \
6888 pcap/pcap.h \
6889 poll.h \
6890 port.h \
6891 process.h \
6892 pthread.h \
6893 pwd.h \
6894 sched.h \
6895 scsi/scsi.h \
6896 scsi/scsi_ioctl.h \
6897 scsi/sg.h \
6898 stdbool.h \
6899 stdint.h \
6900 stropts.h \
6901 sys/asoundlib.h \
6902 sys/attr.h \
6903 sys/auxv.h \
6904 sys/cdio.h \
6905 sys/elf32.h \
6906 sys/epoll.h \
6907 sys/event.h \
6908 sys/exec_elf.h \
6909 sys/filio.h \
6910 sys/inotify.h \
6911 sys/ioctl.h \
6912 sys/ipc.h \
6913 sys/limits.h \
6914 sys/link.h \
6915 sys/mman.h \
6916 sys/modem.h \
6917 sys/msg.h \
6918 sys/mtio.h \
6919 sys/param.h \
6920 sys/poll.h \
6921 sys/prctl.h \
6922 sys/protosw.h \
6923 sys/ptrace.h \
6924 sys/queue.h \
6925 sys/resource.h \
6926 sys/scsiio.h \
6927 sys/shm.h \
6928 sys/signal.h \
6929 sys/socket.h \
6930 sys/socketvar.h \
6931 sys/sockio.h \
6932 sys/statvfs.h \
6933 sys/strtio.h \
6934 sys/syscall.h \
6935 sys/sysinfo.h \
6936 sys/tihdr.h \
6937 sys/time.h \
6938 sys/timeout.h \
6939 sys/times.h \
6940 sys/uio.h \
6941 sys/user.h \
6942 sys/utsname.h \
6943 sys/vm86.h \
6944 sys/vnode.h \
6945 sys/wait.h \
6946 syscall.h \
6947 termios.h \
6948 unistd.h \
6949 utime.h \
6950 valgrind/memcheck.h \
6951 valgrind/valgrind.h \
6952 zlib.h
6954 do :
6955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6957 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6958 cat >>confdefs.h <<_ACEOF
6959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6960 _ACEOF
6964 done
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6967 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6968 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6969 $as_echo_n "(cached) " >&6
6970 else
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #include <sys/types.h>
6975 main ()
6977 return makedev(0, 0);
6979 return 0;
6981 _ACEOF
6982 if ac_fn_c_try_link "$LINENO"; then :
6983 ac_cv_header_sys_types_h_makedev=yes
6984 else
6985 ac_cv_header_sys_types_h_makedev=no
6987 rm -f core conftest.err conftest.$ac_objext \
6988 conftest$ac_exeext conftest.$ac_ext
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6992 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6994 if test $ac_cv_header_sys_types_h_makedev = no; then
6995 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6996 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6998 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7004 if test $ac_cv_header_sys_mkdev_h = no; then
7005 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7006 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7008 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7017 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7018 if ${ac_cv_header_stat_broken+:} false; then :
7019 $as_echo_n "(cached) " >&6
7020 else
7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7023 #include <sys/types.h>
7024 #include <sys/stat.h>
7026 #if defined S_ISBLK && defined S_IFDIR
7027 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7028 #endif
7030 #if defined S_ISBLK && defined S_IFCHR
7031 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7032 #endif
7034 #if defined S_ISLNK && defined S_IFREG
7035 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7036 #endif
7038 #if defined S_ISSOCK && defined S_IFREG
7039 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7040 #endif
7042 _ACEOF
7043 if ac_fn_c_try_compile "$LINENO"; then :
7044 ac_cv_header_stat_broken=no
7045 else
7046 ac_cv_header_stat_broken=yes
7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7051 $as_echo "$ac_cv_header_stat_broken" >&6; }
7052 if test $ac_cv_header_stat_broken = yes; then
7054 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7060 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7061 do :
7062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7064 #ifdef HAVE_SYS_PARAM_H
7065 # include <sys/param.h>
7066 #endif
7068 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7069 cat >>confdefs.h <<_ACEOF
7070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7071 _ACEOF
7075 done
7078 for ac_header in \
7079 netinet/ip.h \
7080 net/if.h \
7081 net/if_arp.h \
7082 net/if_dl.h \
7083 net/if_types.h \
7084 net/route.h \
7085 netinet/if_ether.h \
7086 netinet/if_inarp.h \
7087 netinet/in_pcb.h \
7088 netinet/ip_icmp.h \
7089 netinet/ip_var.h \
7090 netinet/udp.h \
7091 netipx/ipx.h \
7092 sys/un.h \
7094 do :
7095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7096 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7097 #ifdef HAVE_SYS_SOCKET_H
7098 # include <sys/socket.h>
7099 #endif
7100 #ifdef HAVE_SYS_SOCKETVAR_H
7101 # include <sys/socketvar.h>
7102 #endif
7103 #ifdef HAVE_NET_ROUTE_H
7104 # include <net/route.h>
7105 #endif
7106 #ifdef HAVE_NETINET_IN_H
7107 # include <netinet/in.h>
7108 #endif
7109 #ifdef HAVE_NETINET_IN_SYSTM_H
7110 # include <netinet/in_systm.h>
7111 #endif
7112 #ifdef HAVE_NET_IF_H
7113 # include <net/if.h>
7114 #endif
7115 #ifdef HAVE_NETINET_IP_H
7116 # include <netinet/ip.h>
7117 #endif
7119 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7120 cat >>confdefs.h <<_ACEOF
7121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7122 _ACEOF
7126 done
7129 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7130 do :
7131 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7132 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7133 #ifdef HAVE_ALIAS_H
7134 # include <alias.h>
7135 #endif
7136 #ifdef HAVE_SYS_SOCKET_H
7137 # include <sys/socket.h>
7138 #endif
7139 #ifdef HAVE_SYS_SOCKETVAR_H
7140 # include <sys/socketvar.h>
7141 #endif
7142 #ifdef HAVE_SYS_TIMEOUT_H
7143 # include <sys/timeout.h>
7144 #endif
7145 #ifdef HAVE_NETINET_IN_H
7146 # include <netinet/in.h>
7147 #endif
7148 #ifdef HAVE_NETINET_IN_SYSTM_H
7149 # include <netinet/in_systm.h>
7150 #endif
7151 #ifdef HAVE_NETINET_IP_H
7152 # include <netinet/ip.h>
7153 #endif
7154 #ifdef HAVE_NETINET_IP_VAR_H
7155 # include <netinet/ip_var.h>
7156 #endif
7157 #ifdef HAVE_NETINET_IP_ICMP_H
7158 # include <netinet/ip_icmp.h>
7159 #endif
7160 #ifdef HAVE_NETINET_UDP_H
7161 # include <netinet/udp.h>
7162 #endif
7163 #ifdef HAVE_NETINET_TCP_H
7164 # include <netinet/tcp.h>
7165 #endif
7166 #ifdef HAVE_NETINET_TCP_TIMER_H
7167 #include <netinet/tcp_timer.h>
7168 #endif
7170 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7171 cat >>confdefs.h <<_ACEOF
7172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7173 _ACEOF
7177 done
7180 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7181 do :
7182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7183 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7184 #ifdef HAVE_ASM_TYPES_H
7185 # include <asm/types.h>
7186 #endif
7187 #ifdef HAVE_SYS_SOCKET_H
7188 # include <sys/socket.h>
7189 #endif
7190 #ifdef HAVE_LINUX_TYPES_H
7191 # include <linux/types.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 mach-o/dyld_images.h
7205 do :
7206 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7207 # include <stdbool.h>
7208 #endif
7209 #ifdef HAVE_STDINT_H
7210 # include <stdint.h>
7211 #endif
7213 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7214 cat >>confdefs.h <<_ACEOF
7215 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7216 _ACEOF
7220 done
7223 for ac_header in resolv.h
7224 do :
7225 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7226 #ifdef HAVE_SYS_SOCKET_H
7227 # include <sys/socket.h>
7228 #endif
7229 #ifdef HAVE_NETINET_IN_H
7230 # include <netinet/in.h>
7231 #endif
7232 #ifdef HAVE_ARPA_NAMESER_H
7233 # include <arpa/nameser.h>
7234 #endif
7236 if test "x$ac_cv_header_resolv_h" = xyes; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define HAVE_RESOLV_H 1
7239 _ACEOF
7243 done
7246 for ac_header in ifaddrs.h
7247 do :
7248 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7250 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_IFADDRS_H 1
7253 _ACEOF
7257 done
7260 for ac_header in sys/ucontext.h
7261 do :
7262 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7264 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define HAVE_SYS_UCONTEXT_H 1
7267 _ACEOF
7271 done
7274 for ac_header in sys/thr.h
7275 do :
7276 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7277 #ifdef HAVE_SYS_UCONTEXT_H
7278 #include <sys/ucontext.h>
7279 #endif
7281 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_SYS_THR_H 1
7284 _ACEOF
7288 done
7291 for ac_header in pthread_np.h
7292 do :
7293 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7294 #include <pthread.h>
7295 #endif
7297 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7298 cat >>confdefs.h <<_ACEOF
7299 #define HAVE_PTHREAD_NP_H 1
7300 _ACEOF
7304 done
7307 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7308 do :
7309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7310 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7311 #include <sys/time.h>
7312 #endif
7313 #include <sys/types.h>
7314 #ifdef HAVE_ASM_TYPES_H
7315 #include <asm/types.h>
7316 #endif
7318 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7319 cat >>confdefs.h <<_ACEOF
7320 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7321 _ACEOF
7325 done
7328 for ac_header in libprocstat.h
7329 do :
7330 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7331 #include <sys/param.h>
7332 #endif
7333 #ifdef HAVE_SYS_QUEUE_H
7334 #include <sys/queue.h>
7335 #endif
7336 #ifdef HAVE_SYS_SOCKET_H
7337 #include <sys/socket.h>
7338 #endif
7340 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7341 cat >>confdefs.h <<_ACEOF
7342 #define HAVE_LIBPROCSTAT_H 1
7343 _ACEOF
7347 done
7351 dlldir="\${libdir}/wine"
7353 DLLFLAGS="-D_REENTRANT"
7355 LDRPATH_INSTALL=""
7357 LDRPATH_LOCAL=""
7359 LDEXECFLAGS=""
7361 WINELOADER_LDFLAGS=""
7363 LIBEXT="so"
7364 DLLEXT=".so"
7365 IMPLIBEXT="def"
7366 # Extract the first word of "ldd", so it can be a program name with args.
7367 set dummy ldd; ac_word=$2
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7369 $as_echo_n "checking for $ac_word... " >&6; }
7370 if ${ac_cv_path_LDD+:} false; then :
7371 $as_echo_n "(cached) " >&6
7372 else
7373 case $LDD in
7374 [\\/]* | ?:[\\/]*)
7375 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 as_dummy="/sbin:/usr/sbin:$PATH"
7380 for as_dir in $as_dummy
7382 IFS=$as_save_IFS
7383 test -z "$as_dir" && as_dir=.
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7386 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 break 2
7390 done
7391 done
7392 IFS=$as_save_IFS
7394 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7396 esac
7398 LDD=$ac_cv_path_LDD
7399 if test -n "$LDD"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7401 $as_echo "$LDD" >&6; }
7402 else
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7408 if test -n "$ac_tool_prefix"; then
7409 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7410 set dummy ${ac_tool_prefix}otool; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if ${ac_cv_prog_OTOOL+:} false; then :
7414 $as_echo_n "(cached) " >&6
7415 else
7416 if test -n "$OTOOL"; then
7417 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7418 else
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 for as_dir in $PATH
7422 IFS=$as_save_IFS
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 break 2
7430 done
7431 done
7432 IFS=$as_save_IFS
7436 OTOOL=$ac_cv_prog_OTOOL
7437 if test -n "$OTOOL"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7439 $as_echo "$OTOOL" >&6; }
7440 else
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7447 if test -z "$ac_cv_prog_OTOOL"; then
7448 ac_ct_OTOOL=$OTOOL
7449 # Extract the first word of "otool", so it can be a program name with args.
7450 set dummy otool; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7454 $as_echo_n "(cached) " >&6
7455 else
7456 if test -n "$ac_ct_OTOOL"; then
7457 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7458 else
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 for as_dir in $PATH
7462 IFS=$as_save_IFS
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7466 ac_cv_prog_ac_ct_OTOOL="otool"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 break 2
7470 done
7471 done
7472 IFS=$as_save_IFS
7476 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7477 if test -n "$ac_ct_OTOOL"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7479 $as_echo "$ac_ct_OTOOL" >&6; }
7480 else
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7485 if test "x$ac_ct_OTOOL" = x; then
7486 OTOOL="otool"
7487 else
7488 case $cross_compiling:$ac_tool_warned in
7489 yes:)
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7492 ac_tool_warned=yes ;;
7493 esac
7494 OTOOL=$ac_ct_OTOOL
7496 else
7497 OTOOL="$ac_cv_prog_OTOOL"
7500 if test -n "$ac_tool_prefix"; then
7501 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7502 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504 $as_echo_n "checking for $ac_word... " >&6; }
7505 if ${ac_cv_prog_READELF+:} false; then :
7506 $as_echo_n "(cached) " >&6
7507 else
7508 if test -n "$READELF"; then
7509 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7510 else
7511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512 for as_dir in $PATH
7514 IFS=$as_save_IFS
7515 test -z "$as_dir" && as_dir=.
7516 for ac_exec_ext in '' $ac_executable_extensions; do
7517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7518 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 break 2
7522 done
7523 done
7524 IFS=$as_save_IFS
7528 READELF=$ac_cv_prog_READELF
7529 if test -n "$READELF"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7531 $as_echo "$READELF" >&6; }
7532 else
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534 $as_echo "no" >&6; }
7539 if test -z "$ac_cv_prog_READELF"; then
7540 ac_ct_READELF=$READELF
7541 # Extract the first word of "readelf", so it can be a program name with args.
7542 set dummy readelf; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7546 $as_echo_n "(cached) " >&6
7547 else
7548 if test -n "$ac_ct_READELF"; then
7549 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7550 else
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7552 for as_dir in $PATH
7554 IFS=$as_save_IFS
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7558 ac_cv_prog_ac_ct_READELF="readelf"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 break 2
7562 done
7563 done
7564 IFS=$as_save_IFS
7568 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7569 if test -n "$ac_ct_READELF"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7571 $as_echo "$ac_ct_READELF" >&6; }
7572 else
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7577 if test "x$ac_ct_READELF" = x; then
7578 READELF="true"
7579 else
7580 case $cross_compiling:$ac_tool_warned in
7581 yes:)
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7584 ac_tool_warned=yes ;;
7585 esac
7586 READELF=$ac_ct_READELF
7588 else
7589 READELF="$ac_cv_prog_READELF"
7592 wine_rules_file=conf$$rules.make
7593 rm -f $wine_rules_file
7594 SUBDIRS=""
7596 DISABLED_SUBDIRS=""
7598 CONFIGURE_TARGETS=""
7600 ALL_TEST_RESOURCES=""
7603 wine_fn_append_file ()
7605 as_fn_append $1 " \\$as_nl $2"
7608 wine_fn_append_rule ()
7610 $as_echo "$1" >>$wine_rules_file
7613 wine_fn_has_flag ()
7615 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7618 wine_fn_all_rules ()
7620 wine_fn_append_file SUBDIRS $ac_dir
7621 wine_fn_append_rule \
7622 "all: $ac_dir
7623 .PHONY: $ac_dir
7624 $ac_dir: dummy
7625 @cd $ac_dir && \$(MAKE)"
7628 wine_fn_install_rules ()
7630 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7632 wine_fn_append_rule \
7633 ".PHONY: $ac_dir/install $ac_dir/uninstall
7634 $ac_dir/install:: $ac_dir
7635 @cd $ac_dir && \$(MAKE) install
7636 $ac_dir/uninstall::
7637 @cd $ac_dir && \$(MAKE) uninstall
7638 install:: $ac_dir/install
7639 __uninstall__: $ac_dir/uninstall"
7641 if wine_fn_has_flag install-lib
7642 then
7643 wine_fn_append_rule \
7644 ".PHONY: $ac_dir/install-lib
7645 $ac_dir/install-lib:: $ac_dir
7646 @cd $ac_dir && \$(MAKE) install-lib
7647 install-lib:: $ac_dir/install-lib"
7650 if wine_fn_has_flag install-dev
7651 then
7652 wine_fn_append_rule \
7653 ".PHONY: $ac_dir/install-dev
7654 $ac_dir/install-dev:: $ac_dir
7655 @cd $ac_dir && \$(MAKE) install-dev
7656 install-dev:: $ac_dir/install-dev"
7660 wine_fn_clean_rules ()
7662 ac_clean=$@
7664 if wine_fn_has_flag clean
7665 then
7666 wine_fn_append_rule \
7667 "$ac_dir/clean: dummy
7668 @cd $ac_dir && \$(MAKE) clean"
7669 else
7670 wine_fn_append_rule \
7671 "$ac_dir/clean: dummy
7672 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7674 wine_fn_append_rule \
7675 "__clean__: $ac_dir/clean
7676 .PHONY: $ac_dir/clean"
7679 wine_fn_disabled_rules ()
7681 ac_clean=$@
7683 wine_fn_append_file SUBDIRS $ac_dir
7684 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7685 wine_fn_append_rule \
7686 "__clean__: $ac_dir/clean
7687 .PHONY: $ac_dir/clean
7688 $ac_dir/clean: dummy
7689 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7692 wine_fn_config_makefile ()
7694 ac_dir=$1
7695 ac_enable=$2
7696 ac_flags=$3
7698 case $ac_dir in
7699 fonts|server) test -z "$with_wine64" || return ;;
7700 esac
7701 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7702 wine_fn_disabled_rules; return
7704 wine_fn_all_rules
7705 wine_fn_install_rules
7706 wine_fn_clean_rules
7709 wine_fn_config_lib ()
7711 ac_name=$1
7712 ac_flags=$2
7713 ac_dir=dlls/$ac_name
7714 ac_deps="include"
7716 if test "x$enable_tools" = xno; then :
7718 else
7719 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7721 wine_fn_all_rules
7722 wine_fn_clean_rules
7724 wine_fn_append_rule \
7725 ".PHONY: $ac_dir/install $ac_dir/uninstall
7726 $ac_dir/install:: $ac_dir
7727 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7728 $ac_dir/uninstall::
7729 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7730 install install-dev:: $ac_dir/install
7731 __uninstall__: $ac_dir/uninstall
7732 __builddeps__: $ac_dir
7733 $ac_dir: $ac_deps"
7736 wine_fn_config_dll ()
7738 ac_name=$1
7739 ac_dir=dlls/$ac_name
7740 ac_enable=$2
7741 ac_flags=$3
7742 ac_implib=${4:-$ac_name}
7743 ac_file=$ac_dir/lib$ac_implib
7744 ac_dll=$ac_name
7745 ac_deps="include"
7746 ac_implibflags=""
7748 if test "x$enable_tools" = xno; then :
7750 else
7751 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7753 case $ac_name in
7754 *.*16) ac_implibflags=" -m16" ;;
7755 *.*) ;;
7756 *) ac_dll=$ac_dll.dll ;;
7757 esac
7759 ac_clean=
7760 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7761 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7763 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7764 if test "$ac_enable" != enable_win16
7765 then
7766 wine_fn_clean_rules $ac_clean
7767 wine_fn_append_file SUBDIRS $ac_dir
7768 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7769 else
7770 wine_fn_disabled_rules $ac_clean
7771 return
7773 else
7774 wine_fn_all_rules
7775 wine_fn_clean_rules $ac_clean
7776 wine_fn_append_rule \
7777 "$ac_dir: __builddeps__
7778 manpages htmlpages sgmlpages xmlpages::
7779 @cd $ac_dir && \$(MAKE) \$@
7780 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7781 install install-lib:: $ac_dir/install-lib
7782 __uninstall__: $ac_dir/uninstall"
7783 if test -n "$DLLEXT"
7784 then
7785 wine_fn_append_rule \
7786 "$ac_dir/install-lib:: $ac_dir
7787 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7788 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7789 $ac_dir/uninstall::
7790 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7791 else
7792 wine_fn_append_rule \
7793 "$ac_dir/install-lib:: $ac_dir
7794 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7795 $ac_dir/uninstall::
7796 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7800 if wine_fn_has_flag staticimplib
7801 then
7802 wine_fn_append_rule \
7803 "__builddeps__: $ac_file.a
7804 $ac_file.a $ac_file.cross.a: $ac_deps
7805 $ac_file.a: dummy
7806 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7807 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7808 $ac_dir/install-dev:: $ac_file.a
7809 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7810 $ac_dir/uninstall::
7811 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7812 install install-dev:: $ac_dir/install-dev
7813 __uninstall__: $ac_dir/uninstall"
7815 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7816 then
7817 wine_fn_append_rule \
7818 "__builddeps__: $ac_file.cross.a
7819 $ac_file.cross.a: dummy
7820 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7823 elif wine_fn_has_flag implib
7824 then
7825 wine_fn_append_rule \
7826 "__builddeps__: $ac_file.$IMPLIBEXT
7827 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7828 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7829 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7830 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7831 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7832 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7833 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7834 $ac_dir/uninstall::
7835 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7836 install install-dev:: $ac_dir/install-dev
7837 __uninstall__: $ac_dir/uninstall"
7838 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7839 then
7840 wine_fn_append_rule \
7841 "__builddeps__: $ac_file.cross.a
7842 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7843 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7848 wine_fn_config_program ()
7850 ac_name=$1
7851 ac_dir=programs/$ac_name
7852 ac_enable=$2
7853 ac_flags=$3
7854 ac_program=$ac_name
7856 case $ac_name in
7857 *.*) ;;
7858 *) ac_program=$ac_program.exe ;;
7859 esac
7861 ac_clean=
7862 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7863 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7865 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7866 wine_fn_disabled_rules $ac_clean; return
7869 wine_fn_all_rules
7870 wine_fn_clean_rules $ac_clean
7871 wine_fn_append_rule "$ac_dir: __builddeps__"
7873 wine_fn_has_flag install || return
7874 wine_fn_append_rule \
7875 ".PHONY: $ac_dir/install $ac_dir/uninstall
7876 install install-lib:: $ac_dir/install
7877 __uninstall__: $ac_dir/uninstall"
7879 if test -n "$DLLEXT"
7880 then
7881 wine_fn_append_rule \
7882 "$ac_dir/install:: $ac_dir
7883 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7884 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7885 $ac_dir/uninstall::
7886 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7888 if test -z "$with_wine64" && wine_fn_has_flag installbin
7889 then
7890 wine_fn_append_rule \
7891 "$ac_dir/install:: __tooldeps__
7892 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7893 $ac_dir/uninstall::
7894 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7896 else
7897 wine_fn_append_rule \
7898 "$ac_dir/install:: $ac_dir
7899 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7900 $ac_dir/uninstall::
7901 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7904 if test -z "$with_wine64" && wine_fn_has_flag manpage
7905 then
7906 wine_fn_append_rule \
7907 "$ac_dir/install:: $ac_dir
7908 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7909 $ac_dir/uninstall::
7910 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7914 wine_fn_config_test ()
7916 ac_dir=$1
7917 ac_name=$2
7918 ac_flags=$3
7920 ac_clean=
7921 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7922 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7924 if test "x$enable_tests" = xno; then :
7925 wine_fn_disabled_rules $ac_clean; return
7928 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7929 wine_fn_all_rules
7930 wine_fn_clean_rules $ac_clean
7932 wine_fn_append_rule \
7933 "$ac_dir: __builddeps__
7934 programs/winetest: $ac_dir
7935 check test: $ac_dir/test
7936 .PHONY: $ac_dir/test
7937 $ac_dir/test: dummy
7938 @cd $ac_dir && \$(MAKE) test
7939 testclean::
7940 \$(RM) $ac_dir/*.ok"
7942 if test -n "$CROSSTARGET"
7943 then
7944 wine_fn_append_rule \
7945 "crosstest: $ac_dir/crosstest
7946 .PHONY: $ac_dir/crosstest
7947 $ac_dir/crosstest: __builddeps__ dummy
7948 @cd $ac_dir && \$(MAKE) crosstest"
7952 wine_fn_config_tool ()
7954 ac_dir=$1
7955 ac_flags=$2
7956 if test "x$enable_tools" = xno; then :
7957 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7960 wine_fn_all_rules
7961 wine_fn_install_rules
7962 wine_fn_clean_rules
7964 wine_fn_append_rule "__tooldeps__: $ac_dir"
7965 wine_fn_append_rule "$ac_dir: libs/port"
7966 case $ac_dir in
7967 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7968 esac
7971 wine_fn_config_symlink ()
7973 ac_linkdir=
7974 if test "x$1" = "x-d"
7975 then
7976 ac_linkdir=$2
7977 shift; shift
7979 ac_links=$@
7980 wine_fn_append_rule \
7981 "$ac_links:
7982 @./config.status \$@"
7983 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7984 test -n "$ac_linkdir" || return
7985 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7988 wine_binary="wine"
7989 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7990 WINELOADER_PROGRAMS="$wine_binary"
7992 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7994 case $host_os in
7995 cygwin*|mingw32*)
7996 if test -n "$ac_tool_prefix"; then
7997 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7998 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000 $as_echo_n "checking for $ac_word... " >&6; }
8001 if ${ac_cv_prog_DLLTOOL+:} false; then :
8002 $as_echo_n "(cached) " >&6
8003 else
8004 if test -n "$DLLTOOL"; then
8005 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8006 else
8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 for as_dir in $PATH
8010 IFS=$as_save_IFS
8011 test -z "$as_dir" && as_dir=.
8012 for ac_exec_ext in '' $ac_executable_extensions; do
8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8016 break 2
8018 done
8019 done
8020 IFS=$as_save_IFS
8024 DLLTOOL=$ac_cv_prog_DLLTOOL
8025 if test -n "$DLLTOOL"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8027 $as_echo "$DLLTOOL" >&6; }
8028 else
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030 $as_echo "no" >&6; }
8035 if test -z "$ac_cv_prog_DLLTOOL"; then
8036 ac_ct_DLLTOOL=$DLLTOOL
8037 # Extract the first word of "dlltool", so it can be a program name with args.
8038 set dummy dlltool; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8042 $as_echo_n "(cached) " >&6
8043 else
8044 if test -n "$ac_ct_DLLTOOL"; then
8045 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8046 else
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 for as_dir in $PATH
8050 IFS=$as_save_IFS
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 break 2
8058 done
8059 done
8060 IFS=$as_save_IFS
8064 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8065 if test -n "$ac_ct_DLLTOOL"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8067 $as_echo "$ac_ct_DLLTOOL" >&6; }
8068 else
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8073 if test "x$ac_ct_DLLTOOL" = x; then
8074 DLLTOOL="false"
8075 else
8076 case $cross_compiling:$ac_tool_warned in
8077 yes:)
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8080 ac_tool_warned=yes ;;
8081 esac
8082 DLLTOOL=$ac_ct_DLLTOOL
8084 else
8085 DLLTOOL="$ac_cv_prog_DLLTOOL"
8088 LIBEXT="dll"
8089 DLLEXT=""
8090 IMPLIBEXT="a"
8091 enable_iphlpapi=${enable_iphlpapi:-no}
8092 enable_kernel32=${enable_kernel32:-no}
8093 enable_msvcrt=${enable_msvcrt:-no}
8094 enable_ntdll=${enable_ntdll:-no}
8095 enable_ws2_32=${enable_ws2_32:-no}
8096 enable_loader=${enable_loader:-no}
8097 enable_server=${enable_server:-no}
8098 with_x=${with_x:-no}
8099 with_pthread=${with_pthread:-no}
8101 crtlibs=""
8102 case $host_os in
8103 mingw32*)
8104 crtlibs="-lmsvcrt"
8105 SOCKET_LIBS="-lws2_32"
8107 esac
8109 LIBWINE_SHAREDLIB="libwine.dll"
8111 LIBWINE_IMPORTLIB="libwine.a"
8113 LIBWINE_INSTALL_LIB="libwine.dll"
8115 LIBWINE_INSTALL_DEV="libwine.a"
8117 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8119 LIBWINE_DEPENDS="wine.def"
8123 darwin*|macosx*)
8124 for ac_header in libunwind.h
8125 do :
8126 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8128 cat >>confdefs.h <<_ACEOF
8129 #define HAVE_LIBUNWIND_H 1
8130 _ACEOF
8134 done
8136 LIBEXT="dylib"
8137 DLLFLAGS="$DLLFLAGS -fPIC"
8138 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8139 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8140 COREFOUNDATION_LIBS="-framework CoreFoundation"
8142 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8144 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8146 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8148 CORESERVICES_LIBS="-framework CoreServices"
8150 APPKIT_LIBS="-framework AppKit"
8152 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8154 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8155 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 ac_wine_try_cflags_saved=$CFLAGS
8159 CFLAGS="$CFLAGS -Wl,-no_pie"
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 int main(int argc, char **argv) { return 0; }
8163 _ACEOF
8164 if ac_fn_c_try_link "$LINENO"; then :
8165 ac_cv_cflags__Wl__no_pie=yes
8166 else
8167 ac_cv_cflags__Wl__no_pie=no
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 CFLAGS=$ac_wine_try_cflags_saved
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8174 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8175 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8176 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8178 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8179 then
8180 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8183 if test "$ac_cv_header_Security_Security_h" = "yes"
8184 then
8185 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8187 ac_save_LIBS="$LIBS"
8188 LIBS="$LIBS $SECURITY_LIBS"
8189 for ac_func in SSLCopyPeerCertificates
8190 do :
8191 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8192 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8193 cat >>confdefs.h <<_ACEOF
8194 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8195 _ACEOF
8198 done
8200 LIBS="$ac_save_LIBS"
8201 with_gnutls=${with_gnutls:-no}
8203 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8204 then
8205 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8206 then
8207 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8209 else
8210 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8213 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8214 ac_save_LIBS="$LIBS"
8215 LIBS="$LIBS $COREAUDIO_LIBS"
8216 for ac_func in AUGraphAddNode
8217 do :
8218 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8219 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8220 cat >>confdefs.h <<_ACEOF
8221 #define HAVE_AUGRAPHADDNODE 1
8222 _ACEOF
8225 done
8227 LIBS="$ac_save_LIBS"
8229 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8230 then
8231 OPENAL_LIBS="-framework OpenAL"
8234 cat >>confdefs.h <<_ACEOF
8235 #define HAVE_OPENAL 1
8236 _ACEOF
8238 ac_cv_lib_openal=yes
8240 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8241 then
8242 OPENCL_LIBS="-framework OpenCL"
8244 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8246 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8247 then
8248 ac_save_LIBS="$LIBS"
8249 LIBS="$LIBS $IOKIT_LIBS"
8250 for ac_func in IOHIDManagerCreate
8251 do :
8252 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8253 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8254 cat >>confdefs.h <<_ACEOF
8255 #define HAVE_IOHIDMANAGERCREATE 1
8256 _ACEOF
8259 done
8261 LIBS="$ac_save_LIBS"
8263 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8264 then
8265 ac_save_LIBS="$LIBS"
8266 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8268 $as_echo_n "checking for the QuickTime framework... " >&6; }
8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 #include <QuickTime/ImageCompression.h>
8273 main ()
8275 CodecManagerVersion(NULL);
8277 return 0;
8279 _ACEOF
8280 if ac_fn_c_try_link "$LINENO"; then :
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8282 $as_echo "yes" >&6; }
8283 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8285 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8286 else
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8288 $as_echo "no" >&6; }
8289 ac_cv_header_QuickTime_ImageCompression_h=no
8291 rm -f core conftest.err conftest.$ac_objext \
8292 conftest$ac_exeext conftest.$ac_ext
8293 LIBS="$ac_save_LIBS"
8295 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8296 then
8297 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8299 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8300 then
8301 CARBON_LIBS="-framework Carbon"
8305 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8306 then
8307 ac_save_LIBS="$LIBS"
8308 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8309 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8310 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8311 enable_winemac_drv=${enable_winemac_drv:-yes}
8314 LIBS="$ac_save_LIBS"
8317 if test "x$enable_win16" = "xyes"
8318 then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8320 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8321 if test "$cross_compiling" = yes; then :
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8323 $as_echo "cross-compiling, assuming yes" >&6; }
8324 else
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 asm(".text\n"
8328 "bad:\tnop;nop\n"
8329 "good:\tnop;nop\n\t"
8330 ".globl _testfunc\n"
8331 "_testfunc:\tcallw good");
8332 extern void testfunc();
8334 main ()
8336 unsigned short *p = (unsigned short *)testfunc;
8337 return p[0] != 0xe866 || p[1] != 0xfffa
8339 return 0;
8341 _ACEOF
8342 if ac_fn_c_try_run "$LINENO"; then :
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8344 $as_echo "yes" >&6; }
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8348 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
8350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8351 conftest.$ac_objext conftest.beam conftest.$ac_ext
8356 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8358 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8360 LIBWINE_INSTALL_DEV="libwine.dylib"
8362 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8364 WINELOADER_DEPENDS="wine_info.plist"
8368 linux-android*)
8369 DLLFLAGS="$DLLFLAGS -fPIC"
8370 LDEXECFLAGS="-Wl,-pie"
8371 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8373 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8374 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 ac_wine_try_cflags_saved=$CFLAGS
8378 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8381 int main(int argc, char **argv) { return 0; }
8382 _ACEOF
8383 if ac_fn_c_try_link "$LINENO"; then :
8384 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8385 else
8386 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8388 rm -f core conftest.err conftest.$ac_objext \
8389 conftest$ac_exeext conftest.$ac_ext
8390 CFLAGS=$ac_wine_try_cflags_saved
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8393 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8394 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8395 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8397 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8400 if eval \${$as_ac_var+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 eval "$as_ac_var=yes"
8411 else
8412 eval "$as_ac_var=no"
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 eval ac_res=\$$as_ac_var
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8420 $as_echo "$ac_res" >&6; }
8421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8422 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8423 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8424 else
8425 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8427 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8428 if eval \${$as_ac_var+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 int main(int argc, char **argv) { return 0; }
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 eval "$as_ac_var=yes"
8439 else
8440 eval "$as_ac_var=no"
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 eval ac_res=\$$as_ac_var
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8448 $as_echo "$ac_res" >&6; }
8449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8450 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8451 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8455 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8456 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8464 _ACEOF
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 ac_cv_cflags__Wl___enable_new_dtags=yes
8467 else
8468 ac_cv_cflags__Wl___enable_new_dtags=no
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8472 CFLAGS=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8475 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8476 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8477 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8480 LIBWINE_SHAREDLIB="libwine.so"
8482 LIBWINE_INSTALL_LIB="libwine.so"
8484 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8487 if test "x$exec_prefix" = xNONE
8488 then
8489 case $host_cpu in
8490 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8491 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8492 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8493 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8494 esac
8499 DLLFLAGS="$DLLFLAGS -fPIC"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8501 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8502 if ${ac_cv_c_dll_gnuelf+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_wine_try_cflags_saved=$CFLAGS
8506 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 void myfunc() {}
8510 _ACEOF
8511 if ac_fn_c_try_link "$LINENO"; then :
8512 ac_cv_c_dll_gnuelf="yes"
8513 else
8514 ac_cv_c_dll_gnuelf="no"
8516 rm -f core conftest.err conftest.$ac_objext \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8521 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8522 if test "$ac_cv_c_dll_gnuelf" = "yes"
8523 then
8524 LIBWINE_LDFLAGS="-shared"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8526 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8527 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 int main(int argc, char **argv) { return 0; }
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8538 else
8539 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8546 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8547 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8548 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8549 else
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8552 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8563 else
8564 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8571 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8572 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8573 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8577 echo '{ global: *; };' >conftest.map
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8579 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8580 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_wine_try_cflags_saved=$CFLAGS
8584 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 int main(int argc, char **argv) { return 0; }
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8591 else
8592 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 CFLAGS=$ac_wine_try_cflags_saved
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8599 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8600 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8601 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8603 rm -f conftest.map
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8606 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8607 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8618 else
8619 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8626 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8627 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8628 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8631 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8633 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8634 if eval \${$as_ac_var+:} false; then :
8635 $as_echo_n "(cached) " >&6
8636 else
8637 ac_wine_try_cflags_saved=$CFLAGS
8638 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 int main(int argc, char **argv) { return 0; }
8642 _ACEOF
8643 if ac_fn_c_try_link "$LINENO"; then :
8644 eval "$as_ac_var=yes"
8645 else
8646 eval "$as_ac_var=no"
8648 rm -f core conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 CFLAGS=$ac_wine_try_cflags_saved
8652 eval ac_res=\$$as_ac_var
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8654 $as_echo "$ac_res" >&6; }
8655 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8656 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8657 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8658 else
8659 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8661 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8662 if eval \${$as_ac_var+:} false; then :
8663 $as_echo_n "(cached) " >&6
8664 else
8665 ac_wine_try_cflags_saved=$CFLAGS
8666 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8668 /* end confdefs.h. */
8669 int main(int argc, char **argv) { return 0; }
8670 _ACEOF
8671 if ac_fn_c_try_link "$LINENO"; then :
8672 eval "$as_ac_var=yes"
8673 else
8674 eval "$as_ac_var=no"
8676 rm -f core conftest.err conftest.$ac_objext \
8677 conftest$ac_exeext conftest.$ac_ext
8678 CFLAGS=$ac_wine_try_cflags_saved
8680 eval ac_res=\$$as_ac_var
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8682 $as_echo "$ac_res" >&6; }
8683 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8684 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8685 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8690 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8691 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8692 $as_echo_n "(cached) " >&6
8693 else
8694 ac_wine_try_cflags_saved=$CFLAGS
8695 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8698 int main(int argc, char **argv) { return 0; }
8699 _ACEOF
8700 if ac_fn_c_try_link "$LINENO"; then :
8701 ac_cv_cflags__Wl___enable_new_dtags=yes
8702 else
8703 ac_cv_cflags__Wl___enable_new_dtags=no
8705 rm -f core conftest.err conftest.$ac_objext \
8706 conftest$ac_exeext conftest.$ac_ext
8707 CFLAGS=$ac_wine_try_cflags_saved
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8710 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8711 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8712 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8715 case $host_cpu in
8716 *i[3456789]86* | x86_64)
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8718 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8719 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8726 int main(int argc, char **argv) { return 0; }
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8730 else
8731 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 CFLAGS=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8738 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8739 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8740 case $host_os in
8741 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8742 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8743 esac
8744 else
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8746 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8747 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8748 $as_echo_n "(cached) " >&6
8749 else
8750 ac_wine_try_cflags_saved=$CFLAGS
8751 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 int main(int argc, char **argv) { return 0; }
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8758 else
8759 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8766 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8767 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8768 case $host_os in
8769 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8770 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8771 esac
8773 # Extract the first word of "prelink", so it can be a program name with args.
8774 set dummy prelink; ac_word=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if ${ac_cv_path_PRELINK+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 case $PRELINK in
8781 [\\/]* | ?:[\\/]*)
8782 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 for as_dir in /sbin /usr/sbin $PATH
8788 IFS=$as_save_IFS
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 break 2
8796 done
8797 done
8798 IFS=$as_save_IFS
8800 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8802 esac
8804 PRELINK=$ac_cv_path_PRELINK
8805 if test -n "$PRELINK"; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8807 $as_echo "$PRELINK" >&6; }
8808 else
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8810 $as_echo "no" >&6; }
8814 if test "x$PRELINK" = xfalse
8815 then
8816 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8820 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8821 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_wine_try_cflags_saved=$CFLAGS
8825 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8828 int main(int argc, char **argv) { return 0; }
8829 _ACEOF
8830 if ac_fn_c_try_link "$LINENO"; then :
8831 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8832 else
8833 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8835 rm -f core conftest.err conftest.$ac_objext \
8836 conftest$ac_exeext conftest.$ac_ext
8837 CFLAGS=$ac_wine_try_cflags_saved
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8840 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8841 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8842 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8845 esac
8847 else
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8849 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8850 if ${ac_cv_c_dll_unixware+:} false; then :
8851 $as_echo_n "(cached) " >&6
8852 else
8853 ac_wine_try_cflags_saved=$CFLAGS
8854 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8857 void myfunc() {}
8858 _ACEOF
8859 if ac_fn_c_try_link "$LINENO"; then :
8860 ac_cv_c_dll_unixware="yes"
8861 else
8862 ac_cv_c_dll_unixware="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_c_dll_unixware" >&5
8869 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8870 if test "$ac_cv_c_dll_unixware" = "yes"
8871 then
8872 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8875 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8877 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8879 LIBWINE_INSTALL_DEV="libwine.so"
8881 LIBWINE_DEPENDS="wine.map"
8884 esac
8886 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8887 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8888 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8889 enable_winemac_drv=${enable_winemac_drv:-no}
8890 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8892 CROSSTARGET=""
8894 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8895 then
8896 case "$host_cpu" in
8897 arm*)
8898 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8899 i[3456789]86*)
8900 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
8901 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8902 mingw32-gcc" ;;
8903 x86_64)
8904 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
8905 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8907 ac_prefix_list="" ;;
8908 esac
8909 for ac_prog in $ac_prefix_list
8911 # Extract the first word of "$ac_prog", so it can be a program name with args.
8912 set dummy $ac_prog; ac_word=$2
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8914 $as_echo_n "checking for $ac_word... " >&6; }
8915 if ${ac_cv_prog_CROSSCC+:} false; then :
8916 $as_echo_n "(cached) " >&6
8917 else
8918 if test -n "$CROSSCC"; then
8919 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8920 else
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8922 for as_dir in $PATH
8924 IFS=$as_save_IFS
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8928 ac_cv_prog_CROSSCC="$ac_prog"
8929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 break 2
8932 done
8933 done
8934 IFS=$as_save_IFS
8938 CROSSCC=$ac_cv_prog_CROSSCC
8939 if test -n "$CROSSCC"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8941 $as_echo "$CROSSCC" >&6; }
8942 else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944 $as_echo "no" >&6; }
8948 test -n "$CROSSCC" && break
8949 done
8950 test -n "$CROSSCC" || CROSSCC="false"
8952 if test "$CROSSCC" != "false"
8953 then
8954 ac_save_CC="$CC"
8955 CC="$CROSSCC"
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8957 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8962 main ()
8966 return 0;
8968 _ACEOF
8969 if ac_fn_c_try_compile "$LINENO"; then :
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8971 $as_echo "yes" >&6; }
8972 set x $CROSSCC
8973 shift
8974 while test $# -ge 1
8976 case "$1" in
8977 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8978 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8979 esac
8980 shift
8981 done
8982 else
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8984 $as_echo "no" >&6; }
8986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8987 CC="$ac_save_CC"
8992 if test "$ac_cv_header_pthread_h" = "yes"
8993 then
8994 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8995 if test "x$ac_cv_func_pthread_create" = xyes; then :
8997 else
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8999 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9000 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9001 $as_echo_n "(cached) " >&6
9002 else
9003 ac_check_lib_save_LIBS=$LIBS
9004 LIBS="-lpthread $LIBS"
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9008 /* Override any GCC internal prototype to avoid an error.
9009 Use char because int might match the return type of a GCC
9010 builtin and then its argument prototype would still apply. */
9011 #ifdef __cplusplus
9012 extern "C"
9013 #endif
9014 char pthread_create ();
9016 main ()
9018 return pthread_create ();
9020 return 0;
9022 _ACEOF
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 ac_cv_lib_pthread_pthread_create=yes
9025 else
9026 ac_cv_lib_pthread_pthread_create=no
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 LIBS=$ac_check_lib_save_LIBS
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9033 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9034 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9035 PTHREAD_LIBS="-lpthread"
9042 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9043 case "x$with_pthread" in
9044 xno) ;;
9045 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9046 Wine cannot support threads without libpthread.
9047 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9048 esac
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9054 $as_echo_n "checking for X... " >&6; }
9057 # Check whether --with-x was given.
9058 if test "${with_x+set}" = set; then :
9059 withval=$with_x;
9062 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9063 if test "x$with_x" = xno; then
9064 # The user explicitly disabled X.
9065 have_x=disabled
9066 else
9067 case $x_includes,$x_libraries in #(
9068 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9069 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 # One or both of the vars are not set, and there is no cached value.
9073 ac_x_includes=no ac_x_libraries=no
9074 rm -f -r conftest.dir
9075 if mkdir conftest.dir; then
9076 cd conftest.dir
9077 cat >Imakefile <<'_ACEOF'
9078 incroot:
9079 @echo incroot='${INCROOT}'
9080 usrlibdir:
9081 @echo usrlibdir='${USRLIBDIR}'
9082 libdir:
9083 @echo libdir='${LIBDIR}'
9084 _ACEOF
9085 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9086 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9087 for ac_var in incroot usrlibdir libdir; do
9088 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9089 done
9090 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9091 for ac_extension in a so sl dylib la dll; do
9092 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9093 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9094 ac_im_usrlibdir=$ac_im_libdir; break
9096 done
9097 # Screen out bogus values from the imake configuration. They are
9098 # bogus both because they are the default anyway, and because
9099 # using them would break gcc on systems where it needs fixed includes.
9100 case $ac_im_incroot in
9101 /usr/include) ac_x_includes= ;;
9102 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9103 esac
9104 case $ac_im_usrlibdir in
9105 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9106 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9107 esac
9109 cd ..
9110 rm -f -r conftest.dir
9113 # Standard set of common directories for X headers.
9114 # Check X11 before X11Rn because it is often a symlink to the current release.
9115 ac_x_header_dirs='
9116 /usr/X11/include
9117 /usr/X11R7/include
9118 /usr/X11R6/include
9119 /usr/X11R5/include
9120 /usr/X11R4/include
9122 /usr/include/X11
9123 /usr/include/X11R7
9124 /usr/include/X11R6
9125 /usr/include/X11R5
9126 /usr/include/X11R4
9128 /usr/local/X11/include
9129 /usr/local/X11R7/include
9130 /usr/local/X11R6/include
9131 /usr/local/X11R5/include
9132 /usr/local/X11R4/include
9134 /usr/local/include/X11
9135 /usr/local/include/X11R7
9136 /usr/local/include/X11R6
9137 /usr/local/include/X11R5
9138 /usr/local/include/X11R4
9140 /usr/X386/include
9141 /usr/x386/include
9142 /usr/XFree86/include/X11
9144 /usr/include
9145 /usr/local/include
9146 /usr/unsupported/include
9147 /usr/athena/include
9148 /usr/local/x11r5/include
9149 /usr/lpp/Xamples/include
9151 /usr/openwin/include
9152 /usr/openwin/share/include'
9154 if test "$ac_x_includes" = no; then
9155 # Guess where to find include files, by looking for Xlib.h.
9156 # First, try using that file with no special directory specified.
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9159 #include <X11/Xlib.h>
9160 _ACEOF
9161 if ac_fn_c_try_cpp "$LINENO"; then :
9162 # We can compile using X headers with no special include directory.
9163 ac_x_includes=
9164 else
9165 for ac_dir in $ac_x_header_dirs; do
9166 if test -r "$ac_dir/X11/Xlib.h"; then
9167 ac_x_includes=$ac_dir
9168 break
9170 done
9172 rm -f conftest.err conftest.i conftest.$ac_ext
9173 fi # $ac_x_includes = no
9175 if test "$ac_x_libraries" = no; then
9176 # Check for the libraries.
9177 # See if we find them without any special options.
9178 # Don't add to $LIBS permanently.
9179 ac_save_LIBS=$LIBS
9180 LIBS="-lX11 $LIBS"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9183 #include <X11/Xlib.h>
9185 main ()
9187 XrmInitialize ()
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 LIBS=$ac_save_LIBS
9194 # We can link X programs with no special library path.
9195 ac_x_libraries=
9196 else
9197 LIBS=$ac_save_LIBS
9198 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9200 # Don't even attempt the hair of trying to link an X program!
9201 for ac_extension in a so sl dylib la dll; do
9202 if test -r "$ac_dir/libX11.$ac_extension"; then
9203 ac_x_libraries=$ac_dir
9204 break 2
9206 done
9207 done
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 fi # $ac_x_libraries = no
9213 case $ac_x_includes,$ac_x_libraries in #(
9214 no,* | *,no | *\'*)
9215 # Didn't find X, or a directory has "'" in its name.
9216 ac_cv_have_x="have_x=no";; #(
9218 # Record where we found X for the cache.
9219 ac_cv_have_x="have_x=yes\
9220 ac_x_includes='$ac_x_includes'\
9221 ac_x_libraries='$ac_x_libraries'"
9222 esac
9224 ;; #(
9225 *) have_x=yes;;
9226 esac
9227 eval "$ac_cv_have_x"
9228 fi # $with_x != no
9230 if test "$have_x" != yes; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9232 $as_echo "$have_x" >&6; }
9233 no_x=yes
9234 else
9235 # If each of the values was on the command line, it overrides each guess.
9236 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9237 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9238 # Update the cache value to reflect the command line values.
9239 ac_cv_have_x="have_x=yes\
9240 ac_x_includes='$x_includes'\
9241 ac_x_libraries='$x_libraries'"
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9243 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9246 if test "$no_x" = yes; then
9247 # Not all programs may use this symbol, but it does not hurt to define it.
9249 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9251 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9252 else
9253 if test -n "$x_includes"; then
9254 X_CFLAGS="$X_CFLAGS -I$x_includes"
9257 # It would also be nice to do this for all -L options, not just this one.
9258 if test -n "$x_libraries"; then
9259 X_LIBS="$X_LIBS -L$x_libraries"
9260 # For Solaris; some versions of Sun CC require a space after -R and
9261 # others require no space. Words are not sufficient . . . .
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9263 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9264 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9265 ac_xsave_c_werror_flag=$ac_c_werror_flag
9266 ac_c_werror_flag=yes
9267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9268 /* end confdefs.h. */
9271 main ()
9275 return 0;
9277 _ACEOF
9278 if ac_fn_c_try_link "$LINENO"; then :
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 $as_echo "no" >&6; }
9281 X_LIBS="$X_LIBS -R$x_libraries"
9282 else
9283 LIBS="$ac_xsave_LIBS -R $x_libraries"
9284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9285 /* end confdefs.h. */
9288 main ()
9292 return 0;
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9297 $as_echo "yes" >&6; }
9298 X_LIBS="$X_LIBS -R $x_libraries"
9299 else
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9301 $as_echo "neither works" >&6; }
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 ac_c_werror_flag=$ac_xsave_c_werror_flag
9309 LIBS=$ac_xsave_LIBS
9312 # Check for system-dependent libraries X programs must link with.
9313 # Do this before checking for the system-independent R6 libraries
9314 # (-lICE), since we may need -lsocket or whatever for X linking.
9316 if test "$ISC" = yes; then
9317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9318 else
9319 # Martyn Johnson says this is needed for Ultrix, if the X
9320 # libraries were built with DECnet support. And Karl Berry says
9321 # the Alpha needs dnet_stub (dnet does not exist).
9322 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char XOpenDisplay ();
9334 main ()
9336 return XOpenDisplay ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9343 else
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9345 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9346 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_check_lib_save_LIBS=$LIBS
9350 LIBS="-ldnet $LIBS"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9357 #ifdef __cplusplus
9358 extern "C"
9359 #endif
9360 char dnet_ntoa ();
9362 main ()
9364 return dnet_ntoa ();
9366 return 0;
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 ac_cv_lib_dnet_dnet_ntoa=yes
9371 else
9372 ac_cv_lib_dnet_dnet_ntoa=no
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_lib_save_LIBS
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9379 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9380 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9381 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9384 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9386 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9387 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9388 $as_echo_n "(cached) " >&6
9389 else
9390 ac_check_lib_save_LIBS=$LIBS
9391 LIBS="-ldnet_stub $LIBS"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9395 /* Override any GCC internal prototype to avoid an error.
9396 Use char because int might match the return type of a GCC
9397 builtin and then its argument prototype would still apply. */
9398 #ifdef __cplusplus
9399 extern "C"
9400 #endif
9401 char dnet_ntoa ();
9403 main ()
9405 return dnet_ntoa ();
9407 return 0;
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9412 else
9413 ac_cv_lib_dnet_stub_dnet_ntoa=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9420 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9421 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9422 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 LIBS="$ac_xsave_LIBS"
9431 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9432 # to get the SysV transport functions.
9433 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9434 # needs -lnsl.
9435 # The nsl library prevents programs from opening the X display
9436 # on Irix 5.2, according to T.E. Dickey.
9437 # The functions gethostbyname, getservbyname, and inet_addr are
9438 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9439 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9440 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9444 if test $ac_cv_func_gethostbyname = no; then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9446 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9447 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9448 $as_echo_n "(cached) " >&6
9449 else
9450 ac_check_lib_save_LIBS=$LIBS
9451 LIBS="-lnsl $LIBS"
9452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9455 /* Override any GCC internal prototype to avoid an error.
9456 Use char because int might match the return type of a GCC
9457 builtin and then its argument prototype would still apply. */
9458 #ifdef __cplusplus
9459 extern "C"
9460 #endif
9461 char gethostbyname ();
9463 main ()
9465 return gethostbyname ();
9467 return 0;
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 ac_cv_lib_nsl_gethostbyname=yes
9472 else
9473 ac_cv_lib_nsl_gethostbyname=no
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 LIBS=$ac_check_lib_save_LIBS
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9480 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9481 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9482 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9485 if test $ac_cv_lib_nsl_gethostbyname = no; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9487 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9488 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 ac_check_lib_save_LIBS=$LIBS
9492 LIBS="-lbsd $LIBS"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9496 /* Override any GCC internal prototype to avoid an error.
9497 Use char because int might match the return type of a GCC
9498 builtin and then its argument prototype would still apply. */
9499 #ifdef __cplusplus
9500 extern "C"
9501 #endif
9502 char gethostbyname ();
9504 main ()
9506 return gethostbyname ();
9508 return 0;
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512 ac_cv_lib_bsd_gethostbyname=yes
9513 else
9514 ac_cv_lib_bsd_gethostbyname=no
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 LIBS=$ac_check_lib_save_LIBS
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9521 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9522 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9529 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9530 # socket/setsockopt and other routines are undefined under SCO ODT
9531 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9532 # on later versions), says Simon Leinen: it contains gethostby*
9533 # variants that don't use the name server (or something). -lsocket
9534 # must be given before -lnsl if both are needed. We assume that
9535 # if connect needs -lnsl, so does gethostbyname.
9536 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9537 if test "x$ac_cv_func_connect" = xyes; then :
9541 if test $ac_cv_func_connect = no; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9543 $as_echo_n "checking for connect in -lsocket... " >&6; }
9544 if ${ac_cv_lib_socket_connect+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_check_lib_save_LIBS=$LIBS
9548 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9555 #ifdef __cplusplus
9556 extern "C"
9557 #endif
9558 char connect ();
9560 main ()
9562 return connect ();
9564 return 0;
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9568 ac_cv_lib_socket_connect=yes
9569 else
9570 ac_cv_lib_socket_connect=no
9572 rm -f core conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_lib_save_LIBS
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9577 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9578 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9579 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9584 # Guillermo Gomez says -lposix is necessary on A/UX.
9585 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9586 if test "x$ac_cv_func_remove" = xyes; then :
9590 if test $ac_cv_func_remove = no; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9592 $as_echo_n "checking for remove in -lposix... " >&6; }
9593 if ${ac_cv_lib_posix_remove+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_check_lib_save_LIBS=$LIBS
9597 LIBS="-lposix $LIBS"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9604 #ifdef __cplusplus
9605 extern "C"
9606 #endif
9607 char remove ();
9609 main ()
9611 return remove ();
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617 ac_cv_lib_posix_remove=yes
9618 else
9619 ac_cv_lib_posix_remove=no
9621 rm -f core conftest.err conftest.$ac_objext \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9626 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9627 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9633 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9634 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9635 if test "x$ac_cv_func_shmat" = xyes; then :
9639 if test $ac_cv_func_shmat = no; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9641 $as_echo_n "checking for shmat in -lipc... " >&6; }
9642 if ${ac_cv_lib_ipc_shmat+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 ac_check_lib_save_LIBS=$LIBS
9646 LIBS="-lipc $LIBS"
9647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9648 /* end confdefs.h. */
9650 /* Override any GCC internal prototype to avoid an error.
9651 Use char because int might match the return type of a GCC
9652 builtin and then its argument prototype would still apply. */
9653 #ifdef __cplusplus
9654 extern "C"
9655 #endif
9656 char shmat ();
9658 main ()
9660 return shmat ();
9662 return 0;
9664 _ACEOF
9665 if ac_fn_c_try_link "$LINENO"; then :
9666 ac_cv_lib_ipc_shmat=yes
9667 else
9668 ac_cv_lib_ipc_shmat=no
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LIBS=$ac_check_lib_save_LIBS
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9675 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9676 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9677 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9683 # Check for libraries that X11R6 Xt/Xaw programs need.
9684 ac_save_LDFLAGS=$LDFLAGS
9685 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9686 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9687 # check for ICE first), but we must link in the order -lSM -lICE or
9688 # we get undefined symbols. So assume we have SM if we have ICE.
9689 # These have to be linked with before -lX11, unlike the other
9690 # libraries we check for below, so use a different variable.
9691 # John Interrante, Karl Berry
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9693 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9694 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_lib_save_LIBS=$LIBS
9698 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char IceConnectionNumber ();
9710 main ()
9712 return IceConnectionNumber ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 ac_cv_lib_ICE_IceConnectionNumber=yes
9719 else
9720 ac_cv_lib_ICE_IceConnectionNumber=no
9722 rm -f core conftest.err conftest.$ac_objext \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9727 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9728 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9729 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9732 LDFLAGS=$ac_save_LDFLAGS
9737 if test "$have_x" = "yes"
9738 then
9739 ac_save_CPPFLAGS="$CPPFLAGS"
9740 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9743 $as_echo_n "checking for -lX11... " >&6; }
9744 if ${ac_cv_lib_soname_X11+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_check_soname_save_LIBS=$LIBS
9748 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9752 /* Override any GCC internal prototype to avoid an error.
9753 Use char because int might match the return type of a GCC
9754 builtin and then its argument prototype would still apply. */
9755 #ifdef __cplusplus
9756 extern "C"
9757 #endif
9758 char XCreateWindow ();
9760 main ()
9762 return XCreateWindow ();
9764 return 0;
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 case "$LIBEXT" in
9769 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9770 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'` ;;
9771 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9772 if ${ac_cv_lib_soname_X11:+false} :; then :
9773 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9774 fi ;;
9775 esac
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if ${ac_cv_lib_soname_X11:+false} :; then :
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9783 $as_echo "not found" >&6; }
9785 else
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9787 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9791 _ACEOF
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9796 $as_echo_n "checking for -lXext... " >&6; }
9797 if ${ac_cv_lib_soname_Xext+:} false; then :
9798 $as_echo_n "(cached) " >&6
9799 else
9800 ac_check_soname_save_LIBS=$LIBS
9801 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9808 #ifdef __cplusplus
9809 extern "C"
9810 #endif
9811 char XextCreateExtension ();
9813 main ()
9815 return XextCreateExtension ();
9817 return 0;
9819 _ACEOF
9820 if ac_fn_c_try_link "$LINENO"; then :
9821 case "$LIBEXT" in
9822 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9823 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'` ;;
9824 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9825 if ${ac_cv_lib_soname_Xext:+false} :; then :
9826 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9827 fi ;;
9828 esac
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LIBS=$ac_check_soname_save_LIBS
9834 if ${ac_cv_lib_soname_Xext:+false} :; then :
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9836 $as_echo "not found" >&6; }
9838 else
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9840 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9842 cat >>confdefs.h <<_ACEOF
9843 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9844 _ACEOF
9846 X_LIBS="$X_LIBS -lXext"
9848 X_LIBS="$X_LIBS -lX11"
9850 for ac_header in X11/Xlib.h \
9851 X11/XKBlib.h \
9852 X11/Xutil.h \
9853 X11/Xcursor/Xcursor.h \
9854 X11/extensions/shape.h \
9855 X11/extensions/XInput.h \
9856 X11/extensions/XInput2.h \
9857 X11/extensions/XShm.h \
9858 X11/extensions/Xcomposite.h \
9859 X11/extensions/Xfixes.h \
9860 X11/extensions/Xinerama.h \
9861 X11/extensions/Xrandr.h \
9862 X11/extensions/Xrender.h \
9863 X11/extensions/xf86vmode.h \
9864 X11/extensions/xf86vmproto.h
9865 do :
9866 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9867 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9868 # include <X11/Xlib.h>
9869 #endif
9870 #ifdef HAVE_X11_XUTIL_H
9871 # include <X11/Xutil.h>
9872 #endif
9874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9875 cat >>confdefs.h <<_ACEOF
9876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9877 _ACEOF
9881 done
9884 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9885 then
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9887 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9888 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_check_lib_save_LIBS=$LIBS
9892 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 char XkbQueryExtension ();
9904 main ()
9906 return XkbQueryExtension ();
9908 return 0;
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_lib_X11_XkbQueryExtension=yes
9913 else
9914 ac_cv_lib_X11_XkbQueryExtension=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LIBS=$ac_check_lib_save_LIBS
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9921 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9922 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9924 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9930 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9931 then
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9933 $as_echo_n "checking for -lXcursor... " >&6; }
9934 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9935 $as_echo_n "(cached) " >&6
9936 else
9937 ac_check_soname_save_LIBS=$LIBS
9938 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9945 #ifdef __cplusplus
9946 extern "C"
9947 #endif
9948 char XcursorImageLoadCursor ();
9950 main ()
9952 return XcursorImageLoadCursor ();
9954 return 0;
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 case "$LIBEXT" in
9959 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9960 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'` ;;
9961 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9962 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9963 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9964 fi ;;
9965 esac
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LIBS=$ac_check_soname_save_LIBS
9971 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9973 $as_echo "not found" >&6; }
9975 else
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9977 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9979 cat >>confdefs.h <<_ACEOF
9980 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9981 _ACEOF
9986 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9987 case "x$with_xcursor" in
9988 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9989 xno) ;;
9990 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9991 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9992 esac
9996 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9997 then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9999 $as_echo_n "checking for -lXi... " >&6; }
10000 if ${ac_cv_lib_soname_Xi+:} false; then :
10001 $as_echo_n "(cached) " >&6
10002 else
10003 ac_check_soname_save_LIBS=$LIBS
10004 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10008 /* Override any GCC internal prototype to avoid an error.
10009 Use char because int might match the return type of a GCC
10010 builtin and then its argument prototype would still apply. */
10011 #ifdef __cplusplus
10012 extern "C"
10013 #endif
10014 char XOpenDevice ();
10016 main ()
10018 return XOpenDevice ();
10020 return 0;
10022 _ACEOF
10023 if ac_fn_c_try_link "$LINENO"; then :
10024 case "$LIBEXT" in
10025 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10026 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'` ;;
10027 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10028 if ${ac_cv_lib_soname_Xi:+false} :; then :
10029 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10030 fi ;;
10031 esac
10033 rm -f core conftest.err conftest.$ac_objext \
10034 conftest$ac_exeext conftest.$ac_ext
10035 LIBS=$ac_check_soname_save_LIBS
10037 if ${ac_cv_lib_soname_Xi:+false} :; then :
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10039 $as_echo "not found" >&6; }
10041 else
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10043 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10045 cat >>confdefs.h <<_ACEOF
10046 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10047 _ACEOF
10052 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10053 case "x$with_xinput" in
10054 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10055 xno) ;;
10056 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10057 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10058 esac
10062 if test "x$ac_cv_lib_soname_Xi" != x
10063 then
10064 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10065 case "x$with_xinput2" in
10066 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10067 xno) ;;
10068 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10069 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10070 esac
10075 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10076 then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10078 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10079 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_check_lib_save_LIBS=$LIBS
10083 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10090 #ifdef __cplusplus
10091 extern "C"
10092 #endif
10093 char XShmQueryExtension ();
10095 main ()
10097 return XShmQueryExtension ();
10099 return 0;
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 ac_cv_lib_Xext_XShmQueryExtension=yes
10104 else
10105 ac_cv_lib_Xext_XShmQueryExtension=no
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 LIBS=$ac_check_lib_save_LIBS
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10112 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10113 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10115 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10120 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10121 case "x$with_xshm" in
10122 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10123 xno) ;;
10124 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10125 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10126 esac
10130 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10131 then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10133 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10134 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10135 $as_echo_n "(cached) " >&6
10136 else
10137 ac_check_lib_save_LIBS=$LIBS
10138 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10145 #ifdef __cplusplus
10146 extern "C"
10147 #endif
10148 char XShapeQueryExtension ();
10150 main ()
10152 return XShapeQueryExtension ();
10154 return 0;
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_lib_Xext_XShapeQueryExtension=yes
10159 else
10160 ac_cv_lib_Xext_XShapeQueryExtension=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 LIBS=$ac_check_lib_save_LIBS
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10167 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10168 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10170 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10175 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10176 case "x$with_xshape" in
10177 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10178 xno) ;;
10179 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10180 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10181 esac
10185 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10186 then
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10188 $as_echo_n "checking for -lXxf86vm... " >&6; }
10189 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 ac_check_soname_save_LIBS=$LIBS
10193 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10197 /* Override any GCC internal prototype to avoid an error.
10198 Use char because int might match the return type of a GCC
10199 builtin and then its argument prototype would still apply. */
10200 #ifdef __cplusplus
10201 extern "C"
10202 #endif
10203 char XF86VidModeQueryExtension ();
10205 main ()
10207 return XF86VidModeQueryExtension ();
10209 return 0;
10211 _ACEOF
10212 if ac_fn_c_try_link "$LINENO"; then :
10213 case "$LIBEXT" in
10214 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10215 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'` ;;
10216 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10217 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10218 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10219 fi ;;
10220 esac
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_soname_save_LIBS
10226 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10228 $as_echo "not found" >&6; }
10230 else
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10232 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10234 cat >>confdefs.h <<_ACEOF
10235 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10236 _ACEOF
10241 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10242 case "x$with_xxf86vm" in
10243 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10244 xno) ;;
10245 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10246 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10247 esac
10251 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10252 then
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10254 $as_echo_n "checking for -lXrender... " >&6; }
10255 if ${ac_cv_lib_soname_Xrender+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_check_soname_save_LIBS=$LIBS
10259 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10266 #ifdef __cplusplus
10267 extern "C"
10268 #endif
10269 char XRenderQueryExtension ();
10271 main ()
10273 return XRenderQueryExtension ();
10275 return 0;
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 case "$LIBEXT" in
10280 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10281 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'` ;;
10282 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10283 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10284 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10285 fi ;;
10286 esac
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_soname_save_LIBS
10292 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10294 $as_echo "not found" >&6; }
10296 else
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10298 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10300 cat >>confdefs.h <<_ACEOF
10301 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10302 _ACEOF
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10305 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10306 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_check_lib_save_LIBS=$LIBS
10310 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10317 #ifdef __cplusplus
10318 extern "C"
10319 #endif
10320 char XRenderSetPictureTransform ();
10322 main ()
10324 return XRenderSetPictureTransform ();
10326 return 0;
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10331 else
10332 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 LIBS=$ac_check_lib_save_LIBS
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10339 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10340 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10342 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10347 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10348 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10349 $as_echo_n "(cached) " >&6
10350 else
10351 ac_check_lib_save_LIBS=$LIBS
10352 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10356 /* Override any GCC internal prototype to avoid an error.
10357 Use char because int might match the return type of a GCC
10358 builtin and then its argument prototype would still apply. */
10359 #ifdef __cplusplus
10360 extern "C"
10361 #endif
10362 char XRenderCreateLinearGradient ();
10364 main ()
10366 return XRenderCreateLinearGradient ();
10368 return 0;
10370 _ACEOF
10371 if ac_fn_c_try_link "$LINENO"; then :
10372 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10373 else
10374 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10376 rm -f core conftest.err conftest.$ac_objext \
10377 conftest$ac_exeext conftest.$ac_ext
10378 LIBS=$ac_check_lib_save_LIBS
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10381 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10382 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10384 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10391 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10392 case "x$with_xrender" in
10393 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10394 xno) ;;
10395 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10396 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10397 esac
10401 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10402 then
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10405 #include <X11/Xlib.h>
10406 #include <X11/extensions/Xrandr.h>
10408 main ()
10410 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10412 return 0;
10414 _ACEOF
10415 if ac_fn_c_try_compile "$LINENO"; then :
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10417 $as_echo_n "checking for -lXrandr... " >&6; }
10418 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10419 $as_echo_n "(cached) " >&6
10420 else
10421 ac_check_soname_save_LIBS=$LIBS
10422 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10426 /* Override any GCC internal prototype to avoid an error.
10427 Use char because int might match the return type of a GCC
10428 builtin and then its argument prototype would still apply. */
10429 #ifdef __cplusplus
10430 extern "C"
10431 #endif
10432 char XRRQueryExtension ();
10434 main ()
10436 return XRRQueryExtension ();
10438 return 0;
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 case "$LIBEXT" in
10443 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10444 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'` ;;
10445 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10446 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10447 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10448 fi ;;
10449 esac
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 LIBS=$ac_check_soname_save_LIBS
10455 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10457 $as_echo "not found" >&6; }
10459 else
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10461 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10463 cat >>confdefs.h <<_ACEOF
10464 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10465 _ACEOF
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10469 #include <X11/Xlib.h>
10470 #include <X11/extensions/Xrandr.h>
10472 main ()
10474 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10476 return 0;
10478 _ACEOF
10479 if ac_fn_c_try_compile "$LINENO"; then :
10481 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10489 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10490 case "x$with_xrandr" in
10491 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10492 xno) ;;
10493 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10494 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10495 esac
10499 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10500 then
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 #include <X11/Xlib.h>
10504 #include <X11/extensions/Xfixes.h>
10506 main ()
10508 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10510 return 0;
10512 _ACEOF
10513 if ac_fn_c_try_compile "$LINENO"; then :
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10515 $as_echo_n "checking for -lXfixes... " >&6; }
10516 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_check_soname_save_LIBS=$LIBS
10520 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 char XFixesQueryVersion ();
10532 main ()
10534 return XFixesQueryVersion ();
10536 return 0;
10538 _ACEOF
10539 if ac_fn_c_try_link "$LINENO"; then :
10540 case "$LIBEXT" in
10541 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10542 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'` ;;
10543 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10544 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10545 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10546 fi ;;
10547 esac
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_soname_save_LIBS
10553 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10555 $as_echo "not found" >&6; }
10557 else
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10559 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10561 cat >>confdefs.h <<_ACEOF
10562 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10563 _ACEOF
10568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10570 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10571 case "x$with_xfixes" in
10572 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10573 xno) ;;
10574 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10575 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10576 esac
10580 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10581 then
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10584 #include <X11/Xlib.h>
10585 #include <X11/extensions/Xinerama.h>
10587 main ()
10589 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10591 return 0;
10593 _ACEOF
10594 if ac_fn_c_try_compile "$LINENO"; then :
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10596 $as_echo_n "checking for -lXinerama... " >&6; }
10597 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10598 $as_echo_n "(cached) " >&6
10599 else
10600 ac_check_soname_save_LIBS=$LIBS
10601 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10605 /* Override any GCC internal prototype to avoid an error.
10606 Use char because int might match the return type of a GCC
10607 builtin and then its argument prototype would still apply. */
10608 #ifdef __cplusplus
10609 extern "C"
10610 #endif
10611 char XineramaQueryScreens ();
10613 main ()
10615 return XineramaQueryScreens ();
10617 return 0;
10619 _ACEOF
10620 if ac_fn_c_try_link "$LINENO"; then :
10621 case "$LIBEXT" in
10622 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10623 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'` ;;
10624 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10625 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10626 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10627 fi ;;
10628 esac
10630 rm -f core conftest.err conftest.$ac_objext \
10631 conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_soname_save_LIBS
10634 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10636 $as_echo "not found" >&6; }
10638 else
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10640 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10642 cat >>confdefs.h <<_ACEOF
10643 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10644 _ACEOF
10649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10651 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10652 case "x$with_xinerama" in
10653 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10654 xno) ;;
10655 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10656 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10657 esac
10661 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10662 then
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10664 $as_echo_n "checking for -lXcomposite... " >&6; }
10665 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10666 $as_echo_n "(cached) " >&6
10667 else
10668 ac_check_soname_save_LIBS=$LIBS
10669 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10676 #ifdef __cplusplus
10677 extern "C"
10678 #endif
10679 char XCompositeRedirectWindow ();
10681 main ()
10683 return XCompositeRedirectWindow ();
10685 return 0;
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 case "$LIBEXT" in
10690 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10691 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'` ;;
10692 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10693 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10694 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10695 fi ;;
10696 esac
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_soname_save_LIBS
10702 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10704 $as_echo "not found" >&6; }
10706 else
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10708 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10710 cat >>confdefs.h <<_ACEOF
10711 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10712 _ACEOF
10717 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10718 case "x$with_xcomposite" in
10719 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10720 xno) ;;
10721 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10722 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10723 esac
10727 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10728 #include <X11/Xlib.h>
10729 #endif
10731 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10733 cat >>confdefs.h <<_ACEOF
10734 #define HAVE_XICCALLBACK_CALLBACK 1
10735 _ACEOF
10739 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10740 #include <X11/Xlib.h>
10741 #endif
10743 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10745 cat >>confdefs.h <<_ACEOF
10746 #define HAVE_XEVENT_XCOOKIE 1
10747 _ACEOF
10754 opengl_msg=""
10755 if test "x$with_opengl" != "xno"
10756 then
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10758 $as_echo_n "checking for -lGL... " >&6; }
10759 if ${ac_cv_lib_soname_GL+:} false; then :
10760 $as_echo_n "(cached) " >&6
10761 else
10762 ac_check_soname_save_LIBS=$LIBS
10763 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10767 /* Override any GCC internal prototype to avoid an error.
10768 Use char because int might match the return type of a GCC
10769 builtin and then its argument prototype would still apply. */
10770 #ifdef __cplusplus
10771 extern "C"
10772 #endif
10773 char glXCreateContext ();
10775 main ()
10777 return glXCreateContext ();
10779 return 0;
10781 _ACEOF
10782 if ac_fn_c_try_link "$LINENO"; then :
10783 case "$LIBEXT" in
10784 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10785 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'` ;;
10786 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10787 if ${ac_cv_lib_soname_GL:+false} :; then :
10788 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10789 fi ;;
10790 esac
10792 rm -f core conftest.err conftest.$ac_objext \
10793 conftest$ac_exeext conftest.$ac_ext
10794 LIBS=$ac_check_soname_save_LIBS
10796 if ${ac_cv_lib_soname_GL:+false} :; then :
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10798 $as_echo "not found" >&6; }
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10800 $as_echo_n "checking for -lGL... " >&6; }
10801 if ${ac_cv_lib_soname_GL+:} false; then :
10802 $as_echo_n "(cached) " >&6
10803 else
10804 ac_check_soname_save_LIBS=$LIBS
10805 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"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10812 #ifdef __cplusplus
10813 extern "C"
10814 #endif
10815 char glXCreateContext ();
10817 main ()
10819 return glXCreateContext ();
10821 return 0;
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825 case "$LIBEXT" in
10826 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10827 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'` ;;
10828 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10829 if ${ac_cv_lib_soname_GL:+false} :; then :
10830 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10831 fi ;;
10832 esac
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10836 LIBS=$ac_check_soname_save_LIBS
10838 if ${ac_cv_lib_soname_GL:+false} :; then :
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10840 $as_echo "not found" >&6; }
10841 if test -f /usr/X11R6/lib/libGL.a
10842 then
10843 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10844 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10845 else
10846 opengl_msg="No OpenGL library found on this system."
10848 else
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10850 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10852 cat >>confdefs.h <<_ACEOF
10853 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10854 _ACEOF
10856 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"
10858 else
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10860 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10862 cat >>confdefs.h <<_ACEOF
10863 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10864 _ACEOF
10866 OPENGL_LIBS="-lGL"
10868 if test "x$with_glu" != "xno"
10869 then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10871 $as_echo_n "checking for -lGLU... " >&6; }
10872 if ${ac_cv_lib_soname_GLU+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
10875 ac_check_soname_save_LIBS=$LIBS
10876 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10883 #ifdef __cplusplus
10884 extern "C"
10885 #endif
10886 char gluLookAt ();
10888 main ()
10890 return gluLookAt ();
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 case "$LIBEXT" in
10897 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10898 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'` ;;
10899 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10900 if ${ac_cv_lib_soname_GLU:+false} :; then :
10901 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10902 fi ;;
10903 esac
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_soname_save_LIBS
10909 if ${ac_cv_lib_soname_GLU:+false} :; then :
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10911 $as_echo "not found" >&6; }
10913 else
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10915 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10917 cat >>confdefs.h <<_ACEOF
10918 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10919 _ACEOF
10923 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10924 case "x$with_glu" in
10925 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10926 xno) ;;
10927 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10928 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10929 esac
10934 if test "x$with_osmesa" != "xno"
10935 then
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10937 $as_echo_n "checking for -lOSMesa... " >&6; }
10938 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10939 $as_echo_n "(cached) " >&6
10940 else
10941 ac_check_soname_save_LIBS=$LIBS
10942 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10949 #ifdef __cplusplus
10950 extern "C"
10951 #endif
10952 char OSMesaGetProcAddress ();
10954 main ()
10956 return OSMesaGetProcAddress ();
10958 return 0;
10960 _ACEOF
10961 if ac_fn_c_try_link "$LINENO"; then :
10962 case "$LIBEXT" in
10963 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10964 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'` ;;
10965 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10966 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10967 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10968 fi ;;
10969 esac
10971 rm -f core conftest.err conftest.$ac_objext \
10972 conftest$ac_exeext conftest.$ac_ext
10973 LIBS=$ac_check_soname_save_LIBS
10975 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10977 $as_echo "not found" >&6; }
10979 else
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10981 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10983 cat >>confdefs.h <<_ACEOF
10984 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10985 _ACEOF
10989 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10990 case "x$with_osmesa" in
10991 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10992 xno) ;;
10993 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10994 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10995 esac
11000 if test -n "$opengl_msg"; then :
11001 case "x$with_opengl" in
11002 x) as_fn_append wine_warnings "|$opengl_msg
11003 OpenGL and Direct3D won't be supported." ;;
11004 xno) ;;
11005 *) as_fn_error $? "$opengl_msg
11006 OpenGL and Direct3D won't be supported.
11007 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11008 esac
11012 CPPFLAGS="$ac_save_CPPFLAGS"
11013 else
11014 X_CFLAGS=""
11015 X_LIBS=""
11018 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11019 then
11020 if test "x$X_LIBS" = "x"; then :
11021 case "x$with_x" in
11022 xno) ;;
11023 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11024 without X support, which probably isn't what you want. You will need
11025 to install ${notice_platform}development packages of Xlib at the very least.
11026 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11027 esac
11028 enable_winex11_drv=${enable_winex11_drv:-no}
11030 else
11031 if test "x$X_LIBS" = "x"; then :
11032 case "x$with_x" in
11033 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11034 xno) ;;
11035 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11036 This is an error since --with-x was requested." "$LINENO" 5 ;;
11037 esac
11038 enable_winex11_drv=${enable_winex11_drv:-no}
11042 if test "$ac_cv_header_CL_cl_h" = "yes"
11043 then
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11045 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11046 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11047 $as_echo_n "(cached) " >&6
11048 else
11049 ac_check_lib_save_LIBS=$LIBS
11050 LIBS="-lOpenCL $LIBS"
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11057 #ifdef __cplusplus
11058 extern "C"
11059 #endif
11060 char clGetPlatformInfo ();
11062 main ()
11064 return clGetPlatformInfo ();
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11071 else
11072 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11074 rm -f core conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11079 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11080 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11081 OPENCL_LIBS="-lOpenCL"
11086 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11087 case "x$with_opencl" in
11088 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11089 xno) ;;
11090 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11091 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11092 esac
11093 enable_opencl=${enable_opencl:-no}
11096 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11097 then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11099 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11100 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lpcap $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char pcap_create ();
11116 main ()
11118 return pcap_create ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_pcap_pcap_create=yes
11125 else
11126 ac_cv_lib_pcap_pcap_create=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11133 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11134 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11135 PCAP_LIBS="-lpcap"
11140 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11141 case "x$with_pcap" in
11142 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11143 xno) ;;
11144 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11145 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11146 esac
11147 enable_wpcap=${enable_wpcap:-no}
11151 if test "x$with_xml" != "xno"
11152 then
11153 if ${XML2_CFLAGS:+false} :; then :
11154 if ${PKG_CONFIG+:} false; then :
11155 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11158 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11159 if ${XML2_LIBS:+false} :; then :
11160 if ${PKG_CONFIG+:} false; then :
11161 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11164 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11165 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11166 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11167 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11168 ac_save_CPPFLAGS=$CPPFLAGS
11169 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11170 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11171 do :
11172 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11173 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11174 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11175 cat >>confdefs.h <<_ACEOF
11176 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11177 _ACEOF
11181 done
11183 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"
11184 then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11186 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11187 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11188 $as_echo_n "(cached) " >&6
11189 else
11190 ac_check_lib_save_LIBS=$LIBS
11191 LIBS="-lxml2 $XML2_LIBS $LIBS"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char xmlParseMemory ();
11203 main ()
11205 return xmlParseMemory ();
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 ac_cv_lib_xml2_xmlParseMemory=yes
11212 else
11213 ac_cv_lib_xml2_xmlParseMemory=no
11215 rm -f core conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11220 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11221 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11223 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11225 else
11226 XML2_LIBS=""
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11230 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11231 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-lxml2 $XML2_LIBS $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char xmlReadMemory ();
11247 main ()
11249 return xmlReadMemory ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_xml2_xmlReadMemory=yes
11256 else
11257 ac_cv_lib_xml2_xmlReadMemory=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11264 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11265 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11267 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11272 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11273 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-lxml2 $XML2_LIBS $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char xmlNewDocPI ();
11289 main ()
11291 return xmlNewDocPI ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_xml2_xmlNewDocPI=yes
11298 else
11299 ac_cv_lib_xml2_xmlNewDocPI=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11306 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11307 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11309 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11314 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11315 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lxml2 $XML2_LIBS $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char xmlSchemaSetParserStructuredErrors ();
11331 main ()
11333 return xmlSchemaSetParserStructuredErrors ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11340 else
11341 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11348 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11349 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11351 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11356 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11357 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11358 $as_echo_n "(cached) " >&6
11359 else
11360 ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-lxml2 $XML2_LIBS $LIBS"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11368 #ifdef __cplusplus
11369 extern "C"
11370 #endif
11371 char xmlSchemaSetValidStructuredErrors ();
11373 main ()
11375 return xmlSchemaSetValidStructuredErrors ();
11377 return 0;
11379 _ACEOF
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11382 else
11383 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11390 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11391 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11393 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11398 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11399 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11400 $as_echo_n "(cached) " >&6
11401 else
11402 ac_check_lib_save_LIBS=$LIBS
11403 LIBS="-lxml2 $XML2_LIBS $LIBS"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11410 #ifdef __cplusplus
11411 extern "C"
11412 #endif
11413 char xmlFirstElementChild ();
11415 main ()
11417 return xmlFirstElementChild ();
11419 return 0;
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"; then :
11423 ac_cv_lib_xml2_xmlFirstElementChild=yes
11424 else
11425 ac_cv_lib_xml2_xmlFirstElementChild=no
11427 rm -f core conftest.err conftest.$ac_objext \
11428 conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_lib_save_LIBS
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11432 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11433 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11435 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11439 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11441 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11443 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11447 else
11448 XML2_CFLAGS=""
11449 XML2_LIBS=""
11451 CPPFLAGS=$ac_save_CPPFLAGS
11452 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11453 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11456 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11457 case "x$with_xml" in
11458 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11459 xno) ;;
11460 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11461 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11462 esac
11466 if test "x$with_xslt" != "xno"
11467 then
11468 if ${XSLT_CFLAGS:+false} :; then :
11469 if ${PKG_CONFIG+:} false; then :
11470 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11473 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11474 if ${XSLT_LIBS:+false} :; then :
11475 if ${PKG_CONFIG+:} false; then :
11476 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11479 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11480 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11481 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11482 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11483 ac_save_CPPFLAGS=$CPPFLAGS
11484 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11485 for ac_header in libxslt/pattern.h libxslt/transform.h
11486 do :
11487 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11488 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11489 # include <libxslt/pattern.h>
11490 #endif
11492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11493 cat >>confdefs.h <<_ACEOF
11494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11495 _ACEOF
11499 done
11501 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11502 then
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11504 $as_echo_n "checking for -lxslt... " >&6; }
11505 if ${ac_cv_lib_soname_xslt+:} false; then :
11506 $as_echo_n "(cached) " >&6
11507 else
11508 ac_check_soname_save_LIBS=$LIBS
11509 LIBS="-lxslt $XSLT_LIBS $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char xsltCompilePattern ();
11521 main ()
11523 return xsltCompilePattern ();
11525 return 0;
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 case "$LIBEXT" in
11530 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11531 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'` ;;
11532 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11533 if ${ac_cv_lib_soname_xslt:+false} :; then :
11534 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11535 fi ;;
11536 esac
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_soname_save_LIBS
11542 if ${ac_cv_lib_soname_xslt:+false} :; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11548 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11550 cat >>confdefs.h <<_ACEOF
11551 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11552 _ACEOF
11556 else
11557 XSLT_CFLAGS=""
11559 CPPFLAGS=$ac_save_CPPFLAGS
11560 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11561 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11564 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11565 case "x$with_xslt" in
11566 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11567 xno) ;;
11568 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11569 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11570 esac
11574 if test "x$with_dbus" != "xno"
11575 then
11576 if ${DBUS_CFLAGS:+false} :; then :
11577 if ${PKG_CONFIG+:} false; then :
11578 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11582 if ${DBUS_LIBS:+false} :; then :
11583 if ${PKG_CONFIG+:} false; then :
11584 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11589 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11590 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11591 ac_save_CPPFLAGS=$CPPFLAGS
11592 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11593 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11594 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11596 $as_echo_n "checking for -ldbus-1... " >&6; }
11597 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11598 $as_echo_n "(cached) " >&6
11599 else
11600 ac_check_soname_save_LIBS=$LIBS
11601 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11605 /* Override any GCC internal prototype to avoid an error.
11606 Use char because int might match the return type of a GCC
11607 builtin and then its argument prototype would still apply. */
11608 #ifdef __cplusplus
11609 extern "C"
11610 #endif
11611 char dbus_connection_close ();
11613 main ()
11615 return dbus_connection_close ();
11617 return 0;
11619 _ACEOF
11620 if ac_fn_c_try_link "$LINENO"; then :
11621 case "$LIBEXT" in
11622 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11623 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'` ;;
11624 *) 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'`
11625 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11626 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11627 fi ;;
11628 esac
11630 rm -f core conftest.err conftest.$ac_objext \
11631 conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_soname_save_LIBS
11634 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11636 $as_echo "not found" >&6; }
11637 DBUS_CFLAGS=""
11638 else
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11640 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11642 cat >>confdefs.h <<_ACEOF
11643 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11644 _ACEOF
11648 else
11649 DBUS_CFLAGS=""
11653 CPPFLAGS=$ac_save_CPPFLAGS
11654 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11655 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11658 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11659 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11660 case "x$with_dbus" in
11661 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11662 xno) ;;
11663 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11664 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11665 esac
11669 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11670 then
11671 if ${HAL_CFLAGS:+false} :; then :
11672 if ${PKG_CONFIG+:} false; then :
11673 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11677 if ${HAL_LIBS:+false} :; then :
11678 if ${PKG_CONFIG+:} false; then :
11679 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11683 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11684 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11685 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11686 ac_save_CPPFLAGS=$CPPFLAGS
11687 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11688 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11689 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11691 $as_echo_n "checking for -lhal... " >&6; }
11692 if ${ac_cv_lib_soname_hal+:} false; then :
11693 $as_echo_n "(cached) " >&6
11694 else
11695 ac_check_soname_save_LIBS=$LIBS
11696 LIBS="-lhal $HAL_LIBS $LIBS"
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11703 #ifdef __cplusplus
11704 extern "C"
11705 #endif
11706 char libhal_ctx_new ();
11708 main ()
11710 return libhal_ctx_new ();
11712 return 0;
11714 _ACEOF
11715 if ac_fn_c_try_link "$LINENO"; then :
11716 case "$LIBEXT" in
11717 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11718 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'` ;;
11719 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11720 if ${ac_cv_lib_soname_hal:+false} :; then :
11721 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11722 fi ;;
11723 esac
11725 rm -f core conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_soname_save_LIBS
11729 if ${ac_cv_lib_soname_hal:+false} :; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11731 $as_echo "not found" >&6; }
11732 HAL_CFLAGS=""
11733 else
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11735 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11737 cat >>confdefs.h <<_ACEOF
11738 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11739 _ACEOF
11743 else
11744 HAL_CFLAGS=""
11748 CPPFLAGS=$ac_save_CPPFLAGS
11749 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11750 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11752 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11753 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11754 case "x$with_hal" in
11755 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11756 xno) ;;
11757 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11758 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11759 esac
11764 if test "x$with_gnutls" != "xno"
11765 then
11766 if ${GNUTLS_CFLAGS:+false} :; then :
11767 if ${PKG_CONFIG+:} false; then :
11768 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11772 if ${GNUTLS_LIBS:+false} :; then :
11773 if ${PKG_CONFIG+:} false; then :
11774 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11779 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11780 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11781 ac_save_CPPFLAGS=$CPPFLAGS
11782 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11783 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11784 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11787 #include <gnutls/gnutls.h>
11788 #include <gnutls/crypto.h>
11790 main ()
11792 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11794 return 0;
11796 _ACEOF
11797 if ac_fn_c_try_compile "$LINENO"; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11799 $as_echo_n "checking for -lgnutls... " >&6; }
11800 if ${ac_cv_lib_soname_gnutls+:} false; then :
11801 $as_echo_n "(cached) " >&6
11802 else
11803 ac_check_soname_save_LIBS=$LIBS
11804 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11811 #ifdef __cplusplus
11812 extern "C"
11813 #endif
11814 char gnutls_global_init ();
11816 main ()
11818 return gnutls_global_init ();
11820 return 0;
11822 _ACEOF
11823 if ac_fn_c_try_link "$LINENO"; then :
11824 case "$LIBEXT" in
11825 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11826 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'` ;;
11827 *) 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'`
11828 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11829 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'`
11830 fi ;;
11831 esac
11833 rm -f core conftest.err conftest.$ac_objext \
11834 conftest$ac_exeext conftest.$ac_ext
11835 LIBS=$ac_check_soname_save_LIBS
11837 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11839 $as_echo "not found" >&6; }
11840 GNUTLS_CFLAGS=""
11841 else
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11843 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11845 cat >>confdefs.h <<_ACEOF
11846 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11847 _ACEOF
11851 ac_wine_check_funcs_save_LIBS="$LIBS"
11852 LIBS="$LIBS $GNUTLS_LIBS"
11853 for ac_func in gnutls_hash
11854 do :
11855 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11856 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11857 cat >>confdefs.h <<_ACEOF
11858 #define HAVE_GNUTLS_HASH 1
11859 _ACEOF
11861 else
11862 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11864 done
11866 LIBS="$ac_wine_check_funcs_save_LIBS"
11868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11869 else
11870 GNUTLS_CFLAGS=""
11874 CPPFLAGS=$ac_save_CPPFLAGS
11875 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11876 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11879 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11880 case "x$with_gnutls" in
11881 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11882 xno) ;;
11883 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11884 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11885 esac
11889 CURSES_LIBS=""
11890 if test "$ac_cv_header_ncurses_h" = "yes"
11891 then
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11893 $as_echo_n "checking for -lncurses... " >&6; }
11894 if ${ac_cv_lib_soname_ncurses+:} false; then :
11895 $as_echo_n "(cached) " >&6
11896 else
11897 ac_check_soname_save_LIBS=$LIBS
11898 LIBS="-lncurses $LIBS"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char waddch ();
11910 main ()
11912 return waddch ();
11914 return 0;
11916 _ACEOF
11917 if ac_fn_c_try_link "$LINENO"; then :
11918 case "$LIBEXT" in
11919 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11920 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'` ;;
11921 *) 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'`
11922 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11923 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11924 fi ;;
11925 esac
11927 rm -f core conftest.err conftest.$ac_objext \
11928 conftest$ac_exeext conftest.$ac_ext
11929 LIBS=$ac_check_soname_save_LIBS
11931 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11933 $as_echo "not found" >&6; }
11935 else
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11937 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11939 cat >>confdefs.h <<_ACEOF
11940 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11941 _ACEOF
11943 CURSES_LIBS="-lncurses"
11945 elif test "$ac_cv_header_curses_h" = "yes"
11946 then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11948 $as_echo_n "checking for -lcurses... " >&6; }
11949 if ${ac_cv_lib_soname_curses+:} false; then :
11950 $as_echo_n "(cached) " >&6
11951 else
11952 ac_check_soname_save_LIBS=$LIBS
11953 LIBS="-lcurses $LIBS"
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11960 #ifdef __cplusplus
11961 extern "C"
11962 #endif
11963 char waddch ();
11965 main ()
11967 return waddch ();
11969 return 0;
11971 _ACEOF
11972 if ac_fn_c_try_link "$LINENO"; then :
11973 case "$LIBEXT" in
11974 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11975 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'` ;;
11976 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11977 if ${ac_cv_lib_soname_curses:+false} :; then :
11978 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11979 fi ;;
11980 esac
11982 rm -f core conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 LIBS=$ac_check_soname_save_LIBS
11986 if ${ac_cv_lib_soname_curses:+false} :; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11988 $as_echo "not found" >&6; }
11990 else
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11992 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11994 cat >>confdefs.h <<_ACEOF
11995 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11996 _ACEOF
11998 CURSES_LIBS="-lcurses"
12001 ac_save_LIBS="$LIBS"
12002 LIBS="$LIBS $CURSES_LIBS"
12003 for ac_func in mousemask
12004 do :
12005 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12006 if test "x$ac_cv_func_mousemask" = xyes; then :
12007 cat >>confdefs.h <<_ACEOF
12008 #define HAVE_MOUSEMASK 1
12009 _ACEOF
12012 done
12014 LIBS="$ac_save_LIBS"
12015 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12016 case "x$with_curses" in
12017 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12018 xno) ;;
12019 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12020 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12021 esac
12025 if test "x$with_sane" != "xno"
12026 then
12027 if ${SANE_CFLAGS:+false} :; then :
12028 if ${PKG_CONFIG+:} false; then :
12029 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12032 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12033 if ${SANE_LIBS:+false} :; then :
12034 if ${PKG_CONFIG+:} false; then :
12035 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12038 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12040 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12041 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12042 ac_save_CPPFLAGS=$CPPFLAGS
12043 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12044 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12045 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12047 $as_echo_n "checking for -lsane... " >&6; }
12048 if ${ac_cv_lib_soname_sane+:} false; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 ac_check_soname_save_LIBS=$LIBS
12052 LIBS="-lsane $SANE_LIBS $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char sane_init ();
12064 main ()
12066 return sane_init ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 case "$LIBEXT" in
12073 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12074 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'` ;;
12075 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12076 if ${ac_cv_lib_soname_sane:+false} :; then :
12077 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12078 fi ;;
12079 esac
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_soname_save_LIBS
12085 if ${ac_cv_lib_soname_sane:+false} :; then :
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12087 $as_echo "not found" >&6; }
12088 SANE_CFLAGS=""
12089 else
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12091 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12093 cat >>confdefs.h <<_ACEOF
12094 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12095 _ACEOF
12099 else
12100 SANE_CFLAGS=""
12104 CPPFLAGS=$ac_save_CPPFLAGS
12105 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12106 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12109 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12110 case "x$with_sane" in
12111 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12112 xno) ;;
12113 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12114 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12115 esac
12119 if test "x$with_v4l" != "xno"
12120 then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12122 $as_echo_n "checking for -lv4l1... " >&6; }
12123 if ${ac_cv_lib_soname_v4l1+:} false; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 ac_check_soname_save_LIBS=$LIBS
12127 LIBS="-lv4l1 $LIBS"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char v4l1_open ();
12139 main ()
12141 return v4l1_open ();
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_link "$LINENO"; then :
12147 case "$LIBEXT" in
12148 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12149 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'` ;;
12150 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12151 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12152 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12153 fi ;;
12154 esac
12156 rm -f core conftest.err conftest.$ac_objext \
12157 conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_check_soname_save_LIBS
12160 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12162 $as_echo "not found" >&6; }
12164 else
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12166 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12168 cat >>confdefs.h <<_ACEOF
12169 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12170 _ACEOF
12175 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12176 case "x$with_v4l" in
12177 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12178 xno) ;;
12179 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12180 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12181 esac
12185 if test "x$with_gphoto" != "xno"
12186 then
12187 if ${GPHOTO2_CFLAGS:+false} :; then :
12188 if ${PKG_CONFIG+:} false; then :
12189 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12192 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12193 if ${GPHOTO2_LIBS:+false} :; then :
12194 if ${PKG_CONFIG+:} false; then :
12195 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12198 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12199 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12200 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12201 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12202 ac_save_CPPFLAGS=$CPPFLAGS
12203 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12204 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12205 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12207 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12208 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12209 $as_echo_n "(cached) " >&6
12210 else
12211 ac_check_lib_save_LIBS=$LIBS
12212 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 /* Override any GCC internal prototype to avoid an error.
12217 Use char because int might match the return type of a GCC
12218 builtin and then its argument prototype would still apply. */
12219 #ifdef __cplusplus
12220 extern "C"
12221 #endif
12222 char gp_camera_new ();
12224 main ()
12226 return gp_camera_new ();
12228 return 0;
12230 _ACEOF
12231 if ac_fn_c_try_link "$LINENO"; then :
12232 ac_cv_lib_gphoto2_gp_camera_new=yes
12233 else
12234 ac_cv_lib_gphoto2_gp_camera_new=no
12236 rm -f core conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12238 LIBS=$ac_check_lib_save_LIBS
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12241 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12242 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12244 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12246 else
12247 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12250 else
12251 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12255 CPPFLAGS=$ac_save_CPPFLAGS
12256 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12257 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12259 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12260 if ${PKG_CONFIG+:} false; then :
12261 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12264 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12265 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12266 if ${PKG_CONFIG+:} false; then :
12267 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12270 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12271 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12272 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12273 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12274 ac_save_CPPFLAGS=$CPPFLAGS
12275 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12276 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12277 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12279 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12280 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_lib_save_LIBS=$LIBS
12284 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char gp_port_info_list_new ();
12296 main ()
12298 return gp_port_info_list_new ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12305 else
12306 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12308 rm -f core conftest.err conftest.$ac_objext \
12309 conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12313 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12314 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12316 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12318 else
12319 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12322 else
12323 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12327 CPPFLAGS=$ac_save_CPPFLAGS
12328 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12329 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12332 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12333 case "x$with_gphoto" in
12334 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12335 xno) ;;
12336 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12337 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12338 esac
12341 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12342 case "x$with_gphoto" in
12343 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12344 xno) ;;
12345 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12346 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12347 esac
12352 if test "$ac_cv_header_resolv_h" = "yes"
12353 then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12355 $as_echo_n "checking for resolver library... " >&6; }
12356 if ${ac_cv_have_resolv+:} false; then :
12357 $as_echo_n "(cached) " >&6
12358 else
12359 ac_save_LIBS="$LIBS"
12360 for lib in '' -lresolv
12362 LIBS="$lib $ac_save_LIBS"
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365 #ifdef HAVE_NETINET_IN_H
12366 #include <netinet/in.h>
12367 #endif
12368 #include <resolv.h>
12370 main ()
12372 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 ac_cv_have_resolv=${lib:-"none required"}
12379 else
12380 ac_cv_have_resolv="not found"
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 test "x$ac_cv_have_resolv" = "xnot found" || break
12385 done
12386 LIBS="$ac_save_LIBS"
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12389 $as_echo "$ac_cv_have_resolv" >&6; }
12391 case "$ac_cv_have_resolv" in
12392 "not found") ;;
12393 "none required")
12395 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12398 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12400 RESOLV_LIBS=$ac_cv_have_resolv
12402 esac
12405 if test "x$with_cms" != "xno"
12406 then
12407 if ${LCMS2_CFLAGS:+false} :; then :
12408 if ${PKG_CONFIG+:} false; then :
12409 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12413 if ${LCMS2_LIBS:+false} :; then :
12414 if ${PKG_CONFIG+:} false; then :
12415 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12419 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12420 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12422 ac_save_CPPFLAGS=$CPPFLAGS
12423 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12424 for ac_header in lcms2.h
12425 do :
12426 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12427 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12428 cat >>confdefs.h <<_ACEOF
12429 #define HAVE_LCMS2_H 1
12430 _ACEOF
12434 done
12436 if test "$ac_cv_header_lcms2_h" = "yes"
12437 then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12439 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12440 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12441 $as_echo_n "(cached) " >&6
12442 else
12443 ac_check_lib_save_LIBS=$LIBS
12444 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 /* Override any GCC internal prototype to avoid an error.
12449 Use char because int might match the return type of a GCC
12450 builtin and then its argument prototype would still apply. */
12451 #ifdef __cplusplus
12452 extern "C"
12453 #endif
12454 char cmsOpenProfileFromFile ();
12456 main ()
12458 return cmsOpenProfileFromFile ();
12460 return 0;
12462 _ACEOF
12463 if ac_fn_c_try_link "$LINENO"; then :
12464 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12465 else
12466 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12468 rm -f core conftest.err conftest.$ac_objext \
12469 conftest$ac_exeext conftest.$ac_ext
12470 LIBS=$ac_check_lib_save_LIBS
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12473 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12474 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12476 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12478 else
12479 LCMS2_LIBS=""
12482 else
12483 LCMS2_CFLAGS=""
12484 LCMS2_LIBS=""
12486 CPPFLAGS=$ac_save_CPPFLAGS
12487 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12488 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12491 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12492 case "x$with_cms" in
12493 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12494 xno) ;;
12495 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12496 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12497 esac
12501 if test "x$with_freetype" != "xno"
12502 then
12503 if ${FREETYPE_CFLAGS:+false} :; then :
12504 if ${PKG_CONFIG+:} false; then :
12505 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12508 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12509 if ${FREETYPE_LIBS:+false} :; then :
12510 if ${PKG_CONFIG+:} false; then :
12511 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12514 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12515 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12516 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12517 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12518 ac_save_CPPFLAGS=$CPPFLAGS
12519 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12520 for ac_header in ft2build.h
12521 do :
12522 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12523 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12524 cat >>confdefs.h <<_ACEOF
12525 #define HAVE_FT2BUILD_H 1
12526 _ACEOF
12530 done
12532 if test "$ac_cv_header_ft2build_h" = "yes"
12533 then
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12535 $as_echo_n "checking for -lfreetype... " >&6; }
12536 if ${ac_cv_lib_soname_freetype+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 ac_check_soname_save_LIBS=$LIBS
12540 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 #ifdef __cplusplus
12548 extern "C"
12549 #endif
12550 char FT_Init_FreeType ();
12552 main ()
12554 return FT_Init_FreeType ();
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_link "$LINENO"; then :
12560 case "$LIBEXT" in
12561 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12562 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'` ;;
12563 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12564 if ${ac_cv_lib_soname_freetype:+false} :; then :
12565 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12566 fi ;;
12567 esac
12569 rm -f core conftest.err conftest.$ac_objext \
12570 conftest$ac_exeext conftest.$ac_ext
12571 LIBS=$ac_check_soname_save_LIBS
12573 if ${ac_cv_lib_soname_freetype:+false} :; then :
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12575 $as_echo "not found" >&6; }
12576 FREETYPE_LIBS=""
12577 else
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12579 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12581 cat >>confdefs.h <<_ACEOF
12582 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12583 _ACEOF
12586 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12588 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12589 #include FT_MODULE_H
12591 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12593 cat >>confdefs.h <<_ACEOF
12594 #define HAVE_FT_TRUETYPEENGINETYPE 1
12595 _ACEOF
12601 else
12602 FREETYPE_CFLAGS=""
12603 FREETYPE_LIBS=""
12605 CPPFLAGS=$ac_save_CPPFLAGS
12606 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12607 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12610 if test "x$ac_cv_lib_soname_freetype" = x; then :
12611 case "x$with_freetype" in
12612 xno) ;;
12613 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12614 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12615 esac
12616 enable_fonts=${enable_fonts:-no}
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12620 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12621 if ${ac_cv_c_ppdev+:} false; then :
12622 $as_echo_n "(cached) " >&6
12623 else
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12626 #ifdef HAVE_SYS_IOCTL_H
12627 # include <sys/ioctl.h>
12628 #endif
12629 #include <linux/ppdev.h>
12631 main ()
12633 ioctl (1,PPCLAIM,0)
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_compile "$LINENO"; then :
12639 ac_cv_c_ppdev="yes"
12640 else
12641 ac_cv_c_ppdev="no"
12643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12646 $as_echo "$ac_cv_c_ppdev" >&6; }
12647 if test "$ac_cv_c_ppdev" = "yes"
12648 then
12650 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12654 ac_wine_check_funcs_save_LIBS="$LIBS"
12655 LIBS="$LIBS $PTHREAD_LIBS"
12656 for ac_func in \
12657 pthread_attr_get_np \
12658 pthread_getattr_np \
12659 pthread_getthreadid_np \
12660 pthread_get_stackaddr_np \
12661 pthread_get_stacksize_np
12662 do :
12663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12665 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12666 cat >>confdefs.h <<_ACEOF
12667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12668 _ACEOF
12671 done
12673 LIBS="$ac_wine_check_funcs_save_LIBS"
12675 if test "$ac_cv_header_zlib_h" = "yes"
12676 then
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12678 $as_echo_n "checking for inflate in -lz... " >&6; }
12679 if ${ac_cv_lib_z_inflate+:} false; then :
12680 $as_echo_n "(cached) " >&6
12681 else
12682 ac_check_lib_save_LIBS=$LIBS
12683 LIBS="-lz $LIBS"
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 /* Override any GCC internal prototype to avoid an error.
12688 Use char because int might match the return type of a GCC
12689 builtin and then its argument prototype would still apply. */
12690 #ifdef __cplusplus
12691 extern "C"
12692 #endif
12693 char inflate ();
12695 main ()
12697 return inflate ();
12699 return 0;
12701 _ACEOF
12702 if ac_fn_c_try_link "$LINENO"; then :
12703 ac_cv_lib_z_inflate=yes
12704 else
12705 ac_cv_lib_z_inflate=no
12707 rm -f core conftest.err conftest.$ac_objext \
12708 conftest$ac_exeext conftest.$ac_ext
12709 LIBS=$ac_check_lib_save_LIBS
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12712 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12713 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12715 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12717 Z_LIBS="-lz"
12722 if test "x$Z_LIBS" = "x"; then :
12723 case "x$with_zlib" in
12724 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12725 xno) ;;
12726 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12727 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12728 esac
12732 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12733 then
12734 if test "$ac_cv_header_gettext_po_h" = "yes"
12735 then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12737 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12738 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12739 $as_echo_n "(cached) " >&6
12740 else
12741 ac_check_lib_save_LIBS=$LIBS
12742 LIBS="-lgettextpo $LIBS"
12743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12749 #ifdef __cplusplus
12750 extern "C"
12751 #endif
12752 char po_message_msgctxt ();
12754 main ()
12756 return po_message_msgctxt ();
12758 return 0;
12760 _ACEOF
12761 if ac_fn_c_try_link "$LINENO"; then :
12762 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12763 else
12764 ac_cv_lib_gettextpo_po_message_msgctxt=no
12766 rm -f core conftest.err conftest.$ac_objext \
12767 conftest$ac_exeext conftest.$ac_ext
12768 LIBS=$ac_check_lib_save_LIBS
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12771 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12772 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12774 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12776 GETTEXTPO_LIBS="-lgettextpo"
12781 if test "x$GETTEXTPO_LIBS" = "x"; then :
12782 case "x$with_gettextpo" in
12783 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12784 xno) ;;
12785 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12786 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12787 esac
12790 if test "$srcdir" != .; then :
12791 case "x$with_gettextpo" in
12792 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12793 xno) ;;
12794 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12795 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12796 esac
12801 if test "x$with_pulse" != "xno";
12802 then
12803 if ${PULSE_CFLAGS:+false} :; then :
12804 if ${PKG_CONFIG+:} false; then :
12805 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12809 if ${PULSE_LIBS:+false} :; then :
12810 if ${PKG_CONFIG+:} false; then :
12811 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12816 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12817 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12818 ac_save_CPPFLAGS=$CPPFLAGS
12819 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12820 for ac_header in pulse/pulseaudio.h
12821 do :
12822 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12823 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12824 cat >>confdefs.h <<_ACEOF
12825 #define HAVE_PULSE_PULSEAUDIO_H 1
12826 _ACEOF
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12828 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12829 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 ac_check_lib_save_LIBS=$LIBS
12833 LIBS="-lpulse $PULSE_LIBS $LIBS"
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12837 /* Override any GCC internal prototype to avoid an error.
12838 Use char because int might match the return type of a GCC
12839 builtin and then its argument prototype would still apply. */
12840 #ifdef __cplusplus
12841 extern "C"
12842 #endif
12843 char pa_stream_is_corked ();
12845 main ()
12847 return pa_stream_is_corked ();
12849 return 0;
12851 _ACEOF
12852 if ac_fn_c_try_link "$LINENO"; then :
12853 ac_cv_lib_pulse_pa_stream_is_corked=yes
12854 else
12855 ac_cv_lib_pulse_pa_stream_is_corked=no
12857 rm -f core conftest.err conftest.$ac_objext \
12858 conftest$ac_exeext conftest.$ac_ext
12859 LIBS=$ac_check_lib_save_LIBS
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12862 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12863 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12865 else
12866 PULSE_LIBS=""
12869 else
12870 PULSE_LIBS=""
12873 done
12875 CPPFLAGS=$ac_save_CPPFLAGS
12876 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12877 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12880 if test -z "$PULSE_LIBS"; then :
12881 case "x$with_pulse" in
12882 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12883 xno) ;;
12884 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12885 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12886 esac
12887 enable_winepulse_drv=${enable_winepulse_drv:-no}
12890 if test "x$with_gstreamer" != "xno"
12891 then
12892 if ${GSTREAMER_CFLAGS:+false} :; then :
12893 if ${PKG_CONFIG+:} false; then :
12894 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12898 if ${GSTREAMER_LIBS:+false} :; then :
12899 if ${PKG_CONFIG+:} false; then :
12900 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12905 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12906 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12907 ac_save_CPPFLAGS=$CPPFLAGS
12908 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12909 ac_gst_incl=""
12910 for i in $GSTREAMER_CFLAGS
12912 case "$i" in
12913 -I*) ac_gst_incl="$ac_gst_incl $i";;
12914 esac
12915 done
12916 GSTREAMER_CFLAGS=$ac_gst_incl
12917 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12918 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12919 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12921 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12924 #include <gst/gst.h>
12926 main ()
12928 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12930 return 0;
12932 _ACEOF
12933 if ac_fn_c_try_compile "$LINENO"; then :
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12937 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12938 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12939 $as_echo_n "(cached) " >&6
12940 else
12941 ac_check_lib_save_LIBS=$LIBS
12942 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 #ifdef __cplusplus
12950 extern "C"
12951 #endif
12952 char gst_pad_new ();
12954 main ()
12956 return gst_pad_new ();
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12963 else
12964 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12966 rm -f core conftest.err conftest.$ac_objext \
12967 conftest$ac_exeext conftest.$ac_ext
12968 LIBS=$ac_check_lib_save_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12971 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12972 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12976 else
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12978 $as_echo "no" >&6; }
12979 ac_glib2_broken=yes
12980 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12986 CPPFLAGS=$ac_save_CPPFLAGS
12987 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12988 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12991 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 :
12992 case "x$with_gstreamer" in
12993 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12994 xno) ;;
12995 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12996 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12997 esac
13000 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13002 ALSA_LIBS=""
13004 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13005 then
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13007 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13008 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13009 $as_echo_n "(cached) " >&6
13010 else
13011 ac_check_lib_save_LIBS=$LIBS
13012 LIBS="-lasound $LIBS"
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13016 /* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
13019 #ifdef __cplusplus
13020 extern "C"
13021 #endif
13022 char snd_pcm_hw_params_get_access_mask ();
13024 main ()
13026 return snd_pcm_hw_params_get_access_mask ();
13028 return 0;
13030 _ACEOF
13031 if ac_fn_c_try_link "$LINENO"; then :
13032 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13033 else
13034 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13036 rm -f core conftest.err conftest.$ac_objext \
13037 conftest$ac_exeext conftest.$ac_ext
13038 LIBS=$ac_check_lib_save_LIBS
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13041 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13042 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13045 #ifdef HAVE_ALSA_ASOUNDLIB_H
13046 #include <alsa/asoundlib.h>
13047 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13048 #include <sys/asoundlib.h>
13049 #endif
13051 main ()
13053 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13055 return 0;
13057 _ACEOF
13058 if ac_fn_c_try_compile "$LINENO"; then :
13059 ALSA_LIBS="-lasound"
13061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13065 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13067 if test "x$with_oss" != xno
13068 then
13069 ac_save_CPPFLAGS="$CPPFLAGS"
13070 if test -f /etc/oss.conf
13071 then
13072 . /etc/oss.conf
13074 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13075 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13076 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13077 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13078 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13080 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13082 cat >>confdefs.h <<_ACEOF
13083 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13084 _ACEOF
13086 OSS4_CFLAGS="$ac_oss_incl"
13093 CPPFLAGS="$ac_save_CPPFLAGS"
13095 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13096 case "x$with_oss" in
13097 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13098 xno) ;;
13099 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13100 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13101 esac
13102 enable_wineoss_drv=${enable_wineoss_drv:-no}
13105 if test "x$with_udev" != "xno"
13106 then
13107 if ${UDEV_CFLAGS:+false} :; then :
13108 if ${PKG_CONFIG+:} false; then :
13109 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13113 if ${UDEV_LIBS:+false} :; then :
13114 if ${PKG_CONFIG+:} false; then :
13115 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13119 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13120 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13121 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13122 ac_save_CPPFLAGS=$CPPFLAGS
13123 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13124 for ac_header in libudev.h
13125 do :
13126 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13127 if test "x$ac_cv_header_libudev_h" = xyes; then :
13128 cat >>confdefs.h <<_ACEOF
13129 #define HAVE_LIBUDEV_H 1
13130 _ACEOF
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13132 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13133 if ${ac_cv_lib_udev_udev_new+:} false; then :
13134 $as_echo_n "(cached) " >&6
13135 else
13136 ac_check_lib_save_LIBS=$LIBS
13137 LIBS="-ludev $UDEV_LIBS $LIBS"
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13141 /* Override any GCC internal prototype to avoid an error.
13142 Use char because int might match the return type of a GCC
13143 builtin and then its argument prototype would still apply. */
13144 #ifdef __cplusplus
13145 extern "C"
13146 #endif
13147 char udev_new ();
13149 main ()
13151 return udev_new ();
13153 return 0;
13155 _ACEOF
13156 if ac_fn_c_try_link "$LINENO"; then :
13157 ac_cv_lib_udev_udev_new=yes
13158 else
13159 ac_cv_lib_udev_udev_new=no
13161 rm -f core conftest.err conftest.$ac_objext \
13162 conftest$ac_exeext conftest.$ac_ext
13163 LIBS=$ac_check_lib_save_LIBS
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13166 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13167 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13169 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13171 else
13172 UDEV_LIBS=""
13175 else
13176 UDEV_LIBS=""
13179 done
13181 CPPFLAGS=$ac_save_CPPFLAGS
13182 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13183 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13186 if test "x$UDEV_LIBS" = "x"; then :
13187 case "x$with_udev" in
13188 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13189 xno) ;;
13190 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13191 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13192 esac
13196 if test "x$with_capi" != "xno"
13197 then
13198 if ${CAPI20_CFLAGS:+false} :; then :
13199 if ${PKG_CONFIG+:} false; then :
13200 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13204 if ${CAPI20_LIBS:+false} :; then :
13205 if ${PKG_CONFIG+:} false; then :
13206 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13211 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13212 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13213 ac_save_CPPFLAGS=$CPPFLAGS
13214 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13215 for ac_header in capi20.h linux/capi.h
13216 do :
13217 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13218 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13221 cat >>confdefs.h <<_ACEOF
13222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13223 _ACEOF
13227 done
13229 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13230 then
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13232 $as_echo_n "checking for -lcapi20... " >&6; }
13233 if ${ac_cv_lib_soname_capi20+:} false; then :
13234 $as_echo_n "(cached) " >&6
13235 else
13236 ac_check_soname_save_LIBS=$LIBS
13237 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13241 /* Override any GCC internal prototype to avoid an error.
13242 Use char because int might match the return type of a GCC
13243 builtin and then its argument prototype would still apply. */
13244 #ifdef __cplusplus
13245 extern "C"
13246 #endif
13247 char capi20_register ();
13249 main ()
13251 return capi20_register ();
13253 return 0;
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"; then :
13257 case "$LIBEXT" in
13258 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13259 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'` ;;
13260 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13261 if ${ac_cv_lib_soname_capi20:+false} :; then :
13262 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13263 fi ;;
13264 esac
13266 rm -f core conftest.err conftest.$ac_objext \
13267 conftest$ac_exeext conftest.$ac_ext
13268 LIBS=$ac_check_soname_save_LIBS
13270 if ${ac_cv_lib_soname_capi20:+false} :; then :
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13272 $as_echo "not found" >&6; }
13274 else
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13276 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13278 cat >>confdefs.h <<_ACEOF
13279 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13280 _ACEOF
13285 CPPFLAGS=$ac_save_CPPFLAGS
13286 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13287 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13290 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13291 case "x$with_capi" in
13292 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13293 xno) ;;
13294 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13295 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13296 esac
13300 CUPS_CFLAGS=""
13302 if test "x$with_cups" != "xno"
13303 then
13304 ac_save_CPPFLAGS="$CPPFLAGS"
13305 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13306 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13307 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13308 for ac_header in cups/cups.h
13309 do :
13310 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13311 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13312 cat >>confdefs.h <<_ACEOF
13313 #define HAVE_CUPS_CUPS_H 1
13314 _ACEOF
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13316 $as_echo_n "checking for -lcups... " >&6; }
13317 if ${ac_cv_lib_soname_cups+:} false; then :
13318 $as_echo_n "(cached) " >&6
13319 else
13320 ac_check_soname_save_LIBS=$LIBS
13321 LIBS="-lcups $ac_cups_libs $LIBS"
13322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13325 /* Override any GCC internal prototype to avoid an error.
13326 Use char because int might match the return type of a GCC
13327 builtin and then its argument prototype would still apply. */
13328 #ifdef __cplusplus
13329 extern "C"
13330 #endif
13331 char cupsGetDefault ();
13333 main ()
13335 return cupsGetDefault ();
13337 return 0;
13339 _ACEOF
13340 if ac_fn_c_try_link "$LINENO"; then :
13341 case "$LIBEXT" in
13342 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13343 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'` ;;
13344 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13345 if ${ac_cv_lib_soname_cups:+false} :; then :
13346 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13347 fi ;;
13348 esac
13350 rm -f core conftest.err conftest.$ac_objext \
13351 conftest$ac_exeext conftest.$ac_ext
13352 LIBS=$ac_check_soname_save_LIBS
13354 if ${ac_cv_lib_soname_cups:+false} :; then :
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13356 $as_echo "not found" >&6; }
13358 else
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13360 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13362 cat >>confdefs.h <<_ACEOF
13363 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13364 _ACEOF
13366 CUPS_CFLAGS="$ac_cups_cflags"
13368 for ac_header in cups/ppd.h
13369 do :
13370 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13371 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13372 cat >>confdefs.h <<_ACEOF
13373 #define HAVE_CUPS_PPD_H 1
13374 _ACEOF
13378 done
13382 done
13384 CPPFLAGS="$ac_save_CPPFLAGS"
13386 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13387 case "x$with_cups" in
13388 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13389 xno) ;;
13390 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13391 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13392 esac
13396 if test "x$with_fontconfig" != "xno"
13397 then
13398 if ${FONTCONFIG_CFLAGS:+false} :; then :
13399 if ${PKG_CONFIG+:} false; then :
13400 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13403 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13404 if ${FONTCONFIG_LIBS:+false} :; then :
13405 if ${PKG_CONFIG+:} false; then :
13406 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13409 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13411 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13412 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13413 ac_save_CPPFLAGS=$CPPFLAGS
13414 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13415 for ac_header in fontconfig/fontconfig.h
13416 do :
13417 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13418 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13419 cat >>confdefs.h <<_ACEOF
13420 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13421 _ACEOF
13425 done
13427 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13428 then
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13430 $as_echo_n "checking for -lfontconfig... " >&6; }
13431 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13432 $as_echo_n "(cached) " >&6
13433 else
13434 ac_check_soname_save_LIBS=$LIBS
13435 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13439 /* Override any GCC internal prototype to avoid an error.
13440 Use char because int might match the return type of a GCC
13441 builtin and then its argument prototype would still apply. */
13442 #ifdef __cplusplus
13443 extern "C"
13444 #endif
13445 char FcInit ();
13447 main ()
13449 return FcInit ();
13451 return 0;
13453 _ACEOF
13454 if ac_fn_c_try_link "$LINENO"; then :
13455 case "$LIBEXT" in
13456 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13457 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'` ;;
13458 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13459 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13460 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13461 fi ;;
13462 esac
13464 rm -f core conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_soname_save_LIBS
13468 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13470 $as_echo "not found" >&6; }
13471 FONTCONFIG_CFLAGS=""
13472 else
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13474 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13476 cat >>confdefs.h <<_ACEOF
13477 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13478 _ACEOF
13482 else
13483 FONTCONFIG_CFLAGS=""
13485 CPPFLAGS=$ac_save_CPPFLAGS
13486 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13487 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13490 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13491 case "x$with_fontconfig" in
13492 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13493 xno) ;;
13494 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13495 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13496 esac
13500 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13501 then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13503 $as_echo_n "checking for -lgsm... " >&6; }
13504 if ${ac_cv_lib_soname_gsm+:} false; then :
13505 $as_echo_n "(cached) " >&6
13506 else
13507 ac_check_soname_save_LIBS=$LIBS
13508 LIBS="-lgsm $LIBS"
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13512 /* Override any GCC internal prototype to avoid an error.
13513 Use char because int might match the return type of a GCC
13514 builtin and then its argument prototype would still apply. */
13515 #ifdef __cplusplus
13516 extern "C"
13517 #endif
13518 char gsm_create ();
13520 main ()
13522 return gsm_create ();
13524 return 0;
13526 _ACEOF
13527 if ac_fn_c_try_link "$LINENO"; then :
13528 case "$LIBEXT" in
13529 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13530 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'` ;;
13531 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13532 if ${ac_cv_lib_soname_gsm:+false} :; then :
13533 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13534 fi ;;
13535 esac
13537 rm -f core conftest.err conftest.$ac_objext \
13538 conftest$ac_exeext conftest.$ac_ext
13539 LIBS=$ac_check_soname_save_LIBS
13541 if ${ac_cv_lib_soname_gsm:+false} :; then :
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13543 $as_echo "not found" >&6; }
13545 else
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13547 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13549 cat >>confdefs.h <<_ACEOF
13550 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13551 _ACEOF
13556 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13557 case "x$with_gsm" in
13558 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13559 xno) ;;
13560 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13561 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13562 esac
13566 if test "x$with_jpeg" != "xno"
13567 then
13568 if ${JPEG_CFLAGS:+false} :; then :
13569 if ${PKG_CONFIG+:} false; then :
13570 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13574 if ${JPEG_LIBS:+false} :; then :
13575 if ${PKG_CONFIG+:} false; then :
13576 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13581 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13582 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13583 ac_save_CPPFLAGS=$CPPFLAGS
13584 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13585 for ac_header in jpeglib.h
13586 do :
13587 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13588 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13589 cat >>confdefs.h <<_ACEOF
13590 #define HAVE_JPEGLIB_H 1
13591 _ACEOF
13595 done
13597 if test "$ac_cv_header_jpeglib_h" = "yes"
13598 then
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13600 $as_echo_n "checking for -ljpeg... " >&6; }
13601 if ${ac_cv_lib_soname_jpeg+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_check_soname_save_LIBS=$LIBS
13605 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13609 /* Override any GCC internal prototype to avoid an error.
13610 Use char because int might match the return type of a GCC
13611 builtin and then its argument prototype would still apply. */
13612 #ifdef __cplusplus
13613 extern "C"
13614 #endif
13615 char jpeg_start_decompress ();
13617 main ()
13619 return jpeg_start_decompress ();
13621 return 0;
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 case "$LIBEXT" in
13626 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13627 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'` ;;
13628 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13629 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13630 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13631 fi ;;
13632 esac
13634 rm -f core conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13636 LIBS=$ac_check_soname_save_LIBS
13638 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13640 $as_echo "not found" >&6; }
13641 JPEG_CFLAGS=""
13642 else
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13644 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13646 cat >>confdefs.h <<_ACEOF
13647 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13648 _ACEOF
13652 else
13653 JPEG_CFLAGS=""
13655 CPPFLAGS=$ac_save_CPPFLAGS
13656 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13657 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13660 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13661 case "x$with_jpeg" in
13662 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13663 xno) ;;
13664 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13665 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13666 esac
13670 if test "x$with_png" != "xno"
13671 then
13672 if ${PNG_CFLAGS:+false} :; then :
13673 if ${PKG_CONFIG+:} false; then :
13674 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13677 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13678 if ${PNG_LIBS:+false} :; then :
13679 if ${PKG_CONFIG+:} false; then :
13680 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13683 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13687 ac_save_CPPFLAGS=$CPPFLAGS
13688 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13689 for ac_header in png.h
13690 do :
13691 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13692 if test "x$ac_cv_header_png_h" = xyes; then :
13693 cat >>confdefs.h <<_ACEOF
13694 #define HAVE_PNG_H 1
13695 _ACEOF
13699 done
13701 if test "$ac_cv_header_png_h" = "yes"
13702 then
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13704 $as_echo_n "checking for -lpng... " >&6; }
13705 if ${ac_cv_lib_soname_png+:} false; then :
13706 $as_echo_n "(cached) " >&6
13707 else
13708 ac_check_soname_save_LIBS=$LIBS
13709 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13713 /* Override any GCC internal prototype to avoid an error.
13714 Use char because int might match the return type of a GCC
13715 builtin and then its argument prototype would still apply. */
13716 #ifdef __cplusplus
13717 extern "C"
13718 #endif
13719 char png_create_read_struct ();
13721 main ()
13723 return png_create_read_struct ();
13725 return 0;
13727 _ACEOF
13728 if ac_fn_c_try_link "$LINENO"; then :
13729 case "$LIBEXT" in
13730 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13731 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'` ;;
13732 *) 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'`
13733 if ${ac_cv_lib_soname_png:+false} :; then :
13734 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13735 fi ;;
13736 esac
13738 rm -f core conftest.err conftest.$ac_objext \
13739 conftest$ac_exeext conftest.$ac_ext
13740 LIBS=$ac_check_soname_save_LIBS
13742 if ${ac_cv_lib_soname_png:+false} :; then :
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13744 $as_echo "not found" >&6; }
13745 PNG_CFLAGS=""
13746 else
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13748 $as_echo "$ac_cv_lib_soname_png" >&6; }
13750 cat >>confdefs.h <<_ACEOF
13751 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13752 _ACEOF
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 #include <png.h>
13758 main ()
13760 typeof(png_set_expand_gray_1_2_4_to_8) *p
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_compile "$LINENO"; then :
13767 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13772 else
13773 PNG_CFLAGS=""
13775 CPPFLAGS=$ac_save_CPPFLAGS
13776 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13777 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13780 if test "x$ac_cv_lib_soname_png" = "x"; then :
13781 case "x$with_png" in
13782 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13783 xno) ;;
13784 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13785 This is an error since --with-png was requested." "$LINENO" 5 ;;
13786 esac
13790 if test "x$with_tiff" != "xno"
13791 then
13792 if ${TIFF_CFLAGS:+false} :; then :
13793 if ${PKG_CONFIG+:} false; then :
13794 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13798 if ${TIFF_LIBS:+false} :; then :
13799 if ${PKG_CONFIG+:} false; then :
13800 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13805 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13806 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13807 ac_save_CPPFLAGS=$CPPFLAGS
13808 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13809 for ac_header in tiffio.h
13810 do :
13811 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13812 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13813 cat >>confdefs.h <<_ACEOF
13814 #define HAVE_TIFFIO_H 1
13815 _ACEOF
13819 done
13821 if test "$ac_cv_header_tiffio_h" = "yes"
13822 then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13824 $as_echo_n "checking for -ltiff... " >&6; }
13825 if ${ac_cv_lib_soname_tiff+:} false; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 ac_check_soname_save_LIBS=$LIBS
13829 LIBS="-ltiff $TIFF_LIBS $LIBS"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13833 /* Override any GCC internal prototype to avoid an error.
13834 Use char because int might match the return type of a GCC
13835 builtin and then its argument prototype would still apply. */
13836 #ifdef __cplusplus
13837 extern "C"
13838 #endif
13839 char TIFFClientOpen ();
13841 main ()
13843 return TIFFClientOpen ();
13845 return 0;
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"; then :
13849 case "$LIBEXT" in
13850 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13851 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'` ;;
13852 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13853 if ${ac_cv_lib_soname_tiff:+false} :; then :
13854 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13855 fi ;;
13856 esac
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_soname_save_LIBS
13862 if ${ac_cv_lib_soname_tiff:+false} :; then :
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13864 $as_echo "not found" >&6; }
13866 else
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13868 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13870 cat >>confdefs.h <<_ACEOF
13871 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13872 _ACEOF
13877 CPPFLAGS=$ac_save_CPPFLAGS
13878 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13879 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13882 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13883 case "x$with_tiff" in
13884 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13885 xno) ;;
13886 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13887 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13888 esac
13892 if test "x$with_mpg123" != "xno"
13893 then
13894 if ${MPG123_CFLAGS:+false} :; then :
13895 if ${PKG_CONFIG+:} false; then :
13896 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13900 if ${MPG123_LIBS:+false} :; then :
13901 if ${PKG_CONFIG+:} false; then :
13902 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13906 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13907 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13908 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13909 ac_save_CPPFLAGS=$CPPFLAGS
13910 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13911 for ac_header in mpg123.h
13912 do :
13913 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13914 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13915 cat >>confdefs.h <<_ACEOF
13916 #define HAVE_MPG123_H 1
13917 _ACEOF
13921 done
13923 if test "$ac_cv_header_mpg123_h" = "yes"
13924 then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13926 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13927 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13928 $as_echo_n "(cached) " >&6
13929 else
13930 ac_check_lib_save_LIBS=$LIBS
13931 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13935 /* Override any GCC internal prototype to avoid an error.
13936 Use char because int might match the return type of a GCC
13937 builtin and then its argument prototype would still apply. */
13938 #ifdef __cplusplus
13939 extern "C"
13940 #endif
13941 char mpg123_feed ();
13943 main ()
13945 return mpg123_feed ();
13947 return 0;
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 ac_cv_lib_mpg123_mpg123_feed=yes
13952 else
13953 ac_cv_lib_mpg123_mpg123_feed=no
13955 rm -f core conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957 LIBS=$ac_check_lib_save_LIBS
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13960 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13961 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13963 else
13964 MPG123_LIBS=""
13967 else
13968 MPG123_CFLAGS=""
13969 MPG123_LIBS=""
13971 CPPFLAGS=$ac_save_CPPFLAGS
13972 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13973 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13976 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13977 case "x$with_mpg123" in
13978 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13979 xno) ;;
13980 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13981 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13982 esac
13983 enable_winemp3_acm=${enable_winemp3_acm:-no}
13986 if test "$ac_cv_header_AL_al_h" = "yes"
13987 then
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13989 $as_echo_n "checking for -lopenal... " >&6; }
13990 if ${ac_cv_lib_soname_openal+:} false; then :
13991 $as_echo_n "(cached) " >&6
13992 else
13993 ac_check_soname_save_LIBS=$LIBS
13994 LIBS="-lopenal $LIBS"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13998 /* Override any GCC internal prototype to avoid an error.
13999 Use char because int might match the return type of a GCC
14000 builtin and then its argument prototype would still apply. */
14001 #ifdef __cplusplus
14002 extern "C"
14003 #endif
14004 char alGetSource3i ();
14006 main ()
14008 return alGetSource3i ();
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"; then :
14014 case "$LIBEXT" in
14015 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14016 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'` ;;
14017 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14018 if ${ac_cv_lib_soname_openal:+false} :; then :
14019 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14020 fi ;;
14021 esac
14023 rm -f core conftest.err conftest.$ac_objext \
14024 conftest$ac_exeext conftest.$ac_ext
14025 LIBS=$ac_check_soname_save_LIBS
14027 if ${ac_cv_lib_soname_openal:+false} :; then :
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14029 $as_echo "not found" >&6; }
14031 else
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14033 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14035 cat >>confdefs.h <<_ACEOF
14036 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14037 _ACEOF
14039 OPENAL_LIBS="-lopenal"
14041 ac_cv_lib_openal=yes
14043 cat >>confdefs.h <<_ACEOF
14044 #define HAVE_OPENAL 1
14045 _ACEOF
14049 if test "x$ac_cv_lib_openal" != xyes; then :
14050 case "x$with_openal" in
14051 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14052 xno) ;;
14053 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14054 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14055 esac
14056 enable_openal32=${enable_openal32:-no}
14059 if test "x$ac_cv_lib_openal" = xyes
14060 then
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14062 $as_echo_n "checking for openal-soft... " >&6; }
14063 if ${ac_cv_have_openalsoft+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 #include <AL/al.h>
14069 #include <AL/alc.h>
14070 #include <AL/alext.h>
14071 LPALCRENDERSAMPLESSOFT x;
14073 main ()
14077 return 0;
14079 _ACEOF
14080 if ac_fn_c_try_compile "$LINENO"; then :
14081 ac_cv_have_openalsoft=yes
14082 else
14083 ac_cv_have_openalsoft=no
14085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14088 $as_echo "$ac_cv_have_openalsoft" >&6; }
14090 if test "x$ac_cv_have_openalsoft" != xyes
14091 then
14092 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14093 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14094 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14095 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14096 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14097 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14098 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14099 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14100 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14101 enable_xapofx1_1=${enable_xapofx1_1:-no}
14102 enable_xapofx1_2=${enable_xapofx1_2:-no}
14103 enable_xapofx1_3=${enable_xapofx1_3:-no}
14104 enable_xapofx1_4=${enable_xapofx1_4:-no}
14105 enable_xapofx1_5=${enable_xapofx1_5:-no}
14106 enable_xaudio2_0=${enable_xaudio2_0:-no}
14107 enable_xaudio2_1=${enable_xaudio2_1:-no}
14108 enable_xaudio2_2=${enable_xaudio2_2:-no}
14109 enable_xaudio2_3=${enable_xaudio2_3:-no}
14110 enable_xaudio2_4=${enable_xaudio2_4:-no}
14111 enable_xaudio2_5=${enable_xaudio2_5:-no}
14112 enable_xaudio2_6=${enable_xaudio2_6:-no}
14113 enable_xaudio2_7=${enable_xaudio2_7:-no}
14114 enable_xaudio2_8=${enable_xaudio2_8:-no}
14115 enable_xaudio2_9=${enable_xaudio2_9:-no}
14118 if test "$ac_cv_header_kstat_h" = "yes"
14119 then
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14121 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14122 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 ac_check_lib_save_LIBS=$LIBS
14126 LIBS="-lkstat $LIBS"
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14130 /* Override any GCC internal prototype to avoid an error.
14131 Use char because int might match the return type of a GCC
14132 builtin and then its argument prototype would still apply. */
14133 #ifdef __cplusplus
14134 extern "C"
14135 #endif
14136 char kstat_open ();
14138 main ()
14140 return kstat_open ();
14142 return 0;
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"; then :
14146 ac_cv_lib_kstat_kstat_open=yes
14147 else
14148 ac_cv_lib_kstat_kstat_open=no
14150 rm -f core conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14152 LIBS=$ac_check_lib_save_LIBS
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14155 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14156 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14158 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14160 KSTAT_LIBS="-lkstat"
14166 if test "$ac_cv_header_libprocstat_h" = "yes"
14167 then
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14169 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14170 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 ac_check_lib_save_LIBS=$LIBS
14174 LIBS="-lprocstat $LIBS"
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14178 /* Override any GCC internal prototype to avoid an error.
14179 Use char because int might match the return type of a GCC
14180 builtin and then its argument prototype would still apply. */
14181 #ifdef __cplusplus
14182 extern "C"
14183 #endif
14184 char procstat_open_sysctl ();
14186 main ()
14188 return procstat_open_sysctl ();
14190 return 0;
14192 _ACEOF
14193 if ac_fn_c_try_link "$LINENO"; then :
14194 ac_cv_lib_procstat_procstat_open_sysctl=yes
14195 else
14196 ac_cv_lib_procstat_procstat_open_sysctl=no
14198 rm -f core conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext conftest.$ac_ext
14200 LIBS=$ac_check_lib_save_LIBS
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14203 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14204 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14206 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14208 PROCSTAT_LIBS="-lprocstat"
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14215 $as_echo_n "checking for -lodbc... " >&6; }
14216 if ${ac_cv_lib_soname_odbc+:} false; then :
14217 $as_echo_n "(cached) " >&6
14218 else
14219 ac_check_soname_save_LIBS=$LIBS
14220 LIBS="-lodbc $LIBS"
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply. */
14227 #ifdef __cplusplus
14228 extern "C"
14229 #endif
14230 char SQLConnect ();
14232 main ()
14234 return SQLConnect ();
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_link "$LINENO"; then :
14240 case "$LIBEXT" in
14241 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14242 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'` ;;
14243 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14244 if ${ac_cv_lib_soname_odbc:+false} :; then :
14245 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14246 fi ;;
14247 esac
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_soname_save_LIBS
14253 if ${ac_cv_lib_soname_odbc:+false} :; then :
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14255 $as_echo "not found" >&6; }
14256 cat >>confdefs.h <<_ACEOF
14257 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14258 _ACEOF
14260 else
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14262 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14264 cat >>confdefs.h <<_ACEOF
14265 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14266 _ACEOF
14271 if test "x$with_netapi" != "xno"
14272 then
14273 if ${NETAPI_CFLAGS:+false} :; then :
14274 if ${PKG_CONFIG+:} false; then :
14275 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14279 if ${NETAPI_LIBS:+false} :; then :
14280 if ${PKG_CONFIG+:} false; then :
14281 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14286 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14287 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14288 ac_save_CPPFLAGS=$CPPFLAGS
14289 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14291 $as_echo_n "checking for -lnetapi... " >&6; }
14292 if ${ac_cv_lib_soname_netapi+:} false; then :
14293 $as_echo_n "(cached) " >&6
14294 else
14295 ac_check_soname_save_LIBS=$LIBS
14296 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14300 /* Override any GCC internal prototype to avoid an error.
14301 Use char because int might match the return type of a GCC
14302 builtin and then its argument prototype would still apply. */
14303 #ifdef __cplusplus
14304 extern "C"
14305 #endif
14306 char libnetapi_init ();
14308 main ()
14310 return libnetapi_init ();
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 case "$LIBEXT" in
14317 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14318 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'` ;;
14319 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14320 if ${ac_cv_lib_soname_netapi:+false} :; then :
14321 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14322 fi ;;
14323 esac
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14327 LIBS=$ac_check_soname_save_LIBS
14329 if ${ac_cv_lib_soname_netapi:+false} :; then :
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14331 $as_echo "not found" >&6; }
14332 cat >>confdefs.h <<_ACEOF
14333 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14334 _ACEOF
14336 else
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14338 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14340 cat >>confdefs.h <<_ACEOF
14341 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14342 _ACEOF
14346 CPPFLAGS=$ac_save_CPPFLAGS
14347 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14348 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14352 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14353 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14354 then
14355 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14359 EXTRACFLAGS=""
14361 if test "x${GCC}" = "xyes"
14362 then
14363 EXTRACFLAGS="-Wall -pipe"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14366 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14367 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 if test "$cross_compiling" = yes; then :
14371 ac_cv_c_gcc_strength_bug="no"
14372 else
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int L[4] = {0,1,2,3};
14377 main ()
14379 static int Array[3];
14380 unsigned int B = 3;
14381 int i;
14382 for(i=0; i<B; i++) Array[i] = i - 3;
14383 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14384 L[i] = 4;
14385 return (Array[1] != -2 || L[2] != 3)
14387 return 0;
14389 _ACEOF
14390 if ac_fn_c_try_run "$LINENO"; then :
14391 ac_cv_c_gcc_strength_bug="no"
14392 else
14393 ac_cv_c_gcc_strength_bug="yes"
14395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14396 conftest.$ac_objext conftest.beam conftest.$ac_ext
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14401 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14402 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14403 then
14404 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14408 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14409 if ${ac_cv_cflags__fno_builtin+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 ac_wine_try_cflags_saved=$CFLAGS
14413 CFLAGS="$CFLAGS -fno-builtin"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14416 int main(int argc, char **argv) { return 0; }
14417 _ACEOF
14418 if ac_fn_c_try_link "$LINENO"; then :
14419 ac_cv_cflags__fno_builtin=yes
14420 else
14421 ac_cv_cflags__fno_builtin=no
14423 rm -f core conftest.err conftest.$ac_objext \
14424 conftest$ac_exeext conftest.$ac_ext
14425 CFLAGS=$ac_wine_try_cflags_saved
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14428 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14429 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14430 BUILTINFLAG="-fno-builtin"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14434 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14435 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14436 $as_echo_n "(cached) " >&6
14437 else
14438 ac_wine_try_cflags_saved=$CFLAGS
14439 CFLAGS="$CFLAGS -fno-strict-aliasing"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442 int main(int argc, char **argv) { return 0; }
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_cflags__fno_strict_aliasing=yes
14446 else
14447 ac_cv_cflags__fno_strict_aliasing=no
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 CFLAGS=$ac_wine_try_cflags_saved
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14454 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14455 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14456 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14459 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14460 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_wine_try_cflags_saved=$CFLAGS
14464 CFLAGS="$CFLAGS -fexcess-precision=standard"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14467 int main(int argc, char **argv) { return 0; }
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"; then :
14470 ac_cv_cflags__fexcess_precision_standard=yes
14471 else
14472 ac_cv_cflags__fexcess_precision_standard=no
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 CFLAGS=$ac_wine_try_cflags_saved
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14479 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14480 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14481 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14484 saved_CFLAGS=$CFLAGS
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14486 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14487 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 ac_wine_try_cflags_saved=$CFLAGS
14491 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14494 int main(int argc, char **argv) { return 0; }
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 ac_cv_cflags__Werror_unknown_warning_option=yes
14498 else
14499 ac_cv_cflags__Werror_unknown_warning_option=no
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14503 CFLAGS=$ac_wine_try_cflags_saved
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14506 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14507 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14508 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14511 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14512 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14513 $as_echo_n "(cached) " >&6
14514 else
14515 ac_wine_try_cflags_saved=$CFLAGS
14516 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14519 int main(int argc, char **argv) { return 0; }
14520 _ACEOF
14521 if ac_fn_c_try_link "$LINENO"; then :
14522 ac_cv_cflags__Wdeclaration_after_statement=yes
14523 else
14524 ac_cv_cflags__Wdeclaration_after_statement=no
14526 rm -f core conftest.err conftest.$ac_objext \
14527 conftest$ac_exeext conftest.$ac_ext
14528 CFLAGS=$ac_wine_try_cflags_saved
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14531 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14532 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14533 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14536 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14537 if ${ac_cv_cflags__Wempty_body+:} false; then :
14538 $as_echo_n "(cached) " >&6
14539 else
14540 ac_wine_try_cflags_saved=$CFLAGS
14541 CFLAGS="$CFLAGS -Wempty-body"
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14544 int main(int argc, char **argv) { return 0; }
14545 _ACEOF
14546 if ac_fn_c_try_link "$LINENO"; then :
14547 ac_cv_cflags__Wempty_body=yes
14548 else
14549 ac_cv_cflags__Wempty_body=no
14551 rm -f core conftest.err conftest.$ac_objext \
14552 conftest$ac_exeext conftest.$ac_ext
14553 CFLAGS=$ac_wine_try_cflags_saved
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14556 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14557 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14558 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14561 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14562 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 ac_wine_try_cflags_saved=$CFLAGS
14566 CFLAGS="$CFLAGS -Wignored-qualifiers"
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14569 int main(int argc, char **argv) { return 0; }
14570 _ACEOF
14571 if ac_fn_c_try_link "$LINENO"; then :
14572 ac_cv_cflags__Wignored_qualifiers=yes
14573 else
14574 ac_cv_cflags__Wignored_qualifiers=no
14576 rm -f core conftest.err conftest.$ac_objext \
14577 conftest$ac_exeext conftest.$ac_ext
14578 CFLAGS=$ac_wine_try_cflags_saved
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14581 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14582 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14583 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14586 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14587 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_wine_try_cflags_saved=$CFLAGS
14591 CFLAGS="$CFLAGS -Wshift-overflow=2"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 int main(int argc, char **argv) { return 0; }
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"; then :
14597 ac_cv_cflags__Wshift_overflow_2=yes
14598 else
14599 ac_cv_cflags__Wshift_overflow_2=no
14601 rm -f core conftest.err conftest.$ac_objext \
14602 conftest$ac_exeext conftest.$ac_ext
14603 CFLAGS=$ac_wine_try_cflags_saved
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14606 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14607 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14608 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14611 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14612 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 ac_wine_try_cflags_saved=$CFLAGS
14616 CFLAGS="$CFLAGS -Wstrict-prototypes"
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 int main(int argc, char **argv) { return 0; }
14620 _ACEOF
14621 if ac_fn_c_try_link "$LINENO"; then :
14622 ac_cv_cflags__Wstrict_prototypes=yes
14623 else
14624 ac_cv_cflags__Wstrict_prototypes=no
14626 rm -f core conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628 CFLAGS=$ac_wine_try_cflags_saved
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14631 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14632 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14633 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14636 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14637 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_wine_try_cflags_saved=$CFLAGS
14641 CFLAGS="$CFLAGS -Wtype-limits"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 int main(int argc, char **argv) { return 0; }
14645 _ACEOF
14646 if ac_fn_c_try_link "$LINENO"; then :
14647 ac_cv_cflags__Wtype_limits=yes
14648 else
14649 ac_cv_cflags__Wtype_limits=no
14651 rm -f core conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14653 CFLAGS=$ac_wine_try_cflags_saved
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14656 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14657 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14658 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14661 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14662 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14663 $as_echo_n "(cached) " >&6
14664 else
14665 ac_wine_try_cflags_saved=$CFLAGS
14666 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14669 int main(int argc, char **argv) { return 0; }
14670 _ACEOF
14671 if ac_fn_c_try_link "$LINENO"; then :
14672 ac_cv_cflags__Wunused_but_set_parameter=yes
14673 else
14674 ac_cv_cflags__Wunused_but_set_parameter=no
14676 rm -f core conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14678 CFLAGS=$ac_wine_try_cflags_saved
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14681 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14682 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14683 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14686 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14687 if ${ac_cv_cflags__Wvla+:} false; then :
14688 $as_echo_n "(cached) " >&6
14689 else
14690 ac_wine_try_cflags_saved=$CFLAGS
14691 CFLAGS="$CFLAGS -Wvla"
14692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14694 int main(int argc, char **argv) { return 0; }
14695 _ACEOF
14696 if ac_fn_c_try_link "$LINENO"; then :
14697 ac_cv_cflags__Wvla=yes
14698 else
14699 ac_cv_cflags__Wvla=no
14701 rm -f core conftest.err conftest.$ac_objext \
14702 conftest$ac_exeext conftest.$ac_ext
14703 CFLAGS=$ac_wine_try_cflags_saved
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14706 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14707 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14708 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14711 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14712 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 ac_wine_try_cflags_saved=$CFLAGS
14716 CFLAGS="$CFLAGS -Wwrite-strings"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14719 int main(int argc, char **argv) { return 0; }
14720 _ACEOF
14721 if ac_fn_c_try_link "$LINENO"; then :
14722 ac_cv_cflags__Wwrite_strings=yes
14723 else
14724 ac_cv_cflags__Wwrite_strings=no
14726 rm -f core conftest.err conftest.$ac_objext \
14727 conftest$ac_exeext conftest.$ac_ext
14728 CFLAGS=$ac_wine_try_cflags_saved
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14731 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14732 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14733 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14737 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14738 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 ac_wine_try_cflags_saved=$CFLAGS
14742 CFLAGS="$CFLAGS -Wpointer-arith"
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14745 int main(int argc, char **argv) { return 0; }
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"; then :
14748 ac_cv_cflags__Wpointer_arith=yes
14749 else
14750 ac_cv_cflags__Wpointer_arith=no
14752 rm -f core conftest.err conftest.$ac_objext \
14753 conftest$ac_exeext conftest.$ac_ext
14754 CFLAGS=$ac_wine_try_cflags_saved
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14757 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14758 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14759 saved_string_h_CFLAGS=$CFLAGS
14760 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14762 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14763 if ${ac_cv_c_string_h_warnings+:} false; then :
14764 $as_echo_n "(cached) " >&6
14765 else
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14768 #include <string.h>
14770 main ()
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_compile "$LINENO"; then :
14778 ac_cv_c_string_h_warnings=no
14779 else
14780 ac_cv_c_string_h_warnings=yes
14782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14785 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14786 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14787 CFLAGS=$saved_string_h_CFLAGS
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14791 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14792 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 ac_wine_try_cflags_saved=$CFLAGS
14796 CFLAGS="$CFLAGS -Wlogical-op"
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14799 int main(int argc, char **argv) { return 0; }
14800 _ACEOF
14801 if ac_fn_c_try_link "$LINENO"; then :
14802 ac_cv_cflags__Wlogical_op=yes
14803 else
14804 ac_cv_cflags__Wlogical_op=no
14806 rm -f core conftest.err conftest.$ac_objext \
14807 conftest$ac_exeext conftest.$ac_ext
14808 CFLAGS=$ac_wine_try_cflags_saved
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14811 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14812 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14813 saved_string_h_CFLAGS=$CFLAGS
14814 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14816 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14817 if ${ac_cv_c_logicalop_noisy+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822 #include <string.h>
14823 char*f(const char *h,char n) {return strchr(h,n);}
14825 main ()
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_compile "$LINENO"; then :
14833 ac_cv_c_logicalop_noisy=no
14834 else
14835 ac_cv_c_logicalop_noisy=yes
14837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14840 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14841 CFLAGS=$saved_string_h_CFLAGS
14842 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14845 CFLAGS=$saved_CFLAGS
14847 for ac_flag in $CFLAGS; do
14848 case $ac_flag in
14849 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14850 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14851 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 ac_wine_try_cflags_saved=$CFLAGS
14855 CFLAGS="$CFLAGS -gdwarf-2"
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14858 int main(int argc, char **argv) { return 0; }
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 ac_cv_cflags__gdwarf_2=yes
14862 else
14863 ac_cv_cflags__gdwarf_2=no
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14867 CFLAGS=$ac_wine_try_cflags_saved
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14870 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14871 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14872 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14875 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14876 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 ac_wine_try_cflags_saved=$CFLAGS
14880 CFLAGS="$CFLAGS -gstrict-dwarf"
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14883 int main(int argc, char **argv) { return 0; }
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"; then :
14886 ac_cv_cflags__gstrict_dwarf=yes
14887 else
14888 ac_cv_cflags__gstrict_dwarf=no
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14892 CFLAGS=$ac_wine_try_cflags_saved
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14895 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14896 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14897 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14898 fi ;;
14899 esac
14900 done
14902 case $host_cpu in
14903 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14904 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14905 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14906 $as_echo_n "(cached) " >&6
14907 else
14908 ac_wine_try_cflags_saved=$CFLAGS
14909 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14912 int main(int argc, char **argv) { return 0; }
14913 _ACEOF
14914 if ac_fn_c_try_link "$LINENO"; then :
14915 ac_cv_cflags__fno_omit_frame_pointer=yes
14916 else
14917 ac_cv_cflags__fno_omit_frame_pointer=no
14919 rm -f core conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext conftest.$ac_ext
14921 CFLAGS=$ac_wine_try_cflags_saved
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14924 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14925 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14926 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14927 fi ;;
14928 esac
14930 case $host in
14931 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14932 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14933 if ${ac_cv_cflags__Wno_format+:} false; then :
14934 $as_echo_n "(cached) " >&6
14935 else
14936 ac_wine_try_cflags_saved=$CFLAGS
14937 CFLAGS="$CFLAGS -Wno-format"
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14940 int main(int argc, char **argv) { return 0; }
14941 _ACEOF
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 ac_cv_cflags__Wno_format=yes
14944 else
14945 ac_cv_cflags__Wno_format=no
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14949 CFLAGS=$ac_wine_try_cflags_saved
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14952 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14953 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14954 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14955 fi ;;
14956 esac
14958 if test "x$enable_maintainer_mode" = "xyes"
14959 then
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14961 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14962 if ${ac_cv_cflags__Werror+:} false; then :
14963 $as_echo_n "(cached) " >&6
14964 else
14965 ac_wine_try_cflags_saved=$CFLAGS
14966 CFLAGS="$CFLAGS -Werror"
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14969 int main(int argc, char **argv) { return 0; }
14970 _ACEOF
14971 if ac_fn_c_try_link "$LINENO"; then :
14972 ac_cv_cflags__Werror=yes
14973 else
14974 ac_cv_cflags__Werror=no
14976 rm -f core conftest.err conftest.$ac_objext \
14977 conftest$ac_exeext conftest.$ac_ext
14978 CFLAGS=$ac_wine_try_cflags_saved
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14981 $as_echo "$ac_cv_cflags__Werror" >&6; }
14982 if test "x$ac_cv_cflags__Werror" = xyes; then :
14983 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14987 saved_CFLAGS="$CFLAGS"
14988 CFLAGS="$CFLAGS -Werror"
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14990 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14991 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14996 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14998 main ()
15002 return 0;
15004 _ACEOF
15005 if ac_fn_c_try_compile "$LINENO"; then :
15006 ac_cv_have_ms_hook_prologue="yes"
15007 else
15008 ac_cv_have_ms_hook_prologue="no"
15010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15013 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15014 CFLAGS="$saved_CFLAGS"
15015 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15016 then
15018 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15020 else
15021 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15028 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15029 if ${ac_cv_c_fortify_enabled+:} false; then :
15030 $as_echo_n "(cached) " >&6
15031 else
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 #include <string.h>
15036 main ()
15038 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15039 #error Fortify enabled
15040 #endif
15042 return 0;
15044 _ACEOF
15045 if ac_fn_c_try_compile "$LINENO"; then :
15046 ac_cv_c_fortify_enabled=no
15047 else
15048 ac_cv_c_fortify_enabled=yes
15050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15053 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15054 if test "$ac_cv_c_fortify_enabled" = yes
15055 then
15056 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15061 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15062 if ${ac_cv_c_extern_prefix+:} false; then :
15063 $as_echo_n "(cached) " >&6
15064 else
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 extern int ac_test;
15069 main ()
15071 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_link "$LINENO"; then :
15077 ac_cv_c_extern_prefix="yes"
15078 else
15079 ac_cv_c_extern_prefix="no"
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15085 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15087 case $host_cpu in
15088 *i[3456789]86*)
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15090 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15091 if ${ac_cv_c_stdcall_suffix+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 #ifndef _MSC_VER
15097 #define __stdcall __attribute__((__stdcall__))
15098 #endif
15099 int __stdcall ac_test(int i) { return i; }
15101 main ()
15103 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_link "$LINENO"; then :
15109 ac_cv_c_stdcall_suffix="yes"
15110 else
15111 ac_cv_c_stdcall_suffix="no"
15113 rm -f core conftest.err conftest.$ac_objext \
15114 conftest$ac_exeext conftest.$ac_ext
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15117 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15118 *) ac_cv_c_stdcall_suffix="no" ;;
15119 esac
15122 if test "$ac_cv_c_extern_prefix" = "yes"
15123 then
15124 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15126 asm_name_prefix="_"
15127 else
15128 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15130 asm_name_prefix=""
15134 if test "$ac_cv_c_stdcall_suffix" = "yes"
15135 then
15136 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15138 else
15139 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15145 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15146 if ${ac_cv_asm_func_def+:} false; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15153 main ()
15155 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_link "$LINENO"; then :
15161 ac_cv_asm_func_def=".def"
15162 else
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15167 main ()
15169 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"; then :
15175 ac_cv_asm_func_def=".type @function"
15176 else
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15181 main ()
15183 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15185 return 0;
15187 _ACEOF
15188 if ac_fn_c_try_link "$LINENO"; then :
15189 ac_cv_asm_func_def=".type 2"
15190 else
15191 ac_cv_asm_func_def="unknown"
15193 rm -f core conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext conftest.$ac_ext
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15203 $as_echo "$ac_cv_asm_func_def" >&6; }
15206 case "$ac_cv_asm_func_def" in
15207 ".def")
15208 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15210 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15211 ".type @function")
15212 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15214 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15215 ".type 2")
15216 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15218 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15220 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15222 asm_func_header="" ;;
15223 esac
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15226 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15227 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15228 $as_echo_n "(cached) " >&6
15229 else
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 asm(".text\n\t.long 0");
15234 main ()
15238 return 0;
15240 _ACEOF
15241 if ac_fn_c_try_compile "$LINENO"; then :
15242 ac_cv_c_asm_outside_funcs="yes"
15243 else
15244 ac_cv_c_asm_outside_funcs="no"
15246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15249 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15252 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15253 if ${ac_cv_c_dot_previous+:} false; then :
15254 $as_echo_n "(cached) " >&6
15255 else
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15260 main ()
15262 asm(".text\nac_test:\t.long 0\n\t.previous");
15264 return 0;
15266 _ACEOF
15267 if ac_fn_c_try_link "$LINENO"; then :
15268 ac_cv_c_dot_previous="yes"
15269 else
15270 ac_cv_c_dot_previous="no"
15272 rm -f core conftest.err conftest.$ac_objext \
15273 conftest$ac_exeext conftest.$ac_ext
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15276 $as_echo "$ac_cv_c_dot_previous" >&6; }
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15279 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15280 if ${ac_cv_c_cfi_support+:} false; then :
15281 $as_echo_n "(cached) " >&6
15282 else
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15285 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15287 main ()
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_compile "$LINENO"; then :
15295 ac_cv_c_cfi_support="yes"
15296 else
15297 ac_cv_c_cfi_support="no"
15299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15302 $as_echo "$ac_cv_c_cfi_support" >&6; }
15304 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15305 asm_func_trailer=""
15306 if test "$ac_cv_c_dot_previous" = "yes"
15307 then
15308 asm_func_trailer="\\n\\t.previous"
15310 if test "$ac_cv_c_cfi_support" = "yes"
15311 then
15312 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15313 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15315 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15317 UNWINDFLAGS=-fasynchronous-unwind-tables
15319 else
15320 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15322 if test "x$enable_win64" = "xyes"
15323 then
15324 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15328 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15331 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15332 then
15333 cat >>confdefs.h <<_ACEOF
15334 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15335 _ACEOF
15337 else
15338 cat >>confdefs.h <<_ACEOF
15339 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15340 _ACEOF
15344 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15347 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15351 case $build_os in
15352 cygwin*|mingw32*) TOOLSEXT=".exe"
15354 esac
15356 case $host_os in
15357 linux*)
15358 case $host_cpu in
15359 *i[3456789]86*|x86_64*)
15360 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15361 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15363 esac
15365 esac
15368 ac_save_CFLAGS="$CFLAGS"
15369 CFLAGS="$CFLAGS $BUILTINFLAG"
15370 for ac_func in \
15371 __res_get_state \
15372 __res_getservers \
15373 _finite \
15374 _isnan \
15375 _pclose \
15376 _popen \
15377 _snprintf \
15378 _spawnvp \
15379 _strdup \
15380 _stricmp \
15381 _strnicmp \
15382 _strtoi64 \
15383 _strtoui64 \
15384 _vsnprintf \
15385 asctime_r \
15386 chsize \
15387 dlopen \
15388 epoll_create \
15389 ffs \
15390 finitef \
15391 fnmatch \
15392 fork \
15393 fpclass \
15394 fstatfs \
15395 fstatvfs \
15396 ftruncate \
15397 futimens \
15398 futimes \
15399 futimesat \
15400 getattrlist \
15401 getauxval \
15402 getopt_long_only \
15403 getpwuid \
15404 gettimeofday \
15405 getuid \
15406 isnanf \
15407 kqueue \
15408 lstat \
15409 memmove \
15410 mmap \
15411 pclose \
15412 pipe2 \
15413 poll \
15414 popen \
15415 port_create \
15416 prctl \
15417 pread \
15418 proc_pidinfo \
15419 pwrite \
15420 readdir \
15421 readlink \
15422 sched_yield \
15423 select \
15424 setproctitle \
15425 setprogname \
15426 setrlimit \
15427 settimeofday \
15428 sigaltstack \
15429 sigprocmask \
15430 snprintf \
15431 statfs \
15432 statvfs \
15433 strcasecmp \
15434 strdup \
15435 strerror \
15436 strncasecmp \
15437 strtold \
15438 strtoll \
15439 strtoull \
15440 symlink \
15441 sysinfo \
15442 tcdrain \
15443 thr_kill2 \
15444 timegm \
15445 usleep \
15446 vsnprintf
15448 do :
15449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15452 cat >>confdefs.h <<_ACEOF
15453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15454 _ACEOF
15457 done
15459 CFLAGS="$ac_save_CFLAGS"
15461 if test "$ac_cv_func_dlopen" = no
15462 then
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15464 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15465 if ${ac_cv_lib_dl_dlopen+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15468 ac_check_lib_save_LIBS=$LIBS
15469 LIBS="-ldl $LIBS"
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15473 /* Override any GCC internal prototype to avoid an error.
15474 Use char because int might match the return type of a GCC
15475 builtin and then its argument prototype would still apply. */
15476 #ifdef __cplusplus
15477 extern "C"
15478 #endif
15479 char dlopen ();
15481 main ()
15483 return dlopen ();
15485 return 0;
15487 _ACEOF
15488 if ac_fn_c_try_link "$LINENO"; then :
15489 ac_cv_lib_dl_dlopen=yes
15490 else
15491 ac_cv_lib_dl_dlopen=no
15493 rm -f core conftest.err conftest.$ac_objext \
15494 conftest$ac_exeext conftest.$ac_ext
15495 LIBS=$ac_check_lib_save_LIBS
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15498 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15499 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15500 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15501 DL_LIBS="-ldl"
15506 ac_wine_check_funcs_save_LIBS="$LIBS"
15507 LIBS="$LIBS $DL_LIBS"
15508 for ac_func in dladdr
15509 do :
15510 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15511 if test "x$ac_cv_func_dladdr" = xyes; then :
15512 cat >>confdefs.h <<_ACEOF
15513 #define HAVE_DLADDR 1
15514 _ACEOF
15517 done
15519 LIBS="$ac_wine_check_funcs_save_LIBS"
15521 if test "$ac_cv_func_poll" = no
15522 then
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15524 $as_echo_n "checking for poll in -lpoll... " >&6; }
15525 if ${ac_cv_lib_poll_poll+:} false; then :
15526 $as_echo_n "(cached) " >&6
15527 else
15528 ac_check_lib_save_LIBS=$LIBS
15529 LIBS="-lpoll $LIBS"
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 /* Override any GCC internal prototype to avoid an error.
15534 Use char because int might match the return type of a GCC
15535 builtin and then its argument prototype would still apply. */
15536 #ifdef __cplusplus
15537 extern "C"
15538 #endif
15539 char poll ();
15541 main ()
15543 return poll ();
15545 return 0;
15547 _ACEOF
15548 if ac_fn_c_try_link "$LINENO"; then :
15549 ac_cv_lib_poll_poll=yes
15550 else
15551 ac_cv_lib_poll_poll=no
15553 rm -f core conftest.err conftest.$ac_objext \
15554 conftest$ac_exeext conftest.$ac_ext
15555 LIBS=$ac_check_lib_save_LIBS
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15558 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15559 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15560 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15561 POLL_LIBS="-lpoll"
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15568 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15569 if ${ac_cv_search_gethostbyname+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_func_search_save_LIBS=$LIBS
15573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574 /* end confdefs.h. */
15576 /* Override any GCC internal prototype to avoid an error.
15577 Use char because int might match the return type of a GCC
15578 builtin and then its argument prototype would still apply. */
15579 #ifdef __cplusplus
15580 extern "C"
15581 #endif
15582 char gethostbyname ();
15584 main ()
15586 return gethostbyname ();
15588 return 0;
15590 _ACEOF
15591 for ac_lib in '' nsl; do
15592 if test -z "$ac_lib"; then
15593 ac_res="none required"
15594 else
15595 ac_res=-l$ac_lib
15596 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 ac_cv_search_gethostbyname=$ac_res
15601 rm -f core conftest.err conftest.$ac_objext \
15602 conftest$ac_exeext
15603 if ${ac_cv_search_gethostbyname+:} false; then :
15604 break
15606 done
15607 if ${ac_cv_search_gethostbyname+:} false; then :
15609 else
15610 ac_cv_search_gethostbyname=no
15612 rm conftest.$ac_ext
15613 LIBS=$ac_func_search_save_LIBS
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15616 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15617 ac_res=$ac_cv_search_gethostbyname
15618 if test "$ac_res" != no; then :
15619 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15625 $as_echo_n "checking for library containing connect... " >&6; }
15626 if ${ac_cv_search_connect+:} false; then :
15627 $as_echo_n "(cached) " >&6
15628 else
15629 ac_func_search_save_LIBS=$LIBS
15630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15631 /* end confdefs.h. */
15633 /* Override any GCC internal prototype to avoid an error.
15634 Use char because int might match the return type of a GCC
15635 builtin and then its argument prototype would still apply. */
15636 #ifdef __cplusplus
15637 extern "C"
15638 #endif
15639 char connect ();
15641 main ()
15643 return connect ();
15645 return 0;
15647 _ACEOF
15648 for ac_lib in '' socket; do
15649 if test -z "$ac_lib"; then
15650 ac_res="none required"
15651 else
15652 ac_res=-l$ac_lib
15653 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15655 if ac_fn_c_try_link "$LINENO"; then :
15656 ac_cv_search_connect=$ac_res
15658 rm -f core conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext
15660 if ${ac_cv_search_connect+:} false; then :
15661 break
15663 done
15664 if ${ac_cv_search_connect+:} false; then :
15666 else
15667 ac_cv_search_connect=no
15669 rm conftest.$ac_ext
15670 LIBS=$ac_func_search_save_LIBS
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15673 $as_echo "$ac_cv_search_connect" >&6; }
15674 ac_res=$ac_cv_search_connect
15675 if test "$ac_res" != no; then :
15676 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15682 $as_echo_n "checking for library containing inet_aton... " >&6; }
15683 if ${ac_cv_search_inet_aton+:} false; then :
15684 $as_echo_n "(cached) " >&6
15685 else
15686 ac_func_search_save_LIBS=$LIBS
15687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15693 #ifdef __cplusplus
15694 extern "C"
15695 #endif
15696 char inet_aton ();
15698 main ()
15700 return inet_aton ();
15702 return 0;
15704 _ACEOF
15705 for ac_lib in '' resolv; do
15706 if test -z "$ac_lib"; then
15707 ac_res="none required"
15708 else
15709 ac_res=-l$ac_lib
15710 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 ac_cv_search_inet_aton=$ac_res
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext
15717 if ${ac_cv_search_inet_aton+:} false; then :
15718 break
15720 done
15721 if ${ac_cv_search_inet_aton+:} false; then :
15723 else
15724 ac_cv_search_inet_aton=no
15726 rm conftest.$ac_ext
15727 LIBS=$ac_func_search_save_LIBS
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15730 $as_echo "$ac_cv_search_inet_aton" >&6; }
15731 ac_res=$ac_cv_search_inet_aton
15732 if test "$ac_res" != no; then :
15733 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15738 for ac_func in \
15739 getaddrinfo \
15740 getnameinfo \
15741 getnetbyname \
15742 getprotobyname \
15743 getprotobynumber \
15744 getservbyport \
15745 inet_addr \
15746 inet_network \
15747 inet_ntop \
15748 inet_pton \
15749 sendmsg \
15750 socketpair \
15752 do :
15753 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15754 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15755 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15758 _ACEOF
15761 done
15764 ac_save_LIBS=$LIBS
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15766 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15767 if ${ac_cv_search_clock_gettime+:} false; then :
15768 $as_echo_n "(cached) " >&6
15769 else
15770 ac_func_search_save_LIBS=$LIBS
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 #ifdef __cplusplus
15778 extern "C"
15779 #endif
15780 char clock_gettime ();
15782 main ()
15784 return clock_gettime ();
15786 return 0;
15788 _ACEOF
15789 for ac_lib in '' rt; do
15790 if test -z "$ac_lib"; then
15791 ac_res="none required"
15792 else
15793 ac_res=-l$ac_lib
15794 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15796 if ac_fn_c_try_link "$LINENO"; then :
15797 ac_cv_search_clock_gettime=$ac_res
15799 rm -f core conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext
15801 if ${ac_cv_search_clock_gettime+:} false; then :
15802 break
15804 done
15805 if ${ac_cv_search_clock_gettime+:} false; then :
15807 else
15808 ac_cv_search_clock_gettime=no
15810 rm conftest.$ac_ext
15811 LIBS=$ac_func_search_save_LIBS
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15814 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15815 ac_res=$ac_cv_search_clock_gettime
15816 if test "$ac_res" != no; then :
15817 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15819 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15821 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15825 LIBS=$ac_save_LIBS
15827 LDAP_LIBS=""
15829 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15830 then
15831 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15833 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15835 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15836 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 ac_check_lib_save_LIBS=$LIBS
15840 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15847 #ifdef __cplusplus
15848 extern "C"
15849 #endif
15850 char ldap_initialize ();
15852 main ()
15854 return ldap_initialize ();
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_link "$LINENO"; then :
15860 ac_cv_lib_ldap_r_ldap_initialize=yes
15861 else
15862 ac_cv_lib_ldap_r_ldap_initialize=no
15864 rm -f core conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext conftest.$ac_ext
15866 LIBS=$ac_check_lib_save_LIBS
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15869 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15870 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15872 $as_echo_n "checking for ber_init in -llber... " >&6; }
15873 if ${ac_cv_lib_lber_ber_init+:} false; then :
15874 $as_echo_n "(cached) " >&6
15875 else
15876 ac_check_lib_save_LIBS=$LIBS
15877 LIBS="-llber $PTHREAD_LIBS $LIBS"
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15881 /* Override any GCC internal prototype to avoid an error.
15882 Use char because int might match the return type of a GCC
15883 builtin and then its argument prototype would still apply. */
15884 #ifdef __cplusplus
15885 extern "C"
15886 #endif
15887 char ber_init ();
15889 main ()
15891 return ber_init ();
15893 return 0;
15895 _ACEOF
15896 if ac_fn_c_try_link "$LINENO"; then :
15897 ac_cv_lib_lber_ber_init=yes
15898 else
15899 ac_cv_lib_lber_ber_init=no
15901 rm -f core conftest.err conftest.$ac_objext \
15902 conftest$ac_exeext conftest.$ac_ext
15903 LIBS=$ac_check_lib_save_LIBS
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15906 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15907 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15909 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15911 LDAP_LIBS="-lldap_r -llber"
15918 ac_wine_check_funcs_save_LIBS="$LIBS"
15919 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15920 for ac_func in \
15921 ldap_count_references \
15922 ldap_first_reference \
15923 ldap_next_reference \
15924 ldap_parse_reference \
15925 ldap_parse_sort_control \
15926 ldap_parse_sortresponse_control \
15927 ldap_parse_vlv_control \
15928 ldap_parse_vlvresponse_control
15929 do :
15930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15935 _ACEOF
15938 done
15940 LIBS="$ac_wine_check_funcs_save_LIBS"
15942 if test "x$LDAP_LIBS" = "x"; then :
15943 case "x$with_ldap" in
15944 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15945 xno) ;;
15946 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15947 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15948 esac
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15953 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15954 if ${wine_cv_one_arg_mkdir+:} false; then :
15955 $as_echo_n "(cached) " >&6
15956 else
15957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15958 /* end confdefs.h. */
15959 #include <sys/stat.h>
15961 main ()
15963 mkdir("foo");
15965 return 0;
15967 _ACEOF
15968 if ac_fn_c_try_compile "$LINENO"; then :
15969 wine_cv_one_arg_mkdir=yes
15970 else
15971 wine_cv_one_arg_mkdir=no
15973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15976 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15977 if test "$wine_cv_one_arg_mkdir" = "yes"
15978 then
15980 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15985 $as_echo_n "checking for sched_setaffinity... " >&6; }
15986 if ${wine_cv_have_sched_setaffinity+:} false; then :
15987 $as_echo_n "(cached) " >&6
15988 else
15989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
15991 #define _GNU_SOURCE
15992 #include <sched.h>
15994 main ()
15996 sched_setaffinity(0, 0, 0);
15998 return 0;
16000 _ACEOF
16001 if ac_fn_c_try_link "$LINENO"; then :
16002 wine_cv_have_sched_setaffinity=yes
16003 else
16004 wine_cv_have_sched_setaffinity=no
16006 rm -f core conftest.err conftest.$ac_objext \
16007 conftest$ac_exeext conftest.$ac_ext
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16010 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16011 if test "$wine_cv_have_sched_setaffinity" = "yes"
16012 then
16014 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16019 $as_echo_n "checking for fallocate... " >&6; }
16020 if ${wine_cv_have_fallocate+:} false; then :
16021 $as_echo_n "(cached) " >&6
16022 else
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16025 #define _GNU_SOURCE
16026 #include <fcntl.h>
16028 main ()
16030 fallocate(-1, 0, 0, 0);
16032 return 0;
16034 _ACEOF
16035 if ac_fn_c_try_link "$LINENO"; then :
16036 wine_cv_have_fallocate=yes
16037 else
16038 wine_cv_have_fallocate=no
16040 rm -f core conftest.err conftest.$ac_objext \
16041 conftest$ac_exeext conftest.$ac_ext
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16044 $as_echo "$wine_cv_have_fallocate" >&6; }
16045 if test "$wine_cv_have_fallocate" = "yes"
16046 then
16048 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16054 $as_echo_n "checking for inline... " >&6; }
16055 if ${ac_cv_c_inline+:} false; then :
16056 $as_echo_n "(cached) " >&6
16057 else
16058 ac_cv_c_inline=no
16059 for ac_kw in inline __inline__ __inline; do
16060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16061 /* end confdefs.h. */
16062 #ifndef __cplusplus
16063 typedef int foo_t;
16064 static $ac_kw foo_t static_foo () {return 0; }
16065 $ac_kw foo_t foo () {return 0; }
16066 #endif
16068 _ACEOF
16069 if ac_fn_c_try_compile "$LINENO"; then :
16070 ac_cv_c_inline=$ac_kw
16072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16073 test "$ac_cv_c_inline" != no && break
16074 done
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16078 $as_echo "$ac_cv_c_inline" >&6; }
16080 case $ac_cv_c_inline in
16081 inline | yes) ;;
16083 case $ac_cv_c_inline in
16084 no) ac_val=;;
16085 *) ac_val=$ac_cv_c_inline;;
16086 esac
16087 cat >>confdefs.h <<_ACEOF
16088 #ifndef __cplusplus
16089 #define inline $ac_val
16090 #endif
16091 _ACEOF
16093 esac
16095 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16096 if test "x$ac_cv_type_mode_t" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_MODE_T 1
16100 _ACEOF
16104 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16105 if test "x$ac_cv_type_off_t" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_OFF_T 1
16109 _ACEOF
16113 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16114 if test "x$ac_cv_type_pid_t" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_PID_T 1
16118 _ACEOF
16122 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16123 if test "x$ac_cv_type_size_t" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_SIZE_T 1
16127 _ACEOF
16131 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16132 if test "x$ac_cv_type_ssize_t" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_SSIZE_T 1
16136 _ACEOF
16140 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16141 if test "x$ac_cv_type_long_long" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_LONG_LONG 1
16145 _ACEOF
16149 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16150 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_FSBLKCNT_T 1
16154 _ACEOF
16158 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16159 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_FSFILCNT_T 1
16163 _ACEOF
16168 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16169 #include <signal.h>
16171 if test "x$ac_cv_type_sigset_t" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_SIGSET_T 1
16175 _ACEOF
16180 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16182 if test "x$ac_cv_type_request_sense" = xyes; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_REQUEST_SENSE 1
16186 _ACEOF
16192 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16193 #ifdef HAVE_SYS_SOCKET_H
16194 #include <sys/socket.h>
16195 #endif
16196 #ifdef HAVE_SYS_SOCKETVAR_H
16197 #include <sys/socketvar.h>
16198 #endif
16199 #ifdef HAVE_NET_ROUTE_H
16200 #include <net/route.h>
16201 #endif
16202 #ifdef HAVE_NETINET_IN_H
16203 #include <netinet/in.h>
16204 #endif
16205 #ifdef HAVE_NETINET_IN_SYSTM_H
16206 #include <netinet/in_systm.h>
16207 #endif
16208 #ifdef HAVE_NETINET_IP_H
16209 #include <netinet/ip.h>
16210 #endif
16211 #ifdef HAVE_NETINET_IN_PCB_H
16212 #include <netinet/in_pcb.h>
16213 #endif
16215 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define HAVE_STRUCT_XINPGEN 1
16219 _ACEOF
16225 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16226 #include <link.h>
16227 #endif
16228 #ifdef HAVE_SYS_LINK_H
16229 #include <sys/link.h>
16230 #endif
16232 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define HAVE_STRUCT_R_DEBUG 1
16236 _ACEOF
16240 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16241 #include <link.h>
16242 #endif
16243 #ifdef HAVE_SYS_LINK_H
16244 #include <sys/link.h>
16245 #endif
16247 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_STRUCT_LINK_MAP 1
16251 _ACEOF
16257 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16258 #include <linux/input.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16265 _ACEOF
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16272 $as_echo_n "checking for if_nameindex... " >&6; }
16273 if ${wine_cv_have_if_nameindex+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16278 #ifdef HAVE_SYS_TYPES_H
16279 #include <sys/types.h>
16280 #endif
16281 #ifdef HAVE_NET_IF_H
16282 # include <net/if.h>
16283 #endif
16285 main ()
16287 struct if_nameindex *p = if_nameindex(); return p->if_index;
16289 return 0;
16291 _ACEOF
16292 if ac_fn_c_try_link "$LINENO"; then :
16293 wine_cv_have_if_nameindex=yes
16294 else
16295 wine_cv_have_if_nameindex=no
16297 rm -f core conftest.err conftest.$ac_objext \
16298 conftest$ac_exeext conftest.$ac_ext
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16301 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16302 if test "$wine_cv_have_if_nameindex" = "yes"
16303 then
16305 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16310 $as_echo_n "checking for sigaddset... " >&6; }
16311 if ${wine_cv_have_sigaddset+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16316 #include <signal.h>
16318 main ()
16320 sigset_t set; sigaddset(&set,SIGTERM);
16322 return 0;
16324 _ACEOF
16325 if ac_fn_c_try_link "$LINENO"; then :
16326 wine_cv_have_sigaddset=yes
16327 else
16328 wine_cv_have_sigaddset=no
16330 rm -f core conftest.err conftest.$ac_objext \
16331 conftest$ac_exeext conftest.$ac_ext
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16334 $as_echo "$wine_cv_have_sigaddset" >&6; }
16335 if test "$wine_cv_have_sigaddset" = "yes"
16336 then
16338 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16344 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16345 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16346 $as_echo_n "(cached) " >&6
16347 else
16348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16349 /* end confdefs.h. */
16350 #include <netdb.h>
16352 main ()
16355 char *name=0;
16356 struct hostent he;
16357 struct hostent *result;
16358 char *buf=0;
16359 int bufsize=0;
16360 int errnr;
16361 char *addr=0;
16362 int addrlen=0;
16363 int addrtype=0;
16364 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16365 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16368 return 0;
16370 _ACEOF
16371 if ac_fn_c_try_link "$LINENO"; then :
16372 wine_cv_linux_gethostbyname_r_6=yes
16373 else
16374 wine_cv_linux_gethostbyname_r_6=no
16377 rm -f core conftest.err conftest.$ac_objext \
16378 conftest$ac_exeext conftest.$ac_ext
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16382 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16383 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16384 then
16386 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16390 if test "$ac_cv_header_linux_joystick_h" = "yes"
16391 then
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16393 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16394 if ${wine_cv_linux_joystick_22_api+:} false; then :
16395 $as_echo_n "(cached) " >&6
16396 else
16397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16398 /* end confdefs.h. */
16400 #include <sys/ioctl.h>
16401 #include <sys/types.h>
16402 #include <linux/joystick.h>
16404 struct js_event blub;
16405 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16406 #error "no 2.2 header"
16407 #endif
16410 main ()
16412 /*empty*/
16414 return 0;
16416 _ACEOF
16417 if ac_fn_c_try_compile "$LINENO"; then :
16418 wine_cv_linux_joystick_22_api=yes
16419 else
16420 wine_cv_linux_joystick_22_api=no
16422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16426 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16427 if test "$wine_cv_linux_joystick_22_api" = "yes"
16428 then
16430 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16436 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16437 #ifdef HAVE_SYS_PARAM_H
16438 # include <sys/param.h>
16439 #endif
16440 #ifdef HAVE_SYS_MOUNT_H
16441 # include <sys/mount.h>
16442 #endif
16443 #ifdef HAVE_SYS_VFS_H
16444 # include <sys/vfs.h>
16445 #endif
16446 #ifdef HAVE_SYS_STATFS_H
16447 # include <sys/statfs.h>
16448 #endif
16450 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_STRUCT_STATFS_F_BFREE 1
16454 _ACEOF
16458 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16459 #ifdef HAVE_SYS_PARAM_H
16460 # include <sys/param.h>
16461 #endif
16462 #ifdef HAVE_SYS_MOUNT_H
16463 # include <sys/mount.h>
16464 #endif
16465 #ifdef HAVE_SYS_VFS_H
16466 # include <sys/vfs.h>
16467 #endif
16468 #ifdef HAVE_SYS_STATFS_H
16469 # include <sys/statfs.h>
16470 #endif
16472 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16476 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16481 #ifdef HAVE_SYS_PARAM_H
16482 # include <sys/param.h>
16483 #endif
16484 #ifdef HAVE_SYS_MOUNT_H
16485 # include <sys/mount.h>
16486 #endif
16487 #ifdef HAVE_SYS_VFS_H
16488 # include <sys/vfs.h>
16489 #endif
16490 #ifdef HAVE_SYS_STATFS_H
16491 # include <sys/statfs.h>
16492 #endif
16494 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16498 _ACEOF
16502 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16503 #ifdef HAVE_SYS_PARAM_H
16504 # include <sys/param.h>
16505 #endif
16506 #ifdef HAVE_SYS_MOUNT_H
16507 # include <sys/mount.h>
16508 #endif
16509 #ifdef HAVE_SYS_VFS_H
16510 # include <sys/vfs.h>
16511 #endif
16512 #ifdef HAVE_SYS_STATFS_H
16513 # include <sys/statfs.h>
16514 #endif
16516 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define HAVE_STRUCT_STATFS_F_FFREE 1
16520 _ACEOF
16524 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16525 #ifdef HAVE_SYS_PARAM_H
16526 # include <sys/param.h>
16527 #endif
16528 #ifdef HAVE_SYS_MOUNT_H
16529 # include <sys/mount.h>
16530 #endif
16531 #ifdef HAVE_SYS_VFS_H
16532 # include <sys/vfs.h>
16533 #endif
16534 #ifdef HAVE_SYS_STATFS_H
16535 # include <sys/statfs.h>
16536 #endif
16538 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16540 cat >>confdefs.h <<_ACEOF
16541 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16542 _ACEOF
16546 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16547 #ifdef HAVE_SYS_PARAM_H
16548 # include <sys/param.h>
16549 #endif
16550 #ifdef HAVE_SYS_MOUNT_H
16551 # include <sys/mount.h>
16552 #endif
16553 #ifdef HAVE_SYS_VFS_H
16554 # include <sys/vfs.h>
16555 #endif
16556 #ifdef HAVE_SYS_STATFS_H
16557 # include <sys/statfs.h>
16558 #endif
16560 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16564 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16571 #include <sys/statvfs.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16578 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16585 #include <dirent.h>
16586 #endif
16588 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16592 _ACEOF
16598 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16599 #ifdef HAVE_SYS_SOCKET_H
16600 # include <sys/socket.h>
16601 #endif
16602 #ifdef HAVE_SYS_UN_H
16603 # include <sys/un.h>
16604 #endif
16606 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16610 _ACEOF
16614 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16615 #ifdef HAVE_SYS_SOCKET_H
16616 # include <sys/socket.h>
16617 #endif
16618 #ifdef HAVE_SYS_UN_H
16619 # include <sys/un.h>
16620 #endif
16622 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16626 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16631 #ifdef HAVE_SYS_SOCKET_H
16632 # include <sys/socket.h>
16633 #endif
16634 #ifdef HAVE_SYS_UN_H
16635 # include <sys/un.h>
16636 #endif
16638 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16640 cat >>confdefs.h <<_ACEOF
16641 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16642 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16649 #ifdef HAVE_SCSI_SG_H
16650 #include <scsi/sg.h>
16651 #endif
16653 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_SCSIREQ_T_CMD 1
16657 _ACEOF
16661 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>
16662 #ifdef HAVE_SCSI_SG_H
16663 #include <scsi/sg.h>
16664 #endif
16666 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16670 _ACEOF
16676 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16678 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16680 cat >>confdefs.h <<_ACEOF
16681 #define HAVE_SIGINFO_T_SI_FD 1
16682 _ACEOF
16688 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16689 #ifdef HAVE_SYS_MTIO_H
16690 #include <sys/mtio.h>
16691 #endif
16693 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16697 _ACEOF
16701 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16702 #ifdef HAVE_SYS_MTIO_H
16703 #include <sys/mtio.h>
16704 #endif
16706 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16708 cat >>confdefs.h <<_ACEOF
16709 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16710 _ACEOF
16714 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16715 #ifdef HAVE_SYS_MTIO_H
16716 #include <sys/mtio.h>
16717 #endif
16719 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16723 _ACEOF
16729 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16730 #include <getopt.h>
16731 #endif
16733 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_STRUCT_OPTION_NAME 1
16737 _ACEOF
16743 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16744 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16746 cat >>confdefs.h <<_ACEOF
16747 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16748 _ACEOF
16752 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16753 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_STRUCT_STAT_ST_MTIM 1
16757 _ACEOF
16761 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16762 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16766 _ACEOF
16770 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16771 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16773 cat >>confdefs.h <<_ACEOF
16774 #define HAVE_STRUCT_STAT_ST_CTIM 1
16775 _ACEOF
16779 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16780 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16782 cat >>confdefs.h <<_ACEOF
16783 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16784 _ACEOF
16788 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16789 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16791 cat >>confdefs.h <<_ACEOF
16792 #define HAVE_STRUCT_STAT_ST_ATIM 1
16793 _ACEOF
16797 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16798 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16800 cat >>confdefs.h <<_ACEOF
16801 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16802 _ACEOF
16806 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16807 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16809 cat >>confdefs.h <<_ACEOF
16810 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16811 _ACEOF
16815 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16816 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16820 _ACEOF
16824 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16825 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16827 cat >>confdefs.h <<_ACEOF
16828 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16829 _ACEOF
16833 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16834 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16838 _ACEOF
16842 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16843 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16845 cat >>confdefs.h <<_ACEOF
16846 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16847 _ACEOF
16853 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
16854 #include <sys/types.h>
16855 #endif
16856 #ifdef HAVE_NETINET_IN_H
16857 #include <netinet/in.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16864 _ACEOF
16870 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16871 #include <sys/types.h>
16872 #endif
16873 #ifdef HAVE_NETINET_IN_H
16874 #include <netinet/in.h>
16875 #endif
16876 #ifdef HAVE_RESOLV_H
16877 #include <resolv.h>
16878 #endif
16880 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_STRUCT___RES_STATE 1
16884 _ACEOF
16890 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
16891 #include <resolv.h>
16892 #endif
16894 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16898 _ACEOF
16904 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16905 #include <sys/types.h>
16906 #endif
16907 #ifdef HAVE_NETINET_IN_H
16908 # include <netinet/in.h>
16909 #endif
16910 #ifdef HAVE_ARPA_NAMESER_H
16911 # include <arpa/nameser.h>
16912 #endif
16914 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_NS_MSG__MSG_PTR 1
16918 _ACEOF
16924 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16925 #include <sys/types.h>
16926 #endif
16927 #ifdef HAVE_NETINET_IN_H
16928 #include <netinet/in.h>
16929 #endif
16930 #ifdef HAVE_NETINET_IP_H
16931 #include <netinet/ip.h>
16932 #endif
16933 #ifdef HAVE_NETINET_IP_ICMP_H
16934 #include <netinet/ip_icmp.h>
16935 #endif
16936 #ifdef HAVE_NETINET_ICMP_VAR_H
16937 #include <netinet/icmp_var.h>
16938 #endif
16940 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16944 _ACEOF
16950 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16951 #include <sys/types.h>
16952 #endif
16953 #ifdef HAVE_ALIAS_H
16954 #include <alias.h>
16955 #endif
16956 #ifdef HAVE_SYS_SOCKET_H
16957 #include <sys/socket.h>
16958 #endif
16959 #ifdef HAVE_SYS_SOCKETVAR_H
16960 #include <sys/socketvar.h>
16961 #endif
16962 #ifdef HAVE_SYS_TIMEOUT_H
16963 #include <sys/timeout.h>
16964 #endif
16965 #ifdef HAVE_NETINET_IN_H
16966 #include <netinet/in.h>
16967 #endif
16968 #ifdef HAVE_NETINET_IN_SYSTM_H
16969 #include <netinet/in_systm.h>
16970 #endif
16971 #ifdef HAVE_NETINET_IP_H
16972 #include <netinet/ip.h>
16973 #endif
16974 #ifdef HAVE_NETINET_IP_VAR_H
16975 #include <netinet/ip_var.h>
16976 #endif
16977 #ifdef HAVE_NETINET_IP_ICMP_H
16978 #include <netinet/ip_icmp.h>
16979 #endif
16980 #ifdef HAVE_NETINET_ICMP_VAR_H
16981 #include <netinet/icmp_var.h>
16982 #endif
16984 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16986 cat >>confdefs.h <<_ACEOF
16987 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16988 _ACEOF
16994 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16995 #include <sys/types.h>
16996 #endif
16997 #ifdef HAVE_SYS_SOCKETVAR_H
16998 #include <sys/socketvar.h>
16999 #endif
17000 #ifdef HAVE_NETINET_IN_H
17001 #include <netinet/in.h>
17002 #endif
17003 #ifdef HAVE_NETINET_IP_VAR_H
17004 #include <netinet/ip_var.h>
17005 #endif
17007 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17011 _ACEOF
17017 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
17018 #include <netinet/ip_var.h>
17019 #endif
17021 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17025 _ACEOF
17031 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17032 #include <sys/types.h>
17033 #endif
17034 #ifdef HAVE_SYS_SOCKETVAR_H
17035 #include <sys/socketvar.h>
17036 #endif
17037 #ifdef HAVE_NETINET_IN_H
17038 #include <netinet/in.h>
17039 #endif
17040 #ifdef HAVE_NETINET_TCP_H
17041 #include <netinet/tcp.h>
17042 #endif
17043 #ifdef HAVE_NETINET_TCP_VAR_H
17044 #include <netinet/tcp_var.h>
17045 #endif
17047 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17049 cat >>confdefs.h <<_ACEOF
17050 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17051 _ACEOF
17057 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
17058 #include <netinet/tcp_var.h>
17059 #endif
17061 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17065 _ACEOF
17071 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17072 #include <sys/types.h>
17073 #endif
17074 #ifdef HAVE_NETINET_IN_H
17075 #include <netinet/in.h>
17076 #endif
17077 #ifdef HAVE_NETINET_IP_VAR_H
17078 #include <netinet/ip_var.h>
17079 #endif
17080 #ifdef HAVE_NETINET_UDP_H
17081 #include <netinet/udp.h>
17082 #endif
17083 #ifdef HAVE_NETINET_UDP_VAR_H
17084 #include <netinet/udp_var.h>
17085 #endif
17087 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17089 cat >>confdefs.h <<_ACEOF
17090 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17091 _ACEOF
17097 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17098 #include <sys/types.h>
17099 #endif
17100 #ifdef HAVE_NET_IF_H
17101 # include <net/if.h>
17102 #endif
17104 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17106 cat >>confdefs.h <<_ACEOF
17107 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17108 _ACEOF
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17115 $as_echo_n "checking for timezone variable... " >&6; }
17116 if ${ac_cv_have_timezone+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <time.h>
17123 main ()
17125 timezone = 1
17127 return 0;
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"; then :
17131 ac_cv_have_timezone="yes"
17132 else
17133 ac_cv_have_timezone="no"
17135 rm -f core conftest.err conftest.$ac_objext \
17136 conftest$ac_exeext conftest.$ac_ext
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17139 $as_echo "$ac_cv_have_timezone" >&6; }
17140 if test "$ac_cv_have_timezone" = "yes"
17141 then
17143 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17147 $as_echo_n "checking for daylight variable... " >&6; }
17148 if ${ac_cv_have_daylight+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #include <time.h>
17155 main ()
17157 daylight = 1
17159 return 0;
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_have_daylight="yes"
17164 else
17165 ac_cv_have_daylight="no"
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17171 $as_echo "$ac_cv_have_daylight" >&6; }
17172 if test "$ac_cv_have_daylight" = "yes"
17173 then
17175 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17179 ac_save_LIBS="$LIBS"
17180 LIBS="$LIBS -lm"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17182 $as_echo_n "checking for isfinite... " >&6; }
17183 if ${ac_cv_have_isfinite+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 #define _GNU_SOURCE
17189 #include <math.h>
17191 main ()
17193 float f = 0.0; return isfinite(f)
17195 return 0;
17197 _ACEOF
17198 if ac_fn_c_try_link "$LINENO"; then :
17199 ac_cv_have_isfinite="yes"
17200 else
17201 ac_cv_have_isfinite="no"
17203 rm -f core conftest.err conftest.$ac_objext \
17204 conftest$ac_exeext conftest.$ac_ext
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17207 $as_echo "$ac_cv_have_isfinite" >&6; }
17208 if test "$ac_cv_have_isfinite" = "yes"
17209 then
17211 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17216 $as_echo_n "checking for isinf... " >&6; }
17217 if ${ac_cv_have_isinf+:} false; then :
17218 $as_echo_n "(cached) " >&6
17219 else
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17222 #include <math.h>
17224 main ()
17226 float f = 0.0; return isinf(f)
17228 return 0;
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_have_isinf="yes"
17233 else
17234 ac_cv_have_isinf="no"
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17240 $as_echo "$ac_cv_have_isinf" >&6; }
17241 if test "$ac_cv_have_isinf" = "yes"
17242 then
17244 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17249 $as_echo_n "checking for isnan... " >&6; }
17250 if ${ac_cv_have_isnan+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #include <math.h>
17257 main ()
17259 float f = 0.0; return isnan(f)
17261 return 0;
17263 _ACEOF
17264 if ac_fn_c_try_link "$LINENO"; then :
17265 ac_cv_have_isnan="yes"
17266 else
17267 ac_cv_have_isnan="no"
17269 rm -f core conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17273 $as_echo "$ac_cv_have_isnan" >&6; }
17274 if test "$ac_cv_have_isnan" = "yes"
17275 then
17277 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17281 for ac_func in \
17282 asinh \
17283 asinhf \
17284 cbrt \
17285 cbrtf \
17286 erf \
17287 erff \
17288 exp2 \
17289 exp2f \
17290 lgamma \
17291 lgammaf \
17292 llrint \
17293 llrintf \
17294 llround \
17295 llroundf \
17296 log2 \
17297 log2f \
17298 lrint \
17299 lrintf \
17300 lround \
17301 lroundf \
17302 nearbyint \
17303 nearbyintf \
17304 powl \
17305 remainder \
17306 remainderf \
17307 rint \
17308 rintf \
17309 round \
17310 roundf \
17311 trunc \
17312 truncf
17314 do :
17315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17318 cat >>confdefs.h <<_ACEOF
17319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17320 _ACEOF
17323 done
17325 LIBS="$ac_save_LIBS"
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17328 $as_echo_n "checking for __builtin_clz... " >&6; }
17329 if ${ac_cv_have___builtin_clz+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17336 main ()
17338 return __builtin_clz(1)
17340 return 0;
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_have___builtin_clz="yes"
17345 else
17346 ac_cv_have___builtin_clz="no"
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17352 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17353 if test "$ac_cv_have___builtin_clz" = "yes"
17354 then
17356 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17361 $as_echo_n "checking for __builtin_popcount... " >&6; }
17362 if ${ac_cv_have___builtin_popcount+:} false; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17369 main ()
17371 return __builtin_popcount(1)
17373 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"; then :
17377 ac_cv_have___builtin_popcount="yes"
17378 else
17379 ac_cv_have___builtin_popcount="no"
17381 rm -f core conftest.err conftest.$ac_objext \
17382 conftest$ac_exeext conftest.$ac_ext
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17385 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17386 if test "$ac_cv_have___builtin_popcount" = "yes"
17387 then
17389 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17394 case $host_cpu in
17395 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17396 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17397 if ${ac_cv_cpp_def___i386__+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #ifndef __i386__
17404 #endif
17405 _ACEOF
17406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17407 $EGREP "yes" >/dev/null 2>&1; then :
17408 ac_cv_cpp_def___i386__=yes
17409 else
17410 ac_cv_cpp_def___i386__=no
17412 rm -f conftest*
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17416 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17417 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17418 CFLAGS="$CFLAGS -D__i386__"
17419 LINTFLAGS="$LINTFLAGS -D__i386__"
17420 fi ;;
17421 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17422 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17423 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17424 $as_echo_n "(cached) " >&6
17425 else
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 #ifndef __x86_64__
17430 #endif
17431 _ACEOF
17432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17433 $EGREP "yes" >/dev/null 2>&1; then :
17434 ac_cv_cpp_def___x86_64__=yes
17435 else
17436 ac_cv_cpp_def___x86_64__=no
17438 rm -f conftest*
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17442 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17443 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17444 CFLAGS="$CFLAGS -D__x86_64__"
17445 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17446 fi ;;
17447 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17448 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17449 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17450 $as_echo_n "(cached) " >&6
17451 else
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 #ifndef __sparc64__
17456 #endif
17457 _ACEOF
17458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17459 $EGREP "yes" >/dev/null 2>&1; then :
17460 ac_cv_cpp_def___sparc64__=yes
17461 else
17462 ac_cv_cpp_def___sparc64__=no
17464 rm -f conftest*
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17468 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17469 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17470 CFLAGS="$CFLAGS -D__sparc64__"
17471 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17472 fi ;;
17473 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17474 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17475 if ${ac_cv_cpp_def___sparc__+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17480 #ifndef __sparc__
17482 #endif
17483 _ACEOF
17484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17485 $EGREP "yes" >/dev/null 2>&1; then :
17486 ac_cv_cpp_def___sparc__=yes
17487 else
17488 ac_cv_cpp_def___sparc__=no
17490 rm -f conftest*
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17494 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17495 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17496 CFLAGS="$CFLAGS -D__sparc__"
17497 LINTFLAGS="$LINTFLAGS -D__sparc__"
17498 fi ;;
17499 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17500 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17501 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 #ifndef __powerpc64__
17508 #endif
17509 _ACEOF
17510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17511 $EGREP "yes" >/dev/null 2>&1; then :
17512 ac_cv_cpp_def___powerpc64__=yes
17513 else
17514 ac_cv_cpp_def___powerpc64__=no
17516 rm -f conftest*
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17520 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17521 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17522 CFLAGS="$CFLAGS -D__powerpc64__"
17523 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17524 fi ;;
17525 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17526 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17527 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 #ifndef __powerpc__
17534 #endif
17535 _ACEOF
17536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17537 $EGREP "yes" >/dev/null 2>&1; then :
17538 ac_cv_cpp_def___powerpc__=yes
17539 else
17540 ac_cv_cpp_def___powerpc__=no
17542 rm -f conftest*
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17546 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17547 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17548 CFLAGS="$CFLAGS -D__powerpc__"
17549 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17550 fi ;;
17551 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17552 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17553 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #ifndef __aarch64__
17560 #endif
17561 _ACEOF
17562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17563 $EGREP "yes" >/dev/null 2>&1; then :
17564 ac_cv_cpp_def___aarch64__=yes
17565 else
17566 ac_cv_cpp_def___aarch64__=no
17568 rm -f conftest*
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17572 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17573 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17574 CFLAGS="$CFLAGS -D__aarch64__"
17575 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17576 fi ;;
17577 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17578 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17579 if ${ac_cv_cpp_def___arm__+:} false; then :
17580 $as_echo_n "(cached) " >&6
17581 else
17582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h. */
17584 #ifndef __arm__
17586 #endif
17587 _ACEOF
17588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17589 $EGREP "yes" >/dev/null 2>&1; then :
17590 ac_cv_cpp_def___arm__=yes
17591 else
17592 ac_cv_cpp_def___arm__=no
17594 rm -f conftest*
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17598 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17599 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17600 CFLAGS="$CFLAGS -D__arm__"
17601 LINTFLAGS="$LINTFLAGS -D__arm__"
17602 fi ;;
17603 esac
17605 case $host_vendor in
17606 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17607 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17608 if ${ac_cv_cpp_def___sun__+:} false; then :
17609 $as_echo_n "(cached) " >&6
17610 else
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17613 #ifndef __sun__
17615 #endif
17616 _ACEOF
17617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17618 $EGREP "yes" >/dev/null 2>&1; then :
17619 ac_cv_cpp_def___sun__=yes
17620 else
17621 ac_cv_cpp_def___sun__=no
17623 rm -f conftest*
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17627 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17628 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17629 CFLAGS="$CFLAGS -D__sun__"
17630 LINTFLAGS="$LINTFLAGS -D__sun__"
17631 fi ;;
17632 esac
17638 ac_config_commands="$ac_config_commands include/stamp-h"
17640 $as_echo_n "creating Makefile rules..." >&6
17642 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17643 SOCKET_LIBS = $SOCKET_LIBS
17644 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17645 IOKIT_LIBS = $IOKIT_LIBS
17646 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17647 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17648 CORESERVICES_LIBS = $CORESERVICES_LIBS
17649 APPKIT_LIBS = $APPKIT_LIBS
17650 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17651 SECURITY_LIBS = $SECURITY_LIBS
17652 COREAUDIO_LIBS = $COREAUDIO_LIBS
17653 OPENAL_LIBS = $OPENAL_LIBS
17654 OPENCL_LIBS = $OPENCL_LIBS
17655 QUICKTIME_LIBS = $QUICKTIME_LIBS
17656 CARBON_LIBS = $CARBON_LIBS
17657 PTHREAD_LIBS = $PTHREAD_LIBS
17658 X_CFLAGS = $X_CFLAGS
17659 X_PRE_LIBS = $X_PRE_LIBS
17660 X_LIBS = $X_LIBS
17661 X_EXTRA_LIBS = $X_EXTRA_LIBS
17662 PCAP_LIBS = $PCAP_LIBS
17663 XML2_CFLAGS = $XML2_CFLAGS
17664 XML2_LIBS = $XML2_LIBS
17665 XSLT_CFLAGS = $XSLT_CFLAGS
17666 XSLT_LIBS = $XSLT_LIBS
17667 DBUS_CFLAGS = $DBUS_CFLAGS
17668 DBUS_LIBS = $DBUS_LIBS
17669 HAL_CFLAGS = $HAL_CFLAGS
17670 HAL_LIBS = $HAL_LIBS
17671 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17672 GNUTLS_LIBS = $GNUTLS_LIBS
17673 SANE_CFLAGS = $SANE_CFLAGS
17674 SANE_LIBS = $SANE_LIBS
17675 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17676 GPHOTO2_LIBS = $GPHOTO2_LIBS
17677 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17678 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17679 RESOLV_LIBS = $RESOLV_LIBS
17680 LCMS2_CFLAGS = $LCMS2_CFLAGS
17681 LCMS2_LIBS = $LCMS2_LIBS
17682 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17683 FREETYPE_LIBS = $FREETYPE_LIBS
17684 Z_LIBS = $Z_LIBS
17685 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17686 PULSE_CFLAGS = $PULSE_CFLAGS
17687 PULSE_LIBS = $PULSE_LIBS
17688 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17689 GSTREAMER_LIBS = $GSTREAMER_LIBS
17690 ALSA_LIBS = $ALSA_LIBS
17691 OSS4_CFLAGS = $OSS4_CFLAGS
17692 UDEV_CFLAGS = $UDEV_CFLAGS
17693 UDEV_LIBS = $UDEV_LIBS
17694 CAPI20_CFLAGS = $CAPI20_CFLAGS
17695 CAPI20_LIBS = $CAPI20_LIBS
17696 CUPS_CFLAGS = $CUPS_CFLAGS
17697 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17698 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17699 JPEG_CFLAGS = $JPEG_CFLAGS
17700 JPEG_LIBS = $JPEG_LIBS
17701 PNG_CFLAGS = $PNG_CFLAGS
17702 PNG_LIBS = $PNG_LIBS
17703 TIFF_CFLAGS = $TIFF_CFLAGS
17704 TIFF_LIBS = $TIFF_LIBS
17705 MPG123_CFLAGS = $MPG123_CFLAGS
17706 MPG123_LIBS = $MPG123_LIBS
17707 KSTAT_LIBS = $KSTAT_LIBS
17708 PROCSTAT_LIBS = $PROCSTAT_LIBS
17709 NETAPI_CFLAGS = $NETAPI_CFLAGS
17710 NETAPI_LIBS = $NETAPI_LIBS
17711 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17712 DL_LIBS = $DL_LIBS
17713 POLL_LIBS = $POLL_LIBS
17714 RT_LIBS = $RT_LIBS
17715 LDAP_LIBS = $LDAP_LIBS
17720 wine_fn_append_rule "
17721 # Rules automatically generated by configure
17723 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17725 .INIT: Makefile
17726 .MAKEFILEDEPS:
17727 all: Makefile
17728 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17729 @./config.status Make.tmp Makefile
17730 depend: \$(MAKEDEP) dummy
17731 \$(MAKEDEP)"
17733 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17734 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17736 if test "x$enable_fonts" != xno; then
17737 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17738 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17739 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17740 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17741 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17742 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17744 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17745 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17746 ac_config_links="$ac_config_links wine:tools/winewrapper"
17747 wine_fn_config_symlink wine
17748 if test "x$enable_win64" != xno; then
17749 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17750 wine_fn_config_symlink wine64
17753 wine_fn_config_dll acledit enable_acledit
17754 wine_fn_config_dll aclui enable_aclui implib
17755 wine_fn_config_dll activeds enable_activeds implib
17756 wine_fn_config_dll actxprxy enable_actxprxy clean
17757 wine_fn_config_lib adsiid
17758 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17759 wine_fn_config_test dlls/advapi32/tests advapi32_test
17760 wine_fn_config_dll advpack enable_advpack implib
17761 wine_fn_config_test dlls/advpack/tests advpack_test
17762 wine_fn_config_dll amstream enable_amstream clean
17763 wine_fn_config_test dlls/amstream/tests amstream_test
17764 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17765 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17766 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17767 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17768 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17769 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17770 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17771 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17772 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17773 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17774 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17775 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17776 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17777 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17778 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17779 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17780 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17781 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17782 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17783 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17784 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17785 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17786 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17787 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17788 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17789 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17790 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17791 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17792 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17793 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17794 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17795 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17796 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17797 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17798 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17799 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17800 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17801 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17802 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17803 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17804 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17805 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17806 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17807 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17808 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17809 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17810 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17811 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17812 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17813 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17814 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17815 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17816 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17817 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17818 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17819 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17820 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17821 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17822 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17823 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17824 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17825 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17826 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17827 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17828 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17829 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17830 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17831 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17832 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17833 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17834 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17835 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17836 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17837 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17838 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17839 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17840 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17841 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17842 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17843 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17844 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17845 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17846 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17847 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17848 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17849 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17850 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17851 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17852 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17853 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17854 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17855 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17856 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17857 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17858 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17859 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17860 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17861 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17862 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17863 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17864 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17865 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17866 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17867 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17868 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17869 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17870 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17871 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17872 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17873 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17874 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17875 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17876 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17877 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17878 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17879 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17880 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17881 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17882 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17883 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17884 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17885 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17886 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17887 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17888 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17889 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17890 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17891 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17892 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17893 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17894 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17895 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17896 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17897 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17898 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17899 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17900 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17901 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17902 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17903 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17904 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17905 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17906 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17907 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17908 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17909 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17910 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17911 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17912 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17913 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17914 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
17915 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17916 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17917 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17918 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17919 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17920 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17921 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17922 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17923 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17924 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17925 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17926 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17927 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17928 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17929 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17930 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17931 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17932 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17933 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17934 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17935 wine_fn_config_dll apphelp enable_apphelp
17936 wine_fn_config_test dlls/apphelp/tests apphelp_test
17937 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17938 wine_fn_config_dll atl enable_atl clean,implib
17939 wine_fn_config_test dlls/atl/tests atl_test
17940 wine_fn_config_dll atl100 enable_atl100 clean,implib
17941 wine_fn_config_test dlls/atl100/tests atl100_test
17942 wine_fn_config_dll atl110 enable_atl110 clean
17943 wine_fn_config_dll atl80 enable_atl80 clean,implib
17944 wine_fn_config_test dlls/atl80/tests atl80_test
17945 wine_fn_config_dll atl90 enable_atl90 clean
17946 wine_fn_config_dll authz enable_authz
17947 wine_fn_config_dll avicap32 enable_avicap32 implib
17948 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17949 wine_fn_config_test dlls/avifil32/tests avifil32_test
17950 wine_fn_config_dll avifile.dll16 enable_win16
17951 wine_fn_config_dll avrt enable_avrt implib
17952 wine_fn_config_dll bcrypt enable_bcrypt implib
17953 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17954 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17955 wine_fn_config_dll browseui enable_browseui clean
17956 wine_fn_config_test dlls/browseui/tests browseui_test
17957 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17958 wine_fn_config_dll cabinet enable_cabinet implib
17959 wine_fn_config_test dlls/cabinet/tests cabinet_test
17960 wine_fn_config_dll capi2032 enable_capi2032 implib
17961 wine_fn_config_dll cards enable_cards implib
17962 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17963 wine_fn_config_dll clusapi enable_clusapi implib
17964 wine_fn_config_dll combase enable_combase
17965 wine_fn_config_test dlls/combase/tests combase_test
17966 wine_fn_config_dll comcat enable_comcat
17967 wine_fn_config_test dlls/comcat/tests comcat_test
17968 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17969 wine_fn_config_test dlls/comctl32/tests comctl32_test
17970 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17971 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17972 wine_fn_config_dll comm.drv16 enable_win16
17973 wine_fn_config_dll commdlg.dll16 enable_win16
17974 wine_fn_config_dll compobj.dll16 enable_win16
17975 wine_fn_config_dll compstui enable_compstui implib
17976 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17977 wine_fn_config_dll concrt140 enable_concrt140
17978 wine_fn_config_dll connect enable_connect
17979 wine_fn_config_dll credui enable_credui clean,implib
17980 wine_fn_config_test dlls/credui/tests credui_test
17981 wine_fn_config_dll crtdll enable_crtdll
17982 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17983 wine_fn_config_test dlls/crypt32/tests crypt32_test
17984 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17985 wine_fn_config_dll cryptdll enable_cryptdll implib
17986 wine_fn_config_dll cryptext enable_cryptext
17987 wine_fn_config_dll cryptnet enable_cryptnet implib
17988 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17989 wine_fn_config_dll cryptui enable_cryptui clean,implib
17990 wine_fn_config_test dlls/cryptui/tests cryptui_test
17991 wine_fn_config_dll ctapi32 enable_ctapi32
17992 wine_fn_config_dll ctl3d.dll16 enable_win16
17993 wine_fn_config_dll ctl3d32 enable_ctl3d32
17994 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17995 wine_fn_config_dll d2d1 enable_d2d1 implib
17996 wine_fn_config_test dlls/d2d1/tests d2d1_test
17997 wine_fn_config_dll d3d10 enable_d3d10 implib
17998 wine_fn_config_test dlls/d3d10/tests d3d10_test
17999 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18000 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18001 wine_fn_config_dll d3d10core enable_d3d10core implib
18002 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18003 wine_fn_config_dll d3d11 enable_d3d11 implib
18004 wine_fn_config_test dlls/d3d11/tests d3d11_test
18005 wine_fn_config_dll d3d8 enable_d3d8 implib
18006 wine_fn_config_test dlls/d3d8/tests d3d8_test
18007 wine_fn_config_dll d3d9 enable_d3d9 implib
18008 wine_fn_config_test dlls/d3d9/tests d3d9_test
18009 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18010 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18011 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18012 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18013 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18014 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18015 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18016 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18017 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18018 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18019 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18020 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18021 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18022 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18023 wine_fn_config_dll d3dim enable_d3dim
18024 wine_fn_config_dll d3drm enable_d3drm implib
18025 wine_fn_config_test dlls/d3drm/tests d3drm_test
18026 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18027 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18028 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18029 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18030 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18031 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18032 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18033 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18034 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18035 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18036 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18037 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18038 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18039 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18040 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18041 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18042 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18043 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18044 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18045 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18046 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18047 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18048 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18049 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18050 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18051 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18052 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18053 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18054 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18055 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18056 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18057 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18058 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18059 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18060 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18061 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18062 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18063 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18064 wine_fn_config_dll davclnt enable_davclnt
18065 wine_fn_config_dll dbgeng enable_dbgeng implib
18066 wine_fn_config_dll dbghelp enable_dbghelp implib
18067 wine_fn_config_dll dciman32 enable_dciman32 implib
18068 wine_fn_config_dll ddeml.dll16 enable_win16
18069 wine_fn_config_dll ddraw enable_ddraw clean,implib
18070 wine_fn_config_test dlls/ddraw/tests ddraw_test
18071 wine_fn_config_dll ddrawex enable_ddrawex clean
18072 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18073 wine_fn_config_dll devenum enable_devenum clean
18074 wine_fn_config_test dlls/devenum/tests devenum_test
18075 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18076 wine_fn_config_dll difxapi enable_difxapi
18077 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18078 wine_fn_config_test dlls/dinput/tests dinput_test
18079 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18080 wine_fn_config_test dlls/dinput8/tests dinput8_test
18081 wine_fn_config_dll dispdib.dll16 enable_win16
18082 wine_fn_config_dll dispex enable_dispex clean
18083 wine_fn_config_test dlls/dispex/tests dispex_test
18084 wine_fn_config_dll display.drv16 enable_win16
18085 wine_fn_config_dll dmband enable_dmband clean
18086 wine_fn_config_test dlls/dmband/tests dmband_test
18087 wine_fn_config_dll dmcompos enable_dmcompos clean
18088 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18089 wine_fn_config_dll dmime enable_dmime clean
18090 wine_fn_config_test dlls/dmime/tests dmime_test
18091 wine_fn_config_dll dmloader enable_dmloader clean
18092 wine_fn_config_test dlls/dmloader/tests dmloader_test
18093 wine_fn_config_dll dmscript enable_dmscript clean
18094 wine_fn_config_test dlls/dmscript/tests dmscript_test
18095 wine_fn_config_dll dmstyle enable_dmstyle clean
18096 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18097 wine_fn_config_dll dmsynth enable_dmsynth clean
18098 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18099 wine_fn_config_dll dmusic enable_dmusic clean
18100 wine_fn_config_test dlls/dmusic/tests dmusic_test
18101 wine_fn_config_dll dmusic32 enable_dmusic32
18102 wine_fn_config_dll dnsapi enable_dnsapi implib
18103 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18104 wine_fn_config_dll dplay enable_dplay
18105 wine_fn_config_dll dplayx enable_dplayx clean,implib
18106 wine_fn_config_test dlls/dplayx/tests dplayx_test
18107 wine_fn_config_dll dpnaddr enable_dpnaddr
18108 wine_fn_config_dll dpnet enable_dpnet clean,implib
18109 wine_fn_config_test dlls/dpnet/tests dpnet_test
18110 wine_fn_config_dll dpnhpast enable_dpnhpast
18111 wine_fn_config_dll dpnlobby enable_dpnlobby
18112 wine_fn_config_dll dpvoice enable_dpvoice clean
18113 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18114 wine_fn_config_dll dpwsockx enable_dpwsockx
18115 wine_fn_config_dll drmclien enable_drmclien
18116 wine_fn_config_dll dsound enable_dsound clean,implib
18117 wine_fn_config_test dlls/dsound/tests dsound_test
18118 wine_fn_config_dll dssenh enable_dssenh
18119 wine_fn_config_test dlls/dssenh/tests dssenh_test
18120 wine_fn_config_dll dswave enable_dswave clean
18121 wine_fn_config_test dlls/dswave/tests dswave_test
18122 wine_fn_config_dll dwmapi enable_dwmapi implib
18123 wine_fn_config_dll dwrite enable_dwrite implib
18124 wine_fn_config_test dlls/dwrite/tests dwrite_test
18125 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18126 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18127 wine_fn_config_lib dxerr8
18128 wine_fn_config_lib dxerr9
18129 wine_fn_config_dll dxgi enable_dxgi implib
18130 wine_fn_config_test dlls/dxgi/tests dxgi_test
18131 wine_fn_config_lib dxguid
18132 wine_fn_config_dll dxva2 enable_dxva2
18133 wine_fn_config_dll esent enable_esent
18134 wine_fn_config_dll evr enable_evr
18135 wine_fn_config_dll explorerframe enable_explorerframe clean
18136 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18137 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18138 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18139 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18140 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18141 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18142 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18143 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18144 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18145 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18146 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18147 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18148 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18149 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18150 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18151 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18152 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
18153 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18154 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18155 wine_fn_config_dll faultrep enable_faultrep implib
18156 wine_fn_config_test dlls/faultrep/tests faultrep_test
18157 wine_fn_config_dll fltlib enable_fltlib
18158 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18159 wine_fn_config_dll fntcache enable_fntcache
18160 wine_fn_config_dll fontsub enable_fontsub
18161 wine_fn_config_dll fusion enable_fusion
18162 wine_fn_config_test dlls/fusion/tests fusion_test
18163 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18164 wine_fn_config_dll gameux enable_gameux clean
18165 wine_fn_config_test dlls/gameux/tests gameux_test
18166 wine_fn_config_dll gdi.exe16 enable_win16
18167 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18168 wine_fn_config_test dlls/gdi32/tests gdi32_test
18169 wine_fn_config_dll gdiplus enable_gdiplus implib
18170 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18171 wine_fn_config_dll glu32 enable_glu32 implib
18172 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18173 wine_fn_config_dll gpkcsp enable_gpkcsp
18174 wine_fn_config_dll hal enable_hal
18175 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18176 wine_fn_config_dll hid enable_hid implib
18177 wine_fn_config_test dlls/hid/tests hid_test
18178 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18179 wine_fn_config_dll hlink enable_hlink clean,implib
18180 wine_fn_config_test dlls/hlink/tests hlink_test
18181 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18182 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18183 wine_fn_config_dll httpapi enable_httpapi
18184 wine_fn_config_dll iccvid enable_iccvid clean
18185 wine_fn_config_dll icmp enable_icmp
18186 wine_fn_config_dll ieframe enable_ieframe clean,implib
18187 wine_fn_config_test dlls/ieframe/tests ieframe_test
18188 wine_fn_config_dll ifsmgr.vxd enable_win16
18189 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18190 wine_fn_config_dll imagehlp enable_imagehlp implib
18191 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18192 wine_fn_config_dll imm.dll16 enable_win16
18193 wine_fn_config_dll imm32 enable_imm32 implib
18194 wine_fn_config_test dlls/imm32/tests imm32_test
18195 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18196 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18197 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18198 wine_fn_config_dll inetmib1 enable_inetmib1
18199 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18200 wine_fn_config_dll infosoft enable_infosoft clean
18201 wine_fn_config_test dlls/infosoft/tests infosoft_test
18202 wine_fn_config_dll initpki enable_initpki
18203 wine_fn_config_dll inkobj enable_inkobj
18204 wine_fn_config_dll inseng enable_inseng clean
18205 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18206 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18207 wine_fn_config_dll iprop enable_iprop
18208 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18209 wine_fn_config_dll itircl enable_itircl
18210 wine_fn_config_dll itss enable_itss clean
18211 wine_fn_config_test dlls/itss/tests itss_test
18212 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18213 wine_fn_config_dll jscript enable_jscript clean
18214 wine_fn_config_test dlls/jscript/tests jscript_test
18215 wine_fn_config_dll jsproxy enable_jsproxy implib
18216 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18217 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18218 wine_fn_config_test dlls/kernel32/tests kernel32_test
18219 wine_fn_config_dll kernelbase enable_kernelbase
18220 wine_fn_config_dll keyboard.drv16 enable_win16
18221 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18222 wine_fn_config_dll ksuser enable_ksuser
18223 wine_fn_config_dll ktmw32 enable_ktmw32
18224 wine_fn_config_dll loadperf enable_loadperf implib
18225 wine_fn_config_dll localspl enable_localspl clean
18226 wine_fn_config_test dlls/localspl/tests localspl_test
18227 wine_fn_config_dll localui enable_localui clean
18228 wine_fn_config_test dlls/localui/tests localui_test
18229 wine_fn_config_dll lz32 enable_lz32 implib
18230 wine_fn_config_test dlls/lz32/tests lz32_test
18231 wine_fn_config_dll lzexpand.dll16 enable_win16
18232 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18233 wine_fn_config_test dlls/mapi32/tests mapi32_test
18234 wine_fn_config_dll mapistub enable_mapistub
18235 wine_fn_config_dll mciavi32 enable_mciavi32
18236 wine_fn_config_dll mcicda enable_mcicda
18237 wine_fn_config_dll mciqtz32 enable_mciqtz32
18238 wine_fn_config_dll mciseq enable_mciseq
18239 wine_fn_config_dll mciwave enable_mciwave
18240 wine_fn_config_dll mf enable_mf implib
18241 wine_fn_config_test dlls/mf/tests mf_test
18242 wine_fn_config_dll mf3216 enable_mf3216
18243 wine_fn_config_dll mfplat enable_mfplat implib
18244 wine_fn_config_test dlls/mfplat/tests mfplat_test
18245 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18246 wine_fn_config_dll mgmtapi enable_mgmtapi
18247 wine_fn_config_dll midimap enable_midimap
18248 wine_fn_config_dll mlang enable_mlang clean,implib
18249 wine_fn_config_test dlls/mlang/tests mlang_test
18250 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18251 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18252 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18253 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18254 wine_fn_config_dll mmdevldr.vxd enable_win16
18255 wine_fn_config_dll mmsystem.dll16 enable_win16
18256 wine_fn_config_dll monodebg.vxd enable_win16
18257 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18258 wine_fn_config_dll mouse.drv16 enable_win16
18259 wine_fn_config_dll mpr enable_mpr clean,implib
18260 wine_fn_config_test dlls/mpr/tests mpr_test
18261 wine_fn_config_dll mprapi enable_mprapi implib
18262 wine_fn_config_dll msacm.dll16 enable_win16
18263 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18264 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18265 wine_fn_config_test dlls/msacm32/tests msacm32_test
18266 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18267 wine_fn_config_dll msasn1 enable_msasn1 implib
18268 wine_fn_config_dll mscat32 enable_mscat32
18269 wine_fn_config_dll mscms enable_mscms implib
18270 wine_fn_config_test dlls/mscms/tests mscms_test
18271 wine_fn_config_dll mscoree enable_mscoree clean
18272 wine_fn_config_test dlls/mscoree/tests mscoree_test
18273 wine_fn_config_dll msctf enable_msctf clean
18274 wine_fn_config_test dlls/msctf/tests msctf_test
18275 wine_fn_config_dll msctfp enable_msctfp clean
18276 wine_fn_config_dll msdaps enable_msdaps clean
18277 wine_fn_config_dll msdelta enable_msdelta
18278 wine_fn_config_dll msdmo enable_msdmo implib
18279 wine_fn_config_test dlls/msdmo/tests msdmo_test
18280 wine_fn_config_dll msdrm enable_msdrm
18281 wine_fn_config_dll msftedit enable_msftedit
18282 wine_fn_config_dll msg711.acm enable_msg711_acm
18283 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18284 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18285 wine_fn_config_dll mshtml enable_mshtml clean,implib
18286 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18287 wine_fn_config_dll msi enable_msi clean,implib
18288 wine_fn_config_test dlls/msi/tests msi_test
18289 wine_fn_config_dll msident enable_msident clean
18290 wine_fn_config_dll msimg32 enable_msimg32 implib
18291 wine_fn_config_dll msimsg enable_msimsg
18292 wine_fn_config_dll msimtf enable_msimtf clean
18293 wine_fn_config_dll msisip enable_msisip
18294 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18295 wine_fn_config_dll msls31 enable_msls31
18296 wine_fn_config_dll msnet32 enable_msnet32
18297 wine_fn_config_dll mspatcha enable_mspatcha implib
18298 wine_fn_config_dll msports enable_msports
18299 wine_fn_config_dll msrle32 enable_msrle32 clean
18300 wine_fn_config_test dlls/msrle32/tests msrle32_test
18301 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18302 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18303 wine_fn_config_dll mssign32 enable_mssign32
18304 wine_fn_config_dll mssip32 enable_mssip32
18305 wine_fn_config_dll mstask enable_mstask clean
18306 wine_fn_config_test dlls/mstask/tests mstask_test
18307 wine_fn_config_dll msvcirt enable_msvcirt
18308 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18309 wine_fn_config_dll msvcm80 enable_msvcm80
18310 wine_fn_config_dll msvcm90 enable_msvcm90
18311 wine_fn_config_dll msvcp100 enable_msvcp100
18312 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18313 wine_fn_config_dll msvcp110 enable_msvcp110
18314 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18315 wine_fn_config_dll msvcp120 enable_msvcp120
18316 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18317 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18318 wine_fn_config_dll msvcp140 enable_msvcp140
18319 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18320 wine_fn_config_dll msvcp60 enable_msvcp60
18321 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18322 wine_fn_config_dll msvcp70 enable_msvcp70
18323 wine_fn_config_dll msvcp71 enable_msvcp71
18324 wine_fn_config_dll msvcp80 enable_msvcp80
18325 wine_fn_config_dll msvcp90 enable_msvcp90
18326 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18327 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18328 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18329 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18330 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18331 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18332 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18333 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18334 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18335 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18336 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18337 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18338 wine_fn_config_dll msvcrt enable_msvcrt implib
18339 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18340 wine_fn_config_dll msvcrt20 enable_msvcrt20
18341 wine_fn_config_dll msvcrt40 enable_msvcrt40
18342 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18343 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18344 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18345 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18346 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18347 wine_fn_config_dll msvideo.dll16 enable_win16
18348 wine_fn_config_dll mswsock enable_mswsock implib
18349 wine_fn_config_dll msxml enable_msxml clean
18350 wine_fn_config_dll msxml2 enable_msxml2 clean
18351 wine_fn_config_dll msxml3 enable_msxml3 clean
18352 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18353 wine_fn_config_dll msxml4 enable_msxml4 clean
18354 wine_fn_config_dll msxml6 enable_msxml6 clean
18355 wine_fn_config_dll mtxdm enable_mtxdm
18356 wine_fn_config_dll ncrypt enable_ncrypt
18357 wine_fn_config_dll nddeapi enable_nddeapi implib
18358 wine_fn_config_dll ndis.sys enable_ndis_sys
18359 wine_fn_config_dll netapi32 enable_netapi32 implib
18360 wine_fn_config_test dlls/netapi32/tests netapi32_test
18361 wine_fn_config_dll netcfgx enable_netcfgx clean
18362 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18363 wine_fn_config_dll netprofm enable_netprofm clean
18364 wine_fn_config_test dlls/netprofm/tests netprofm_test
18365 wine_fn_config_dll newdev enable_newdev implib
18366 wine_fn_config_dll normaliz enable_normaliz implib
18367 wine_fn_config_dll npmshtml enable_npmshtml
18368 wine_fn_config_dll npptools enable_npptools
18369 wine_fn_config_dll ntdll enable_ntdll implib
18370 wine_fn_config_test dlls/ntdll/tests ntdll_test
18371 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18372 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18373 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18374 wine_fn_config_dll ntprint enable_ntprint
18375 wine_fn_config_test dlls/ntprint/tests ntprint_test
18376 wine_fn_config_dll objsel enable_objsel clean
18377 wine_fn_config_dll odbc32 enable_odbc32 implib
18378 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18379 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18380 wine_fn_config_dll odbccu32 enable_odbccu32
18381 wine_fn_config_dll ole2.dll16 enable_win16
18382 wine_fn_config_dll ole2conv.dll16 enable_win16
18383 wine_fn_config_dll ole2disp.dll16 enable_win16
18384 wine_fn_config_dll ole2nls.dll16 enable_win16
18385 wine_fn_config_dll ole2prox.dll16 enable_win16
18386 wine_fn_config_dll ole2thk.dll16 enable_win16
18387 wine_fn_config_dll ole32 enable_ole32 clean,implib
18388 wine_fn_config_test dlls/ole32/tests ole32_test
18389 wine_fn_config_dll oleacc enable_oleacc clean,implib
18390 wine_fn_config_test dlls/oleacc/tests oleacc_test
18391 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18392 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18393 wine_fn_config_dll olecli.dll16 enable_win16
18394 wine_fn_config_dll olecli32 enable_olecli32 implib
18395 wine_fn_config_dll oledb32 enable_oledb32 clean
18396 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18397 wine_fn_config_dll oledlg enable_oledlg clean,implib
18398 wine_fn_config_test dlls/oledlg/tests oledlg_test
18399 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18400 wine_fn_config_dll olesvr.dll16 enable_win16
18401 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18402 wine_fn_config_dll olethk32 enable_olethk32
18403 wine_fn_config_dll openal32 enable_openal32
18404 wine_fn_config_dll opencl enable_opencl
18405 wine_fn_config_dll opengl32 enable_opengl32 implib
18406 wine_fn_config_test dlls/opengl32/tests opengl32_test
18407 wine_fn_config_dll packager enable_packager clean
18408 wine_fn_config_test dlls/packager/tests packager_test
18409 wine_fn_config_dll pdh enable_pdh implib
18410 wine_fn_config_test dlls/pdh/tests pdh_test
18411 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18412 wine_fn_config_dll pidgen enable_pidgen
18413 wine_fn_config_dll powrprof enable_powrprof implib
18414 wine_fn_config_dll printui enable_printui
18415 wine_fn_config_dll prntvpt enable_prntvpt
18416 wine_fn_config_dll propsys enable_propsys clean,implib
18417 wine_fn_config_test dlls/propsys/tests propsys_test
18418 wine_fn_config_dll psapi enable_psapi implib
18419 wine_fn_config_test dlls/psapi/tests psapi_test
18420 wine_fn_config_dll pstorec enable_pstorec clean
18421 wine_fn_config_test dlls/pstorec/tests pstorec_test
18422 wine_fn_config_dll qcap enable_qcap
18423 wine_fn_config_test dlls/qcap/tests qcap_test
18424 wine_fn_config_dll qedit enable_qedit clean
18425 wine_fn_config_test dlls/qedit/tests qedit_test
18426 wine_fn_config_dll qmgr enable_qmgr clean
18427 wine_fn_config_test dlls/qmgr/tests qmgr_test
18428 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18429 wine_fn_config_dll quartz enable_quartz clean,implib
18430 wine_fn_config_test dlls/quartz/tests quartz_test clean
18431 wine_fn_config_dll query enable_query
18432 wine_fn_config_dll rasapi16.dll16 enable_win16
18433 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18434 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18435 wine_fn_config_dll rasdlg enable_rasdlg implib
18436 wine_fn_config_dll regapi enable_regapi
18437 wine_fn_config_dll resutils enable_resutils implib
18438 wine_fn_config_dll riched20 enable_riched20 clean,implib
18439 wine_fn_config_test dlls/riched20/tests riched20_test
18440 wine_fn_config_dll riched32 enable_riched32
18441 wine_fn_config_test dlls/riched32/tests riched32_test
18442 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18443 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18444 wine_fn_config_dll rsabase enable_rsabase
18445 wine_fn_config_dll rsaenh enable_rsaenh implib
18446 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18447 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18448 wine_fn_config_dll rtutils enable_rtutils implib
18449 wine_fn_config_dll samlib enable_samlib
18450 wine_fn_config_dll sane.ds enable_sane_ds clean
18451 wine_fn_config_dll scarddlg enable_scarddlg
18452 wine_fn_config_dll sccbase enable_sccbase
18453 wine_fn_config_dll schannel enable_schannel
18454 wine_fn_config_test dlls/schannel/tests schannel_test
18455 wine_fn_config_dll schedsvc enable_schedsvc clean
18456 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18457 wine_fn_config_dll scrobj enable_scrobj clean
18458 wine_fn_config_dll scrrun enable_scrrun clean
18459 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18460 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18461 wine_fn_config_dll secur32 enable_secur32 implib
18462 wine_fn_config_test dlls/secur32/tests secur32_test
18463 wine_fn_config_dll security enable_security
18464 wine_fn_config_dll sensapi enable_sensapi implib
18465 wine_fn_config_dll serialui enable_serialui clean
18466 wine_fn_config_test dlls/serialui/tests serialui_test
18467 wine_fn_config_dll setupapi enable_setupapi clean,implib
18468 wine_fn_config_test dlls/setupapi/tests setupapi_test
18469 wine_fn_config_dll setupx.dll16 enable_win16
18470 wine_fn_config_dll sfc enable_sfc implib
18471 wine_fn_config_dll sfc_os enable_sfc_os implib
18472 wine_fn_config_dll shdoclc enable_shdoclc clean
18473 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18474 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18475 wine_fn_config_dll shell.dll16 enable_win16
18476 wine_fn_config_dll shell32 enable_shell32 clean,implib
18477 wine_fn_config_test dlls/shell32/tests shell32_test
18478 wine_fn_config_dll shfolder enable_shfolder implib
18479 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18480 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18481 wine_fn_config_dll slbcsp enable_slbcsp
18482 wine_fn_config_dll slc enable_slc implib
18483 wine_fn_config_test dlls/slc/tests slc_test
18484 wine_fn_config_dll snmpapi enable_snmpapi implib
18485 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18486 wine_fn_config_dll softpub enable_softpub
18487 wine_fn_config_dll sound.drv16 enable_win16
18488 wine_fn_config_dll spoolss enable_spoolss implib
18489 wine_fn_config_test dlls/spoolss/tests spoolss_test
18490 wine_fn_config_dll sspicli enable_sspicli
18491 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18492 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18493 wine_fn_config_dll sti enable_sti clean,implib
18494 wine_fn_config_test dlls/sti/tests sti_test
18495 wine_fn_config_dll storage.dll16 enable_win16
18496 wine_fn_config_dll stress.dll16 enable_win16
18497 wine_fn_config_lib strmbase
18498 wine_fn_config_lib strmiids
18499 wine_fn_config_dll svrapi enable_svrapi
18500 wine_fn_config_dll sxs enable_sxs implib
18501 wine_fn_config_test dlls/sxs/tests sxs_test
18502 wine_fn_config_dll system.drv16 enable_win16
18503 wine_fn_config_dll t2embed enable_t2embed implib
18504 wine_fn_config_test dlls/t2embed/tests t2embed_test
18505 wine_fn_config_dll tapi32 enable_tapi32 implib
18506 wine_fn_config_dll taskschd enable_taskschd clean
18507 wine_fn_config_test dlls/taskschd/tests taskschd_test
18508 wine_fn_config_dll tdi.sys enable_tdi_sys
18509 wine_fn_config_dll toolhelp.dll16 enable_win16
18510 wine_fn_config_dll traffic enable_traffic
18511 wine_fn_config_dll twain.dll16 enable_win16
18512 wine_fn_config_dll twain_32 enable_twain_32
18513 wine_fn_config_test dlls/twain_32/tests twain_32_test
18514 wine_fn_config_dll typelib.dll16 enable_win16
18515 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18516 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18517 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18518 wine_fn_config_dll unicows enable_unicows implib
18519 wine_fn_config_dll updspapi enable_updspapi
18520 wine_fn_config_dll url enable_url implib
18521 wine_fn_config_dll urlmon enable_urlmon clean,implib
18522 wine_fn_config_test dlls/urlmon/tests urlmon_test
18523 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18524 wine_fn_config_dll user.exe16 enable_win16
18525 wine_fn_config_dll user32 enable_user32 clean,implib
18526 wine_fn_config_test dlls/user32/tests user32_test
18527 wine_fn_config_dll userenv enable_userenv implib
18528 wine_fn_config_test dlls/userenv/tests userenv_test
18529 wine_fn_config_dll usp10 enable_usp10 implib
18530 wine_fn_config_test dlls/usp10/tests usp10_test
18531 wine_fn_config_lib uuid
18532 wine_fn_config_dll uxtheme enable_uxtheme implib
18533 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18534 wine_fn_config_dll vbscript enable_vbscript clean
18535 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18536 wine_fn_config_dll vcomp enable_vcomp
18537 wine_fn_config_test dlls/vcomp/tests vcomp_test
18538 wine_fn_config_dll vcomp100 enable_vcomp100
18539 wine_fn_config_dll vcomp110 enable_vcomp110
18540 wine_fn_config_dll vcomp120 enable_vcomp120
18541 wine_fn_config_dll vcomp140 enable_vcomp140
18542 wine_fn_config_dll vcomp90 enable_vcomp90
18543 wine_fn_config_dll vcruntime140 enable_vcruntime140
18544 wine_fn_config_dll vdhcp.vxd enable_win16
18545 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18546 wine_fn_config_dll ver.dll16 enable_win16
18547 wine_fn_config_dll version enable_version implib
18548 wine_fn_config_test dlls/version/tests version_test
18549 wine_fn_config_dll virtdisk enable_virtdisk
18550 wine_fn_config_dll vmm.vxd enable_win16
18551 wine_fn_config_dll vnbt.vxd enable_win16
18552 wine_fn_config_dll vnetbios.vxd enable_win16
18553 wine_fn_config_dll vssapi enable_vssapi
18554 wine_fn_config_dll vtdapi.vxd enable_win16
18555 wine_fn_config_dll vwin32.vxd enable_win16
18556 wine_fn_config_dll w32skrnl enable_win16
18557 wine_fn_config_dll w32sys.dll16 enable_win16
18558 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18559 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18560 wine_fn_config_dll wbemprox enable_wbemprox clean
18561 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18562 wine_fn_config_dll webservices enable_webservices implib
18563 wine_fn_config_test dlls/webservices/tests webservices_test
18564 wine_fn_config_dll wer enable_wer implib
18565 wine_fn_config_test dlls/wer/tests wer_test
18566 wine_fn_config_dll wevtapi enable_wevtapi
18567 wine_fn_config_dll wiaservc enable_wiaservc clean
18568 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18569 wine_fn_config_dll wimgapi enable_wimgapi
18570 wine_fn_config_dll win32s16.dll16 enable_win16
18571 wine_fn_config_dll win87em.dll16 enable_win16
18572 wine_fn_config_dll winaspi.dll16 enable_win16
18573 wine_fn_config_dll windebug.dll16 enable_win16
18574 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18575 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18576 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18577 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18578 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18579 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18580 wine_fn_config_dll winebus.sys enable_winebus_sys
18581 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18582 wine_fn_config_lib winecrt0
18583 wine_fn_config_dll wined3d enable_wined3d implib
18584 wine_fn_config_dll winegstreamer enable_winegstreamer
18585 wine_fn_config_dll winehid.sys enable_winehid_sys
18586 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18587 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18588 wine_fn_config_dll winemapi enable_winemapi
18589 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18590 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18591 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18592 wine_fn_config_dll wineps16.drv16 enable_win16
18593 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18594 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18595 wine_fn_config_dll winex11.drv enable_winex11_drv
18596 wine_fn_config_dll wing.dll16 enable_win16
18597 wine_fn_config_dll wing32 enable_wing32
18598 wine_fn_config_dll winhttp enable_winhttp clean,implib
18599 wine_fn_config_test dlls/winhttp/tests winhttp_test
18600 wine_fn_config_dll wininet enable_wininet clean,implib
18601 wine_fn_config_test dlls/wininet/tests wininet_test
18602 wine_fn_config_dll winmm enable_winmm clean,implib
18603 wine_fn_config_test dlls/winmm/tests winmm_test
18604 wine_fn_config_dll winnls.dll16 enable_win16
18605 wine_fn_config_dll winnls32 enable_winnls32 implib
18606 wine_fn_config_dll winscard enable_winscard implib
18607 wine_fn_config_dll winsock.dll16 enable_win16
18608 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18609 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18610 wine_fn_config_dll winsta enable_winsta
18611 wine_fn_config_dll wintab.dll16 enable_win16
18612 wine_fn_config_dll wintab32 enable_wintab32 implib
18613 wine_fn_config_test dlls/wintab32/tests wintab32_test
18614 wine_fn_config_dll wintrust enable_wintrust implib
18615 wine_fn_config_test dlls/wintrust/tests wintrust_test
18616 wine_fn_config_dll winusb enable_winusb
18617 wine_fn_config_dll wlanapi enable_wlanapi implib
18618 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18619 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18620 wine_fn_config_test dlls/wldap32/tests wldap32_test
18621 wine_fn_config_dll wmasf enable_wmasf
18622 wine_fn_config_dll wmi enable_wmi
18623 wine_fn_config_dll wmiutils enable_wmiutils clean
18624 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18625 wine_fn_config_dll wmp enable_wmp clean
18626 wine_fn_config_test dlls/wmp/tests wmp_test
18627 wine_fn_config_dll wmvcore enable_wmvcore implib
18628 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18629 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18630 wine_fn_config_dll wow32 enable_win16 implib
18631 wine_fn_config_dll wpc enable_wpc clean
18632 wine_fn_config_test dlls/wpc/tests wpc_test
18633 wine_fn_config_dll wpcap enable_wpcap
18634 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18635 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18636 wine_fn_config_dll wsdapi enable_wsdapi implib
18637 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18638 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18639 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18640 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18641 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18642 wine_fn_config_dll wsock32 enable_wsock32 implib
18643 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18644 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18645 wine_fn_config_dll wuapi enable_wuapi clean
18646 wine_fn_config_dll wuaueng enable_wuaueng
18647 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18648 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18649 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18650 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18651 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18652 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18653 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18654 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18655 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18656 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18657 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18658 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18659 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18660 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18661 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18662 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18663 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18664 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18665 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18666 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18667 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18668 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18669 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18670 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18671 wine_fn_config_dll xinput1_1 enable_xinput1_1
18672 wine_fn_config_dll xinput1_2 enable_xinput1_2
18673 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18674 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18675 wine_fn_config_dll xinput1_4 enable_xinput1_4
18676 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18677 wine_fn_config_dll xmllite enable_xmllite implib
18678 wine_fn_config_test dlls/xmllite/tests xmllite_test
18679 wine_fn_config_dll xolehlp enable_xolehlp
18680 wine_fn_config_dll xpsprint enable_xpsprint
18681 wine_fn_config_dll xpssvcs enable_xpssvcs
18682 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18683 wine_fn_config_makefile include enable_include clean,install-dev
18684 wine_fn_config_makefile libs/port enable_libs_port
18685 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18686 wine_fn_config_makefile libs/wpp enable_libs_wpp
18687 wine_fn_config_makefile loader enable_loader clean,install-lib
18688 wine_fn_config_makefile po enable_po clean
18689 wine_fn_config_program arp enable_arp install
18690 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18691 wine_fn_config_program attrib enable_attrib clean,install
18692 wine_fn_config_program cabarc enable_cabarc install
18693 wine_fn_config_program cacls enable_cacls install
18694 wine_fn_config_program clock enable_clock clean,install
18695 wine_fn_config_program cmd enable_cmd clean,install
18696 wine_fn_config_test programs/cmd/tests cmd.exe_test
18697 wine_fn_config_program conhost enable_conhost install
18698 wine_fn_config_program control enable_control install
18699 wine_fn_config_program cscript enable_cscript clean,install
18700 wine_fn_config_program dpnsvr enable_dpnsvr install
18701 wine_fn_config_program dxdiag enable_dxdiag clean,install
18702 wine_fn_config_program eject enable_eject install
18703 wine_fn_config_program expand enable_expand install
18704 wine_fn_config_program explorer enable_explorer clean,install
18705 wine_fn_config_program extrac32 enable_extrac32 install
18706 wine_fn_config_program findstr enable_findstr install
18707 wine_fn_config_program fsutil enable_fsutil install
18708 wine_fn_config_program hh enable_hh install
18709 wine_fn_config_program hostname enable_hostname clean,install
18710 wine_fn_config_program icacls enable_icacls install
18711 wine_fn_config_program icinfo enable_icinfo install
18712 wine_fn_config_program iexplore enable_iexplore install
18713 wine_fn_config_program ipconfig enable_ipconfig clean,install
18714 wine_fn_config_program lodctr enable_lodctr install
18715 wine_fn_config_program mofcomp enable_mofcomp install
18716 wine_fn_config_program mshta enable_mshta install
18717 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18718 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18719 wine_fn_config_program net enable_net clean,install
18720 wine_fn_config_program netsh enable_netsh install
18721 wine_fn_config_program netstat enable_netstat clean,install
18722 wine_fn_config_program ngen enable_ngen install
18723 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18724 wine_fn_config_program oleview enable_oleview clean,install
18725 wine_fn_config_program ping enable_ping install
18726 wine_fn_config_program plugplay enable_plugplay install
18727 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18728 wine_fn_config_program progman enable_progman clean,install
18729 wine_fn_config_program reg enable_reg clean,install
18730 wine_fn_config_test programs/reg/tests reg.exe_test
18731 wine_fn_config_program regasm enable_regasm install
18732 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18733 wine_fn_config_test programs/regedit/tests regedit.exe_test
18734 wine_fn_config_program regsvcs enable_regsvcs install
18735 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18736 wine_fn_config_program rpcss enable_rpcss clean,install
18737 wine_fn_config_program rundll.exe16 enable_win16 install
18738 wine_fn_config_program rundll32 enable_rundll32 install
18739 wine_fn_config_program sc enable_sc install
18740 wine_fn_config_program schtasks enable_schtasks install
18741 wine_fn_config_program sdbinst enable_sdbinst install
18742 wine_fn_config_program secedit enable_secedit install
18743 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18744 wine_fn_config_program services enable_services clean,install
18745 wine_fn_config_test programs/services/tests services.exe_test
18746 wine_fn_config_program shutdown enable_shutdown install
18747 wine_fn_config_program spoolsv enable_spoolsv install
18748 wine_fn_config_program start enable_start clean,install
18749 wine_fn_config_program subst enable_subst install
18750 wine_fn_config_program svchost enable_svchost install
18751 wine_fn_config_program systeminfo enable_systeminfo install
18752 wine_fn_config_program taskkill enable_taskkill clean,install
18753 wine_fn_config_program tasklist enable_tasklist install
18754 wine_fn_config_program taskmgr enable_taskmgr clean,install
18755 wine_fn_config_program termsv enable_termsv install
18756 wine_fn_config_program uninstaller enable_uninstaller clean,install
18757 wine_fn_config_program unlodctr enable_unlodctr install
18758 wine_fn_config_program view enable_view clean,install
18759 wine_fn_config_program wevtutil enable_wevtutil install
18760 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18761 wine_fn_config_program winebrowser enable_winebrowser install
18762 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18763 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18764 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18765 wine_fn_config_program winedevice enable_winedevice install
18766 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18767 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18768 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18769 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18770 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18771 wine_fn_config_program winetest enable_winetest clean
18772 wine_fn_config_program winevdm enable_win16 install
18773 wine_fn_config_program winhelp.exe16 enable_win16 install
18774 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18775 wine_fn_config_program winoldap.mod16 enable_win16 install
18776 wine_fn_config_program winver enable_winver install
18777 wine_fn_config_program wmic enable_wmic clean,install
18778 wine_fn_config_program wmplayer enable_wmplayer install
18779 wine_fn_config_program wordpad enable_wordpad clean,install
18780 wine_fn_config_program write enable_write clean,install
18781 wine_fn_config_program wscript enable_wscript clean,install
18782 wine_fn_config_test programs/wscript/tests wscript.exe_test
18783 wine_fn_config_program wusa enable_wusa install
18784 wine_fn_config_program xcopy enable_xcopy clean,install
18785 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18786 wine_fn_config_makefile server enable_server clean,install-lib
18787 wine_fn_config_tool tools clean
18788 wine_fn_config_tool tools/sfnt2fon clean
18789 wine_fn_config_tool tools/widl clean,install-dev
18790 wine_fn_config_tool tools/winebuild clean,install-dev
18791 wine_fn_config_tool tools/winedump clean,install-dev
18792 wine_fn_config_tool tools/winegcc clean,install-dev
18793 wine_fn_config_tool tools/winemaker clean,install-dev
18794 wine_fn_config_tool tools/wmc clean,install-dev
18795 wine_fn_config_tool tools/wrc clean,install-dev
18798 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18799 wine_fn_append_file CONFIGURE_TARGETS "tags"
18800 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18801 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18802 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18803 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18804 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18805 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18807 if test "x$enable_tools" != xno
18808 then
18809 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18810 ac_config_commands="$ac_config_commands tools/makedep"
18814 ac_config_commands="$ac_config_commands Makefile"
18817 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18821 if test "x$enable_maintainer_mode" = xyes
18822 then
18823 wine_fn_append_rule "configure: configure.ac aclocal.m4
18824 autoconf --warnings=all
18825 include/config.h.in: include/stamp-h.in
18826 include/stamp-h.in: configure.ac aclocal.m4
18827 autoheader --warnings=all
18828 @echo timestamp > \$@"
18831 if test "x$enable_tools" != xno
18832 then
18833 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18834 @./config.status tools/makedep
18835 Makefile: tools/makedep$ac_exeext"
18836 else
18837 wine_fn_append_rule "\$(MAKEDEP):
18838 @echo \"You need to run make in $TOOLSDIR first\" && false"
18841 if test -n "$with_wine64"
18842 then
18843 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18844 fonts server:
18845 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18846 $with_wine64/loader/wine:
18847 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18848 $with_wine64/loader/wine-preloader:
18849 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18850 clean::
18851 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18852 else
18853 WINELOADER_INSTALL="wine.inf"
18855 wine_fn_append_rule "install install-lib::
18856 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18857 uninstall::
18858 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18859 case $host_os in
18860 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18861 *) wine_fn_append_rule "install install-lib::
18862 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18863 uninstall::
18864 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18865 esac
18868 $as_echo " done" >&6
18869 cat >confcache <<\_ACEOF
18870 # This file is a shell script that caches the results of configure
18871 # tests run on this system so they can be shared between configure
18872 # scripts and configure runs, see configure's option --config-cache.
18873 # It is not useful on other systems. If it contains results you don't
18874 # want to keep, you may remove or edit it.
18876 # config.status only pays attention to the cache file if you give it
18877 # the --recheck option to rerun configure.
18879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18881 # following values.
18883 _ACEOF
18885 # The following way of writing the cache mishandles newlines in values,
18886 # but we know of no workaround that is simple, portable, and efficient.
18887 # So, we kill variables containing newlines.
18888 # Ultrix sh set writes to stderr and can't be redirected directly,
18889 # and sets the high bit in the cache file unless we assign to the vars.
18891 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18892 eval ac_val=\$$ac_var
18893 case $ac_val in #(
18894 *${as_nl}*)
18895 case $ac_var in #(
18896 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18898 esac
18899 case $ac_var in #(
18900 _ | IFS | as_nl) ;; #(
18901 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18902 *) { eval $ac_var=; unset $ac_var;} ;;
18903 esac ;;
18904 esac
18905 done
18907 (set) 2>&1 |
18908 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18909 *${as_nl}ac_space=\ *)
18910 # `set' does not quote correctly, so add quotes: double-quote
18911 # substitution turns \\\\ into \\, and sed turns \\ into \.
18912 sed -n \
18913 "s/'/'\\\\''/g;
18914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18915 ;; #(
18917 # `set' quotes correctly as required by POSIX, so do not add quotes.
18918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18920 esac |
18921 sort
18923 sed '
18924 /^ac_cv_env_/b end
18925 t clear
18926 :clear
18927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18928 t end
18929 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18930 :end' >>confcache
18931 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18932 if test -w "$cache_file"; then
18933 if test "x$cache_file" != "x/dev/null"; then
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18935 $as_echo "$as_me: updating cache $cache_file" >&6;}
18936 if test ! -f "$cache_file" || test -h "$cache_file"; then
18937 cat confcache >"$cache_file"
18938 else
18939 case $cache_file in #(
18940 */* | ?:*)
18941 mv -f confcache "$cache_file"$$ &&
18942 mv -f "$cache_file"$$ "$cache_file" ;; #(
18944 mv -f confcache "$cache_file" ;;
18945 esac
18948 else
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18950 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18953 rm -f confcache
18955 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18956 # Let make expand exec_prefix.
18957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18959 DEFS=-DHAVE_CONFIG_H
18961 ac_libobjs=
18962 ac_ltlibobjs=
18964 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18965 # 1. Remove the extension, and $U if already installed.
18966 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18967 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18968 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18969 # will be set to the directory where LIBOBJS objects are built.
18970 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18971 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18972 done
18973 LIBOBJS=$ac_libobjs
18975 LTLIBOBJS=$ac_ltlibobjs
18979 : "${CONFIG_STATUS=./config.status}"
18980 ac_write_fail=0
18981 ac_clean_files_save=$ac_clean_files
18982 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18984 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18985 as_write_fail=0
18986 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18987 #! $SHELL
18988 # Generated by $as_me.
18989 # Run this file to recreate the current configuration.
18990 # Compiler output produced by configure, useful for debugging
18991 # configure, is in config.log if it exists.
18993 debug=false
18994 ac_cs_recheck=false
18995 ac_cs_silent=false
18997 SHELL=\${CONFIG_SHELL-$SHELL}
18998 export SHELL
18999 _ASEOF
19000 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19001 ## -------------------- ##
19002 ## M4sh Initialization. ##
19003 ## -------------------- ##
19005 # Be more Bourne compatible
19006 DUALCASE=1; export DUALCASE # for MKS sh
19007 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19008 emulate sh
19009 NULLCMD=:
19010 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19011 # is contrary to our usage. Disable this feature.
19012 alias -g '${1+"$@"}'='"$@"'
19013 setopt NO_GLOB_SUBST
19014 else
19015 case `(set -o) 2>/dev/null` in #(
19016 *posix*) :
19017 set -o posix ;; #(
19018 *) :
19020 esac
19024 as_nl='
19026 export as_nl
19027 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19028 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19030 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19031 # Prefer a ksh shell builtin over an external printf program on Solaris,
19032 # but without wasting forks for bash or zsh.
19033 if test -z "$BASH_VERSION$ZSH_VERSION" \
19034 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19035 as_echo='print -r --'
19036 as_echo_n='print -rn --'
19037 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19038 as_echo='printf %s\n'
19039 as_echo_n='printf %s'
19040 else
19041 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19042 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19043 as_echo_n='/usr/ucb/echo -n'
19044 else
19045 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19046 as_echo_n_body='eval
19047 arg=$1;
19048 case $arg in #(
19049 *"$as_nl"*)
19050 expr "X$arg" : "X\\(.*\\)$as_nl";
19051 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19052 esac;
19053 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19055 export as_echo_n_body
19056 as_echo_n='sh -c $as_echo_n_body as_echo'
19058 export as_echo_body
19059 as_echo='sh -c $as_echo_body as_echo'
19062 # The user is always right.
19063 if test "${PATH_SEPARATOR+set}" != set; then
19064 PATH_SEPARATOR=:
19065 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19066 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19067 PATH_SEPARATOR=';'
19072 # IFS
19073 # We need space, tab and new line, in precisely that order. Quoting is
19074 # there to prevent editors from complaining about space-tab.
19075 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19076 # splitting by setting IFS to empty value.)
19077 IFS=" "" $as_nl"
19079 # Find who we are. Look in the path if we contain no directory separator.
19080 as_myself=
19081 case $0 in #((
19082 *[\\/]* ) as_myself=$0 ;;
19083 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19084 for as_dir in $PATH
19086 IFS=$as_save_IFS
19087 test -z "$as_dir" && as_dir=.
19088 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19089 done
19090 IFS=$as_save_IFS
19093 esac
19094 # We did not find ourselves, most probably we were run as `sh COMMAND'
19095 # in which case we are not to be found in the path.
19096 if test "x$as_myself" = x; then
19097 as_myself=$0
19099 if test ! -f "$as_myself"; then
19100 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19101 exit 1
19104 # Unset variables that we do not need and which cause bugs (e.g. in
19105 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19106 # suppresses any "Segmentation fault" message there. '((' could
19107 # trigger a bug in pdksh 5.2.14.
19108 for as_var in BASH_ENV ENV MAIL MAILPATH
19109 do eval test x\${$as_var+set} = xset \
19110 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19111 done
19112 PS1='$ '
19113 PS2='> '
19114 PS4='+ '
19116 # NLS nuisances.
19117 LC_ALL=C
19118 export LC_ALL
19119 LANGUAGE=C
19120 export LANGUAGE
19122 # CDPATH.
19123 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19126 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19127 # ----------------------------------------
19128 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19129 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19130 # script with STATUS, using 1 if that was 0.
19131 as_fn_error ()
19133 as_status=$1; test $as_status -eq 0 && as_status=1
19134 if test "$4"; then
19135 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19136 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19138 $as_echo "$as_me: error: $2" >&2
19139 as_fn_exit $as_status
19140 } # as_fn_error
19143 # as_fn_set_status STATUS
19144 # -----------------------
19145 # Set $? to STATUS, without forking.
19146 as_fn_set_status ()
19148 return $1
19149 } # as_fn_set_status
19151 # as_fn_exit STATUS
19152 # -----------------
19153 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19154 as_fn_exit ()
19156 set +e
19157 as_fn_set_status $1
19158 exit $1
19159 } # as_fn_exit
19161 # as_fn_unset VAR
19162 # ---------------
19163 # Portably unset VAR.
19164 as_fn_unset ()
19166 { eval $1=; unset $1;}
19168 as_unset=as_fn_unset
19169 # as_fn_append VAR VALUE
19170 # ----------------------
19171 # Append the text in VALUE to the end of the definition contained in VAR. Take
19172 # advantage of any shell optimizations that allow amortized linear growth over
19173 # repeated appends, instead of the typical quadratic growth present in naive
19174 # implementations.
19175 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19176 eval 'as_fn_append ()
19178 eval $1+=\$2
19180 else
19181 as_fn_append ()
19183 eval $1=\$$1\$2
19185 fi # as_fn_append
19187 # as_fn_arith ARG...
19188 # ------------------
19189 # Perform arithmetic evaluation on the ARGs, and store the result in the
19190 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19191 # must be portable across $(()) and expr.
19192 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19193 eval 'as_fn_arith ()
19195 as_val=$(( $* ))
19197 else
19198 as_fn_arith ()
19200 as_val=`expr "$@" || test $? -eq 1`
19202 fi # as_fn_arith
19205 if expr a : '\(a\)' >/dev/null 2>&1 &&
19206 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19207 as_expr=expr
19208 else
19209 as_expr=false
19212 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19213 as_basename=basename
19214 else
19215 as_basename=false
19218 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19219 as_dirname=dirname
19220 else
19221 as_dirname=false
19224 as_me=`$as_basename -- "$0" ||
19225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19226 X"$0" : 'X\(//\)$' \| \
19227 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19228 $as_echo X/"$0" |
19229 sed '/^.*\/\([^/][^/]*\)\/*$/{
19230 s//\1/
19233 /^X\/\(\/\/\)$/{
19234 s//\1/
19237 /^X\/\(\/\).*/{
19238 s//\1/
19241 s/.*/./; q'`
19243 # Avoid depending upon Character Ranges.
19244 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19245 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19246 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19247 as_cr_digits='0123456789'
19248 as_cr_alnum=$as_cr_Letters$as_cr_digits
19250 ECHO_C= ECHO_N= ECHO_T=
19251 case `echo -n x` in #(((((
19252 -n*)
19253 case `echo 'xy\c'` in
19254 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19255 xy) ECHO_C='\c';;
19256 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19257 ECHO_T=' ';;
19258 esac;;
19260 ECHO_N='-n';;
19261 esac
19263 rm -f conf$$ conf$$.exe conf$$.file
19264 if test -d conf$$.dir; then
19265 rm -f conf$$.dir/conf$$.file
19266 else
19267 rm -f conf$$.dir
19268 mkdir conf$$.dir 2>/dev/null
19270 if (echo >conf$$.file) 2>/dev/null; then
19271 if ln -s conf$$.file conf$$ 2>/dev/null; then
19272 as_ln_s='ln -s'
19273 # ... but there are two gotchas:
19274 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19275 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19276 # In both cases, we have to default to `cp -pR'.
19277 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19278 as_ln_s='cp -pR'
19279 elif ln conf$$.file conf$$ 2>/dev/null; then
19280 as_ln_s=ln
19281 else
19282 as_ln_s='cp -pR'
19284 else
19285 as_ln_s='cp -pR'
19287 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19288 rmdir conf$$.dir 2>/dev/null
19291 # as_fn_mkdir_p
19292 # -------------
19293 # Create "$as_dir" as a directory, including parents if necessary.
19294 as_fn_mkdir_p ()
19297 case $as_dir in #(
19298 -*) as_dir=./$as_dir;;
19299 esac
19300 test -d "$as_dir" || eval $as_mkdir_p || {
19301 as_dirs=
19302 while :; do
19303 case $as_dir in #(
19304 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19305 *) as_qdir=$as_dir;;
19306 esac
19307 as_dirs="'$as_qdir' $as_dirs"
19308 as_dir=`$as_dirname -- "$as_dir" ||
19309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19310 X"$as_dir" : 'X\(//\)[^/]' \| \
19311 X"$as_dir" : 'X\(//\)$' \| \
19312 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19313 $as_echo X"$as_dir" |
19314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19315 s//\1/
19318 /^X\(\/\/\)[^/].*/{
19319 s//\1/
19322 /^X\(\/\/\)$/{
19323 s//\1/
19326 /^X\(\/\).*/{
19327 s//\1/
19330 s/.*/./; q'`
19331 test -d "$as_dir" && break
19332 done
19333 test -z "$as_dirs" || eval "mkdir $as_dirs"
19334 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19337 } # as_fn_mkdir_p
19338 if mkdir -p . 2>/dev/null; then
19339 as_mkdir_p='mkdir -p "$as_dir"'
19340 else
19341 test -d ./-p && rmdir ./-p
19342 as_mkdir_p=false
19346 # as_fn_executable_p FILE
19347 # -----------------------
19348 # Test if FILE is an executable regular file.
19349 as_fn_executable_p ()
19351 test -f "$1" && test -x "$1"
19352 } # as_fn_executable_p
19353 as_test_x='test -x'
19354 as_executable_p=as_fn_executable_p
19356 # Sed expression to map a string onto a valid CPP name.
19357 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19359 # Sed expression to map a string onto a valid variable name.
19360 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19363 exec 6>&1
19364 ## ----------------------------------- ##
19365 ## Main body of $CONFIG_STATUS script. ##
19366 ## ----------------------------------- ##
19367 _ASEOF
19368 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19371 # Save the log message, to keep $0 and so on meaningful, and to
19372 # report actual input values of CONFIG_FILES etc. instead of their
19373 # values after options handling.
19374 ac_log="
19375 This file was extended by Wine $as_me 2.9, which was
19376 generated by GNU Autoconf 2.69. Invocation command line was
19378 CONFIG_FILES = $CONFIG_FILES
19379 CONFIG_HEADERS = $CONFIG_HEADERS
19380 CONFIG_LINKS = $CONFIG_LINKS
19381 CONFIG_COMMANDS = $CONFIG_COMMANDS
19382 $ $0 $@
19384 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19387 _ACEOF
19389 case $ac_config_files in *"
19390 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19391 esac
19393 case $ac_config_headers in *"
19394 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19395 esac
19398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19399 # Files that config.status was made for.
19400 config_files="$ac_config_files"
19401 config_headers="$ac_config_headers"
19402 config_links="$ac_config_links"
19403 config_commands="$ac_config_commands"
19405 _ACEOF
19407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19408 ac_cs_usage="\
19409 \`$as_me' instantiates files and other configuration actions
19410 from templates according to the current configuration. Unless the files
19411 and actions are specified as TAGs, all are instantiated by default.
19413 Usage: $0 [OPTION]... [TAG]...
19415 -h, --help print this help, then exit
19416 -V, --version print version number and configuration settings, then exit
19417 --config print configuration, then exit
19418 -q, --quiet, --silent
19419 do not print progress messages
19420 -d, --debug don't remove temporary files
19421 --recheck update $as_me by reconfiguring in the same conditions
19422 --file=FILE[:TEMPLATE]
19423 instantiate the configuration file FILE
19424 --header=FILE[:TEMPLATE]
19425 instantiate the configuration header FILE
19427 Configuration files:
19428 $config_files
19430 Configuration headers:
19431 $config_headers
19433 Configuration links:
19434 $config_links
19436 Configuration commands:
19437 $config_commands
19439 Report bugs to <wine-devel@winehq.org>.
19440 Wine home page: <http://www.winehq.org>."
19442 _ACEOF
19443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19444 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19445 ac_cs_version="\\
19446 Wine config.status 2.9
19447 configured by $0, generated by GNU Autoconf 2.69,
19448 with options \\"\$ac_cs_config\\"
19450 Copyright (C) 2012 Free Software Foundation, Inc.
19451 This config.status script is free software; the Free Software Foundation
19452 gives unlimited permission to copy, distribute and modify it."
19454 ac_pwd='$ac_pwd'
19455 srcdir='$srcdir'
19456 test -n "\$AWK" || AWK=awk
19457 _ACEOF
19459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19460 # The default lists apply if the user does not specify any file.
19461 ac_need_defaults=:
19462 while test $# != 0
19464 case $1 in
19465 --*=?*)
19466 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19467 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19468 ac_shift=:
19470 --*=)
19471 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19472 ac_optarg=
19473 ac_shift=:
19476 ac_option=$1
19477 ac_optarg=$2
19478 ac_shift=shift
19480 esac
19482 case $ac_option in
19483 # Handling of the options.
19484 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19485 ac_cs_recheck=: ;;
19486 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19487 $as_echo "$ac_cs_version"; exit ;;
19488 --config | --confi | --conf | --con | --co | --c )
19489 $as_echo "$ac_cs_config"; exit ;;
19490 --debug | --debu | --deb | --de | --d | -d )
19491 debug=: ;;
19492 --file | --fil | --fi | --f )
19493 $ac_shift
19494 case $ac_optarg in
19495 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19496 '') as_fn_error $? "missing file argument" ;;
19497 esac
19498 as_fn_append CONFIG_FILES " '$ac_optarg'"
19499 ac_need_defaults=false;;
19500 --header | --heade | --head | --hea )
19501 $ac_shift
19502 case $ac_optarg in
19503 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19504 esac
19505 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19506 ac_need_defaults=false;;
19507 --he | --h)
19508 # Conflict between --help and --header
19509 as_fn_error $? "ambiguous option: \`$1'
19510 Try \`$0 --help' for more information.";;
19511 --help | --hel | -h )
19512 $as_echo "$ac_cs_usage"; exit ;;
19513 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19514 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19515 ac_cs_silent=: ;;
19517 # This is an error.
19518 -*) as_fn_error $? "unrecognized option: \`$1'
19519 Try \`$0 --help' for more information." ;;
19521 *) as_fn_append ac_config_targets " $1"
19522 ac_need_defaults=false ;;
19524 esac
19525 shift
19526 done
19528 ac_configure_extra_args=
19530 if $ac_cs_silent; then
19531 exec 6>/dev/null
19532 ac_configure_extra_args="$ac_configure_extra_args --silent"
19535 _ACEOF
19536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19537 if \$ac_cs_recheck; then
19538 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19539 shift
19540 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19541 CONFIG_SHELL='$SHELL'
19542 export CONFIG_SHELL
19543 exec "\$@"
19546 _ACEOF
19547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19548 exec 5>>config.log
19550 echo
19551 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19552 ## Running $as_me. ##
19553 _ASBOX
19554 $as_echo "$ac_log"
19555 } >&5
19557 _ACEOF
19558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19560 # INIT-COMMANDS
19562 wine_fn_output_makedep ()
19564 as_dir=tools; as_fn_mkdir_p
19565 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19567 wine_fn_output_makefile ()
19569 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19570 `cat $wine_rules_file`
19571 _WINE_EOF
19572 as_fn_error $? "could not create Makefile" "$LINENO" 5
19575 _ACEOF
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19579 # Handling of arguments.
19580 for ac_config_target in $ac_config_targets
19582 case $ac_config_target in
19583 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19584 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19585 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19586 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19587 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19588 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19589 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19590 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19591 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19592 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19593 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19594 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19595 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19597 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19598 esac
19599 done
19602 # If the user did not use the arguments to specify the items to instantiate,
19603 # then the envvar interface is used. Set only those that are not.
19604 # We use the long form for the default assignment because of an extremely
19605 # bizarre bug on SunOS 4.1.3.
19606 if $ac_need_defaults; then
19607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19608 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19609 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19610 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19613 # Have a temporary directory for convenience. Make it in the build tree
19614 # simply because there is no reason against having it here, and in addition,
19615 # creating and moving files from /tmp can sometimes cause problems.
19616 # Hook for its removal unless debugging.
19617 # Note that there is a small window in which the directory will not be cleaned:
19618 # after its creation but before its name has been assigned to `$tmp'.
19619 $debug ||
19621 tmp= ac_tmp=
19622 trap 'exit_status=$?
19623 : "${ac_tmp:=$tmp}"
19624 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19626 trap 'as_fn_exit 1' 1 2 13 15
19628 # Create a (secure) tmp directory for tmp files.
19631 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19632 test -d "$tmp"
19633 } ||
19635 tmp=./conf$$-$RANDOM
19636 (umask 077 && mkdir "$tmp")
19637 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19638 ac_tmp=$tmp
19640 # Set up the scripts for CONFIG_FILES section.
19641 # No need to generate them if there are no CONFIG_FILES.
19642 # This happens for instance with `./config.status config.h'.
19643 if test -n "$CONFIG_FILES"; then
19646 ac_cr=`echo X | tr X '\015'`
19647 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19648 # But we know of no other shell where ac_cr would be empty at this
19649 # point, so we can use a bashism as a fallback.
19650 if test "x$ac_cr" = x; then
19651 eval ac_cr=\$\'\\r\'
19653 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19654 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19655 ac_cs_awk_cr='\\r'
19656 else
19657 ac_cs_awk_cr=$ac_cr
19660 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19661 _ACEOF
19665 echo "cat >conf$$subs.awk <<_ACEOF" &&
19666 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19667 echo "_ACEOF"
19668 } >conf$$subs.sh ||
19669 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19670 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19671 ac_delim='%!_!# '
19672 for ac_last_try in false false false false false :; do
19673 . ./conf$$subs.sh ||
19674 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19676 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19677 if test $ac_delim_n = $ac_delim_num; then
19678 break
19679 elif $ac_last_try; then
19680 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19681 else
19682 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19684 done
19685 rm -f conf$$subs.sh
19687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19688 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19689 _ACEOF
19690 sed -n '
19692 s/^/S["/; s/!.*/"]=/
19695 s/^[^!]*!//
19696 :repl
19697 t repl
19698 s/'"$ac_delim"'$//
19699 t delim
19702 s/\(.\{148\}\)..*/\1/
19703 t more1
19704 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19707 b repl
19708 :more1
19709 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19712 s/.\{148\}//
19713 t nl
19714 :delim
19716 s/\(.\{148\}\)..*/\1/
19717 t more2
19718 s/["\\]/\\&/g; s/^/"/; s/$/"/
19721 :more2
19722 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19725 s/.\{148\}//
19726 t delim
19727 ' <conf$$subs.awk | sed '
19728 /^[^""]/{
19730 s/\n//
19732 ' >>$CONFIG_STATUS || ac_write_fail=1
19733 rm -f conf$$subs.awk
19734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19735 _ACAWK
19736 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19737 for (key in S) S_is_set[key] = 1
19738 FS = "\a"
19742 line = $ 0
19743 nfields = split(line, field, "@")
19744 substed = 0
19745 len = length(field[1])
19746 for (i = 2; i < nfields; i++) {
19747 key = field[i]
19748 keylen = length(key)
19749 if (S_is_set[key]) {
19750 value = S[key]
19751 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19752 len += length(value) + length(field[++i])
19753 substed = 1
19754 } else
19755 len += 1 + keylen
19758 print line
19761 _ACAWK
19762 _ACEOF
19763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19764 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19765 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19766 else
19768 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19769 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19770 _ACEOF
19772 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19773 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19774 # trailing colons and then remove the whole line if VPATH becomes empty
19775 # (actually we leave an empty line to preserve line numbers).
19776 if test "x$srcdir" = x.; then
19777 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19779 s///
19780 s/^/:/
19781 s/[ ]*$/:/
19782 s/:\$(srcdir):/:/g
19783 s/:\${srcdir}:/:/g
19784 s/:@srcdir@:/:/g
19785 s/^:*//
19786 s/:*$//
19788 s/\(=[ ]*\).*/\1/
19790 s/\n//
19791 s/^[^=]*=[ ]*$//
19795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19796 fi # test -n "$CONFIG_FILES"
19798 # Set up the scripts for CONFIG_HEADERS section.
19799 # No need to generate them if there are no CONFIG_HEADERS.
19800 # This happens for instance with `./config.status Makefile'.
19801 if test -n "$CONFIG_HEADERS"; then
19802 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19803 BEGIN {
19804 _ACEOF
19806 # Transform confdefs.h into an awk script `defines.awk', embedded as
19807 # here-document in config.status, that substitutes the proper values into
19808 # config.h.in to produce config.h.
19810 # Create a delimiter string that does not exist in confdefs.h, to ease
19811 # handling of long lines.
19812 ac_delim='%!_!# '
19813 for ac_last_try in false false :; do
19814 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19815 if test -z "$ac_tt"; then
19816 break
19817 elif $ac_last_try; then
19818 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19819 else
19820 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19822 done
19824 # For the awk script, D is an array of macro values keyed by name,
19825 # likewise P contains macro parameters if any. Preserve backslash
19826 # newline sequences.
19828 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19829 sed -n '
19830 s/.\{148\}/&'"$ac_delim"'/g
19831 t rset
19832 :rset
19833 s/^[ ]*#[ ]*define[ ][ ]*/ /
19834 t def
19836 :def
19837 s/\\$//
19838 t bsnl
19839 s/["\\]/\\&/g
19840 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19841 D["\1"]=" \3"/p
19842 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19844 :bsnl
19845 s/["\\]/\\&/g
19846 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19847 D["\1"]=" \3\\\\\\n"\\/p
19848 t cont
19849 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19850 t cont
19852 :cont
19854 s/.\{148\}/&'"$ac_delim"'/g
19855 t clear
19856 :clear
19857 s/\\$//
19858 t bsnlc
19859 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19861 :bsnlc
19862 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19863 b cont
19864 ' <confdefs.h | sed '
19865 s/'"$ac_delim"'/"\\\
19866 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19869 for (key in D) D_is_set[key] = 1
19870 FS = "\a"
19872 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19873 line = \$ 0
19874 split(line, arg, " ")
19875 if (arg[1] == "#") {
19876 defundef = arg[2]
19877 mac1 = arg[3]
19878 } else {
19879 defundef = substr(arg[1], 2)
19880 mac1 = arg[2]
19882 split(mac1, mac2, "(") #)
19883 macro = mac2[1]
19884 prefix = substr(line, 1, index(line, defundef) - 1)
19885 if (D_is_set[macro]) {
19886 # Preserve the white space surrounding the "#".
19887 print prefix "define", macro P[macro] D[macro]
19888 next
19889 } else {
19890 # Replace #undef with comments. This is necessary, for example,
19891 # in the case of _POSIX_SOURCE, which is predefined and required
19892 # on some systems where configure will not decide to define it.
19893 if (defundef == "undef") {
19894 print "/*", prefix defundef, macro, "*/"
19895 next
19899 { print }
19900 _ACAWK
19901 _ACEOF
19902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19903 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19904 fi # test -n "$CONFIG_HEADERS"
19907 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19908 shift
19909 for ac_tag
19911 case $ac_tag in
19912 :[FHLC]) ac_mode=$ac_tag; continue;;
19913 esac
19914 case $ac_mode$ac_tag in
19915 :[FHL]*:*);;
19916 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19917 :[FH]-) ac_tag=-:-;;
19918 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19919 esac
19920 ac_save_IFS=$IFS
19921 IFS=:
19922 set x $ac_tag
19923 IFS=$ac_save_IFS
19924 shift
19925 ac_file=$1
19926 shift
19928 case $ac_mode in
19929 :L) ac_source=$1;;
19930 :[FH])
19931 ac_file_inputs=
19932 for ac_f
19934 case $ac_f in
19935 -) ac_f="$ac_tmp/stdin";;
19936 *) # Look for the file first in the build tree, then in the source tree
19937 # (if the path is not absolute). The absolute path cannot be DOS-style,
19938 # because $ac_f cannot contain `:'.
19939 test -f "$ac_f" ||
19940 case $ac_f in
19941 [\\/$]*) false;;
19942 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19943 esac ||
19944 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19945 esac
19946 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19947 as_fn_append ac_file_inputs " '$ac_f'"
19948 done
19950 # Let's still pretend it is `configure' which instantiates (i.e., don't
19951 # use $as_me), people would be surprised to read:
19952 # /* config.h. Generated by config.status. */
19953 configure_input='Generated from '`
19954 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19955 `' by configure.'
19956 if test x"$ac_file" != x-; then
19957 configure_input="$ac_file. $configure_input"
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19959 $as_echo "$as_me: creating $ac_file" >&6;}
19961 # Neutralize special characters interpreted by sed in replacement strings.
19962 case $configure_input in #(
19963 *\&* | *\|* | *\\* )
19964 ac_sed_conf_input=`$as_echo "$configure_input" |
19965 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19966 *) ac_sed_conf_input=$configure_input;;
19967 esac
19969 case $ac_tag in
19970 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19972 esac
19974 esac
19976 ac_dir=`$as_dirname -- "$ac_file" ||
19977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19978 X"$ac_file" : 'X\(//\)[^/]' \| \
19979 X"$ac_file" : 'X\(//\)$' \| \
19980 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19981 $as_echo X"$ac_file" |
19982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19983 s//\1/
19986 /^X\(\/\/\)[^/].*/{
19987 s//\1/
19990 /^X\(\/\/\)$/{
19991 s//\1/
19994 /^X\(\/\).*/{
19995 s//\1/
19998 s/.*/./; q'`
19999 as_dir="$ac_dir"; as_fn_mkdir_p
20000 ac_builddir=.
20002 case "$ac_dir" in
20003 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20005 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20006 # A ".." for each directory in $ac_dir_suffix.
20007 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20008 case $ac_top_builddir_sub in
20009 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20010 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20011 esac ;;
20012 esac
20013 ac_abs_top_builddir=$ac_pwd
20014 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20015 # for backward compatibility:
20016 ac_top_builddir=$ac_top_build_prefix
20018 case $srcdir in
20019 .) # We are building in place.
20020 ac_srcdir=.
20021 ac_top_srcdir=$ac_top_builddir_sub
20022 ac_abs_top_srcdir=$ac_pwd ;;
20023 [\\/]* | ?:[\\/]* ) # Absolute name.
20024 ac_srcdir=$srcdir$ac_dir_suffix;
20025 ac_top_srcdir=$srcdir
20026 ac_abs_top_srcdir=$srcdir ;;
20027 *) # Relative name.
20028 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20029 ac_top_srcdir=$ac_top_build_prefix$srcdir
20030 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20031 esac
20032 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20035 case $ac_mode in
20038 # CONFIG_FILE
20041 _ACEOF
20043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20044 # If the template does not know about datarootdir, expand it.
20045 # FIXME: This hack should be removed a few years after 2.60.
20046 ac_datarootdir_hack=; ac_datarootdir_seen=
20047 ac_sed_dataroot='
20048 /datarootdir/ {
20052 /@datadir@/p
20053 /@docdir@/p
20054 /@infodir@/p
20055 /@localedir@/p
20056 /@mandir@/p'
20057 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20058 *datarootdir*) ac_datarootdir_seen=yes;;
20059 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20061 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20062 _ACEOF
20063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20064 ac_datarootdir_hack='
20065 s&@datadir@&$datadir&g
20066 s&@docdir@&$docdir&g
20067 s&@infodir@&$infodir&g
20068 s&@localedir@&$localedir&g
20069 s&@mandir@&$mandir&g
20070 s&\\\${datarootdir}&$datarootdir&g' ;;
20071 esac
20072 _ACEOF
20074 # Neutralize VPATH when `$srcdir' = `.'.
20075 # Shell code in configure.ac might set extrasub.
20076 # FIXME: do we really want to maintain this feature?
20077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20078 ac_sed_extra="$ac_vpsub
20079 $extrasub
20080 _ACEOF
20081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20084 s|@configure_input@|$ac_sed_conf_input|;t t
20085 s&@top_builddir@&$ac_top_builddir_sub&;t t
20086 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20087 s&@srcdir@&$ac_srcdir&;t t
20088 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20089 s&@top_srcdir@&$ac_top_srcdir&;t t
20090 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20091 s&@builddir@&$ac_builddir&;t t
20092 s&@abs_builddir@&$ac_abs_builddir&;t t
20093 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20094 $ac_datarootdir_hack
20096 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20097 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20100 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20101 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20102 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20104 which seems to be undefined. Please make sure it is defined" >&5
20105 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20106 which seems to be undefined. Please make sure it is defined" >&2;}
20108 rm -f "$ac_tmp/stdin"
20109 case $ac_file in
20110 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20111 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20112 esac \
20113 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20117 # CONFIG_HEADER
20119 if test x"$ac_file" != x-; then
20121 $as_echo "/* $configure_input */" \
20122 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20123 } >"$ac_tmp/config.h" \
20124 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20125 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20127 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20128 else
20129 rm -f "$ac_file"
20130 mv "$ac_tmp/config.h" "$ac_file" \
20131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20133 else
20134 $as_echo "/* $configure_input */" \
20135 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20136 || as_fn_error $? "could not create -" "$LINENO" 5
20141 # CONFIG_LINK
20144 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20146 else
20147 # Prefer the file from the source tree if names are identical.
20148 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20149 ac_source=$srcdir/$ac_source
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20153 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20155 if test ! -r "$ac_source"; then
20156 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20158 rm -f "$ac_file"
20160 # Try a relative symlink, then a hard link, then a copy.
20161 case $ac_source in
20162 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20163 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20164 esac
20165 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20166 ln "$ac_source" "$ac_file" 2>/dev/null ||
20167 cp -p "$ac_source" "$ac_file" ||
20168 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20171 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20172 $as_echo "$as_me: executing $ac_file commands" >&6;}
20174 esac
20177 case $ac_file$ac_mode in
20178 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20179 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20180 "Makefile":C) wine_fn_output_makefile Makefile ;;
20182 esac
20183 done # for ac_tag
20186 as_fn_exit 0
20187 _ACEOF
20188 ac_clean_files=$ac_clean_files_save
20190 test $ac_write_fail = 0 ||
20191 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20194 # configure is writing to config.log, and then calls config.status.
20195 # config.status does its own redirection, appending to config.log.
20196 # Unfortunately, on DOS this fails, as config.log is still kept open
20197 # by configure, so config.status won't be able to write to it; its
20198 # output is simply discarded. So we exec the FD to /dev/null,
20199 # effectively closing config.log, so it can be properly (re)opened and
20200 # appended to by config.status. When coming back to configure, we
20201 # need to make the FD available again.
20202 if test "$no_create" != yes; then
20203 ac_cs_success=:
20204 ac_config_status_args=
20205 test "$silent" = yes &&
20206 ac_config_status_args="$ac_config_status_args --quiet"
20207 exec 5>/dev/null
20208 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20209 exec 5>>config.log
20210 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20211 # would make configure fail if this is the last instruction.
20212 $ac_cs_success || as_fn_exit 1
20214 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20216 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20220 if test "$no_create" = "yes"
20221 then
20222 exit 0
20225 ac_save_IFS="$IFS"
20226 if test "x$wine_notices" != x; then
20227 echo >&6
20228 IFS="|"
20229 for msg in $wine_notices; do
20230 IFS="$ac_save_IFS"
20231 if ${msg:+false} :; then :
20233 else
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20235 $as_echo "$as_me: $msg" >&6;}
20237 done
20239 IFS="|"
20240 for msg in $wine_warnings; do
20241 IFS="$ac_save_IFS"
20242 if ${msg:+false} :; then :
20244 else
20245 echo >&2
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20247 $as_echo "$as_me: WARNING: $msg" >&2;}
20249 done
20250 IFS="$ac_save_IFS"
20252 $as_echo "
20253 $as_me: Finished. Do '${ac_make}' to compile Wine.
20254 " >&6