d3dx9: Make the assert() in regstore_set_values() a bit more strict.
[wine.git] / configure
blob02de8806c0d61f244a97590fd13941b99525d089
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.10.
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.10'
584 PACKAGE_STRING='Wine 2.10'
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_adsldpc
877 enable_advapi32
878 enable_advpack
879 enable_amstream
880 enable_api_ms_win_appmodel_identity_l1_1_0
881 enable_api_ms_win_appmodel_runtime_l1_1_1
882 enable_api_ms_win_core_apiquery_l1_1_0
883 enable_api_ms_win_core_appcompat_l1_1_1
884 enable_api_ms_win_core_appinit_l1_1_0
885 enable_api_ms_win_core_atoms_l1_1_0
886 enable_api_ms_win_core_bem_l1_1_0
887 enable_api_ms_win_core_com_l1_1_0
888 enable_api_ms_win_core_com_l1_1_1
889 enable_api_ms_win_core_com_private_l1_1_0
890 enable_api_ms_win_core_console_l1_1_0
891 enable_api_ms_win_core_console_l2_1_0
892 enable_api_ms_win_core_datetime_l1_1_0
893 enable_api_ms_win_core_datetime_l1_1_1
894 enable_api_ms_win_core_debug_l1_1_0
895 enable_api_ms_win_core_debug_l1_1_1
896 enable_api_ms_win_core_delayload_l1_1_0
897 enable_api_ms_win_core_delayload_l1_1_1
898 enable_api_ms_win_core_errorhandling_l1_1_0
899 enable_api_ms_win_core_errorhandling_l1_1_1
900 enable_api_ms_win_core_errorhandling_l1_1_2
901 enable_api_ms_win_core_fibers_l1_1_0
902 enable_api_ms_win_core_fibers_l1_1_1
903 enable_api_ms_win_core_file_l1_1_0
904 enable_api_ms_win_core_file_l1_2_0
905 enable_api_ms_win_core_file_l1_2_1
906 enable_api_ms_win_core_file_l2_1_0
907 enable_api_ms_win_core_file_l2_1_1
908 enable_api_ms_win_core_handle_l1_1_0
909 enable_api_ms_win_core_heap_l1_1_0
910 enable_api_ms_win_core_heap_l1_2_0
911 enable_api_ms_win_core_heap_obsolete_l1_1_0
912 enable_api_ms_win_core_interlocked_l1_1_0
913 enable_api_ms_win_core_interlocked_l1_2_0
914 enable_api_ms_win_core_io_l1_1_0
915 enable_api_ms_win_core_io_l1_1_1
916 enable_api_ms_win_core_job_l1_1_0
917 enable_api_ms_win_core_job_l2_1_0
918 enable_api_ms_win_core_kernel32_legacy_l1_1_0
919 enable_api_ms_win_core_kernel32_legacy_l1_1_1
920 enable_api_ms_win_core_kernel32_private_l1_1_1
921 enable_api_ms_win_core_libraryloader_l1_1_0
922 enable_api_ms_win_core_libraryloader_l1_1_1
923 enable_api_ms_win_core_libraryloader_l1_2_0
924 enable_api_ms_win_core_libraryloader_l1_2_2
925 enable_api_ms_win_core_localization_l1_1_0
926 enable_api_ms_win_core_localization_l1_2_0
927 enable_api_ms_win_core_localization_l1_2_1
928 enable_api_ms_win_core_localization_l2_1_0
929 enable_api_ms_win_core_localization_obsolete_l1_1_0
930 enable_api_ms_win_core_localization_obsolete_l1_2_0
931 enable_api_ms_win_core_localization_private_l1_1_0
932 enable_api_ms_win_core_localregistry_l1_1_0
933 enable_api_ms_win_core_memory_l1_1_0
934 enable_api_ms_win_core_memory_l1_1_1
935 enable_api_ms_win_core_memory_l1_1_2
936 enable_api_ms_win_core_misc_l1_1_0
937 enable_api_ms_win_core_namedpipe_l1_1_0
938 enable_api_ms_win_core_namedpipe_l1_2_0
939 enable_api_ms_win_core_namespace_l1_1_0
940 enable_api_ms_win_core_normalization_l1_1_0
941 enable_api_ms_win_core_path_l1_1_0
942 enable_api_ms_win_core_privateprofile_l1_1_1
943 enable_api_ms_win_core_processenvironment_l1_1_0
944 enable_api_ms_win_core_processenvironment_l1_2_0
945 enable_api_ms_win_core_processthreads_l1_1_0
946 enable_api_ms_win_core_processthreads_l1_1_1
947 enable_api_ms_win_core_processthreads_l1_1_2
948 enable_api_ms_win_core_profile_l1_1_0
949 enable_api_ms_win_core_psapi_l1_1_0
950 enable_api_ms_win_core_psapi_obsolete_l1_1_0
951 enable_api_ms_win_core_quirks_l1_1_0
952 enable_api_ms_win_core_realtime_l1_1_0
953 enable_api_ms_win_core_registry_l1_1_0
954 enable_api_ms_win_core_registry_l2_1_0
955 enable_api_ms_win_core_registryuserspecific_l1_1_0
956 enable_api_ms_win_core_rtlsupport_l1_1_0
957 enable_api_ms_win_core_rtlsupport_l1_2_0
958 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
959 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
960 enable_api_ms_win_core_sidebyside_l1_1_0
961 enable_api_ms_win_core_string_l1_1_0
962 enable_api_ms_win_core_string_l2_1_0
963 enable_api_ms_win_core_string_obsolete_l1_1_0
964 enable_api_ms_win_core_stringansi_l1_1_0
965 enable_api_ms_win_core_synch_l1_1_0
966 enable_api_ms_win_core_synch_l1_2_0
967 enable_api_ms_win_core_sysinfo_l1_1_0
968 enable_api_ms_win_core_sysinfo_l1_2_0
969 enable_api_ms_win_core_sysinfo_l1_2_1
970 enable_api_ms_win_core_threadpool_l1_1_0
971 enable_api_ms_win_core_threadpool_l1_2_0
972 enable_api_ms_win_core_threadpool_legacy_l1_1_0
973 enable_api_ms_win_core_threadpool_private_l1_1_0
974 enable_api_ms_win_core_timezone_l1_1_0
975 enable_api_ms_win_core_toolhelp_l1_1_0
976 enable_api_ms_win_core_url_l1_1_0
977 enable_api_ms_win_core_util_l1_1_0
978 enable_api_ms_win_core_version_l1_1_0
979 enable_api_ms_win_core_version_private_l1_1_0
980 enable_api_ms_win_core_versionansi_l1_1_0
981 enable_api_ms_win_core_windowserrorreporting_l1_1_0
982 enable_api_ms_win_core_winrt_error_l1_1_0
983 enable_api_ms_win_core_winrt_error_l1_1_1
984 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
985 enable_api_ms_win_core_winrt_l1_1_0
986 enable_api_ms_win_core_winrt_registration_l1_1_0
987 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
988 enable_api_ms_win_core_winrt_string_l1_1_0
989 enable_api_ms_win_core_wow64_l1_1_0
990 enable_api_ms_win_core_xstate_l1_1_0
991 enable_api_ms_win_core_xstate_l2_1_0
992 enable_api_ms_win_crt_conio_l1_1_0
993 enable_api_ms_win_crt_convert_l1_1_0
994 enable_api_ms_win_crt_environment_l1_1_0
995 enable_api_ms_win_crt_filesystem_l1_1_0
996 enable_api_ms_win_crt_heap_l1_1_0
997 enable_api_ms_win_crt_locale_l1_1_0
998 enable_api_ms_win_crt_math_l1_1_0
999 enable_api_ms_win_crt_multibyte_l1_1_0
1000 enable_api_ms_win_crt_private_l1_1_0
1001 enable_api_ms_win_crt_process_l1_1_0
1002 enable_api_ms_win_crt_runtime_l1_1_0
1003 enable_api_ms_win_crt_stdio_l1_1_0
1004 enable_api_ms_win_crt_string_l1_1_0
1005 enable_api_ms_win_crt_time_l1_1_0
1006 enable_api_ms_win_crt_utility_l1_1_0
1007 enable_api_ms_win_devices_config_l1_1_1
1008 enable_api_ms_win_devices_query_l1_1_1
1009 enable_api_ms_win_downlevel_advapi32_l1_1_0
1010 enable_api_ms_win_downlevel_advapi32_l2_1_0
1011 enable_api_ms_win_downlevel_normaliz_l1_1_0
1012 enable_api_ms_win_downlevel_ole32_l1_1_0
1013 enable_api_ms_win_downlevel_shell32_l1_1_0
1014 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1015 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1016 enable_api_ms_win_downlevel_user32_l1_1_0
1017 enable_api_ms_win_downlevel_version_l1_1_0
1018 enable_api_ms_win_dx_d3dkmt_l1_1_0
1019 enable_api_ms_win_eventing_classicprovider_l1_1_0
1020 enable_api_ms_win_eventing_consumer_l1_1_0
1021 enable_api_ms_win_eventing_controller_l1_1_0
1022 enable_api_ms_win_eventing_provider_l1_1_0
1023 enable_api_ms_win_eventlog_legacy_l1_1_0
1024 enable_api_ms_win_mm_misc_l1_1_1
1025 enable_api_ms_win_mm_mme_l1_1_0
1026 enable_api_ms_win_ntuser_dc_access_l1_1_0
1027 enable_api_ms_win_power_base_l1_1_0
1028 enable_api_ms_win_power_setting_l1_1_0
1029 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1030 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1031 enable_api_ms_win_security_audit_l1_1_1
1032 enable_api_ms_win_security_base_l1_1_0
1033 enable_api_ms_win_security_base_l1_2_0
1034 enable_api_ms_win_security_base_private_l1_1_1
1035 enable_api_ms_win_security_credentials_l1_1_0
1036 enable_api_ms_win_security_grouppolicy_l1_1_0
1037 enable_api_ms_win_security_lsalookup_l1_1_0
1038 enable_api_ms_win_security_lsalookup_l1_1_1
1039 enable_api_ms_win_security_lsalookup_l2_1_1
1040 enable_api_ms_win_security_lsapolicy_l1_1_0
1041 enable_api_ms_win_security_sddl_l1_1_0
1042 enable_api_ms_win_security_systemfunctions_l1_1_0
1043 enable_api_ms_win_service_core_l1_1_0
1044 enable_api_ms_win_service_core_l1_1_1
1045 enable_api_ms_win_service_management_l1_1_0
1046 enable_api_ms_win_service_management_l2_1_0
1047 enable_api_ms_win_service_private_l1_1_1
1048 enable_api_ms_win_service_winsvc_l1_1_0
1049 enable_api_ms_win_service_winsvc_l1_2_0
1050 enable_api_ms_win_shell_shellcom_l1_1_0
1051 enable_api_ms_win_shell_shellfolders_l1_1_0
1052 enable_apphelp
1053 enable_appwiz_cpl
1054 enable_atl
1055 enable_atl100
1056 enable_atl110
1057 enable_atl80
1058 enable_atl90
1059 enable_authz
1060 enable_avicap32
1061 enable_avifil32
1062 enable_avrt
1063 enable_bcrypt
1064 enable_bluetoothapis
1065 enable_browseui
1066 enable_bthprops_cpl
1067 enable_cabinet
1068 enable_capi2032
1069 enable_cards
1070 enable_cfgmgr32
1071 enable_clusapi
1072 enable_combase
1073 enable_comcat
1074 enable_comctl32
1075 enable_comdlg32
1076 enable_compstui
1077 enable_comsvcs
1078 enable_concrt140
1079 enable_connect
1080 enable_credui
1081 enable_crtdll
1082 enable_crypt32
1083 enable_cryptdlg
1084 enable_cryptdll
1085 enable_cryptext
1086 enable_cryptnet
1087 enable_cryptui
1088 enable_ctapi32
1089 enable_ctl3d32
1090 enable_d2d1
1091 enable_d3d10
1092 enable_d3d10_1
1093 enable_d3d10core
1094 enable_d3d11
1095 enable_d3d8
1096 enable_d3d9
1097 enable_d3dcompiler_33
1098 enable_d3dcompiler_34
1099 enable_d3dcompiler_35
1100 enable_d3dcompiler_36
1101 enable_d3dcompiler_37
1102 enable_d3dcompiler_38
1103 enable_d3dcompiler_39
1104 enable_d3dcompiler_40
1105 enable_d3dcompiler_41
1106 enable_d3dcompiler_42
1107 enable_d3dcompiler_43
1108 enable_d3dcompiler_46
1109 enable_d3dcompiler_47
1110 enable_d3dim
1111 enable_d3drm
1112 enable_d3dx10_33
1113 enable_d3dx10_34
1114 enable_d3dx10_35
1115 enable_d3dx10_36
1116 enable_d3dx10_37
1117 enable_d3dx10_38
1118 enable_d3dx10_39
1119 enable_d3dx10_40
1120 enable_d3dx10_41
1121 enable_d3dx10_42
1122 enable_d3dx10_43
1123 enable_d3dx11_42
1124 enable_d3dx11_43
1125 enable_d3dx9_24
1126 enable_d3dx9_25
1127 enable_d3dx9_26
1128 enable_d3dx9_27
1129 enable_d3dx9_28
1130 enable_d3dx9_29
1131 enable_d3dx9_30
1132 enable_d3dx9_31
1133 enable_d3dx9_32
1134 enable_d3dx9_33
1135 enable_d3dx9_34
1136 enable_d3dx9_35
1137 enable_d3dx9_36
1138 enable_d3dx9_37
1139 enable_d3dx9_38
1140 enable_d3dx9_39
1141 enable_d3dx9_40
1142 enable_d3dx9_41
1143 enable_d3dx9_42
1144 enable_d3dx9_43
1145 enable_d3dxof
1146 enable_davclnt
1147 enable_dbgeng
1148 enable_dbghelp
1149 enable_dciman32
1150 enable_ddraw
1151 enable_ddrawex
1152 enable_devenum
1153 enable_dhcpcsvc
1154 enable_difxapi
1155 enable_dinput
1156 enable_dinput8
1157 enable_dispex
1158 enable_dmband
1159 enable_dmcompos
1160 enable_dmime
1161 enable_dmloader
1162 enable_dmscript
1163 enable_dmstyle
1164 enable_dmsynth
1165 enable_dmusic
1166 enable_dmusic32
1167 enable_dnsapi
1168 enable_dplay
1169 enable_dplayx
1170 enable_dpnaddr
1171 enable_dpnet
1172 enable_dpnhpast
1173 enable_dpnlobby
1174 enable_dpvoice
1175 enable_dpwsockx
1176 enable_drmclien
1177 enable_dsound
1178 enable_dssenh
1179 enable_dswave
1180 enable_dwmapi
1181 enable_dwrite
1182 enable_dxdiagn
1183 enable_dxgi
1184 enable_dxva2
1185 enable_esent
1186 enable_evr
1187 enable_explorerframe
1188 enable_ext_ms_win_authz_context_l1_1_0
1189 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1190 enable_ext_ms_win_gdi_dc_create_l1_1_1
1191 enable_ext_ms_win_gdi_dc_l1_2_0
1192 enable_ext_ms_win_gdi_devcaps_l1_1_0
1193 enable_ext_ms_win_gdi_draw_l1_1_1
1194 enable_ext_ms_win_gdi_render_l1_1_0
1195 enable_ext_ms_win_kernel32_package_current_l1_1_0
1196 enable_ext_ms_win_ntuser_message_l1_1_1
1197 enable_ext_ms_win_ntuser_private_l1_1_1
1198 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1199 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1200 enable_ext_ms_win_ntuser_window_l1_1_1
1201 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1202 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1203 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1204 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1205 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1206 enable_faultrep
1207 enable_fltlib
1208 enable_fltmgr_sys
1209 enable_fntcache
1210 enable_fontsub
1211 enable_fusion
1212 enable_fwpuclnt
1213 enable_gameux
1214 enable_gdi32
1215 enable_gdiplus
1216 enable_glu32
1217 enable_gphoto2_ds
1218 enable_gpkcsp
1219 enable_hal
1220 enable_hhctrl_ocx
1221 enable_hid
1222 enable_hidclass_sys
1223 enable_hlink
1224 enable_hnetcfg
1225 enable_httpapi
1226 enable_iccvid
1227 enable_icmp
1228 enable_ieframe
1229 enable_imaadp32_acm
1230 enable_imagehlp
1231 enable_imm32
1232 enable_inetcomm
1233 enable_inetcpl_cpl
1234 enable_inetmib1
1235 enable_infosoft
1236 enable_initpki
1237 enable_inkobj
1238 enable_inseng
1239 enable_iphlpapi
1240 enable_iprop
1241 enable_irprops_cpl
1242 enable_itircl
1243 enable_itss
1244 enable_joy_cpl
1245 enable_jscript
1246 enable_jsproxy
1247 enable_kernel32
1248 enable_kernelbase
1249 enable_ksuser
1250 enable_ktmw32
1251 enable_loadperf
1252 enable_localspl
1253 enable_localui
1254 enable_lz32
1255 enable_mapi32
1256 enable_mapistub
1257 enable_mciavi32
1258 enable_mcicda
1259 enable_mciqtz32
1260 enable_mciseq
1261 enable_mciwave
1262 enable_mf
1263 enable_mf3216
1264 enable_mfplat
1265 enable_mfreadwrite
1266 enable_mgmtapi
1267 enable_midimap
1268 enable_mlang
1269 enable_mmcndmgr
1270 enable_mmdevapi
1271 enable_mountmgr_sys
1272 enable_mpr
1273 enable_mprapi
1274 enable_msacm32_drv
1275 enable_msacm32
1276 enable_msadp32_acm
1277 enable_msasn1
1278 enable_mscat32
1279 enable_mscms
1280 enable_mscoree
1281 enable_msctf
1282 enable_msctfp
1283 enable_msdaps
1284 enable_msdelta
1285 enable_msdmo
1286 enable_msdrm
1287 enable_msftedit
1288 enable_msg711_acm
1289 enable_msgsm32_acm
1290 enable_mshtml_tlb
1291 enable_mshtml
1292 enable_msi
1293 enable_msident
1294 enable_msimg32
1295 enable_msimsg
1296 enable_msimtf
1297 enable_msisip
1298 enable_msisys_ocx
1299 enable_msls31
1300 enable_msnet32
1301 enable_mspatcha
1302 enable_msports
1303 enable_msrle32
1304 enable_msscript_ocx
1305 enable_mssign32
1306 enable_mssip32
1307 enable_mstask
1308 enable_msvcirt
1309 enable_msvcm80
1310 enable_msvcm90
1311 enable_msvcp100
1312 enable_msvcp110
1313 enable_msvcp120
1314 enable_msvcp120_app
1315 enable_msvcp140
1316 enable_msvcp60
1317 enable_msvcp70
1318 enable_msvcp71
1319 enable_msvcp80
1320 enable_msvcp90
1321 enable_msvcr100
1322 enable_msvcr110
1323 enable_msvcr120
1324 enable_msvcr120_app
1325 enable_msvcr70
1326 enable_msvcr71
1327 enable_msvcr80
1328 enable_msvcr90
1329 enable_msvcrt
1330 enable_msvcrt20
1331 enable_msvcrt40
1332 enable_msvcrtd
1333 enable_msvfw32
1334 enable_msvidc32
1335 enable_mswsock
1336 enable_msxml
1337 enable_msxml2
1338 enable_msxml3
1339 enable_msxml4
1340 enable_msxml6
1341 enable_mtxdm
1342 enable_ncrypt
1343 enable_nddeapi
1344 enable_ndis_sys
1345 enable_netapi32
1346 enable_netcfgx
1347 enable_netprofm
1348 enable_newdev
1349 enable_normaliz
1350 enable_npmshtml
1351 enable_npptools
1352 enable_ntdll
1353 enable_ntdsapi
1354 enable_ntoskrnl_exe
1355 enable_ntprint
1356 enable_objsel
1357 enable_odbc32
1358 enable_odbccp32
1359 enable_odbccu32
1360 enable_ole32
1361 enable_oleacc
1362 enable_oleaut32
1363 enable_olecli32
1364 enable_oledb32
1365 enable_oledlg
1366 enable_olepro32
1367 enable_olesvr32
1368 enable_olethk32
1369 enable_openal32
1370 enable_opencl
1371 enable_opengl32
1372 enable_packager
1373 enable_pdh
1374 enable_photometadatahandler
1375 enable_pidgen
1376 enable_powrprof
1377 enable_printui
1378 enable_prntvpt
1379 enable_propsys
1380 enable_psapi
1381 enable_pstorec
1382 enable_qcap
1383 enable_qedit
1384 enable_qmgr
1385 enable_qmgrprxy
1386 enable_quartz
1387 enable_query
1388 enable_rasapi32
1389 enable_rasdlg
1390 enable_regapi
1391 enable_resutils
1392 enable_riched20
1393 enable_riched32
1394 enable_rpcrt4
1395 enable_rsabase
1396 enable_rsaenh
1397 enable_rstrtmgr
1398 enable_rtutils
1399 enable_samlib
1400 enable_sane_ds
1401 enable_scarddlg
1402 enable_sccbase
1403 enable_schannel
1404 enable_schedsvc
1405 enable_scrobj
1406 enable_scrrun
1407 enable_scsiport_sys
1408 enable_secur32
1409 enable_security
1410 enable_sensapi
1411 enable_serialui
1412 enable_setupapi
1413 enable_sfc
1414 enable_sfc_os
1415 enable_shdoclc
1416 enable_shdocvw
1417 enable_shell32
1418 enable_shfolder
1419 enable_shlwapi
1420 enable_slbcsp
1421 enable_slc
1422 enable_snmpapi
1423 enable_softpub
1424 enable_spoolss
1425 enable_sspicli
1426 enable_stdole2_tlb
1427 enable_stdole32_tlb
1428 enable_sti
1429 enable_svrapi
1430 enable_sxs
1431 enable_t2embed
1432 enable_tapi32
1433 enable_taskschd
1434 enable_tdh
1435 enable_tdi_sys
1436 enable_traffic
1437 enable_twain_32
1438 enable_ucrtbase
1439 enable_uiautomationcore
1440 enable_unicows
1441 enable_updspapi
1442 enable_url
1443 enable_urlmon
1444 enable_usbd_sys
1445 enable_user32
1446 enable_userenv
1447 enable_usp10
1448 enable_uxtheme
1449 enable_vbscript
1450 enable_vcomp
1451 enable_vcomp100
1452 enable_vcomp110
1453 enable_vcomp120
1454 enable_vcomp140
1455 enable_vcomp90
1456 enable_vcruntime140
1457 enable_vdmdbg
1458 enable_version
1459 enable_virtdisk
1460 enable_vssapi
1461 enable_wbemdisp
1462 enable_wbemprox
1463 enable_webservices
1464 enable_wer
1465 enable_wevtapi
1466 enable_wiaservc
1467 enable_wimgapi
1468 enable_windowscodecs
1469 enable_windowscodecsext
1470 enable_winealsa_drv
1471 enable_wineandroid_drv
1472 enable_winebus_sys
1473 enable_winecoreaudio_drv
1474 enable_wined3d
1475 enable_winegstreamer
1476 enable_winehid_sys
1477 enable_winejoystick_drv
1478 enable_winemac_drv
1479 enable_winemapi
1480 enable_winemp3_acm
1481 enable_wineoss_drv
1482 enable_wineps_drv
1483 enable_winepulse_drv
1484 enable_wineqtdecoder
1485 enable_winex11_drv
1486 enable_wing32
1487 enable_winhttp
1488 enable_wininet
1489 enable_winmm
1490 enable_winnls32
1491 enable_winscard
1492 enable_winspool_drv
1493 enable_winsta
1494 enable_wintab32
1495 enable_wintrust
1496 enable_winusb
1497 enable_wlanapi
1498 enable_wldap32
1499 enable_wmasf
1500 enable_wmi
1501 enable_wmiutils
1502 enable_wmp
1503 enable_wmvcore
1504 enable_wnaspi32
1505 enable_wpc
1506 enable_wpcap
1507 enable_ws2_32
1508 enable_wsdapi
1509 enable_wshom_ocx
1510 enable_wsnmp32
1511 enable_wsock32
1512 enable_wtsapi32
1513 enable_wuapi
1514 enable_wuaueng
1515 enable_x3daudio1_0
1516 enable_x3daudio1_1
1517 enable_x3daudio1_2
1518 enable_x3daudio1_3
1519 enable_x3daudio1_4
1520 enable_x3daudio1_5
1521 enable_x3daudio1_6
1522 enable_x3daudio1_7
1523 enable_xapofx1_1
1524 enable_xapofx1_2
1525 enable_xapofx1_3
1526 enable_xapofx1_4
1527 enable_xapofx1_5
1528 enable_xaudio2_0
1529 enable_xaudio2_1
1530 enable_xaudio2_2
1531 enable_xaudio2_3
1532 enable_xaudio2_4
1533 enable_xaudio2_5
1534 enable_xaudio2_6
1535 enable_xaudio2_7
1536 enable_xaudio2_8
1537 enable_xaudio2_9
1538 enable_xinput1_1
1539 enable_xinput1_2
1540 enable_xinput1_3
1541 enable_xinput1_4
1542 enable_xinput9_1_0
1543 enable_xmllite
1544 enable_xolehlp
1545 enable_xpsprint
1546 enable_xpssvcs
1547 enable_fonts
1548 enable_include
1549 enable_libs_port
1550 enable_libs_wine
1551 enable_libs_wpp
1552 enable_loader
1553 enable_po
1554 enable_arp
1555 enable_aspnet_regiis
1556 enable_attrib
1557 enable_cabarc
1558 enable_cacls
1559 enable_clock
1560 enable_cmd
1561 enable_conhost
1562 enable_control
1563 enable_cscript
1564 enable_dpnsvr
1565 enable_dxdiag
1566 enable_eject
1567 enable_expand
1568 enable_explorer
1569 enable_extrac32
1570 enable_findstr
1571 enable_fsutil
1572 enable_hh
1573 enable_hostname
1574 enable_icacls
1575 enable_icinfo
1576 enable_iexplore
1577 enable_ipconfig
1578 enable_lodctr
1579 enable_mofcomp
1580 enable_mshta
1581 enable_msiexec
1582 enable_msinfo32
1583 enable_net
1584 enable_netsh
1585 enable_netstat
1586 enable_ngen
1587 enable_notepad
1588 enable_oleview
1589 enable_ping
1590 enable_plugplay
1591 enable_presentationfontcache
1592 enable_progman
1593 enable_reg
1594 enable_regasm
1595 enable_regedit
1596 enable_regsvcs
1597 enable_regsvr32
1598 enable_rpcss
1599 enable_rundll32
1600 enable_sc
1601 enable_schtasks
1602 enable_sdbinst
1603 enable_secedit
1604 enable_servicemodelreg
1605 enable_services
1606 enable_shutdown
1607 enable_spoolsv
1608 enable_start
1609 enable_subst
1610 enable_svchost
1611 enable_systeminfo
1612 enable_taskkill
1613 enable_tasklist
1614 enable_taskmgr
1615 enable_termsv
1616 enable_uninstaller
1617 enable_unlodctr
1618 enable_view
1619 enable_wevtutil
1620 enable_wineboot
1621 enable_winebrowser
1622 enable_winecfg
1623 enable_wineconsole
1624 enable_winedbg
1625 enable_winedevice
1626 enable_winefile
1627 enable_winemenubuilder
1628 enable_winemine
1629 enable_winemsibuilder
1630 enable_winepath
1631 enable_winetest
1632 enable_winhlp32
1633 enable_winver
1634 enable_wmic
1635 enable_wmplayer
1636 enable_wordpad
1637 enable_write
1638 enable_wscript
1639 enable_wusa
1640 enable_xcopy
1641 enable_server
1642 enable_tools
1644 ac_precious_vars='build_alias
1645 host_alias
1646 target_alias
1648 CFLAGS
1649 LDFLAGS
1650 LIBS
1651 CPPFLAGS
1653 CXXFLAGS
1656 XMKMF
1657 XML2_CFLAGS
1658 XML2_LIBS
1659 XSLT_CFLAGS
1660 XSLT_LIBS
1661 DBUS_CFLAGS
1662 DBUS_LIBS
1663 HAL_CFLAGS
1664 HAL_LIBS
1665 GNUTLS_CFLAGS
1666 GNUTLS_LIBS
1667 SANE_CFLAGS
1668 SANE_LIBS
1669 GPHOTO2_CFLAGS
1670 GPHOTO2_LIBS
1671 GPHOTO2_PORT_CFLAGS
1672 GPHOTO2_PORT_LIBS
1673 LCMS2_CFLAGS
1674 LCMS2_LIBS
1675 FREETYPE_CFLAGS
1676 FREETYPE_LIBS
1677 PULSE_CFLAGS
1678 PULSE_LIBS
1679 GSTREAMER_CFLAGS
1680 GSTREAMER_LIBS
1681 UDEV_CFLAGS
1682 UDEV_LIBS
1683 CAPI20_CFLAGS
1684 CAPI20_LIBS
1685 FONTCONFIG_CFLAGS
1686 FONTCONFIG_LIBS
1687 JPEG_CFLAGS
1688 JPEG_LIBS
1689 PNG_CFLAGS
1690 PNG_LIBS
1691 TIFF_CFLAGS
1692 TIFF_LIBS
1693 MPG123_CFLAGS
1694 MPG123_LIBS
1695 NETAPI_CFLAGS
1696 NETAPI_LIBS'
1699 # Initialize some variables set by options.
1700 ac_init_help=
1701 ac_init_version=false
1702 ac_unrecognized_opts=
1703 ac_unrecognized_sep=
1704 # The variables have the same names as the options, with
1705 # dashes changed to underlines.
1706 cache_file=/dev/null
1707 exec_prefix=NONE
1708 no_create=
1709 no_recursion=
1710 prefix=NONE
1711 program_prefix=NONE
1712 program_suffix=NONE
1713 program_transform_name=s,x,x,
1714 silent=
1715 site=
1716 srcdir=
1717 verbose=
1718 x_includes=NONE
1719 x_libraries=NONE
1721 # Installation directory options.
1722 # These are left unexpanded so users can "make install exec_prefix=/foo"
1723 # and all the variables that are supposed to be based on exec_prefix
1724 # by default will actually change.
1725 # Use braces instead of parens because sh, perl, etc. also accept them.
1726 # (The list follows the same order as the GNU Coding Standards.)
1727 bindir='${exec_prefix}/bin'
1728 sbindir='${exec_prefix}/sbin'
1729 libexecdir='${exec_prefix}/libexec'
1730 datarootdir='${prefix}/share'
1731 datadir='${datarootdir}'
1732 sysconfdir='${prefix}/etc'
1733 sharedstatedir='${prefix}/com'
1734 localstatedir='${prefix}/var'
1735 runstatedir='${localstatedir}/run'
1736 includedir='${prefix}/include'
1737 oldincludedir='/usr/include'
1738 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1739 infodir='${datarootdir}/info'
1740 htmldir='${docdir}'
1741 dvidir='${docdir}'
1742 pdfdir='${docdir}'
1743 psdir='${docdir}'
1744 libdir='${exec_prefix}/lib'
1745 localedir='${datarootdir}/locale'
1746 mandir='${datarootdir}/man'
1748 ac_prev=
1749 ac_dashdash=
1750 for ac_option
1752 # If the previous option needs an argument, assign it.
1753 if test -n "$ac_prev"; then
1754 eval $ac_prev=\$ac_option
1755 ac_prev=
1756 continue
1759 case $ac_option in
1760 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1761 *=) ac_optarg= ;;
1762 *) ac_optarg=yes ;;
1763 esac
1765 # Accept the important Cygnus configure options, so we can diagnose typos.
1767 case $ac_dashdash$ac_option in
1769 ac_dashdash=yes ;;
1771 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1772 ac_prev=bindir ;;
1773 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1774 bindir=$ac_optarg ;;
1776 -build | --build | --buil | --bui | --bu)
1777 ac_prev=build_alias ;;
1778 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1779 build_alias=$ac_optarg ;;
1781 -cache-file | --cache-file | --cache-fil | --cache-fi \
1782 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1783 ac_prev=cache_file ;;
1784 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1785 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1786 cache_file=$ac_optarg ;;
1788 --config-cache | -C)
1789 cache_file=config.cache ;;
1791 -datadir | --datadir | --datadi | --datad)
1792 ac_prev=datadir ;;
1793 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1794 datadir=$ac_optarg ;;
1796 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1797 | --dataroo | --dataro | --datar)
1798 ac_prev=datarootdir ;;
1799 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1800 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1801 datarootdir=$ac_optarg ;;
1803 -disable-* | --disable-*)
1804 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1805 # Reject names that are not valid shell variable names.
1806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1807 as_fn_error $? "invalid feature name: $ac_useropt"
1808 ac_useropt_orig=$ac_useropt
1809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1810 case $ac_user_opts in
1812 "enable_$ac_useropt"
1813 "*) ;;
1814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1815 ac_unrecognized_sep=', ';;
1816 esac
1817 eval enable_$ac_useropt=no ;;
1819 -docdir | --docdir | --docdi | --doc | --do)
1820 ac_prev=docdir ;;
1821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1822 docdir=$ac_optarg ;;
1824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1825 ac_prev=dvidir ;;
1826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1827 dvidir=$ac_optarg ;;
1829 -enable-* | --enable-*)
1830 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1831 # Reject names that are not valid shell variable names.
1832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1833 as_fn_error $? "invalid feature name: $ac_useropt"
1834 ac_useropt_orig=$ac_useropt
1835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1836 case $ac_user_opts in
1838 "enable_$ac_useropt"
1839 "*) ;;
1840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1841 ac_unrecognized_sep=', ';;
1842 esac
1843 eval enable_$ac_useropt=\$ac_optarg ;;
1845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1847 | --exec | --exe | --ex)
1848 ac_prev=exec_prefix ;;
1849 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1850 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1851 | --exec=* | --exe=* | --ex=*)
1852 exec_prefix=$ac_optarg ;;
1854 -gas | --gas | --ga | --g)
1855 # Obsolete; use --with-gas.
1856 with_gas=yes ;;
1858 -help | --help | --hel | --he | -h)
1859 ac_init_help=long ;;
1860 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1861 ac_init_help=recursive ;;
1862 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1863 ac_init_help=short ;;
1865 -host | --host | --hos | --ho)
1866 ac_prev=host_alias ;;
1867 -host=* | --host=* | --hos=* | --ho=*)
1868 host_alias=$ac_optarg ;;
1870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1871 ac_prev=htmldir ;;
1872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1873 | --ht=*)
1874 htmldir=$ac_optarg ;;
1876 -includedir | --includedir | --includedi | --included | --include \
1877 | --includ | --inclu | --incl | --inc)
1878 ac_prev=includedir ;;
1879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1880 | --includ=* | --inclu=* | --incl=* | --inc=*)
1881 includedir=$ac_optarg ;;
1883 -infodir | --infodir | --infodi | --infod | --info | --inf)
1884 ac_prev=infodir ;;
1885 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1886 infodir=$ac_optarg ;;
1888 -libdir | --libdir | --libdi | --libd)
1889 ac_prev=libdir ;;
1890 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1891 libdir=$ac_optarg ;;
1893 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1894 | --libexe | --libex | --libe)
1895 ac_prev=libexecdir ;;
1896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1897 | --libexe=* | --libex=* | --libe=*)
1898 libexecdir=$ac_optarg ;;
1900 -localedir | --localedir | --localedi | --localed | --locale)
1901 ac_prev=localedir ;;
1902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1903 localedir=$ac_optarg ;;
1905 -localstatedir | --localstatedir | --localstatedi | --localstated \
1906 | --localstate | --localstat | --localsta | --localst | --locals)
1907 ac_prev=localstatedir ;;
1908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1910 localstatedir=$ac_optarg ;;
1912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1913 ac_prev=mandir ;;
1914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1915 mandir=$ac_optarg ;;
1917 -nfp | --nfp | --nf)
1918 # Obsolete; use --without-fp.
1919 with_fp=no ;;
1921 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1922 | --no-cr | --no-c | -n)
1923 no_create=yes ;;
1925 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1926 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1927 no_recursion=yes ;;
1929 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1930 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1931 | --oldin | --oldi | --old | --ol | --o)
1932 ac_prev=oldincludedir ;;
1933 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1934 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1935 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1936 oldincludedir=$ac_optarg ;;
1938 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1939 ac_prev=prefix ;;
1940 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1941 prefix=$ac_optarg ;;
1943 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1944 | --program-pre | --program-pr | --program-p)
1945 ac_prev=program_prefix ;;
1946 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1947 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1948 program_prefix=$ac_optarg ;;
1950 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1951 | --program-suf | --program-su | --program-s)
1952 ac_prev=program_suffix ;;
1953 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1954 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1955 program_suffix=$ac_optarg ;;
1957 -program-transform-name | --program-transform-name \
1958 | --program-transform-nam | --program-transform-na \
1959 | --program-transform-n | --program-transform- \
1960 | --program-transform | --program-transfor \
1961 | --program-transfo | --program-transf \
1962 | --program-trans | --program-tran \
1963 | --progr-tra | --program-tr | --program-t)
1964 ac_prev=program_transform_name ;;
1965 -program-transform-name=* | --program-transform-name=* \
1966 | --program-transform-nam=* | --program-transform-na=* \
1967 | --program-transform-n=* | --program-transform-=* \
1968 | --program-transform=* | --program-transfor=* \
1969 | --program-transfo=* | --program-transf=* \
1970 | --program-trans=* | --program-tran=* \
1971 | --progr-tra=* | --program-tr=* | --program-t=*)
1972 program_transform_name=$ac_optarg ;;
1974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1975 ac_prev=pdfdir ;;
1976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1977 pdfdir=$ac_optarg ;;
1979 -psdir | --psdir | --psdi | --psd | --ps)
1980 ac_prev=psdir ;;
1981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1982 psdir=$ac_optarg ;;
1984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1985 | -silent | --silent | --silen | --sile | --sil)
1986 silent=yes ;;
1988 -runstatedir | --runstatedir | --runstatedi | --runstated \
1989 | --runstate | --runstat | --runsta | --runst | --runs \
1990 | --run | --ru | --r)
1991 ac_prev=runstatedir ;;
1992 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1993 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1994 | --run=* | --ru=* | --r=*)
1995 runstatedir=$ac_optarg ;;
1997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1998 ac_prev=sbindir ;;
1999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2000 | --sbi=* | --sb=*)
2001 sbindir=$ac_optarg ;;
2003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2005 | --sharedst | --shareds | --shared | --share | --shar \
2006 | --sha | --sh)
2007 ac_prev=sharedstatedir ;;
2008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2011 | --sha=* | --sh=*)
2012 sharedstatedir=$ac_optarg ;;
2014 -site | --site | --sit)
2015 ac_prev=site ;;
2016 -site=* | --site=* | --sit=*)
2017 site=$ac_optarg ;;
2019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2020 ac_prev=srcdir ;;
2021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2022 srcdir=$ac_optarg ;;
2024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2025 | --syscon | --sysco | --sysc | --sys | --sy)
2026 ac_prev=sysconfdir ;;
2027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2029 sysconfdir=$ac_optarg ;;
2031 -target | --target | --targe | --targ | --tar | --ta | --t)
2032 ac_prev=target_alias ;;
2033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2034 target_alias=$ac_optarg ;;
2036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2037 verbose=yes ;;
2039 -version | --version | --versio | --versi | --vers | -V)
2040 ac_init_version=: ;;
2042 -with-* | --with-*)
2043 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2044 # Reject names that are not valid shell variable names.
2045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2046 as_fn_error $? "invalid package name: $ac_useropt"
2047 ac_useropt_orig=$ac_useropt
2048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2049 case $ac_user_opts in
2051 "with_$ac_useropt"
2052 "*) ;;
2053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2054 ac_unrecognized_sep=', ';;
2055 esac
2056 eval with_$ac_useropt=\$ac_optarg ;;
2058 -without-* | --without-*)
2059 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2060 # Reject names that are not valid shell variable names.
2061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2062 as_fn_error $? "invalid package name: $ac_useropt"
2063 ac_useropt_orig=$ac_useropt
2064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2065 case $ac_user_opts in
2067 "with_$ac_useropt"
2068 "*) ;;
2069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2070 ac_unrecognized_sep=', ';;
2071 esac
2072 eval with_$ac_useropt=no ;;
2074 --x)
2075 # Obsolete; use --with-x.
2076 with_x=yes ;;
2078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2079 | --x-incl | --x-inc | --x-in | --x-i)
2080 ac_prev=x_includes ;;
2081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2083 x_includes=$ac_optarg ;;
2085 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2087 ac_prev=x_libraries ;;
2088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2090 x_libraries=$ac_optarg ;;
2092 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2093 Try \`$0 --help' for more information"
2096 *=*)
2097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2098 # Reject names that are not valid shell variable names.
2099 case $ac_envvar in #(
2100 '' | [0-9]* | *[!_$as_cr_alnum]* )
2101 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2102 esac
2103 eval $ac_envvar=\$ac_optarg
2104 export $ac_envvar ;;
2107 # FIXME: should be removed in autoconf 3.0.
2108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2114 esac
2115 done
2117 if test -n "$ac_prev"; then
2118 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2119 as_fn_error $? "missing argument to $ac_option"
2122 if test -n "$ac_unrecognized_opts"; then
2123 case $enable_option_checking in
2124 no) ;;
2125 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2127 esac
2130 # Check all directory arguments for consistency.
2131 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2132 datadir sysconfdir sharedstatedir localstatedir includedir \
2133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2134 libdir localedir mandir runstatedir
2136 eval ac_val=\$$ac_var
2137 # Remove trailing slashes.
2138 case $ac_val in
2139 */ )
2140 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2141 eval $ac_var=\$ac_val;;
2142 esac
2143 # Be sure to have absolute directory names.
2144 case $ac_val in
2145 [\\/$]* | ?:[\\/]* ) continue;;
2146 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2147 esac
2148 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2149 done
2151 # There might be people who depend on the old broken behavior: `$host'
2152 # used to hold the argument of --host etc.
2153 # FIXME: To remove some day.
2154 build=$build_alias
2155 host=$host_alias
2156 target=$target_alias
2158 # FIXME: To remove some day.
2159 if test "x$host_alias" != x; then
2160 if test "x$build_alias" = x; then
2161 cross_compiling=maybe
2162 elif test "x$build_alias" != "x$host_alias"; then
2163 cross_compiling=yes
2167 ac_tool_prefix=
2168 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2170 test "$silent" = yes && exec 6>/dev/null
2173 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2174 ac_ls_di=`ls -di .` &&
2175 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2176 as_fn_error $? "working directory cannot be determined"
2177 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2178 as_fn_error $? "pwd does not report name of working directory"
2181 # Find the source files, if location was not specified.
2182 if test -z "$srcdir"; then
2183 ac_srcdir_defaulted=yes
2184 # Try the directory containing this script, then the parent directory.
2185 ac_confdir=`$as_dirname -- "$as_myself" ||
2186 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2187 X"$as_myself" : 'X\(//\)[^/]' \| \
2188 X"$as_myself" : 'X\(//\)$' \| \
2189 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2190 $as_echo X"$as_myself" |
2191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2192 s//\1/
2195 /^X\(\/\/\)[^/].*/{
2196 s//\1/
2199 /^X\(\/\/\)$/{
2200 s//\1/
2203 /^X\(\/\).*/{
2204 s//\1/
2207 s/.*/./; q'`
2208 srcdir=$ac_confdir
2209 if test ! -r "$srcdir/$ac_unique_file"; then
2210 srcdir=..
2212 else
2213 ac_srcdir_defaulted=no
2215 if test ! -r "$srcdir/$ac_unique_file"; then
2216 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2217 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2219 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2220 ac_abs_confdir=`(
2221 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2222 pwd)`
2223 # When building in place, set srcdir=.
2224 if test "$ac_abs_confdir" = "$ac_pwd"; then
2225 srcdir=.
2227 # Remove unnecessary trailing slashes from srcdir.
2228 # Double slashes in file names in object file debugging info
2229 # mess up M-x gdb in Emacs.
2230 case $srcdir in
2231 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2232 esac
2233 for ac_var in $ac_precious_vars; do
2234 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2235 eval ac_env_${ac_var}_value=\$${ac_var}
2236 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2237 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2238 done
2241 # Report the --help message.
2243 if test "$ac_init_help" = "long"; then
2244 # Omit some internal or obsolete options to make the list less imposing.
2245 # This message is too long to be a string in the A/UX 3.1 sh.
2246 cat <<_ACEOF
2247 \`configure' configures Wine 2.10 to adapt to many kinds of systems.
2249 Usage: $0 [OPTION]... [VAR=VALUE]...
2251 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2252 VAR=VALUE. See below for descriptions of some of the useful variables.
2254 Defaults for the options are specified in brackets.
2256 Configuration:
2257 -h, --help display this help and exit
2258 --help=short display options specific to this package
2259 --help=recursive display the short help of all the included packages
2260 -V, --version display version information and exit
2261 -q, --quiet, --silent do not print \`checking ...' messages
2262 --cache-file=FILE cache test results in FILE [disabled]
2263 -C, --config-cache alias for \`--cache-file=config.cache'
2264 -n, --no-create do not create output files
2265 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2267 Installation directories:
2268 --prefix=PREFIX install architecture-independent files in PREFIX
2269 [$ac_default_prefix]
2270 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2271 [PREFIX]
2273 By default, \`make install' will install all the files in
2274 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2275 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2276 for instance \`--prefix=\$HOME'.
2278 For better control, use the options below.
2280 Fine tuning of the installation directories:
2281 --bindir=DIR user executables [EPREFIX/bin]
2282 --sbindir=DIR system admin executables [EPREFIX/sbin]
2283 --libexecdir=DIR program executables [EPREFIX/libexec]
2284 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2285 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2286 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2287 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2288 --libdir=DIR object code libraries [EPREFIX/lib]
2289 --includedir=DIR C header files [PREFIX/include]
2290 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2293 --infodir=DIR info documentation [DATAROOTDIR/info]
2294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2295 --mandir=DIR man documentation [DATAROOTDIR/man]
2296 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2297 --htmldir=DIR html documentation [DOCDIR]
2298 --dvidir=DIR dvi documentation [DOCDIR]
2299 --pdfdir=DIR pdf documentation [DOCDIR]
2300 --psdir=DIR ps documentation [DOCDIR]
2301 _ACEOF
2303 cat <<\_ACEOF
2305 X features:
2306 --x-includes=DIR X include files are in DIR
2307 --x-libraries=DIR X library files are in DIR
2309 System types:
2310 --build=BUILD configure for building on BUILD [guessed]
2311 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2312 _ACEOF
2315 if test -n "$ac_init_help"; then
2316 case $ac_init_help in
2317 short | recursive ) echo "Configuration of Wine 2.10:";;
2318 esac
2319 cat <<\_ACEOF
2321 Optional Features:
2322 --disable-option-checking ignore unrecognized --enable/--with options
2323 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2324 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2325 --disable-win16 do not include Win16 support
2326 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2327 binaries)
2328 --disable-tests do not build the regression tests
2329 --enable-maintainer-mode
2330 enable maintainer-specific build rules
2331 --disable-largefile omit support for large files
2333 Optional Packages:
2334 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2335 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2336 --without-alsa do not use the Alsa sound support
2337 --without-capi do not use CAPI (ISDN support)
2338 --without-cms do not use CMS (color management support)
2339 --without-coreaudio do not use the CoreAudio sound support
2340 --without-cups do not use CUPS
2341 --without-curses do not use (n)curses
2342 --without-dbus do not use DBus (dynamic device support)
2343 --without-fontconfig do not use fontconfig
2344 --without-freetype do not use the FreeType library
2345 --without-gettext do not use gettext
2346 --with-gettextpo use the GetTextPO library to rebuild po files
2347 --without-gphoto do not use gphoto (Digital Camera support)
2348 --without-glu do not use the GLU library
2349 --without-gnutls do not use GnuTLS (schannel support)
2350 --without-gsm do not use libgsm (GSM 06.10 codec support)
2351 --without-gstreamer do not use GStreamer (codecs support)
2352 --without-hal do not use HAL (dynamic device support)
2353 --without-jpeg do not use JPEG
2354 --without-ldap do not use LDAP
2355 --without-mpg123 do not use the mpg123 library
2356 --without-netapi do not use the Samba NetAPI library
2357 --without-openal do not use OpenAL
2358 --without-opencl do not use OpenCL
2359 --without-opengl do not use OpenGL
2360 --without-osmesa do not use the OSMesa library
2361 --without-oss do not use the OSS sound support
2362 --without-pcap do not use the Packet Capture library
2363 --without-png do not use PNG
2364 --without-pthread do not use the pthread library
2365 --without-pulse do not use PulseAudio sound support
2366 --without-sane do not use SANE (scanner support)
2367 --without-tiff do not use TIFF
2368 --without-udev do not use udev (plug and play support)
2369 --without-v4l do not use v4l1 (v4l support)
2370 --without-xcomposite do not use the Xcomposite extension
2371 --without-xcursor do not use the Xcursor extension
2372 --without-xfixes do not use Xfixes for clipboard change notifications
2373 --without-xinerama do not use Xinerama (multi-monitor support)
2374 --without-xinput do not use the Xinput extension
2375 --without-xinput2 do not use the Xinput 2 extension
2376 --without-xml do not use XML
2377 --without-xrandr do not use Xrandr (resolution changes)
2378 --without-xrender do not use the Xrender extension
2379 --without-xshape do not use the Xshape extension
2380 --without-xshm do not use XShm (shared memory extension)
2381 --without-xslt do not use XSLT
2382 --without-xxf86vm do not use XFree video mode extension
2383 --without-zlib do not use Zlib (data compression)
2384 --with-wine-tools=DIR use Wine tools from directory DIR
2385 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2386 --with-x use the X Window System
2388 Some influential environment variables:
2389 CC C compiler command
2390 CFLAGS C compiler flags
2391 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2392 nonstandard directory <lib dir>
2393 LIBS libraries to pass to the linker, e.g. -l<library>
2394 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2395 you have headers in a nonstandard directory <include dir>
2396 CXX C++ compiler command
2397 CXXFLAGS C++ compiler flags
2398 CPP C preprocessor
2399 XMKMF Path to xmkmf, Makefile generator for X Window System
2400 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2401 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2402 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2403 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2404 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2405 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2406 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2407 HAL_LIBS Linker flags for hal, overriding pkg-config
2408 GNUTLS_CFLAGS
2409 C compiler flags for gnutls, overriding pkg-config
2410 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2411 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2412 SANE_LIBS Linker flags for libsane, overriding pkg-config
2413 GPHOTO2_CFLAGS
2414 C compiler flags for libgphoto2, overriding pkg-config
2415 GPHOTO2_LIBS
2416 Linker flags for libgphoto2, overriding pkg-config
2417 GPHOTO2_PORT_CFLAGS
2418 C compiler flags for libgphoto2_port, overriding pkg-config
2419 GPHOTO2_PORT_LIBS
2420 Linker flags for libgphoto2_port, overriding pkg-config
2421 LCMS2_CFLAGS
2422 C compiler flags for lcms2, overriding pkg-config
2423 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2424 FREETYPE_CFLAGS
2425 C compiler flags for freetype2, overriding pkg-config
2426 FREETYPE_LIBS
2427 Linker flags for freetype2, overriding pkg-config
2428 PULSE_CFLAGS
2429 C compiler flags for libpulse, overriding pkg-config
2430 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2431 GSTREAMER_CFLAGS
2432 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2433 gstreamer-audio-1.0, overriding pkg-config
2434 GSTREAMER_LIBS
2435 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2436 gstreamer-audio-1.0, overriding pkg-config
2437 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2438 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2439 CAPI20_CFLAGS
2440 C compiler flags for capi20, overriding pkg-config
2441 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2442 FONTCONFIG_CFLAGS
2443 C compiler flags for fontconfig, overriding pkg-config
2444 FONTCONFIG_LIBS
2445 Linker flags for fontconfig, overriding pkg-config
2446 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2447 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2448 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2449 PNG_LIBS Linker flags for libpng, overriding pkg-config
2450 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2451 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2452 MPG123_CFLAGS
2453 C compiler flags for libmpg123, overriding pkg-config
2454 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2455 NETAPI_CFLAGS
2456 C compiler flags for netapi, overriding pkg-config
2457 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2459 Use these variables to override the choices made by `configure' or to help
2460 it to find libraries and programs with nonstandard names/locations.
2462 Report bugs to <wine-devel@winehq.org>.
2463 Wine home page: <http://www.winehq.org>.
2464 _ACEOF
2465 ac_status=$?
2468 if test "$ac_init_help" = "recursive"; then
2469 # If there are subdirs, report their specific --help.
2470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2471 test -d "$ac_dir" ||
2472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2473 continue
2474 ac_builddir=.
2476 case "$ac_dir" in
2477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2480 # A ".." for each directory in $ac_dir_suffix.
2481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2482 case $ac_top_builddir_sub in
2483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2485 esac ;;
2486 esac
2487 ac_abs_top_builddir=$ac_pwd
2488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2489 # for backward compatibility:
2490 ac_top_builddir=$ac_top_build_prefix
2492 case $srcdir in
2493 .) # We are building in place.
2494 ac_srcdir=.
2495 ac_top_srcdir=$ac_top_builddir_sub
2496 ac_abs_top_srcdir=$ac_pwd ;;
2497 [\\/]* | ?:[\\/]* ) # Absolute name.
2498 ac_srcdir=$srcdir$ac_dir_suffix;
2499 ac_top_srcdir=$srcdir
2500 ac_abs_top_srcdir=$srcdir ;;
2501 *) # Relative name.
2502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2503 ac_top_srcdir=$ac_top_build_prefix$srcdir
2504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2505 esac
2506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2508 cd "$ac_dir" || { ac_status=$?; continue; }
2509 # Check for guested configure.
2510 if test -f "$ac_srcdir/configure.gnu"; then
2511 echo &&
2512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2513 elif test -f "$ac_srcdir/configure"; then
2514 echo &&
2515 $SHELL "$ac_srcdir/configure" --help=recursive
2516 else
2517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2518 fi || ac_status=$?
2519 cd "$ac_pwd" || { ac_status=$?; break; }
2520 done
2523 test -n "$ac_init_help" && exit $ac_status
2524 if $ac_init_version; then
2525 cat <<\_ACEOF
2526 Wine configure 2.10
2527 generated by GNU Autoconf 2.69
2529 Copyright (C) 2012 Free Software Foundation, Inc.
2530 This configure script is free software; the Free Software Foundation
2531 gives unlimited permission to copy, distribute and modify it.
2532 _ACEOF
2533 exit
2536 ## ------------------------ ##
2537 ## Autoconf initialization. ##
2538 ## ------------------------ ##
2540 # ac_fn_c_try_compile LINENO
2541 # --------------------------
2542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2543 ac_fn_c_try_compile ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 rm -f conftest.$ac_objext
2547 if { { ac_try="$ac_compile"
2548 case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2551 esac
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_compile") 2>conftest.err
2555 ac_status=$?
2556 if test -s conftest.err; then
2557 grep -v '^ *+' conftest.err >conftest.er1
2558 cat conftest.er1 >&5
2559 mv -f conftest.er1 conftest.err
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; } && {
2563 test -z "$ac_c_werror_flag" ||
2564 test ! -s conftest.err
2565 } && test -s conftest.$ac_objext; then :
2566 ac_retval=0
2567 else
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2571 ac_retval=1
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 as_fn_set_status $ac_retval
2576 } # ac_fn_c_try_compile
2578 # ac_fn_cxx_try_compile LINENO
2579 # ----------------------------
2580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2581 ac_fn_cxx_try_compile ()
2583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2584 rm -f conftest.$ac_objext
2585 if { { ac_try="$ac_compile"
2586 case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592 (eval "$ac_compile") 2>conftest.err
2593 ac_status=$?
2594 if test -s conftest.err; then
2595 grep -v '^ *+' conftest.err >conftest.er1
2596 cat conftest.er1 >&5
2597 mv -f conftest.er1 conftest.err
2599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2600 test $ac_status = 0; } && {
2601 test -z "$ac_cxx_werror_flag" ||
2602 test ! -s conftest.err
2603 } && test -s conftest.$ac_objext; then :
2604 ac_retval=0
2605 else
2606 $as_echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2609 ac_retval=1
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612 as_fn_set_status $ac_retval
2614 } # ac_fn_cxx_try_compile
2616 # ac_fn_c_try_link LINENO
2617 # -----------------------
2618 # Try to link conftest.$ac_ext, and return whether this succeeded.
2619 ac_fn_c_try_link ()
2621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622 rm -f conftest.$ac_objext conftest$ac_exeext
2623 if { { ac_try="$ac_link"
2624 case "(($ac_try" in
2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2627 esac
2628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_link") 2>conftest.err
2631 ac_status=$?
2632 if test -s conftest.err; then
2633 grep -v '^ *+' conftest.err >conftest.er1
2634 cat conftest.er1 >&5
2635 mv -f conftest.er1 conftest.err
2637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2638 test $ac_status = 0; } && {
2639 test -z "$ac_c_werror_flag" ||
2640 test ! -s conftest.err
2641 } && test -s conftest$ac_exeext && {
2642 test "$cross_compiling" = yes ||
2643 test -x conftest$ac_exeext
2644 }; then :
2645 ac_retval=0
2646 else
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2650 ac_retval=1
2652 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2653 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2654 # interfere with the next link command; also delete a directory that is
2655 # left behind by Apple's compiler. We do this before executing the actions.
2656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2658 as_fn_set_status $ac_retval
2660 } # ac_fn_c_try_link
2662 # ac_fn_c_try_cpp LINENO
2663 # ----------------------
2664 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2665 ac_fn_c_try_cpp ()
2667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2668 if { { ac_try="$ac_cpp conftest.$ac_ext"
2669 case "(($ac_try" in
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2672 esac
2673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2674 $as_echo "$ac_try_echo"; } >&5
2675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2676 ac_status=$?
2677 if test -s conftest.err; then
2678 grep -v '^ *+' conftest.err >conftest.er1
2679 cat conftest.er1 >&5
2680 mv -f conftest.er1 conftest.err
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; } > conftest.i && {
2684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2685 test ! -s conftest.err
2686 }; then :
2687 ac_retval=0
2688 else
2689 $as_echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2692 ac_retval=1
2694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2695 as_fn_set_status $ac_retval
2697 } # ac_fn_c_try_cpp
2699 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2700 # -------------------------------------------------------
2701 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2702 # the include files in INCLUDES and setting the cache variable VAR
2703 # accordingly.
2704 ac_fn_c_check_header_mongrel ()
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 if eval \${$3+:} false; then :
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2709 $as_echo_n "checking for $2... " >&6; }
2710 if eval \${$3+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 eval ac_res=\$$3
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2715 $as_echo "$ac_res" >&6; }
2716 else
2717 # Is the header compilable?
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2719 $as_echo_n "checking $2 usability... " >&6; }
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2723 #include <$2>
2724 _ACEOF
2725 if ac_fn_c_try_compile "$LINENO"; then :
2726 ac_header_compiler=yes
2727 else
2728 ac_header_compiler=no
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2732 $as_echo "$ac_header_compiler" >&6; }
2734 # Is the header present?
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2736 $as_echo_n "checking $2 presence... " >&6; }
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2739 #include <$2>
2740 _ACEOF
2741 if ac_fn_c_try_cpp "$LINENO"; then :
2742 ac_header_preproc=yes
2743 else
2744 ac_header_preproc=no
2746 rm -f conftest.err conftest.i conftest.$ac_ext
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2748 $as_echo "$ac_header_preproc" >&6; }
2750 # So? What about this header?
2751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2752 yes:no: )
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2754 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2756 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2758 no:yes:* )
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2760 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2762 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2764 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2766 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2769 ( $as_echo "## ------------------------------------ ##
2770 ## Report this to wine-devel@winehq.org ##
2771 ## ------------------------------------ ##"
2772 ) | sed "s/^/$as_me: WARNING: /" >&2
2774 esac
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2776 $as_echo_n "checking for $2... " >&6; }
2777 if eval \${$3+:} false; then :
2778 $as_echo_n "(cached) " >&6
2779 else
2780 eval "$3=\$ac_header_compiler"
2782 eval ac_res=\$$3
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784 $as_echo "$ac_res" >&6; }
2786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 } # ac_fn_c_check_header_mongrel
2790 # ac_fn_c_try_run LINENO
2791 # ----------------------
2792 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2793 # that executables *can* be run.
2794 ac_fn_c_try_run ()
2796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2797 if { { ac_try="$ac_link"
2798 case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_link") 2>&5
2805 ac_status=$?
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2808 { { case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 $as_echo "$ac_try_echo"; } >&5
2814 (eval "$ac_try") 2>&5
2815 ac_status=$?
2816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; }; }; then :
2818 ac_retval=0
2819 else
2820 $as_echo "$as_me: program exited with status $ac_status" >&5
2821 $as_echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2824 ac_retval=$ac_status
2826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 as_fn_set_status $ac_retval
2830 } # ac_fn_c_try_run
2832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2833 # -------------------------------------------------------
2834 # Tests whether HEADER exists and can be compiled using the include files in
2835 # INCLUDES, setting the cache variable VAR accordingly.
2836 ac_fn_c_check_header_compile ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2840 $as_echo_n "checking for $2... " >&6; }
2841 if eval \${$3+:} false; then :
2842 $as_echo_n "(cached) " >&6
2843 else
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2847 #include <$2>
2848 _ACEOF
2849 if ac_fn_c_try_compile "$LINENO"; then :
2850 eval "$3=yes"
2851 else
2852 eval "$3=no"
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 eval ac_res=\$$3
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_header_compile
2863 # ac_fn_c_check_func LINENO FUNC VAR
2864 # ----------------------------------
2865 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2866 ac_fn_c_check_func ()
2868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2870 $as_echo_n "checking for $2... " >&6; }
2871 if eval \${$3+:} false; then :
2872 $as_echo_n "(cached) " >&6
2873 else
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2876 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2878 #define $2 innocuous_$2
2880 /* System header to define __stub macros and hopefully few prototypes,
2881 which can conflict with char $2 (); below.
2882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2883 <limits.h> exists even on freestanding compilers. */
2885 #ifdef __STDC__
2886 # include <limits.h>
2887 #else
2888 # include <assert.h>
2889 #endif
2891 #undef $2
2893 /* Override any GCC internal prototype to avoid an error.
2894 Use char because int might match the return type of a GCC
2895 builtin and then its argument prototype would still apply. */
2896 #ifdef __cplusplus
2897 extern "C"
2898 #endif
2899 char $2 ();
2900 /* The GNU C library defines this for functions which it implements
2901 to always fail with ENOSYS. Some functions are actually named
2902 something starting with __ and the normal name is an alias. */
2903 #if defined __stub_$2 || defined __stub___$2
2904 choke me
2905 #endif
2908 main ()
2910 return $2 ();
2912 return 0;
2914 _ACEOF
2915 if ac_fn_c_try_link "$LINENO"; then :
2916 eval "$3=yes"
2917 else
2918 eval "$3=no"
2920 rm -f core conftest.err conftest.$ac_objext \
2921 conftest$ac_exeext conftest.$ac_ext
2923 eval ac_res=\$$3
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 $as_echo "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_func
2930 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2931 # ----------------------------------------------------
2932 # Tries to find if the field MEMBER exists in type AGGR, after including
2933 # INCLUDES, setting cache variable VAR accordingly.
2934 ac_fn_c_check_member ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2938 $as_echo_n "checking for $2.$3... " >&6; }
2939 if eval \${$4+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2946 main ()
2948 static $2 ac_aggr;
2949 if (ac_aggr.$3)
2950 return 0;
2952 return 0;
2954 _ACEOF
2955 if ac_fn_c_try_compile "$LINENO"; then :
2956 eval "$4=yes"
2957 else
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2962 main ()
2964 static $2 ac_aggr;
2965 if (sizeof ac_aggr.$3)
2966 return 0;
2968 return 0;
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 eval "$4=yes"
2973 else
2974 eval "$4=no"
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 eval ac_res=\$$4
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_member
2987 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2988 # -------------------------------------------
2989 # Tests whether TYPE exists after having included INCLUDES, setting cache
2990 # variable VAR accordingly.
2991 ac_fn_c_check_type ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2995 $as_echo_n "checking for $2... " >&6; }
2996 if eval \${$3+:} false; then :
2997 $as_echo_n "(cached) " >&6
2998 else
2999 eval "$3=no"
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3004 main ()
3006 if (sizeof ($2))
3007 return 0;
3009 return 0;
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"; then :
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3017 main ()
3019 if (sizeof (($2)))
3020 return 0;
3022 return 0;
3024 _ACEOF
3025 if ac_fn_c_try_compile "$LINENO"; then :
3027 else
3028 eval "$3=yes"
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 eval ac_res=\$$3
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 $as_echo "$ac_res" >&6; }
3037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3039 } # ac_fn_c_check_type
3040 cat >config.log <<_ACEOF
3041 This file contains any messages produced by compilers while
3042 running configure, to aid debugging if configure makes a mistake.
3044 It was created by Wine $as_me 2.10, which was
3045 generated by GNU Autoconf 2.69. Invocation command line was
3047 $ $0 $@
3049 _ACEOF
3050 exec 5>>config.log
3052 cat <<_ASUNAME
3053 ## --------- ##
3054 ## Platform. ##
3055 ## --------- ##
3057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3074 _ASUNAME
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3079 IFS=$as_save_IFS
3080 test -z "$as_dir" && as_dir=.
3081 $as_echo "PATH: $as_dir"
3082 done
3083 IFS=$as_save_IFS
3085 } >&5
3087 cat >&5 <<_ACEOF
3090 ## ----------- ##
3091 ## Core tests. ##
3092 ## ----------- ##
3094 _ACEOF
3097 # Keep a trace of the command line.
3098 # Strip out --no-create and --no-recursion so they do not pile up.
3099 # Strip out --silent because we don't want to record it for future runs.
3100 # Also quote any args containing shell meta-characters.
3101 # Make two passes to allow for proper duplicate-argument suppression.
3102 ac_configure_args=
3103 ac_configure_args0=
3104 ac_configure_args1=
3105 ac_must_keep_next=false
3106 for ac_pass in 1 2
3108 for ac_arg
3110 case $ac_arg in
3111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3113 | -silent | --silent | --silen | --sile | --sil)
3114 continue ;;
3115 *\'*)
3116 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3117 esac
3118 case $ac_pass in
3119 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3121 as_fn_append ac_configure_args1 " '$ac_arg'"
3122 if test $ac_must_keep_next = true; then
3123 ac_must_keep_next=false # Got value, back to normal.
3124 else
3125 case $ac_arg in
3126 *=* | --config-cache | -C | -disable-* | --disable-* \
3127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3129 | -with-* | --with-* | -without-* | --without-* | --x)
3130 case "$ac_configure_args0 " in
3131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3132 esac
3134 -* ) ac_must_keep_next=true ;;
3135 esac
3137 as_fn_append ac_configure_args " '$ac_arg'"
3139 esac
3140 done
3141 done
3142 { ac_configure_args0=; unset ac_configure_args0;}
3143 { ac_configure_args1=; unset ac_configure_args1;}
3145 # When interrupted or exit'd, cleanup temporary files, and complete
3146 # config.log. We remove comments because anyway the quotes in there
3147 # would cause problems or look ugly.
3148 # WARNING: Use '\'' to represent an apostrophe within the trap.
3149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3150 trap 'exit_status=$?
3151 # Save into config.log some information that might help in debugging.
3153 echo
3155 $as_echo "## ---------------- ##
3156 ## Cache variables. ##
3157 ## ---------------- ##"
3158 echo
3159 # The following way of writing the cache mishandles newlines in values,
3161 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3162 eval ac_val=\$$ac_var
3163 case $ac_val in #(
3164 *${as_nl}*)
3165 case $ac_var in #(
3166 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3167 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3168 esac
3169 case $ac_var in #(
3170 _ | IFS | as_nl) ;; #(
3171 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3172 *) { eval $ac_var=; unset $ac_var;} ;;
3173 esac ;;
3174 esac
3175 done
3176 (set) 2>&1 |
3177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3178 *${as_nl}ac_space=\ *)
3179 sed -n \
3180 "s/'\''/'\''\\\\'\'''\''/g;
3181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3182 ;; #(
3184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3186 esac |
3187 sort
3189 echo
3191 $as_echo "## ----------------- ##
3192 ## Output variables. ##
3193 ## ----------------- ##"
3194 echo
3195 for ac_var in $ac_subst_vars
3197 eval ac_val=\$$ac_var
3198 case $ac_val in
3199 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3200 esac
3201 $as_echo "$ac_var='\''$ac_val'\''"
3202 done | sort
3203 echo
3205 if test -n "$ac_subst_files"; then
3206 $as_echo "## ------------------- ##
3207 ## File substitutions. ##
3208 ## ------------------- ##"
3209 echo
3210 for ac_var in $ac_subst_files
3212 eval ac_val=\$$ac_var
3213 case $ac_val in
3214 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3215 esac
3216 $as_echo "$ac_var='\''$ac_val'\''"
3217 done | sort
3218 echo
3221 if test -s confdefs.h; then
3222 $as_echo "## ----------- ##
3223 ## confdefs.h. ##
3224 ## ----------- ##"
3225 echo
3226 cat confdefs.h
3227 echo
3229 test "$ac_signal" != 0 &&
3230 $as_echo "$as_me: caught signal $ac_signal"
3231 $as_echo "$as_me: exit $exit_status"
3232 } >&5
3233 rm -f core *.core core.conftest.* &&
3234 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3235 exit $exit_status
3237 for ac_signal in 1 2 13 15; do
3238 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3239 done
3240 ac_signal=0
3242 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3243 rm -f -r conftest* confdefs.h
3245 $as_echo "/* confdefs.h */" > confdefs.h
3247 # Predefined preprocessor variables.
3249 cat >>confdefs.h <<_ACEOF
3250 #define PACKAGE_NAME "$PACKAGE_NAME"
3251 _ACEOF
3253 cat >>confdefs.h <<_ACEOF
3254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3255 _ACEOF
3257 cat >>confdefs.h <<_ACEOF
3258 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3259 _ACEOF
3261 cat >>confdefs.h <<_ACEOF
3262 #define PACKAGE_STRING "$PACKAGE_STRING"
3263 _ACEOF
3265 cat >>confdefs.h <<_ACEOF
3266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3267 _ACEOF
3269 cat >>confdefs.h <<_ACEOF
3270 #define PACKAGE_URL "$PACKAGE_URL"
3271 _ACEOF
3274 # Let the site file select an alternate cache file if it wants to.
3275 # Prefer an explicitly selected file to automatically selected ones.
3276 ac_site_file1=NONE
3277 ac_site_file2=NONE
3278 if test -n "$CONFIG_SITE"; then
3279 # We do not want a PATH search for config.site.
3280 case $CONFIG_SITE in #((
3281 -*) ac_site_file1=./$CONFIG_SITE;;
3282 */*) ac_site_file1=$CONFIG_SITE;;
3283 *) ac_site_file1=./$CONFIG_SITE;;
3284 esac
3285 elif test "x$prefix" != xNONE; then
3286 ac_site_file1=$prefix/share/config.site
3287 ac_site_file2=$prefix/etc/config.site
3288 else
3289 ac_site_file1=$ac_default_prefix/share/config.site
3290 ac_site_file2=$ac_default_prefix/etc/config.site
3292 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3294 test "x$ac_site_file" = xNONE && continue
3295 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3297 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3298 sed 's/^/| /' "$ac_site_file" >&5
3299 . "$ac_site_file" \
3300 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error $? "failed to load site script $ac_site_file
3303 See \`config.log' for more details" "$LINENO" 5; }
3305 done
3307 if test -r "$cache_file"; then
3308 # Some versions of bash will fail to source /dev/null (special files
3309 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3310 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3312 $as_echo "$as_me: loading cache $cache_file" >&6;}
3313 case $cache_file in
3314 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3315 *) . "./$cache_file";;
3316 esac
3318 else
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3320 $as_echo "$as_me: creating cache $cache_file" >&6;}
3321 >$cache_file
3324 # Check that the precious variables saved in the cache have kept the same
3325 # value.
3326 ac_cache_corrupted=false
3327 for ac_var in $ac_precious_vars; do
3328 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3329 eval ac_new_set=\$ac_env_${ac_var}_set
3330 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3331 eval ac_new_val=\$ac_env_${ac_var}_value
3332 case $ac_old_set,$ac_new_set in
3333 set,)
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3335 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3336 ac_cache_corrupted=: ;;
3337 ,set)
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3339 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3340 ac_cache_corrupted=: ;;
3341 ,);;
3343 if test "x$ac_old_val" != "x$ac_new_val"; then
3344 # differences in whitespace do not lead to failure.
3345 ac_old_val_w=`echo x $ac_old_val`
3346 ac_new_val_w=`echo x $ac_new_val`
3347 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3349 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3350 ac_cache_corrupted=:
3351 else
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3353 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3354 eval $ac_var=\$ac_old_val
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3357 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3359 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3360 fi;;
3361 esac
3362 # Pass precious variables to config.status.
3363 if test "$ac_new_set" = set; then
3364 case $ac_new_val in
3365 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3366 *) ac_arg=$ac_var=$ac_new_val ;;
3367 esac
3368 case " $ac_configure_args " in
3369 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3370 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3371 esac
3373 done
3374 if $ac_cache_corrupted; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3378 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3379 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3381 ## -------------------- ##
3382 ## Main body of script. ##
3383 ## -------------------- ##
3385 ac_ext=c
3386 ac_cpp='$CPP $CPPFLAGS'
3387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 ac_config_headers="$ac_config_headers include/config.h"
3395 ac_aux_dir=
3396 for ac_dir in tools "$srcdir"/tools; do
3397 if test -f "$ac_dir/install-sh"; then
3398 ac_aux_dir=$ac_dir
3399 ac_install_sh="$ac_aux_dir/install-sh -c"
3400 break
3401 elif test -f "$ac_dir/install.sh"; then
3402 ac_aux_dir=$ac_dir
3403 ac_install_sh="$ac_aux_dir/install.sh -c"
3404 break
3405 elif test -f "$ac_dir/shtool"; then
3406 ac_aux_dir=$ac_dir
3407 ac_install_sh="$ac_aux_dir/shtool install -c"
3408 break
3410 done
3411 if test -z "$ac_aux_dir"; then
3412 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3415 # These three variables are undocumented and unsupported,
3416 # and are intended to be withdrawn in a future Autoconf release.
3417 # They can cause serious problems if a builder's source tree is in a directory
3418 # whose full name contains unusual characters.
3419 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3420 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3421 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3425 libwine_version="1.0"
3429 # Check whether --enable-win16 was given.
3430 if test "${enable_win16+set}" = set; then :
3431 enableval=$enable_win16;
3434 # Check whether --enable-win64 was given.
3435 if test "${enable_win64+set}" = set; then :
3436 enableval=$enable_win64;
3439 # Check whether --enable-tests was given.
3440 if test "${enable_tests+set}" = set; then :
3441 enableval=$enable_tests;
3444 # Check whether --enable-maintainer-mode was given.
3445 if test "${enable_maintainer_mode+set}" = set; then :
3446 enableval=$enable_maintainer_mode;
3451 # Check whether --with-alsa was given.
3452 if test "${with_alsa+set}" = set; then :
3453 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3457 # Check whether --with-capi was given.
3458 if test "${with_capi+set}" = set; then :
3459 withval=$with_capi;
3463 # Check whether --with-cms was given.
3464 if test "${with_cms+set}" = set; then :
3465 withval=$with_cms;
3469 # Check whether --with-coreaudio was given.
3470 if test "${with_coreaudio+set}" = set; then :
3471 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3475 # Check whether --with-cups was given.
3476 if test "${with_cups+set}" = set; then :
3477 withval=$with_cups;
3481 # Check whether --with-curses was given.
3482 if test "${with_curses+set}" = set; then :
3483 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3487 # Check whether --with-dbus was given.
3488 if test "${with_dbus+set}" = set; then :
3489 withval=$with_dbus;
3493 # Check whether --with-fontconfig was given.
3494 if test "${with_fontconfig+set}" = set; then :
3495 withval=$with_fontconfig;
3499 # Check whether --with-freetype was given.
3500 if test "${with_freetype+set}" = set; then :
3501 withval=$with_freetype;
3505 # Check whether --with-gettext was given.
3506 if test "${with_gettext+set}" = set; then :
3507 withval=$with_gettext;
3511 # Check whether --with-gettextpo was given.
3512 if test "${with_gettextpo+set}" = set; then :
3513 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3517 # Check whether --with-gphoto was given.
3518 if test "${with_gphoto+set}" = set; then :
3519 withval=$with_gphoto;
3523 # Check whether --with-glu was given.
3524 if test "${with_glu+set}" = set; then :
3525 withval=$with_glu;
3529 # Check whether --with-gnutls was given.
3530 if test "${with_gnutls+set}" = set; then :
3531 withval=$with_gnutls;
3535 # Check whether --with-gsm was given.
3536 if test "${with_gsm+set}" = set; then :
3537 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3541 # Check whether --with-gstreamer was given.
3542 if test "${with_gstreamer+set}" = set; then :
3543 withval=$with_gstreamer;
3547 # Check whether --with-hal was given.
3548 if test "${with_hal+set}" = set; then :
3549 withval=$with_hal;
3553 # Check whether --with-jpeg was given.
3554 if test "${with_jpeg+set}" = set; then :
3555 withval=$with_jpeg;
3559 # Check whether --with-ldap was given.
3560 if test "${with_ldap+set}" = set; then :
3561 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3565 # Check whether --with-mpg123 was given.
3566 if test "${with_mpg123+set}" = set; then :
3567 withval=$with_mpg123;
3571 # Check whether --with-netapi was given.
3572 if test "${with_netapi+set}" = set; then :
3573 withval=$with_netapi;
3577 # Check whether --with-openal was given.
3578 if test "${with_openal+set}" = set; then :
3579 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3583 # Check whether --with-opencl was given.
3584 if test "${with_opencl+set}" = set; then :
3585 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3589 # Check whether --with-opengl was given.
3590 if test "${with_opengl+set}" = set; then :
3591 withval=$with_opengl;
3595 # Check whether --with-osmesa was given.
3596 if test "${with_osmesa+set}" = set; then :
3597 withval=$with_osmesa;
3601 # Check whether --with-oss was given.
3602 if test "${with_oss+set}" = set; then :
3603 withval=$with_oss;
3607 # Check whether --with-pcap was given.
3608 if test "${with_pcap+set}" = set; then :
3609 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3613 # Check whether --with-png was given.
3614 if test "${with_png+set}" = set; then :
3615 withval=$with_png;
3619 # Check whether --with-pthread was given.
3620 if test "${with_pthread+set}" = set; then :
3621 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3625 # Check whether --with-pulse was given.
3626 if test "${with_pulse+set}" = set; then :
3627 withval=$with_pulse;
3631 # Check whether --with-sane was given.
3632 if test "${with_sane+set}" = set; then :
3633 withval=$with_sane;
3637 # Check whether --with-tiff was given.
3638 if test "${with_tiff+set}" = set; then :
3639 withval=$with_tiff;
3643 # Check whether --with-udev was given.
3644 if test "${with_udev+set}" = set; then :
3645 withval=$with_udev;
3649 # Check whether --with-v4l was given.
3650 if test "${with_v4l+set}" = set; then :
3651 withval=$with_v4l;
3655 # Check whether --with-xcomposite was given.
3656 if test "${with_xcomposite+set}" = set; then :
3657 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3661 # Check whether --with-xcursor was given.
3662 if test "${with_xcursor+set}" = set; then :
3663 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3667 # Check whether --with-xfixes was given.
3668 if test "${with_xfixes+set}" = set; then :
3669 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3673 # Check whether --with-xinerama was given.
3674 if test "${with_xinerama+set}" = set; then :
3675 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3679 # Check whether --with-xinput was given.
3680 if test "${with_xinput+set}" = set; then :
3681 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3685 # Check whether --with-xinput2 was given.
3686 if test "${with_xinput2+set}" = set; then :
3687 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3691 # Check whether --with-xml was given.
3692 if test "${with_xml+set}" = set; then :
3693 withval=$with_xml;
3697 # Check whether --with-xrandr was given.
3698 if test "${with_xrandr+set}" = set; then :
3699 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3703 # Check whether --with-xrender was given.
3704 if test "${with_xrender+set}" = set; then :
3705 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3709 # Check whether --with-xshape was given.
3710 if test "${with_xshape+set}" = set; then :
3711 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3715 # Check whether --with-xshm was given.
3716 if test "${with_xshm+set}" = set; then :
3717 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3721 # Check whether --with-xslt was given.
3722 if test "${with_xslt+set}" = set; then :
3723 withval=$with_xslt;
3727 # Check whether --with-xxf86vm was given.
3728 if test "${with_xxf86vm+set}" = set; then :
3729 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
3733 # Check whether --with-zlib was given.
3734 if test "${with_zlib+set}" = set; then :
3735 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3740 # Check whether --with-wine-tools was given.
3741 if test "${with_wine_tools+set}" = set; then :
3742 withval=$with_wine_tools;
3746 # Check whether --with-wine64 was given.
3747 if test "${with_wine64+set}" = set; then :
3748 withval=$with_wine64;
3752 # Make sure we can run config.sub.
3753 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3754 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3757 $as_echo_n "checking build system type... " >&6; }
3758 if ${ac_cv_build+:} false; then :
3759 $as_echo_n "(cached) " >&6
3760 else
3761 ac_build_alias=$build_alias
3762 test "x$ac_build_alias" = x &&
3763 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3764 test "x$ac_build_alias" = x &&
3765 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3766 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3767 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3771 $as_echo "$ac_cv_build" >&6; }
3772 case $ac_cv_build in
3773 *-*-*) ;;
3774 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3775 esac
3776 build=$ac_cv_build
3777 ac_save_IFS=$IFS; IFS='-'
3778 set x $ac_cv_build
3779 shift
3780 build_cpu=$1
3781 build_vendor=$2
3782 shift; shift
3783 # Remember, the first character of IFS is used to create $*,
3784 # except with old shells:
3785 build_os=$*
3786 IFS=$ac_save_IFS
3787 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3791 $as_echo_n "checking host system type... " >&6; }
3792 if ${ac_cv_host+:} false; then :
3793 $as_echo_n "(cached) " >&6
3794 else
3795 if test "x$host_alias" = x; then
3796 ac_cv_host=$ac_cv_build
3797 else
3798 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3799 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3804 $as_echo "$ac_cv_host" >&6; }
3805 case $ac_cv_host in
3806 *-*-*) ;;
3807 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3808 esac
3809 host=$ac_cv_host
3810 ac_save_IFS=$IFS; IFS='-'
3811 set x $ac_cv_host
3812 shift
3813 host_cpu=$1
3814 host_vendor=$2
3815 shift; shift
3816 # Remember, the first character of IFS is used to create $*,
3817 # except with old shells:
3818 host_os=$*
3819 IFS=$ac_save_IFS
3820 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3824 case "$srcdir" in
3825 .) ;;
3826 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3827 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3828 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3829 fi ;;
3830 esac
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3834 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3835 set x ${MAKE-make}
3836 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3837 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3838 $as_echo_n "(cached) " >&6
3839 else
3840 cat >conftest.make <<\_ACEOF
3841 SHELL = /bin/sh
3842 all:
3843 @echo '@@@%%%=$(MAKE)=@@@%%%'
3844 _ACEOF
3845 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3846 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3847 *@@@%%%=?*=@@@%%%*)
3848 eval ac_cv_prog_make_${ac_make}_set=yes;;
3850 eval ac_cv_prog_make_${ac_make}_set=no;;
3851 esac
3852 rm -f conftest.make
3854 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3856 $as_echo "yes" >&6; }
3857 SET_MAKE=
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3861 SET_MAKE="MAKE=${MAKE-make}"
3864 ac_ext=c
3865 ac_cpp='$CPP $CPPFLAGS'
3866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869 if test -n "$ac_tool_prefix"; then
3870 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3871 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 CC=$ac_cv_prog_CC
3898 if test -n "$CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3900 $as_echo "$CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3908 if test -z "$ac_cv_prog_CC"; then
3909 ac_ct_CC=$CC
3910 # Extract the first word of "gcc", so it can be a program name with args.
3911 set dummy gcc; ac_word=$2
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3913 $as_echo_n "checking for $ac_word... " >&6; }
3914 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3915 $as_echo_n "(cached) " >&6
3916 else
3917 if test -n "$ac_ct_CC"; then
3918 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3919 else
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 for as_dir in $PATH
3923 IFS=$as_save_IFS
3924 test -z "$as_dir" && as_dir=.
3925 for ac_exec_ext in '' $ac_executable_extensions; do
3926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3927 ac_cv_prog_ac_ct_CC="gcc"
3928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 break 2
3931 done
3932 done
3933 IFS=$as_save_IFS
3937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3938 if test -n "$ac_ct_CC"; then
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3940 $as_echo "$ac_ct_CC" >&6; }
3941 else
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 $as_echo "no" >&6; }
3946 if test "x$ac_ct_CC" = x; then
3947 CC=""
3948 else
3949 case $cross_compiling:$ac_tool_warned in
3950 yes:)
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3953 ac_tool_warned=yes ;;
3954 esac
3955 CC=$ac_ct_CC
3957 else
3958 CC="$ac_cv_prog_CC"
3961 if test -z "$CC"; then
3962 if test -n "$ac_tool_prefix"; then
3963 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3964 set dummy ${ac_tool_prefix}cc; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if ${ac_cv_prog_CC+:} false; then :
3968 $as_echo_n "(cached) " >&6
3969 else
3970 if test -n "$CC"; then
3971 ac_cv_prog_CC="$CC" # Let the user override the test.
3972 else
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH
3976 IFS=$as_save_IFS
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_CC="${ac_tool_prefix}cc"
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 break 2
3984 done
3985 done
3986 IFS=$as_save_IFS
3990 CC=$ac_cv_prog_CC
3991 if test -n "$CC"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3993 $as_echo "$CC" >&6; }
3994 else
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4002 if test -z "$CC"; then
4003 # Extract the first word of "cc", so it can be a program name with args.
4004 set dummy cc; ac_word=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if ${ac_cv_prog_CC+:} false; then :
4008 $as_echo_n "(cached) " >&6
4009 else
4010 if test -n "$CC"; then
4011 ac_cv_prog_CC="$CC" # Let the user override the test.
4012 else
4013 ac_prog_rejected=no
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 for as_dir in $PATH
4017 IFS=$as_save_IFS
4018 test -z "$as_dir" && as_dir=.
4019 for ac_exec_ext in '' $ac_executable_extensions; do
4020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4022 ac_prog_rejected=yes
4023 continue
4025 ac_cv_prog_CC="cc"
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 break 2
4029 done
4030 done
4031 IFS=$as_save_IFS
4033 if test $ac_prog_rejected = yes; then
4034 # We found a bogon in the path, so make sure we never use it.
4035 set dummy $ac_cv_prog_CC
4036 shift
4037 if test $# != 0; then
4038 # We chose a different compiler from the bogus one.
4039 # However, it has the same basename, so the bogon will be chosen
4040 # first if we set CC to just the basename; use the full file name.
4041 shift
4042 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4047 CC=$ac_cv_prog_CC
4048 if test -n "$CC"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4050 $as_echo "$CC" >&6; }
4051 else
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4058 if test -z "$CC"; then
4059 if test -n "$ac_tool_prefix"; then
4060 for ac_prog in cl.exe
4062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if ${ac_cv_prog_CC+:} false; then :
4067 $as_echo_n "(cached) " >&6
4068 else
4069 if test -n "$CC"; then
4070 ac_cv_prog_CC="$CC" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 break 2
4083 done
4084 done
4085 IFS=$as_save_IFS
4089 CC=$ac_cv_prog_CC
4090 if test -n "$CC"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4092 $as_echo "$CC" >&6; }
4093 else
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4099 test -n "$CC" && break
4100 done
4102 if test -z "$CC"; then
4103 ac_ct_CC=$CC
4104 for ac_prog in cl.exe
4106 # Extract the first word of "$ac_prog", so it can be a program name with args.
4107 set dummy $ac_prog; ac_word=$2
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112 else
4113 if test -n "$ac_ct_CC"; then
4114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4115 else
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 for as_dir in $PATH
4119 IFS=$as_save_IFS
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_ac_ct_CC="$ac_prog"
4124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 break 2
4127 done
4128 done
4129 IFS=$as_save_IFS
4133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4134 if test -n "$ac_ct_CC"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4136 $as_echo "$ac_ct_CC" >&6; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4143 test -n "$ac_ct_CC" && break
4144 done
4146 if test "x$ac_ct_CC" = x; then
4147 CC=""
4148 else
4149 case $cross_compiling:$ac_tool_warned in
4150 yes:)
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4153 ac_tool_warned=yes ;;
4154 esac
4155 CC=$ac_ct_CC
4162 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $? "no acceptable C compiler found in \$PATH
4165 See \`config.log' for more details" "$LINENO" 5; }
4167 # Provide some information about the compiler.
4168 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4169 set X $ac_compile
4170 ac_compiler=$2
4171 for ac_option in --version -v -V -qversion; do
4172 { { ac_try="$ac_compiler $ac_option >&5"
4173 case "(($ac_try" in
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4176 esac
4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4178 $as_echo "$ac_try_echo"; } >&5
4179 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4180 ac_status=$?
4181 if test -s conftest.err; then
4182 sed '10a\
4183 ... rest of stderr output deleted ...
4184 10q' conftest.err >conftest.er1
4185 cat conftest.er1 >&5
4187 rm -f conftest.er1 conftest.err
4188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189 test $ac_status = 0; }
4190 done
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4196 main ()
4200 return 0;
4202 _ACEOF
4203 ac_clean_files_save=$ac_clean_files
4204 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4205 # Try to create an executable without -o first, disregard a.out.
4206 # It will help us diagnose broken compilers, and finding out an intuition
4207 # of exeext.
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4209 $as_echo_n "checking whether the C compiler works... " >&6; }
4210 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4212 # The possible output files:
4213 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4215 ac_rmfiles=
4216 for ac_file in $ac_files
4218 case $ac_file in
4219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4220 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4221 esac
4222 done
4223 rm -f $ac_rmfiles
4225 if { { ac_try="$ac_link_default"
4226 case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4229 esac
4230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4231 $as_echo "$ac_try_echo"; } >&5
4232 (eval "$ac_link_default") 2>&5
4233 ac_status=$?
4234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4235 test $ac_status = 0; }; then :
4236 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4237 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4238 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4239 # so that the user can short-circuit this test for compilers unknown to
4240 # Autoconf.
4241 for ac_file in $ac_files ''
4243 test -f "$ac_file" || continue
4244 case $ac_file in
4245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4247 [ab].out )
4248 # We found the default executable, but exeext='' is most
4249 # certainly right.
4250 break;;
4251 *.* )
4252 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4253 then :; else
4254 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4256 # We set ac_cv_exeext here because the later test for it is not
4257 # safe: cross compilers may not add the suffix if given an `-o'
4258 # argument, so we may need to know it at that point already.
4259 # Even if this section looks crufty: it has the advantage of
4260 # actually working.
4261 break;;
4263 break;;
4264 esac
4265 done
4266 test "$ac_cv_exeext" = no && ac_cv_exeext=
4268 else
4269 ac_file=''
4271 if test -z "$ac_file"; then :
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4274 $as_echo "$as_me: failed program was:" >&5
4275 sed 's/^/| /' conftest.$ac_ext >&5
4277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4279 as_fn_error 77 "C compiler cannot create executables
4280 See \`config.log' for more details" "$LINENO" 5; }
4281 else
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4283 $as_echo "yes" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4286 $as_echo_n "checking for C compiler default output file name... " >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4288 $as_echo "$ac_file" >&6; }
4289 ac_exeext=$ac_cv_exeext
4291 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4292 ac_clean_files=$ac_clean_files_save
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4294 $as_echo_n "checking for suffix of executables... " >&6; }
4295 if { { ac_try="$ac_link"
4296 case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_link") 2>&5
4303 ac_status=$?
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }; then :
4306 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4307 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4308 # work properly (i.e., refer to `conftest.exe'), while it won't with
4309 # `rm'.
4310 for ac_file in conftest.exe conftest conftest.*; do
4311 test -f "$ac_file" || continue
4312 case $ac_file in
4313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4314 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4315 break;;
4316 * ) break;;
4317 esac
4318 done
4319 else
4320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4323 See \`config.log' for more details" "$LINENO" 5; }
4325 rm -f conftest conftest$ac_cv_exeext
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4327 $as_echo "$ac_cv_exeext" >&6; }
4329 rm -f conftest.$ac_ext
4330 EXEEXT=$ac_cv_exeext
4331 ac_exeext=$EXEEXT
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdio.h>
4336 main ()
4338 FILE *f = fopen ("conftest.out", "w");
4339 return ferror (f) || fclose (f) != 0;
4342 return 0;
4344 _ACEOF
4345 ac_clean_files="$ac_clean_files conftest.out"
4346 # Check that the compiler produces executables we can run. If not, either
4347 # the compiler is broken, or we cross compile.
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4349 $as_echo_n "checking whether we are cross compiling... " >&6; }
4350 if test "$cross_compiling" != yes; then
4351 { { ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4357 $as_echo "$ac_try_echo"; } >&5
4358 (eval "$ac_link") 2>&5
4359 ac_status=$?
4360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361 test $ac_status = 0; }
4362 if { ac_try='./conftest$ac_cv_exeext'
4363 { { case "(($ac_try" in
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4366 esac
4367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4368 $as_echo "$ac_try_echo"; } >&5
4369 (eval "$ac_try") 2>&5
4370 ac_status=$?
4371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372 test $ac_status = 0; }; }; then
4373 cross_compiling=no
4374 else
4375 if test "$cross_compiling" = maybe; then
4376 cross_compiling=yes
4377 else
4378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4380 as_fn_error $? "cannot run C compiled programs.
4381 If you meant to cross compile, use \`--host'.
4382 See \`config.log' for more details" "$LINENO" 5; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4387 $as_echo "$cross_compiling" >&6; }
4389 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4390 ac_clean_files=$ac_clean_files_save
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4392 $as_echo_n "checking for suffix of object files... " >&6; }
4393 if ${ac_cv_objext+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4400 main ()
4404 return 0;
4406 _ACEOF
4407 rm -f conftest.o conftest.obj
4408 if { { ac_try="$ac_compile"
4409 case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4412 esac
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415 (eval "$ac_compile") 2>&5
4416 ac_status=$?
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }; then :
4419 for ac_file in conftest.o conftest.obj conftest.*; do
4420 test -f "$ac_file" || continue;
4421 case $ac_file in
4422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4423 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4424 break;;
4425 esac
4426 done
4427 else
4428 $as_echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.$ac_ext >&5
4431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4433 as_fn_error $? "cannot compute suffix of object files: cannot compile
4434 See \`config.log' for more details" "$LINENO" 5; }
4436 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4439 $as_echo "$ac_cv_objext" >&6; }
4440 OBJEXT=$ac_cv_objext
4441 ac_objext=$OBJEXT
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4443 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4444 if ${ac_cv_c_compiler_gnu+:} false; then :
4445 $as_echo_n "(cached) " >&6
4446 else
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4451 main ()
4453 #ifndef __GNUC__
4454 choke me
4455 #endif
4458 return 0;
4460 _ACEOF
4461 if ac_fn_c_try_compile "$LINENO"; then :
4462 ac_compiler_gnu=yes
4463 else
4464 ac_compiler_gnu=no
4466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4467 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4471 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4472 if test $ac_compiler_gnu = yes; then
4473 GCC=yes
4474 else
4475 GCC=
4477 ac_test_CFLAGS=${CFLAGS+set}
4478 ac_save_CFLAGS=$CFLAGS
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4480 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4481 if ${ac_cv_prog_cc_g+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 ac_save_c_werror_flag=$ac_c_werror_flag
4485 ac_c_werror_flag=yes
4486 ac_cv_prog_cc_g=no
4487 CFLAGS="-g"
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 if ac_fn_c_try_compile "$LINENO"; then :
4500 ac_cv_prog_cc_g=yes
4501 else
4502 CFLAGS=""
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 main ()
4511 return 0;
4513 _ACEOF
4514 if ac_fn_c_try_compile "$LINENO"; then :
4516 else
4517 ac_c_werror_flag=$ac_save_c_werror_flag
4518 CFLAGS="-g"
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4523 main ()
4527 return 0;
4529 _ACEOF
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531 ac_cv_prog_cc_g=yes
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 ac_c_werror_flag=$ac_save_c_werror_flag
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4541 $as_echo "$ac_cv_prog_cc_g" >&6; }
4542 if test "$ac_test_CFLAGS" = set; then
4543 CFLAGS=$ac_save_CFLAGS
4544 elif test $ac_cv_prog_cc_g = yes; then
4545 if test "$GCC" = yes; then
4546 CFLAGS="-g -O2"
4547 else
4548 CFLAGS="-g"
4550 else
4551 if test "$GCC" = yes; then
4552 CFLAGS="-O2"
4553 else
4554 CFLAGS=
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4558 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4559 if ${ac_cv_prog_cc_c89+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_cv_prog_cc_c89=no
4563 ac_save_CC=$CC
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4566 #include <stdarg.h>
4567 #include <stdio.h>
4568 struct stat;
4569 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4570 struct buf { int x; };
4571 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4572 static char *e (p, i)
4573 char **p;
4574 int i;
4576 return p[i];
4578 static char *f (char * (*g) (char **, int), char **p, ...)
4580 char *s;
4581 va_list v;
4582 va_start (v,p);
4583 s = g (p, va_arg (v,int));
4584 va_end (v);
4585 return s;
4588 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4589 function prototypes and stuff, but not '\xHH' hex character constants.
4590 These don't provoke an error unfortunately, instead are silently treated
4591 as 'x'. The following induces an error, until -std is added to get
4592 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4593 array size at least. It's necessary to write '\x00'==0 to get something
4594 that's true only with -std. */
4595 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4597 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4598 inside strings and character constants. */
4599 #define FOO(x) 'x'
4600 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4602 int test (int i, double x);
4603 struct s1 {int (*f) (int a);};
4604 struct s2 {int (*f) (double a);};
4605 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4606 int argc;
4607 char **argv;
4609 main ()
4611 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4613 return 0;
4615 _ACEOF
4616 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4617 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4619 CC="$ac_save_CC $ac_arg"
4620 if ac_fn_c_try_compile "$LINENO"; then :
4621 ac_cv_prog_cc_c89=$ac_arg
4623 rm -f core conftest.err conftest.$ac_objext
4624 test "x$ac_cv_prog_cc_c89" != "xno" && break
4625 done
4626 rm -f conftest.$ac_ext
4627 CC=$ac_save_CC
4630 # AC_CACHE_VAL
4631 case "x$ac_cv_prog_cc_c89" in
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4634 $as_echo "none needed" >&6; } ;;
4635 xno)
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4637 $as_echo "unsupported" >&6; } ;;
4639 CC="$CC $ac_cv_prog_cc_c89"
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4641 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4642 esac
4643 if test "x$ac_cv_prog_cc_c89" != xno; then :
4647 ac_ext=c
4648 ac_cpp='$CPP $CPPFLAGS'
4649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4653 ac_ext=cpp
4654 ac_cpp='$CXXCPP $CPPFLAGS'
4655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4658 if test -z "$CXX"; then
4659 if test -n "$CCC"; then
4660 CXX=$CCC
4661 else
4662 if test -n "$ac_tool_prefix"; then
4663 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if ${ac_cv_prog_CXX+:} false; then :
4670 $as_echo_n "(cached) " >&6
4671 else
4672 if test -n "$CXX"; then
4673 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4674 else
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH
4678 IFS=$as_save_IFS
4679 test -z "$as_dir" && as_dir=.
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 break 2
4686 done
4687 done
4688 IFS=$as_save_IFS
4692 CXX=$ac_cv_prog_CXX
4693 if test -n "$CXX"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4695 $as_echo "$CXX" >&6; }
4696 else
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4702 test -n "$CXX" && break
4703 done
4705 if test -z "$CXX"; then
4706 ac_ct_CXX=$CXX
4707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4709 # Extract the first word of "$ac_prog", so it can be a program name with args.
4710 set dummy $ac_prog; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if test -n "$ac_ct_CXX"; then
4717 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_ac_ct_CXX="$ac_prog"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4737 if test -n "$ac_ct_CXX"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4739 $as_echo "$ac_ct_CXX" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4746 test -n "$ac_ct_CXX" && break
4747 done
4749 if test "x$ac_ct_CXX" = x; then
4750 CXX="g++"
4751 else
4752 case $cross_compiling:$ac_tool_warned in
4753 yes:)
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4756 ac_tool_warned=yes ;;
4757 esac
4758 CXX=$ac_ct_CXX
4764 # Provide some information about the compiler.
4765 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4766 set X $ac_compile
4767 ac_compiler=$2
4768 for ac_option in --version -v -V -qversion; do
4769 { { ac_try="$ac_compiler $ac_option >&5"
4770 case "(($ac_try" in
4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4772 *) ac_try_echo=$ac_try;;
4773 esac
4774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4775 $as_echo "$ac_try_echo"; } >&5
4776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4777 ac_status=$?
4778 if test -s conftest.err; then
4779 sed '10a\
4780 ... rest of stderr output deleted ...
4781 10q' conftest.err >conftest.er1
4782 cat conftest.er1 >&5
4784 rm -f conftest.er1 conftest.err
4785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786 test $ac_status = 0; }
4787 done
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4790 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4791 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 main ()
4800 #ifndef __GNUC__
4801 choke me
4802 #endif
4805 return 0;
4807 _ACEOF
4808 if ac_fn_cxx_try_compile "$LINENO"; then :
4809 ac_compiler_gnu=yes
4810 else
4811 ac_compiler_gnu=no
4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4818 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4819 if test $ac_compiler_gnu = yes; then
4820 GXX=yes
4821 else
4822 GXX=
4824 ac_test_CXXFLAGS=${CXXFLAGS+set}
4825 ac_save_CXXFLAGS=$CXXFLAGS
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4827 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4828 if ${ac_cv_prog_cxx_g+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4832 ac_cxx_werror_flag=yes
4833 ac_cv_prog_cxx_g=no
4834 CXXFLAGS="-g"
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4839 main ()
4843 return 0;
4845 _ACEOF
4846 if ac_fn_cxx_try_compile "$LINENO"; then :
4847 ac_cv_prog_cxx_g=yes
4848 else
4849 CXXFLAGS=""
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4854 main ()
4858 return 0;
4860 _ACEOF
4861 if ac_fn_cxx_try_compile "$LINENO"; then :
4863 else
4864 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4865 CXXFLAGS="-g"
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4870 main ()
4874 return 0;
4876 _ACEOF
4877 if ac_fn_cxx_try_compile "$LINENO"; then :
4878 ac_cv_prog_cxx_g=yes
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4888 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4889 if test "$ac_test_CXXFLAGS" = set; then
4890 CXXFLAGS=$ac_save_CXXFLAGS
4891 elif test $ac_cv_prog_cxx_g = yes; then
4892 if test "$GXX" = yes; then
4893 CXXFLAGS="-g -O2"
4894 else
4895 CXXFLAGS="-g"
4897 else
4898 if test "$GXX" = yes; then
4899 CXXFLAGS="-O2"
4900 else
4901 CXXFLAGS=
4904 ac_ext=c
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4910 if test -n "$ac_tool_prefix"; then
4911 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4912 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if ${ac_cv_prog_CPPBIN+:} false; then :
4916 $as_echo_n "(cached) " >&6
4917 else
4918 if test -n "$CPPBIN"; then
4919 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4920 else
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 for as_dir in $PATH
4924 IFS=$as_save_IFS
4925 test -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4928 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 break 2
4932 done
4933 done
4934 IFS=$as_save_IFS
4938 CPPBIN=$ac_cv_prog_CPPBIN
4939 if test -n "$CPPBIN"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4941 $as_echo "$CPPBIN" >&6; }
4942 else
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4949 if test -z "$ac_cv_prog_CPPBIN"; then
4950 ac_ct_CPPBIN=$CPPBIN
4951 # Extract the first word of "cpp", so it can be a program name with args.
4952 set dummy cpp; ac_word=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 if test -n "$ac_ct_CPPBIN"; then
4959 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4960 else
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 for as_dir in $PATH
4964 IFS=$as_save_IFS
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CPPBIN="cpp"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 break 2
4972 done
4973 done
4974 IFS=$as_save_IFS
4978 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4979 if test -n "$ac_ct_CPPBIN"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4981 $as_echo "$ac_ct_CPPBIN" >&6; }
4982 else
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4987 if test "x$ac_ct_CPPBIN" = x; then
4988 CPPBIN="cpp"
4989 else
4990 case $cross_compiling:$ac_tool_warned in
4991 yes:)
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4995 esac
4996 CPPBIN=$ac_ct_CPPBIN
4998 else
4999 CPPBIN="$ac_cv_prog_CPPBIN"
5003 cat >>confdefs.h <<_ACEOF
5004 #define EXEEXT "$ac_exeext"
5005 _ACEOF
5007 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5009 set dummy ${ac_tool_prefix}ld; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if ${ac_cv_prog_LD+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 if test -n "$LD"; then
5016 ac_cv_prog_LD="$LD" # Let the user override the test.
5017 else
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 for as_dir in $PATH
5021 IFS=$as_save_IFS
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_LD="${ac_tool_prefix}ld"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 break 2
5029 done
5030 done
5031 IFS=$as_save_IFS
5035 LD=$ac_cv_prog_LD
5036 if test -n "$LD"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5038 $as_echo "$LD" >&6; }
5039 else
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5046 if test -z "$ac_cv_prog_LD"; then
5047 ac_ct_LD=$LD
5048 # Extract the first word of "ld", so it can be a program name with args.
5049 set dummy ld; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$ac_ct_LD"; then
5056 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5065 ac_cv_prog_ac_ct_LD="ld"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5076 if test -n "$ac_ct_LD"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5078 $as_echo "$ac_ct_LD" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5084 if test "x$ac_ct_LD" = x; then
5085 LD=""
5086 else
5087 case $cross_compiling:$ac_tool_warned in
5088 yes:)
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5091 ac_tool_warned=yes ;;
5092 esac
5093 LD=$ac_ct_LD
5095 else
5096 LD="$ac_cv_prog_LD"
5100 case $host in
5101 *-darwin*)
5102 with_fontconfig=${with_fontconfig:-no}
5104 *-mingw32*|*-cygwin*)
5105 enable_win16=${enable_win16:-no}
5106 CFLAGS="$CFLAGS -D_WIN32"
5108 esac
5110 case $host in
5111 x86_64*|amd64*)
5112 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5113 then
5114 CC="$CC -m32"
5115 CXX="$CXX -m32"
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5117 $as_echo_n "checking whether $CC works... " >&6; }
5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120 /* end confdefs.h. */
5123 main ()
5127 return 0;
5129 _ACEOF
5130 if ac_fn_c_try_link "$LINENO"; then :
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5132 $as_echo "yes" >&6; }
5133 else
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5138 rm -f core conftest.err conftest.$ac_objext \
5139 conftest$ac_exeext conftest.$ac_ext
5140 host_cpu="i386"
5141 notice_platform="32-bit "
5142 TARGETFLAGS="-m32"
5144 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5145 export PKG_CONFIG_PATH
5146 enable_win16=${enable_win16:-yes}
5147 else
5148 if test "x${GCC}" = "xyes"
5149 then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5151 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #include <stdarg.h>
5156 main ()
5158 void func(__builtin_ms_va_list *args);
5160 return 0;
5162 _ACEOF
5163 if ac_fn_c_try_compile "$LINENO"; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5165 $as_echo "yes" >&6; }
5166 else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5173 CC="$CC -m64"
5174 CXX="$CXX -m64"
5175 host_cpu="x86_64"
5176 notice_platform="64-bit "
5177 TARGETFLAGS="-m64"
5181 arm*)
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5183 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5186 int ac_test(int i) { return i; }
5188 main ()
5190 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5192 return 0;
5194 _ACEOF
5195 if ac_fn_c_try_link "$LINENO"; then :
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5197 $as_echo "yes" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5201 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5203 rm -f core conftest.err conftest.$ac_objext \
5204 conftest$ac_exeext conftest.$ac_ext
5205 CFLAGS="$CFLAGS -marm"
5206 TARGETFLAGS="-marm"
5209 i[3456789]86*)
5210 enable_win16=${enable_win16:-yes}
5212 esac
5214 enable_win16=${enable_win16:-no}
5215 enable_win64=${enable_win64:-no}
5217 enable_winetest=${enable_winetest:-$enable_tests}
5219 if test -n "$with_wine64"
5220 then
5221 if test "x$enable_win64" = "xyes"
5222 then
5223 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5224 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5226 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5227 You should create a separate build directory and run configure from there." "$LINENO" 5
5228 enable_fonts=${enable_fonts:-no}
5229 enable_server=${enable_server:-no}
5230 elif test "x$enable_win64" = "xyes"
5231 then
5232 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5236 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5237 if ${wine_cv_toolsdir+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 wine_cv_toolsdir="$with_wine_tools"
5241 if test -z "$with_wine_tools"; then
5242 if test "$cross_compiling" = "yes"; then
5243 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5244 elif test -n "$with_wine64"; then
5245 wine_cv_toolsdir="$with_wine64"
5248 if test -z "$wine_cv_toolsdir"; then
5249 wine_makedep=tools/makedep
5250 wine_cv_toolsdir="\$(top_builddir)"
5251 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5252 wine_makedep=$wine_cv_toolsdir/tools/makedep
5253 case "$wine_cv_toolsdir" in
5254 /*) ;;
5255 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5256 esac
5257 enable_tools=${enable_tools:-no}
5258 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5259 else
5260 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5264 $as_echo "$wine_cv_toolsdir" >&6; }
5265 TOOLSDIR=$wine_cv_toolsdir
5267 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5268 then
5269 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5273 for ac_prog in flex
5275 # Extract the first word of "$ac_prog", so it can be a program name with args.
5276 set dummy $ac_prog; ac_word=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_FLEX+:} false; then :
5280 $as_echo_n "(cached) " >&6
5281 else
5282 if test -n "$FLEX"; then
5283 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5284 else
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH
5288 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=.
5290 for ac_exec_ext in '' $ac_executable_extensions; do
5291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_FLEX="$ac_prog"
5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 break 2
5296 done
5297 done
5298 IFS=$as_save_IFS
5302 FLEX=$ac_cv_prog_FLEX
5303 if test -n "$FLEX"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5305 $as_echo "$FLEX" >&6; }
5306 else
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5312 test -n "$FLEX" && break
5313 done
5314 test -n "$FLEX" || FLEX="none"
5316 if test "$FLEX" = "none"
5317 then
5318 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5321 $as_echo_n "checking whether flex is recent enough... " >&6; }
5322 cat >conftest.l <<EOF
5323 %top{
5324 #include "prediluvian.h"
5328 if $FLEX -t conftest.l >/dev/null 2>&5
5329 then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5331 $as_echo "yes" >&6; }
5332 else
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5335 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5338 for ac_prog in bison
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_BISON+:} false; then :
5345 $as_echo_n "(cached) " >&6
5346 else
5347 if test -n "$BISON"; then
5348 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5349 else
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 for as_dir in $PATH
5353 IFS=$as_save_IFS
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5357 ac_cv_prog_BISON="$ac_prog"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 break 2
5361 done
5362 done
5363 IFS=$as_save_IFS
5367 BISON=$ac_cv_prog_BISON
5368 if test -n "$BISON"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5370 $as_echo "$BISON" >&6; }
5371 else
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5377 test -n "$BISON" && break
5378 done
5379 test -n "$BISON" || BISON="none"
5381 if test "$BISON" = "none"
5382 then
5383 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5386 if test -n "$ac_tool_prefix"; then
5387 for ac_prog in ar gar
5389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5390 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_AR+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -n "$AR"; then
5397 ac_cv_prog_AR="$AR" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 AR=$ac_cv_prog_AR
5417 if test -n "$AR"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5419 $as_echo "$AR" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5426 test -n "$AR" && break
5427 done
5429 if test -z "$AR"; then
5430 ac_ct_AR=$AR
5431 for ac_prog in ar gar
5433 # Extract the first word of "$ac_prog", so it can be a program name with args.
5434 set dummy $ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if test -n "$ac_ct_AR"; then
5441 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ac_ct_AR="$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5461 if test -n "$ac_ct_AR"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5463 $as_echo "$ac_ct_AR" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5470 test -n "$ac_ct_AR" && break
5471 done
5473 if test "x$ac_ct_AR" = x; then
5474 AR="ar"
5475 else
5476 case $cross_compiling:$ac_tool_warned in
5477 yes:)
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned=yes ;;
5481 esac
5482 AR=$ac_ct_AR
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_STRIP+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5517 $as_echo "$STRIP" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5532 $as_echo_n "(cached) " >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5557 $as_echo "$ac_ct_STRIP" >&6; }
5558 else
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5570 ac_tool_warned=yes ;;
5571 esac
5572 STRIP=$ac_ct_STRIP
5574 else
5575 STRIP="$ac_cv_prog_STRIP"
5578 ARFLAGS=rc
5580 if test -n "$ac_tool_prefix"; then
5581 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5582 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_RANLIB+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 if test -n "$RANLIB"; then
5589 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5604 IFS=$as_save_IFS
5608 RANLIB=$ac_cv_prog_RANLIB
5609 if test -n "$RANLIB"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5611 $as_echo "$RANLIB" >&6; }
5612 else
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5619 if test -z "$ac_cv_prog_RANLIB"; then
5620 ac_ct_RANLIB=$RANLIB
5621 # Extract the first word of "ranlib", so it can be a program name with args.
5622 set dummy ranlib; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if test -n "$ac_ct_RANLIB"; then
5629 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_ac_ct_RANLIB="ranlib"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 break 2
5642 done
5643 done
5644 IFS=$as_save_IFS
5648 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5649 if test -n "$ac_ct_RANLIB"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5651 $as_echo "$ac_ct_RANLIB" >&6; }
5652 else
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5657 if test "x$ac_ct_RANLIB" = x; then
5658 RANLIB=":"
5659 else
5660 case $cross_compiling:$ac_tool_warned in
5661 yes:)
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5664 ac_tool_warned=yes ;;
5665 esac
5666 RANLIB=$ac_ct_RANLIB
5668 else
5669 RANLIB="$ac_cv_prog_RANLIB"
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5673 $as_echo_n "checking whether ln -s works... " >&6; }
5674 LN_S=$as_ln_s
5675 if test "$LN_S" = "ln -s"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5677 $as_echo "yes" >&6; }
5678 else
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5680 $as_echo "no, using $LN_S" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5684 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5685 if ${ac_cv_path_GREP+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -z "$GREP"; then
5689 ac_path_GREP_found=false
5690 # Loop through the user's path and test for each of PROGNAME-LIST
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_prog in grep ggrep; do
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5699 as_fn_executable_p "$ac_path_GREP" || continue
5700 # Check for GNU ac_path_GREP and select it if it is found.
5701 # Check for GNU $ac_path_GREP
5702 case `"$ac_path_GREP" --version 2>&1` in
5703 *GNU*)
5704 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5706 ac_count=0
5707 $as_echo_n 0123456789 >"conftest.in"
5708 while :
5710 cat "conftest.in" "conftest.in" >"conftest.tmp"
5711 mv "conftest.tmp" "conftest.in"
5712 cp "conftest.in" "conftest.nl"
5713 $as_echo 'GREP' >> "conftest.nl"
5714 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5715 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5716 as_fn_arith $ac_count + 1 && ac_count=$as_val
5717 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5718 # Best one so far, save it but keep looking for a better one
5719 ac_cv_path_GREP="$ac_path_GREP"
5720 ac_path_GREP_max=$ac_count
5722 # 10*(2^10) chars as input seems more than enough
5723 test $ac_count -gt 10 && break
5724 done
5725 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5726 esac
5728 $ac_path_GREP_found && break 3
5729 done
5730 done
5731 done
5732 IFS=$as_save_IFS
5733 if test -z "$ac_cv_path_GREP"; then
5734 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5736 else
5737 ac_cv_path_GREP=$GREP
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5742 $as_echo "$ac_cv_path_GREP" >&6; }
5743 GREP="$ac_cv_path_GREP"
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5747 $as_echo_n "checking for egrep... " >&6; }
5748 if ${ac_cv_path_EGREP+:} false; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5752 then ac_cv_path_EGREP="$GREP -E"
5753 else
5754 if test -z "$EGREP"; then
5755 ac_path_EGREP_found=false
5756 # Loop through the user's path and test for each of PROGNAME-LIST
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5760 IFS=$as_save_IFS
5761 test -z "$as_dir" && as_dir=.
5762 for ac_prog in egrep; do
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5765 as_fn_executable_p "$ac_path_EGREP" || continue
5766 # Check for GNU ac_path_EGREP and select it if it is found.
5767 # Check for GNU $ac_path_EGREP
5768 case `"$ac_path_EGREP" --version 2>&1` in
5769 *GNU*)
5770 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5772 ac_count=0
5773 $as_echo_n 0123456789 >"conftest.in"
5774 while :
5776 cat "conftest.in" "conftest.in" >"conftest.tmp"
5777 mv "conftest.tmp" "conftest.in"
5778 cp "conftest.in" "conftest.nl"
5779 $as_echo 'EGREP' >> "conftest.nl"
5780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5781 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5782 as_fn_arith $ac_count + 1 && ac_count=$as_val
5783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5784 # Best one so far, save it but keep looking for a better one
5785 ac_cv_path_EGREP="$ac_path_EGREP"
5786 ac_path_EGREP_max=$ac_count
5788 # 10*(2^10) chars as input seems more than enough
5789 test $ac_count -gt 10 && break
5790 done
5791 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5792 esac
5794 $ac_path_EGREP_found && break 3
5795 done
5796 done
5797 done
5798 IFS=$as_save_IFS
5799 if test -z "$ac_cv_path_EGREP"; then
5800 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5802 else
5803 ac_cv_path_EGREP=$EGREP
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5809 $as_echo "$ac_cv_path_EGREP" >&6; }
5810 EGREP="$ac_cv_path_EGREP"
5813 # Extract the first word of "ldconfig", so it can be a program name with args.
5814 set dummy ldconfig; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_path_LDCONFIG+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 case $LDCONFIG in
5821 [\\/]* | ?:[\\/]*)
5822 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in /sbin /usr/sbin $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5840 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5842 esac
5844 LDCONFIG=$ac_cv_path_LDCONFIG
5845 if test -n "$LDCONFIG"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5847 $as_echo "$LDCONFIG" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5854 for ac_prog in msgfmt
5856 # Extract the first word of "$ac_prog", so it can be a program name with args.
5857 set dummy $ac_prog; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_MSGFMT+:} false; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 if test -n "$MSGFMT"; then
5864 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5869 IFS=$as_save_IFS
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_MSGFMT="$ac_prog"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 break 2
5877 done
5878 done
5879 IFS=$as_save_IFS
5883 MSGFMT=$ac_cv_prog_MSGFMT
5884 if test -n "$MSGFMT"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5886 $as_echo "$MSGFMT" >&6; }
5887 else
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5893 test -n "$MSGFMT" && break
5894 done
5895 test -n "$MSGFMT" || MSGFMT="false"
5897 if ${ac_tool_prefix+:} false; then :
5898 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5899 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 if test -n "$PKG_CONFIG"; then
5906 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5919 done
5920 done
5921 IFS=$as_save_IFS
5925 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5926 if test -n "$PKG_CONFIG"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5928 $as_echo "$PKG_CONFIG" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5936 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5937 if test "x$cross_compiling" = xyes; then :
5939 else
5940 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5941 # Extract the first word of "pkg-config", so it can be a program name with args.
5942 set dummy pkg-config; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 if test -n "$PKG_CONFIG"; then
5949 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5950 else
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_PKG_CONFIG="pkg-config"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 break 2
5962 done
5963 done
5964 IFS=$as_save_IFS
5968 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5969 if test -n "$PKG_CONFIG"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5971 $as_echo "$PKG_CONFIG" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5979 else
5980 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5983 if test "x$enable_maintainer_mode" != "xyes"
5984 then
5985 FONTFORGE=""
5986 RSVG=""
5987 CONVERT=""
5988 ICOTOOL=""
5989 else
5990 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5991 for ac_prog in fontforge
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_FONTFORGE+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$FONTFORGE"; then
6001 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_FONTFORGE="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 FONTFORGE=$ac_cv_prog_FONTFORGE
6021 if test -n "$FONTFORGE"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6023 $as_echo "$FONTFORGE" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$FONTFORGE" && break
6031 done
6032 test -n "$FONTFORGE" || FONTFORGE="false"
6034 for ac_prog in rsvg-convert rsvg
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy $ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_RSVG+:} false; then :
6041 $as_echo_n "(cached) " >&6
6042 else
6043 if test -n "$RSVG"; then
6044 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6045 else
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 for as_dir in $PATH
6049 IFS=$as_save_IFS
6050 test -z "$as_dir" && as_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6053 ac_cv_prog_RSVG="$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 break 2
6057 done
6058 done
6059 IFS=$as_save_IFS
6063 RSVG=$ac_cv_prog_RSVG
6064 if test -n "$RSVG"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6066 $as_echo "$RSVG" >&6; }
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$RSVG" && break
6074 done
6075 test -n "$RSVG" || RSVG="false"
6077 for ac_prog in convert
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set dummy $ac_prog; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_CONVERT+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$CONVERT"; then
6087 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_CONVERT="$ac_prog"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6100 done
6101 done
6102 IFS=$as_save_IFS
6106 CONVERT=$ac_cv_prog_CONVERT
6107 if test -n "$CONVERT"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6109 $as_echo "$CONVERT" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6116 test -n "$CONVERT" && break
6117 done
6118 test -n "$CONVERT" || CONVERT="false"
6120 for ac_prog in icotool
6122 # Extract the first word of "$ac_prog", so it can be a program name with args.
6123 set dummy $ac_prog; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_ICOTOOL+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$ICOTOOL"; then
6130 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_ICOTOOL="$ac_prog"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 ICOTOOL=$ac_cv_prog_ICOTOOL
6150 if test -n "$ICOTOOL"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6152 $as_echo "$ICOTOOL" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6159 test -n "$ICOTOOL" && break
6160 done
6161 test -n "$ICOTOOL" || ICOTOOL="false"
6163 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6164 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6166 if test "$CONVERT" = false
6167 then
6168 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6171 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6172 convert_version=`convert --version | head -n1`
6173 if test "x$convert_version" != "x"
6174 then
6175 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6176 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6177 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6178 then
6179 CONVERT=false
6182 if test "$CONVERT" = false
6183 then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6185 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6186 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6187 else
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6189 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6193 if test "$ICOTOOL" = false
6194 then
6195 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6198 $as_echo_n "checking for recent enough icotool... " >&6; }
6199 icotool_version=`icotool --version | head -n1`
6200 if test "x$icotool_version" != "x"
6201 then
6202 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6203 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6204 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6205 then
6206 ICOTOOL=false
6207 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6210 if test "$ICOTOOL" = false
6211 then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6213 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6214 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6217 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6221 with_gettext=yes
6222 with_gettextpo=yes
6223 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6226 test "x$with_gettext" != xno || MSGFMT=false
6227 if test "$MSGFMT" != "false"
6228 then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6230 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6231 cat >conftest.po <<EOF
6232 # comment
6233 msgctxt "ctxt"
6234 msgid "id"
6235 msgstr "str"
6237 if $MSGFMT -o /dev/null conftest.po 2>&5
6238 then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6240 $as_echo "yes" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6244 MSGFMT=false
6247 if test "$MSGFMT" = false; then :
6248 case "x$with_gettext" in
6249 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6250 xno) ;;
6251 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6252 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6253 esac
6254 enable_po=${enable_po:-no}
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6259 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6260 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6261 $as_echo_n "(cached) " >&6
6262 else
6263 ac_check_lib_save_LIBS=$LIBS
6264 LIBS="-li386 $LIBS"
6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6268 /* Override any GCC internal prototype to avoid an error.
6269 Use char because int might match the return type of a GCC
6270 builtin and then its argument prototype would still apply. */
6271 #ifdef __cplusplus
6272 extern "C"
6273 #endif
6274 char i386_set_ldt ();
6276 main ()
6278 return i386_set_ldt ();
6280 return 0;
6282 _ACEOF
6283 if ac_fn_c_try_link "$LINENO"; then :
6284 ac_cv_lib_i386_i386_set_ldt=yes
6285 else
6286 ac_cv_lib_i386_i386_set_ldt=no
6288 rm -f core conftest.err conftest.$ac_objext \
6289 conftest$ac_exeext conftest.$ac_ext
6290 LIBS=$ac_check_lib_save_LIBS
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6293 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6294 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6295 cat >>confdefs.h <<_ACEOF
6296 #define HAVE_LIBI386 1
6297 _ACEOF
6299 LIBS="-li386 $LIBS"
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6304 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6305 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6306 $as_echo_n "(cached) " >&6
6307 else
6308 ac_check_lib_save_LIBS=$LIBS
6309 LIBS="-lossaudio $LIBS"
6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6313 /* Override any GCC internal prototype to avoid an error.
6314 Use char because int might match the return type of a GCC
6315 builtin and then its argument prototype would still apply. */
6316 #ifdef __cplusplus
6317 extern "C"
6318 #endif
6319 char _oss_ioctl ();
6321 main ()
6323 return _oss_ioctl ();
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_link "$LINENO"; then :
6329 ac_cv_lib_ossaudio__oss_ioctl=yes
6330 else
6331 ac_cv_lib_ossaudio__oss_ioctl=no
6333 rm -f core conftest.err conftest.$ac_objext \
6334 conftest$ac_exeext conftest.$ac_ext
6335 LIBS=$ac_check_lib_save_LIBS
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6338 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6339 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6340 cat >>confdefs.h <<_ACEOF
6341 #define HAVE_LIBOSSAUDIO 1
6342 _ACEOF
6344 LIBS="-lossaudio $LIBS"
6349 OPENGL_LIBS=""
6353 # Check whether --enable-largefile was given.
6354 if test "${enable_largefile+set}" = set; then :
6355 enableval=$enable_largefile;
6358 if test "$enable_largefile" != no; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6361 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6362 if ${ac_cv_sys_largefile_CC+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 ac_cv_sys_largefile_CC=no
6366 if test "$GCC" != yes; then
6367 ac_save_CC=$CC
6368 while :; do
6369 # IRIX 6.2 and later do not support large files by default,
6370 # so use the C compiler's -n32 option if that helps.
6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6373 #include <sys/types.h>
6374 /* Check that off_t can represent 2**63 - 1 correctly.
6375 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6376 since some C++ compilers masquerading as C compilers
6377 incorrectly reject 9223372036854775807. */
6378 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6379 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6380 && LARGE_OFF_T % 2147483647 == 1)
6381 ? 1 : -1];
6383 main ()
6387 return 0;
6389 _ACEOF
6390 if ac_fn_c_try_compile "$LINENO"; then :
6391 break
6393 rm -f core conftest.err conftest.$ac_objext
6394 CC="$CC -n32"
6395 if ac_fn_c_try_compile "$LINENO"; then :
6396 ac_cv_sys_largefile_CC=' -n32'; break
6398 rm -f core conftest.err conftest.$ac_objext
6399 break
6400 done
6401 CC=$ac_save_CC
6402 rm -f conftest.$ac_ext
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6406 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6407 if test "$ac_cv_sys_largefile_CC" != no; then
6408 CC=$CC$ac_cv_sys_largefile_CC
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6412 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6413 if ${ac_cv_sys_file_offset_bits+:} false; then :
6414 $as_echo_n "(cached) " >&6
6415 else
6416 while :; do
6417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6418 /* end confdefs.h. */
6419 #include <sys/types.h>
6420 /* Check that off_t can represent 2**63 - 1 correctly.
6421 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6422 since some C++ compilers masquerading as C compilers
6423 incorrectly reject 9223372036854775807. */
6424 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6425 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6426 && LARGE_OFF_T % 2147483647 == 1)
6427 ? 1 : -1];
6429 main ()
6433 return 0;
6435 _ACEOF
6436 if ac_fn_c_try_compile "$LINENO"; then :
6437 ac_cv_sys_file_offset_bits=no; break
6439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6442 #define _FILE_OFFSET_BITS 64
6443 #include <sys/types.h>
6444 /* Check that off_t can represent 2**63 - 1 correctly.
6445 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6446 since some C++ compilers masquerading as C compilers
6447 incorrectly reject 9223372036854775807. */
6448 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6449 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6450 && LARGE_OFF_T % 2147483647 == 1)
6451 ? 1 : -1];
6453 main ()
6457 return 0;
6459 _ACEOF
6460 if ac_fn_c_try_compile "$LINENO"; then :
6461 ac_cv_sys_file_offset_bits=64; break
6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6464 ac_cv_sys_file_offset_bits=unknown
6465 break
6466 done
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6469 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6470 case $ac_cv_sys_file_offset_bits in #(
6471 no | unknown) ;;
6473 cat >>confdefs.h <<_ACEOF
6474 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6475 _ACEOF
6477 esac
6478 rm -rf conftest*
6479 if test $ac_cv_sys_file_offset_bits = unknown; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6481 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6482 if ${ac_cv_sys_large_files+:} false; then :
6483 $as_echo_n "(cached) " >&6
6484 else
6485 while :; do
6486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6487 /* end confdefs.h. */
6488 #include <sys/types.h>
6489 /* Check that off_t can represent 2**63 - 1 correctly.
6490 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6491 since some C++ compilers masquerading as C compilers
6492 incorrectly reject 9223372036854775807. */
6493 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6494 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6495 && LARGE_OFF_T % 2147483647 == 1)
6496 ? 1 : -1];
6498 main ()
6502 return 0;
6504 _ACEOF
6505 if ac_fn_c_try_compile "$LINENO"; then :
6506 ac_cv_sys_large_files=no; break
6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6510 /* end confdefs.h. */
6511 #define _LARGE_FILES 1
6512 #include <sys/types.h>
6513 /* Check that off_t can represent 2**63 - 1 correctly.
6514 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6515 since some C++ compilers masquerading as C compilers
6516 incorrectly reject 9223372036854775807. */
6517 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6518 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6519 && LARGE_OFF_T % 2147483647 == 1)
6520 ? 1 : -1];
6522 main ()
6526 return 0;
6528 _ACEOF
6529 if ac_fn_c_try_compile "$LINENO"; then :
6530 ac_cv_sys_large_files=1; break
6532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6533 ac_cv_sys_large_files=unknown
6534 break
6535 done
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6538 $as_echo "$ac_cv_sys_large_files" >&6; }
6539 case $ac_cv_sys_large_files in #(
6540 no | unknown) ;;
6542 cat >>confdefs.h <<_ACEOF
6543 #define _LARGE_FILES $ac_cv_sys_large_files
6544 _ACEOF
6546 esac
6547 rm -rf conftest*
6554 ac_ext=c
6555 ac_cpp='$CPP $CPPFLAGS'
6556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6560 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6561 # On Suns, sometimes $CPP names a directory.
6562 if test -n "$CPP" && test -d "$CPP"; then
6563 CPP=
6565 if test -z "$CPP"; then
6566 if ${ac_cv_prog_CPP+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 # Double quotes because CPP needs to be expanded
6570 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6572 ac_preproc_ok=false
6573 for ac_c_preproc_warn_flag in '' yes
6575 # Use a header file that comes with gcc, so configuring glibc
6576 # with a fresh cross-compiler works.
6577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6578 # <limits.h> exists even on freestanding compilers.
6579 # On the NeXT, cc -E runs the code through the compiler's parser,
6580 # not just through cpp. "Syntax error" is here to catch this case.
6581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6583 #ifdef __STDC__
6584 # include <limits.h>
6585 #else
6586 # include <assert.h>
6587 #endif
6588 Syntax error
6589 _ACEOF
6590 if ac_fn_c_try_cpp "$LINENO"; then :
6592 else
6593 # Broken: fails on valid input.
6594 continue
6596 rm -f conftest.err conftest.i conftest.$ac_ext
6598 # OK, works on sane cases. Now check whether nonexistent headers
6599 # can be detected and how.
6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6602 #include <ac_nonexistent.h>
6603 _ACEOF
6604 if ac_fn_c_try_cpp "$LINENO"; then :
6605 # Broken: success on invalid input.
6606 continue
6607 else
6608 # Passes both tests.
6609 ac_preproc_ok=:
6610 break
6612 rm -f conftest.err conftest.i conftest.$ac_ext
6614 done
6615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6616 rm -f conftest.i conftest.err conftest.$ac_ext
6617 if $ac_preproc_ok; then :
6618 break
6621 done
6622 ac_cv_prog_CPP=$CPP
6625 CPP=$ac_cv_prog_CPP
6626 else
6627 ac_cv_prog_CPP=$CPP
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6630 $as_echo "$CPP" >&6; }
6631 ac_preproc_ok=false
6632 for ac_c_preproc_warn_flag in '' yes
6634 # Use a header file that comes with gcc, so configuring glibc
6635 # with a fresh cross-compiler works.
6636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6637 # <limits.h> exists even on freestanding compilers.
6638 # On the NeXT, cc -E runs the code through the compiler's parser,
6639 # not just through cpp. "Syntax error" is here to catch this case.
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #ifdef __STDC__
6643 # include <limits.h>
6644 #else
6645 # include <assert.h>
6646 #endif
6647 Syntax error
6648 _ACEOF
6649 if ac_fn_c_try_cpp "$LINENO"; then :
6651 else
6652 # Broken: fails on valid input.
6653 continue
6655 rm -f conftest.err conftest.i conftest.$ac_ext
6657 # OK, works on sane cases. Now check whether nonexistent headers
6658 # can be detected and how.
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <ac_nonexistent.h>
6662 _ACEOF
6663 if ac_fn_c_try_cpp "$LINENO"; then :
6664 # Broken: success on invalid input.
6665 continue
6666 else
6667 # Passes both tests.
6668 ac_preproc_ok=:
6669 break
6671 rm -f conftest.err conftest.i conftest.$ac_ext
6673 done
6674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6675 rm -f conftest.i conftest.err conftest.$ac_ext
6676 if $ac_preproc_ok; then :
6678 else
6679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6681 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6682 See \`config.log' for more details" "$LINENO" 5; }
6685 ac_ext=c
6686 ac_cpp='$CPP $CPPFLAGS'
6687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6693 $as_echo_n "checking for ANSI C header files... " >&6; }
6694 if ${ac_cv_header_stdc+:} false; then :
6695 $as_echo_n "(cached) " >&6
6696 else
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 #include <stdlib.h>
6700 #include <stdarg.h>
6701 #include <string.h>
6702 #include <float.h>
6705 main ()
6709 return 0;
6711 _ACEOF
6712 if ac_fn_c_try_compile "$LINENO"; then :
6713 ac_cv_header_stdc=yes
6714 else
6715 ac_cv_header_stdc=no
6717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6719 if test $ac_cv_header_stdc = yes; then
6720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6723 #include <string.h>
6725 _ACEOF
6726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6727 $EGREP "memchr" >/dev/null 2>&1; then :
6729 else
6730 ac_cv_header_stdc=no
6732 rm -f conftest*
6736 if test $ac_cv_header_stdc = yes; then
6737 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6740 #include <stdlib.h>
6742 _ACEOF
6743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6744 $EGREP "free" >/dev/null 2>&1; then :
6746 else
6747 ac_cv_header_stdc=no
6749 rm -f conftest*
6753 if test $ac_cv_header_stdc = yes; then
6754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6755 if test "$cross_compiling" = yes; then :
6757 else
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6760 #include <ctype.h>
6761 #include <stdlib.h>
6762 #if ((' ' & 0x0FF) == 0x020)
6763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6765 #else
6766 # define ISLOWER(c) \
6767 (('a' <= (c) && (c) <= 'i') \
6768 || ('j' <= (c) && (c) <= 'r') \
6769 || ('s' <= (c) && (c) <= 'z'))
6770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6771 #endif
6773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6775 main ()
6777 int i;
6778 for (i = 0; i < 256; i++)
6779 if (XOR (islower (i), ISLOWER (i))
6780 || toupper (i) != TOUPPER (i))
6781 return 2;
6782 return 0;
6784 _ACEOF
6785 if ac_fn_c_try_run "$LINENO"; then :
6787 else
6788 ac_cv_header_stdc=no
6790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6791 conftest.$ac_objext conftest.beam conftest.$ac_ext
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6797 $as_echo "$ac_cv_header_stdc" >&6; }
6798 if test $ac_cv_header_stdc = yes; then
6800 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6804 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6805 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6806 inttypes.h stdint.h unistd.h
6807 do :
6808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6809 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6811 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6812 cat >>confdefs.h <<_ACEOF
6813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6814 _ACEOF
6818 done
6821 for ac_header in \
6822 AL/al.h \
6823 ApplicationServices/ApplicationServices.h \
6824 AudioToolbox/AudioConverter.h \
6825 AudioUnit/AudioUnit.h \
6826 AudioUnit/AudioComponent.h \
6827 CL/cl.h \
6828 Carbon/Carbon.h \
6829 CommonCrypto/CommonDigest.h \
6830 CoreAudio/CoreAudio.h \
6831 CoreServices/CoreServices.h \
6832 DiskArbitration/DiskArbitration.h \
6833 IOKit/IOKitLib.h \
6834 IOKit/hid/IOHIDLib.h \
6835 OpenAL/al.h \
6836 OpenCL/opencl.h \
6837 QuickTime/ImageCompression.h \
6838 Security/Security.h \
6839 alias.h \
6840 alsa/asoundlib.h \
6841 arpa/inet.h \
6842 arpa/nameser.h \
6843 asm/types.h \
6844 asm/user.h \
6845 curses.h \
6846 direct.h \
6847 dirent.h \
6848 dlfcn.h \
6849 elf.h \
6850 float.h \
6851 fnmatch.h \
6852 getopt.h \
6853 gettext-po.h \
6854 grp.h \
6855 gsm.h \
6856 gsm/gsm.h \
6857 ieeefp.h \
6858 inet/mib2.h \
6859 io.h \
6860 kstat.h \
6861 lber.h \
6862 ldap.h \
6863 libproc.h \
6864 link.h \
6865 linux/cdrom.h \
6866 linux/compiler.h \
6867 linux/filter.h \
6868 linux/hdreg.h \
6869 linux/hidraw.h \
6870 linux/input.h \
6871 linux/ioctl.h \
6872 linux/joystick.h \
6873 linux/major.h \
6874 linux/param.h \
6875 linux/serial.h \
6876 linux/types.h \
6877 linux/ucdrom.h \
6878 lwp.h \
6879 mach-o/nlist.h \
6880 mach-o/loader.h \
6881 mach/mach.h \
6882 mach/machine.h \
6883 machine/cpu.h \
6884 machine/limits.h \
6885 machine/sysarch.h \
6886 mntent.h \
6887 ncurses.h \
6888 netdb.h \
6889 netinet/in.h \
6890 netinet/in_systm.h \
6891 netinet/tcp.h \
6892 netinet/tcp_fsm.h \
6893 pcap/pcap.h \
6894 poll.h \
6895 port.h \
6896 process.h \
6897 pthread.h \
6898 pwd.h \
6899 sched.h \
6900 scsi/scsi.h \
6901 scsi/scsi_ioctl.h \
6902 scsi/sg.h \
6903 stdbool.h \
6904 stdint.h \
6905 stropts.h \
6906 sys/asoundlib.h \
6907 sys/attr.h \
6908 sys/auxv.h \
6909 sys/cdio.h \
6910 sys/elf32.h \
6911 sys/epoll.h \
6912 sys/event.h \
6913 sys/exec_elf.h \
6914 sys/filio.h \
6915 sys/inotify.h \
6916 sys/ioctl.h \
6917 sys/ipc.h \
6918 sys/limits.h \
6919 sys/link.h \
6920 sys/mman.h \
6921 sys/modem.h \
6922 sys/msg.h \
6923 sys/mtio.h \
6924 sys/param.h \
6925 sys/poll.h \
6926 sys/prctl.h \
6927 sys/protosw.h \
6928 sys/ptrace.h \
6929 sys/queue.h \
6930 sys/resource.h \
6931 sys/scsiio.h \
6932 sys/shm.h \
6933 sys/signal.h \
6934 sys/socket.h \
6935 sys/socketvar.h \
6936 sys/sockio.h \
6937 sys/statvfs.h \
6938 sys/strtio.h \
6939 sys/syscall.h \
6940 sys/sysinfo.h \
6941 sys/tihdr.h \
6942 sys/time.h \
6943 sys/timeout.h \
6944 sys/times.h \
6945 sys/uio.h \
6946 sys/user.h \
6947 sys/utsname.h \
6948 sys/vm86.h \
6949 sys/vnode.h \
6950 sys/wait.h \
6951 syscall.h \
6952 termios.h \
6953 unistd.h \
6954 utime.h \
6955 valgrind/memcheck.h \
6956 valgrind/valgrind.h \
6957 zlib.h
6959 do :
6960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6962 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6963 cat >>confdefs.h <<_ACEOF
6964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6965 _ACEOF
6969 done
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6972 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6973 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6974 $as_echo_n "(cached) " >&6
6975 else
6976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977 /* end confdefs.h. */
6978 #include <sys/types.h>
6980 main ()
6982 return makedev(0, 0);
6984 return 0;
6986 _ACEOF
6987 if ac_fn_c_try_link "$LINENO"; then :
6988 ac_cv_header_sys_types_h_makedev=yes
6989 else
6990 ac_cv_header_sys_types_h_makedev=no
6992 rm -f core conftest.err conftest.$ac_objext \
6993 conftest$ac_exeext conftest.$ac_ext
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6997 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6999 if test $ac_cv_header_sys_types_h_makedev = no; then
7000 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7001 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7003 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7009 if test $ac_cv_header_sys_mkdev_h = no; then
7010 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7011 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7013 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7022 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7023 if ${ac_cv_header_stat_broken+:} false; then :
7024 $as_echo_n "(cached) " >&6
7025 else
7026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7028 #include <sys/types.h>
7029 #include <sys/stat.h>
7031 #if defined S_ISBLK && defined S_IFDIR
7032 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7033 #endif
7035 #if defined S_ISBLK && defined S_IFCHR
7036 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7037 #endif
7039 #if defined S_ISLNK && defined S_IFREG
7040 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7041 #endif
7043 #if defined S_ISSOCK && defined S_IFREG
7044 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7045 #endif
7047 _ACEOF
7048 if ac_fn_c_try_compile "$LINENO"; then :
7049 ac_cv_header_stat_broken=no
7050 else
7051 ac_cv_header_stat_broken=yes
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7056 $as_echo "$ac_cv_header_stat_broken" >&6; }
7057 if test $ac_cv_header_stat_broken = yes; then
7059 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7065 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7066 do :
7067 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7068 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7069 #ifdef HAVE_SYS_PARAM_H
7070 # include <sys/param.h>
7071 #endif
7073 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7074 cat >>confdefs.h <<_ACEOF
7075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7076 _ACEOF
7080 done
7083 for ac_header in \
7084 netinet/ip.h \
7085 net/if.h \
7086 net/if_arp.h \
7087 net/if_dl.h \
7088 net/if_types.h \
7089 net/route.h \
7090 netinet/if_ether.h \
7091 netinet/if_inarp.h \
7092 netinet/in_pcb.h \
7093 netinet/ip_icmp.h \
7094 netinet/ip_var.h \
7095 netinet/udp.h \
7096 netipx/ipx.h \
7097 sys/un.h \
7099 do :
7100 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7101 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7102 #ifdef HAVE_SYS_SOCKET_H
7103 # include <sys/socket.h>
7104 #endif
7105 #ifdef HAVE_SYS_SOCKETVAR_H
7106 # include <sys/socketvar.h>
7107 #endif
7108 #ifdef HAVE_NET_ROUTE_H
7109 # include <net/route.h>
7110 #endif
7111 #ifdef HAVE_NETINET_IN_H
7112 # include <netinet/in.h>
7113 #endif
7114 #ifdef HAVE_NETINET_IN_SYSTM_H
7115 # include <netinet/in_systm.h>
7116 #endif
7117 #ifdef HAVE_NET_IF_H
7118 # include <net/if.h>
7119 #endif
7120 #ifdef HAVE_NETINET_IP_H
7121 # include <netinet/ip.h>
7122 #endif
7124 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7125 cat >>confdefs.h <<_ACEOF
7126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7127 _ACEOF
7131 done
7134 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7135 do :
7136 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7137 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7138 #ifdef HAVE_ALIAS_H
7139 # include <alias.h>
7140 #endif
7141 #ifdef HAVE_SYS_SOCKET_H
7142 # include <sys/socket.h>
7143 #endif
7144 #ifdef HAVE_SYS_SOCKETVAR_H
7145 # include <sys/socketvar.h>
7146 #endif
7147 #ifdef HAVE_SYS_TIMEOUT_H
7148 # include <sys/timeout.h>
7149 #endif
7150 #ifdef HAVE_NETINET_IN_H
7151 # include <netinet/in.h>
7152 #endif
7153 #ifdef HAVE_NETINET_IN_SYSTM_H
7154 # include <netinet/in_systm.h>
7155 #endif
7156 #ifdef HAVE_NETINET_IP_H
7157 # include <netinet/ip.h>
7158 #endif
7159 #ifdef HAVE_NETINET_IP_VAR_H
7160 # include <netinet/ip_var.h>
7161 #endif
7162 #ifdef HAVE_NETINET_IP_ICMP_H
7163 # include <netinet/ip_icmp.h>
7164 #endif
7165 #ifdef HAVE_NETINET_UDP_H
7166 # include <netinet/udp.h>
7167 #endif
7168 #ifdef HAVE_NETINET_TCP_H
7169 # include <netinet/tcp.h>
7170 #endif
7171 #ifdef HAVE_NETINET_TCP_TIMER_H
7172 #include <netinet/tcp_timer.h>
7173 #endif
7175 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7176 cat >>confdefs.h <<_ACEOF
7177 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7178 _ACEOF
7182 done
7185 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7186 do :
7187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7189 #ifdef HAVE_ASM_TYPES_H
7190 # include <asm/types.h>
7191 #endif
7192 #ifdef HAVE_SYS_SOCKET_H
7193 # include <sys/socket.h>
7194 #endif
7195 #ifdef HAVE_LINUX_TYPES_H
7196 # include <linux/types.h>
7197 #endif
7199 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7202 _ACEOF
7206 done
7209 for ac_header in mach-o/dyld_images.h
7210 do :
7211 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7212 # include <stdbool.h>
7213 #endif
7214 #ifdef HAVE_STDINT_H
7215 # include <stdint.h>
7216 #endif
7218 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7219 cat >>confdefs.h <<_ACEOF
7220 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7221 _ACEOF
7225 done
7228 for ac_header in resolv.h
7229 do :
7230 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7231 #ifdef HAVE_SYS_SOCKET_H
7232 # include <sys/socket.h>
7233 #endif
7234 #ifdef HAVE_NETINET_IN_H
7235 # include <netinet/in.h>
7236 #endif
7237 #ifdef HAVE_ARPA_NAMESER_H
7238 # include <arpa/nameser.h>
7239 #endif
7241 if test "x$ac_cv_header_resolv_h" = xyes; then :
7242 cat >>confdefs.h <<_ACEOF
7243 #define HAVE_RESOLV_H 1
7244 _ACEOF
7248 done
7251 for ac_header in ifaddrs.h
7252 do :
7253 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7255 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7256 cat >>confdefs.h <<_ACEOF
7257 #define HAVE_IFADDRS_H 1
7258 _ACEOF
7262 done
7265 for ac_header in sys/ucontext.h
7266 do :
7267 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7269 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7270 cat >>confdefs.h <<_ACEOF
7271 #define HAVE_SYS_UCONTEXT_H 1
7272 _ACEOF
7276 done
7279 for ac_header in sys/thr.h
7280 do :
7281 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7282 #ifdef HAVE_SYS_UCONTEXT_H
7283 #include <sys/ucontext.h>
7284 #endif
7286 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7287 cat >>confdefs.h <<_ACEOF
7288 #define HAVE_SYS_THR_H 1
7289 _ACEOF
7293 done
7296 for ac_header in pthread_np.h
7297 do :
7298 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7299 #include <pthread.h>
7300 #endif
7302 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7303 cat >>confdefs.h <<_ACEOF
7304 #define HAVE_PTHREAD_NP_H 1
7305 _ACEOF
7309 done
7312 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7313 do :
7314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7315 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7316 #include <sys/time.h>
7317 #endif
7318 #include <sys/types.h>
7319 #ifdef HAVE_ASM_TYPES_H
7320 #include <asm/types.h>
7321 #endif
7323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7324 cat >>confdefs.h <<_ACEOF
7325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7326 _ACEOF
7330 done
7333 for ac_header in libprocstat.h
7334 do :
7335 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7336 #include <sys/param.h>
7337 #endif
7338 #ifdef HAVE_SYS_QUEUE_H
7339 #include <sys/queue.h>
7340 #endif
7341 #ifdef HAVE_SYS_SOCKET_H
7342 #include <sys/socket.h>
7343 #endif
7345 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define HAVE_LIBPROCSTAT_H 1
7348 _ACEOF
7352 done
7356 dlldir="\${libdir}/wine"
7358 DLLFLAGS="-D_REENTRANT"
7360 LDRPATH_INSTALL=""
7362 LDRPATH_LOCAL=""
7364 LDEXECFLAGS=""
7366 WINELOADER_LDFLAGS=""
7368 LIBEXT="so"
7369 DLLEXT=".so"
7370 IMPLIBEXT="def"
7371 # Extract the first word of "ldd", so it can be a program name with args.
7372 set dummy ldd; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if ${ac_cv_path_LDD+:} false; then :
7376 $as_echo_n "(cached) " >&6
7377 else
7378 case $LDD in
7379 [\\/]* | ?:[\\/]*)
7380 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 as_dummy="/sbin:/usr/sbin:$PATH"
7385 for as_dir in $as_dummy
7387 IFS=$as_save_IFS
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393 break 2
7395 done
7396 done
7397 IFS=$as_save_IFS
7399 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7401 esac
7403 LDD=$ac_cv_path_LDD
7404 if test -n "$LDD"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7406 $as_echo "$LDD" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7413 if test -n "$ac_tool_prefix"; then
7414 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7415 set dummy ${ac_tool_prefix}otool; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_OTOOL+:} false; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 if test -n "$OTOOL"; then
7422 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 break 2
7435 done
7436 done
7437 IFS=$as_save_IFS
7441 OTOOL=$ac_cv_prog_OTOOL
7442 if test -n "$OTOOL"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7444 $as_echo "$OTOOL" >&6; }
7445 else
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7452 if test -z "$ac_cv_prog_OTOOL"; then
7453 ac_ct_OTOOL=$OTOOL
7454 # Extract the first word of "otool", so it can be a program name with args.
7455 set dummy otool; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7459 $as_echo_n "(cached) " >&6
7460 else
7461 if test -n "$ac_ct_OTOOL"; then
7462 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7463 else
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465 for as_dir in $PATH
7467 IFS=$as_save_IFS
7468 test -z "$as_dir" && as_dir=.
7469 for ac_exec_ext in '' $ac_executable_extensions; do
7470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7471 ac_cv_prog_ac_ct_OTOOL="otool"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 break 2
7475 done
7476 done
7477 IFS=$as_save_IFS
7481 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7482 if test -n "$ac_ct_OTOOL"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7484 $as_echo "$ac_ct_OTOOL" >&6; }
7485 else
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7490 if test "x$ac_ct_OTOOL" = x; then
7491 OTOOL="otool"
7492 else
7493 case $cross_compiling:$ac_tool_warned in
7494 yes:)
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497 ac_tool_warned=yes ;;
7498 esac
7499 OTOOL=$ac_ct_OTOOL
7501 else
7502 OTOOL="$ac_cv_prog_OTOOL"
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_READELF+:} false; then :
7511 $as_echo_n "(cached) " >&6
7512 else
7513 if test -n "$READELF"; then
7514 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7515 else
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 for as_dir in $PATH
7519 IFS=$as_save_IFS
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 break 2
7527 done
7528 done
7529 IFS=$as_save_IFS
7533 READELF=$ac_cv_prog_READELF
7534 if test -n "$READELF"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7536 $as_echo "$READELF" >&6; }
7537 else
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7544 if test -z "$ac_cv_prog_READELF"; then
7545 ac_ct_READELF=$READELF
7546 # Extract the first word of "readelf", so it can be a program name with args.
7547 set dummy readelf; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 if test -n "$ac_ct_READELF"; then
7554 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7555 else
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH
7559 IFS=$as_save_IFS
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_ac_ct_READELF="readelf"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 break 2
7567 done
7568 done
7569 IFS=$as_save_IFS
7573 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7574 if test -n "$ac_ct_READELF"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7576 $as_echo "$ac_ct_READELF" >&6; }
7577 else
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7582 if test "x$ac_ct_READELF" = x; then
7583 READELF="true"
7584 else
7585 case $cross_compiling:$ac_tool_warned in
7586 yes:)
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7590 esac
7591 READELF=$ac_ct_READELF
7593 else
7594 READELF="$ac_cv_prog_READELF"
7597 wine_rules_file=conf$$rules.make
7598 rm -f $wine_rules_file
7599 SUBDIRS=""
7601 DISABLED_SUBDIRS=""
7603 CONFIGURE_TARGETS=""
7605 ALL_TEST_RESOURCES=""
7608 wine_fn_append_file ()
7610 as_fn_append $1 " \\$as_nl $2"
7613 wine_fn_append_rule ()
7615 $as_echo "$1" >>$wine_rules_file
7618 wine_fn_has_flag ()
7620 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7623 wine_fn_all_rules ()
7625 wine_fn_append_file SUBDIRS $ac_dir
7626 wine_fn_append_rule \
7627 "all: $ac_dir
7628 .PHONY: $ac_dir
7629 $ac_dir: dummy
7630 @cd $ac_dir && \$(MAKE)"
7633 wine_fn_install_rules ()
7635 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7637 wine_fn_append_rule \
7638 ".PHONY: $ac_dir/install $ac_dir/uninstall
7639 $ac_dir/install:: $ac_dir
7640 @cd $ac_dir && \$(MAKE) install
7641 $ac_dir/uninstall::
7642 @cd $ac_dir && \$(MAKE) uninstall
7643 install:: $ac_dir/install
7644 __uninstall__: $ac_dir/uninstall"
7646 if wine_fn_has_flag install-lib
7647 then
7648 wine_fn_append_rule \
7649 ".PHONY: $ac_dir/install-lib
7650 $ac_dir/install-lib:: $ac_dir
7651 @cd $ac_dir && \$(MAKE) install-lib
7652 install-lib:: $ac_dir/install-lib"
7655 if wine_fn_has_flag install-dev
7656 then
7657 wine_fn_append_rule \
7658 ".PHONY: $ac_dir/install-dev
7659 $ac_dir/install-dev:: $ac_dir
7660 @cd $ac_dir && \$(MAKE) install-dev
7661 install-dev:: $ac_dir/install-dev"
7665 wine_fn_clean_rules ()
7667 ac_clean=$@
7669 if wine_fn_has_flag clean
7670 then
7671 wine_fn_append_rule \
7672 "$ac_dir/clean: dummy
7673 @cd $ac_dir && \$(MAKE) clean"
7674 else
7675 wine_fn_append_rule \
7676 "$ac_dir/clean: dummy
7677 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7679 wine_fn_append_rule \
7680 "__clean__: $ac_dir/clean
7681 .PHONY: $ac_dir/clean"
7684 wine_fn_disabled_rules ()
7686 ac_clean=$@
7688 wine_fn_append_file SUBDIRS $ac_dir
7689 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7690 wine_fn_append_rule \
7691 "__clean__: $ac_dir/clean
7692 .PHONY: $ac_dir/clean
7693 $ac_dir/clean: dummy
7694 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7697 wine_fn_config_makefile ()
7699 ac_dir=$1
7700 ac_enable=$2
7701 ac_flags=$3
7703 case $ac_dir in
7704 fonts|server) test -z "$with_wine64" || return ;;
7705 esac
7706 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7707 wine_fn_disabled_rules; return
7709 wine_fn_all_rules
7710 wine_fn_install_rules
7711 wine_fn_clean_rules
7714 wine_fn_config_lib ()
7716 ac_name=$1
7717 ac_flags=$2
7718 ac_dir=dlls/$ac_name
7719 ac_deps="include"
7721 if test "x$enable_tools" = xno; then :
7723 else
7724 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7726 wine_fn_all_rules
7727 wine_fn_clean_rules
7729 wine_fn_append_rule \
7730 ".PHONY: $ac_dir/install $ac_dir/uninstall
7731 $ac_dir/install:: $ac_dir
7732 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7733 $ac_dir/uninstall::
7734 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7735 install install-dev:: $ac_dir/install
7736 __uninstall__: $ac_dir/uninstall
7737 __builddeps__: $ac_dir
7738 $ac_dir: $ac_deps"
7741 wine_fn_config_dll ()
7743 ac_name=$1
7744 ac_dir=dlls/$ac_name
7745 ac_enable=$2
7746 ac_flags=$3
7747 ac_implib=${4:-$ac_name}
7748 ac_file=$ac_dir/lib$ac_implib
7749 ac_dll=$ac_name
7750 ac_deps="include"
7751 ac_implibflags=""
7753 if test "x$enable_tools" = xno; then :
7755 else
7756 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7758 case $ac_name in
7759 *.*16) ac_implibflags=" -m16" ;;
7760 *.*) ;;
7761 *) ac_dll=$ac_dll.dll ;;
7762 esac
7764 ac_clean=
7765 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7766 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7768 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7769 if test "$ac_enable" != enable_win16
7770 then
7771 wine_fn_clean_rules $ac_clean
7772 wine_fn_append_file SUBDIRS $ac_dir
7773 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7774 else
7775 wine_fn_disabled_rules $ac_clean
7776 return
7778 else
7779 wine_fn_all_rules
7780 wine_fn_clean_rules $ac_clean
7781 wine_fn_append_rule \
7782 "$ac_dir: __builddeps__
7783 manpages htmlpages sgmlpages xmlpages::
7784 @cd $ac_dir && \$(MAKE) \$@
7785 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7786 install install-lib:: $ac_dir/install-lib
7787 __uninstall__: $ac_dir/uninstall"
7788 if test -n "$DLLEXT"
7789 then
7790 wine_fn_append_rule \
7791 "$ac_dir/install-lib:: $ac_dir
7792 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7793 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7794 $ac_dir/uninstall::
7795 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7796 else
7797 wine_fn_append_rule \
7798 "$ac_dir/install-lib:: $ac_dir
7799 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7800 $ac_dir/uninstall::
7801 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7805 if wine_fn_has_flag staticimplib
7806 then
7807 wine_fn_append_rule \
7808 "__builddeps__: $ac_file.a
7809 $ac_file.a $ac_file.cross.a: $ac_deps
7810 $ac_file.a: dummy
7811 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7812 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7813 $ac_dir/install-dev:: $ac_file.a
7814 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7815 $ac_dir/uninstall::
7816 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7817 install install-dev:: $ac_dir/install-dev
7818 __uninstall__: $ac_dir/uninstall"
7820 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7821 then
7822 wine_fn_append_rule \
7823 "__builddeps__: $ac_file.cross.a
7824 $ac_file.cross.a: dummy
7825 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7828 elif wine_fn_has_flag implib
7829 then
7830 wine_fn_append_rule \
7831 "__builddeps__: $ac_file.$IMPLIBEXT
7832 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7833 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7834 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7835 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7836 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7837 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7838 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7839 $ac_dir/uninstall::
7840 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7841 install install-dev:: $ac_dir/install-dev
7842 __uninstall__: $ac_dir/uninstall"
7843 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7844 then
7845 wine_fn_append_rule \
7846 "__builddeps__: $ac_file.cross.a
7847 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7848 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7853 wine_fn_config_program ()
7855 ac_name=$1
7856 ac_dir=programs/$ac_name
7857 ac_enable=$2
7858 ac_flags=$3
7859 ac_program=$ac_name
7861 case $ac_name in
7862 *.*) ;;
7863 *) ac_program=$ac_program.exe ;;
7864 esac
7866 ac_clean=
7867 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7868 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7870 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7871 wine_fn_disabled_rules $ac_clean; return
7874 wine_fn_all_rules
7875 wine_fn_clean_rules $ac_clean
7876 wine_fn_append_rule "$ac_dir: __builddeps__"
7878 wine_fn_has_flag install || return
7879 wine_fn_append_rule \
7880 ".PHONY: $ac_dir/install $ac_dir/uninstall
7881 install install-lib:: $ac_dir/install
7882 __uninstall__: $ac_dir/uninstall"
7884 if test -n "$DLLEXT"
7885 then
7886 wine_fn_append_rule \
7887 "$ac_dir/install:: $ac_dir
7888 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7889 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7890 $ac_dir/uninstall::
7891 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7893 if test -z "$with_wine64" && wine_fn_has_flag installbin
7894 then
7895 wine_fn_append_rule \
7896 "$ac_dir/install:: __tooldeps__
7897 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7898 $ac_dir/uninstall::
7899 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7901 else
7902 wine_fn_append_rule \
7903 "$ac_dir/install:: $ac_dir
7904 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7905 $ac_dir/uninstall::
7906 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7909 if test -z "$with_wine64" && wine_fn_has_flag manpage
7910 then
7911 wine_fn_append_rule \
7912 "$ac_dir/install:: $ac_dir
7913 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7914 $ac_dir/uninstall::
7915 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7919 wine_fn_config_test ()
7921 ac_dir=$1
7922 ac_name=$2
7923 ac_flags=$3
7925 ac_clean=
7926 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7927 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7929 if test "x$enable_tests" = xno; then :
7930 wine_fn_disabled_rules $ac_clean; return
7933 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7934 wine_fn_all_rules
7935 wine_fn_clean_rules $ac_clean
7937 wine_fn_append_rule \
7938 "$ac_dir: __builddeps__
7939 programs/winetest: $ac_dir
7940 check test: $ac_dir/test
7941 .PHONY: $ac_dir/test
7942 $ac_dir/test: dummy
7943 @cd $ac_dir && \$(MAKE) test
7944 testclean::
7945 \$(RM) $ac_dir/*.ok"
7947 if test -n "$CROSSTARGET"
7948 then
7949 wine_fn_append_rule \
7950 "crosstest: $ac_dir/crosstest
7951 .PHONY: $ac_dir/crosstest
7952 $ac_dir/crosstest: __builddeps__ dummy
7953 @cd $ac_dir && \$(MAKE) crosstest"
7957 wine_fn_config_tool ()
7959 ac_dir=$1
7960 ac_flags=$2
7961 if test "x$enable_tools" = xno; then :
7962 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7965 wine_fn_all_rules
7966 wine_fn_install_rules
7967 wine_fn_clean_rules
7969 wine_fn_append_rule "__tooldeps__: $ac_dir"
7970 wine_fn_append_rule "$ac_dir: libs/port"
7971 case $ac_dir in
7972 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7973 esac
7976 wine_fn_config_symlink ()
7978 ac_linkdir=
7979 if test "x$1" = "x-d"
7980 then
7981 ac_linkdir=$2
7982 shift; shift
7984 ac_links=$@
7985 wine_fn_append_rule \
7986 "$ac_links:
7987 @./config.status \$@"
7988 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7989 test -n "$ac_linkdir" || return
7990 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7993 wine_binary="wine"
7994 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7995 WINELOADER_PROGRAMS="$wine_binary"
7997 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7999 case $host_os in
8000 cygwin*|mingw32*)
8001 if test -n "$ac_tool_prefix"; then
8002 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8003 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8005 $as_echo_n "checking for $ac_word... " >&6; }
8006 if ${ac_cv_prog_DLLTOOL+:} false; then :
8007 $as_echo_n "(cached) " >&6
8008 else
8009 if test -n "$DLLTOOL"; then
8010 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8011 else
8012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8013 for as_dir in $PATH
8015 IFS=$as_save_IFS
8016 test -z "$as_dir" && as_dir=.
8017 for ac_exec_ext in '' $ac_executable_extensions; do
8018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8019 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8021 break 2
8023 done
8024 done
8025 IFS=$as_save_IFS
8029 DLLTOOL=$ac_cv_prog_DLLTOOL
8030 if test -n "$DLLTOOL"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8032 $as_echo "$DLLTOOL" >&6; }
8033 else
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035 $as_echo "no" >&6; }
8040 if test -z "$ac_cv_prog_DLLTOOL"; then
8041 ac_ct_DLLTOOL=$DLLTOOL
8042 # Extract the first word of "dlltool", so it can be a program name with args.
8043 set dummy dlltool; ac_word=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 if test -n "$ac_ct_DLLTOOL"; then
8050 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8051 else
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 for as_dir in $PATH
8055 IFS=$as_save_IFS
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 break 2
8063 done
8064 done
8065 IFS=$as_save_IFS
8069 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8070 if test -n "$ac_ct_DLLTOOL"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8072 $as_echo "$ac_ct_DLLTOOL" >&6; }
8073 else
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8078 if test "x$ac_ct_DLLTOOL" = x; then
8079 DLLTOOL="false"
8080 else
8081 case $cross_compiling:$ac_tool_warned in
8082 yes:)
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8085 ac_tool_warned=yes ;;
8086 esac
8087 DLLTOOL=$ac_ct_DLLTOOL
8089 else
8090 DLLTOOL="$ac_cv_prog_DLLTOOL"
8093 LIBEXT="dll"
8094 DLLEXT=""
8095 IMPLIBEXT="a"
8096 enable_iphlpapi=${enable_iphlpapi:-no}
8097 enable_kernel32=${enable_kernel32:-no}
8098 enable_msvcrt=${enable_msvcrt:-no}
8099 enable_ntdll=${enable_ntdll:-no}
8100 enable_ws2_32=${enable_ws2_32:-no}
8101 enable_loader=${enable_loader:-no}
8102 enable_server=${enable_server:-no}
8103 with_x=${with_x:-no}
8104 with_pthread=${with_pthread:-no}
8106 crtlibs=""
8107 case $host_os in
8108 mingw32*)
8109 crtlibs="-lmsvcrt"
8110 SOCKET_LIBS="-lws2_32"
8112 esac
8114 LIBWINE_SHAREDLIB="libwine.dll"
8116 LIBWINE_IMPORTLIB="libwine.a"
8118 LIBWINE_INSTALL_LIB="libwine.dll"
8120 LIBWINE_INSTALL_DEV="libwine.a"
8122 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8124 LIBWINE_DEPENDS="wine.def"
8128 darwin*|macosx*)
8129 for ac_header in libunwind.h
8130 do :
8131 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8133 cat >>confdefs.h <<_ACEOF
8134 #define HAVE_LIBUNWIND_H 1
8135 _ACEOF
8139 done
8141 LIBEXT="dylib"
8142 DLLFLAGS="$DLLFLAGS -fPIC"
8143 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8144 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8145 COREFOUNDATION_LIBS="-framework CoreFoundation"
8147 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8149 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8151 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8153 CORESERVICES_LIBS="-framework CoreServices"
8155 APPKIT_LIBS="-framework AppKit"
8157 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8159 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8160 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8161 $as_echo_n "(cached) " >&6
8162 else
8163 ac_wine_try_cflags_saved=$CFLAGS
8164 CFLAGS="$CFLAGS -Wl,-no_pie"
8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8168 _ACEOF
8169 if ac_fn_c_try_link "$LINENO"; then :
8170 ac_cv_cflags__Wl__no_pie=yes
8171 else
8172 ac_cv_cflags__Wl__no_pie=no
8174 rm -f core conftest.err conftest.$ac_objext \
8175 conftest$ac_exeext conftest.$ac_ext
8176 CFLAGS=$ac_wine_try_cflags_saved
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8179 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8180 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8181 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8183 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8184 then
8185 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8188 if test "$ac_cv_header_Security_Security_h" = "yes"
8189 then
8190 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8192 ac_save_LIBS="$LIBS"
8193 LIBS="$LIBS $SECURITY_LIBS"
8194 for ac_func in SSLCopyPeerCertificates
8195 do :
8196 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8197 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8198 cat >>confdefs.h <<_ACEOF
8199 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8200 _ACEOF
8203 done
8205 LIBS="$ac_save_LIBS"
8206 with_gnutls=${with_gnutls:-no}
8208 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8209 then
8210 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8211 then
8212 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8214 else
8215 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8218 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8219 ac_save_LIBS="$LIBS"
8220 LIBS="$LIBS $COREAUDIO_LIBS"
8221 for ac_func in AUGraphAddNode
8222 do :
8223 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8224 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8225 cat >>confdefs.h <<_ACEOF
8226 #define HAVE_AUGRAPHADDNODE 1
8227 _ACEOF
8230 done
8232 LIBS="$ac_save_LIBS"
8234 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8235 then
8236 OPENAL_LIBS="-framework OpenAL"
8239 cat >>confdefs.h <<_ACEOF
8240 #define HAVE_OPENAL 1
8241 _ACEOF
8243 ac_cv_lib_openal=yes
8245 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8246 then
8247 OPENCL_LIBS="-framework OpenCL"
8249 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8251 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8252 then
8253 ac_save_LIBS="$LIBS"
8254 LIBS="$LIBS $IOKIT_LIBS"
8255 for ac_func in IOHIDManagerCreate
8256 do :
8257 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8258 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8259 cat >>confdefs.h <<_ACEOF
8260 #define HAVE_IOHIDMANAGERCREATE 1
8261 _ACEOF
8264 done
8266 LIBS="$ac_save_LIBS"
8268 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8269 then
8270 ac_save_LIBS="$LIBS"
8271 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8273 $as_echo_n "checking for the QuickTime framework... " >&6; }
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 #include <QuickTime/ImageCompression.h>
8278 main ()
8280 CodecManagerVersion(NULL);
8282 return 0;
8284 _ACEOF
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8287 $as_echo "yes" >&6; }
8288 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8290 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8291 else
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8294 ac_cv_header_QuickTime_ImageCompression_h=no
8296 rm -f core conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298 LIBS="$ac_save_LIBS"
8300 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8301 then
8302 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8304 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8305 then
8306 CARBON_LIBS="-framework Carbon"
8310 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8311 then
8312 ac_save_LIBS="$LIBS"
8313 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8314 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8315 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8316 enable_winemac_drv=${enable_winemac_drv:-yes}
8319 LIBS="$ac_save_LIBS"
8322 if test "x$enable_win16" = "xyes"
8323 then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8325 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8326 if test "$cross_compiling" = yes; then :
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8328 $as_echo "cross-compiling, assuming yes" >&6; }
8329 else
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 asm(".text\n"
8333 "bad:\tnop;nop\n"
8334 "good:\tnop;nop\n\t"
8335 ".globl _testfunc\n"
8336 "_testfunc:\tcallw good");
8337 extern void testfunc();
8339 main ()
8341 unsigned short *p = (unsigned short *)testfunc;
8342 return p[0] != 0xe866 || p[1] != 0xfffa
8344 return 0;
8346 _ACEOF
8347 if ac_fn_c_try_run "$LINENO"; then :
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8349 $as_echo "yes" >&6; }
8350 else
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352 $as_echo "no" >&6; }
8353 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
8355 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8356 conftest.$ac_objext conftest.beam conftest.$ac_ext
8361 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8363 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8365 LIBWINE_INSTALL_DEV="libwine.dylib"
8367 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8369 WINELOADER_DEPENDS="wine_info.plist"
8373 linux-android*)
8374 DLLFLAGS="$DLLFLAGS -fPIC"
8375 LDEXECFLAGS="-Wl,-pie"
8376 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8378 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8379 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 ac_wine_try_cflags_saved=$CFLAGS
8383 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 int main(int argc, char **argv) { return 0; }
8387 _ACEOF
8388 if ac_fn_c_try_link "$LINENO"; then :
8389 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8390 else
8391 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8393 rm -f core conftest.err conftest.$ac_objext \
8394 conftest$ac_exeext conftest.$ac_ext
8395 CFLAGS=$ac_wine_try_cflags_saved
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8398 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8399 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8400 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8402 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8404 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8405 if eval \${$as_ac_var+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_wine_try_cflags_saved=$CFLAGS
8409 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 int main(int argc, char **argv) { return 0; }
8413 _ACEOF
8414 if ac_fn_c_try_link "$LINENO"; then :
8415 eval "$as_ac_var=yes"
8416 else
8417 eval "$as_ac_var=no"
8419 rm -f core conftest.err conftest.$ac_objext \
8420 conftest$ac_exeext conftest.$ac_ext
8421 CFLAGS=$ac_wine_try_cflags_saved
8423 eval ac_res=\$$as_ac_var
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8425 $as_echo "$ac_res" >&6; }
8426 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8427 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8428 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8429 else
8430 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8432 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8433 if eval \${$as_ac_var+:} false; then :
8434 $as_echo_n "(cached) " >&6
8435 else
8436 ac_wine_try_cflags_saved=$CFLAGS
8437 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8440 int main(int argc, char **argv) { return 0; }
8441 _ACEOF
8442 if ac_fn_c_try_link "$LINENO"; then :
8443 eval "$as_ac_var=yes"
8444 else
8445 eval "$as_ac_var=no"
8447 rm -f core conftest.err conftest.$ac_objext \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 eval ac_res=\$$as_ac_var
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8453 $as_echo "$ac_res" >&6; }
8454 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8455 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8456 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8460 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8461 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8462 $as_echo_n "(cached) " >&6
8463 else
8464 ac_wine_try_cflags_saved=$CFLAGS
8465 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8468 int main(int argc, char **argv) { return 0; }
8469 _ACEOF
8470 if ac_fn_c_try_link "$LINENO"; then :
8471 ac_cv_cflags__Wl___enable_new_dtags=yes
8472 else
8473 ac_cv_cflags__Wl___enable_new_dtags=no
8475 rm -f core conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 CFLAGS=$ac_wine_try_cflags_saved
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8480 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8481 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8482 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8485 LIBWINE_SHAREDLIB="libwine.so"
8487 LIBWINE_INSTALL_LIB="libwine.so"
8489 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8492 if test "x$exec_prefix" = xNONE
8493 then
8494 case $host_cpu in
8495 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8496 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8497 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8498 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8499 esac
8504 DLLFLAGS="$DLLFLAGS -fPIC"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8506 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8507 if ${ac_cv_c_dll_gnuelf+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 ac_wine_try_cflags_saved=$CFLAGS
8511 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8514 void myfunc() {}
8515 _ACEOF
8516 if ac_fn_c_try_link "$LINENO"; then :
8517 ac_cv_c_dll_gnuelf="yes"
8518 else
8519 ac_cv_c_dll_gnuelf="no"
8521 rm -f core conftest.err conftest.$ac_objext \
8522 conftest$ac_exeext conftest.$ac_ext
8523 CFLAGS=$ac_wine_try_cflags_saved
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8526 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8527 if test "$ac_cv_c_dll_gnuelf" = "yes"
8528 then
8529 LIBWINE_LDFLAGS="-shared"
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8531 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8532 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 ac_wine_try_cflags_saved=$CFLAGS
8536 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 int main(int argc, char **argv) { return 0; }
8540 _ACEOF
8541 if ac_fn_c_try_link "$LINENO"; then :
8542 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8543 else
8544 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8546 rm -f core conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 CFLAGS=$ac_wine_try_cflags_saved
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8551 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8552 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8553 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8554 else
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8556 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8557 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8568 else
8569 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8576 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8577 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8578 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8582 echo '{ global: *; };' >conftest.map
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8584 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8585 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8593 _ACEOF
8594 if ac_fn_c_try_link "$LINENO"; then :
8595 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8596 else
8597 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8604 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8605 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8606 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8608 rm -f conftest.map
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8611 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8612 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8613 $as_echo_n "(cached) " >&6
8614 else
8615 ac_wine_try_cflags_saved=$CFLAGS
8616 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 int main(int argc, char **argv) { return 0; }
8620 _ACEOF
8621 if ac_fn_c_try_link "$LINENO"; then :
8622 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8623 else
8624 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8626 rm -f core conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 CFLAGS=$ac_wine_try_cflags_saved
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8631 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8632 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8633 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8636 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8638 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8639 if eval \${$as_ac_var+:} false; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 ac_wine_try_cflags_saved=$CFLAGS
8643 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645 /* end confdefs.h. */
8646 int main(int argc, char **argv) { return 0; }
8647 _ACEOF
8648 if ac_fn_c_try_link "$LINENO"; then :
8649 eval "$as_ac_var=yes"
8650 else
8651 eval "$as_ac_var=no"
8653 rm -f core conftest.err conftest.$ac_objext \
8654 conftest$ac_exeext conftest.$ac_ext
8655 CFLAGS=$ac_wine_try_cflags_saved
8657 eval ac_res=\$$as_ac_var
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8659 $as_echo "$ac_res" >&6; }
8660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8661 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8662 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8663 else
8664 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8666 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8667 if eval \${$as_ac_var+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_wine_try_cflags_saved=$CFLAGS
8671 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8675 _ACEOF
8676 if ac_fn_c_try_link "$LINENO"; then :
8677 eval "$as_ac_var=yes"
8678 else
8679 eval "$as_ac_var=no"
8681 rm -f core conftest.err conftest.$ac_objext \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 eval ac_res=\$$as_ac_var
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8687 $as_echo "$ac_res" >&6; }
8688 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8689 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8690 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8695 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8696 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8697 $as_echo_n "(cached) " >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 int main(int argc, char **argv) { return 0; }
8704 _ACEOF
8705 if ac_fn_c_try_link "$LINENO"; then :
8706 ac_cv_cflags__Wl___enable_new_dtags=yes
8707 else
8708 ac_cv_cflags__Wl___enable_new_dtags=no
8710 rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 CFLAGS=$ac_wine_try_cflags_saved
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8715 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8716 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8717 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8720 case $host_cpu in
8721 *i[3456789]86* | x86_64)
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8723 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8724 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8725 $as_echo_n "(cached) " >&6
8726 else
8727 ac_wine_try_cflags_saved=$CFLAGS
8728 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 int main(int argc, char **argv) { return 0; }
8732 _ACEOF
8733 if ac_fn_c_try_link "$LINENO"; then :
8734 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8735 else
8736 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8738 rm -f core conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 CFLAGS=$ac_wine_try_cflags_saved
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8743 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8744 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8745 case $host_os in
8746 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8747 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8748 esac
8749 else
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8751 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8752 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8763 else
8764 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8771 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8772 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8773 case $host_os in
8774 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8775 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8776 esac
8778 # Extract the first word of "prelink", so it can be a program name with args.
8779 set dummy prelink; ac_word=$2
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8781 $as_echo_n "checking for $ac_word... " >&6; }
8782 if ${ac_cv_path_PRELINK+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 case $PRELINK in
8786 [\\/]* | ?:[\\/]*)
8787 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8791 for as_dir in /sbin /usr/sbin $PATH
8793 IFS=$as_save_IFS
8794 test -z "$as_dir" && as_dir=.
8795 for ac_exec_ext in '' $ac_executable_extensions; do
8796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8797 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8799 break 2
8801 done
8802 done
8803 IFS=$as_save_IFS
8805 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8807 esac
8809 PRELINK=$ac_cv_path_PRELINK
8810 if test -n "$PRELINK"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8812 $as_echo "$PRELINK" >&6; }
8813 else
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8819 if test "x$PRELINK" = xfalse
8820 then
8821 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8825 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8826 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 ac_wine_try_cflags_saved=$CFLAGS
8830 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8833 int main(int argc, char **argv) { return 0; }
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8837 else
8838 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8845 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8846 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8847 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8850 esac
8852 else
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8854 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8855 if ${ac_cv_c_dll_unixware+:} false; then :
8856 $as_echo_n "(cached) " >&6
8857 else
8858 ac_wine_try_cflags_saved=$CFLAGS
8859 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8862 void myfunc() {}
8863 _ACEOF
8864 if ac_fn_c_try_link "$LINENO"; then :
8865 ac_cv_c_dll_unixware="yes"
8866 else
8867 ac_cv_c_dll_unixware="no"
8869 rm -f core conftest.err conftest.$ac_objext \
8870 conftest$ac_exeext conftest.$ac_ext
8871 CFLAGS=$ac_wine_try_cflags_saved
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8874 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8875 if test "$ac_cv_c_dll_unixware" = "yes"
8876 then
8877 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8880 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8882 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8884 LIBWINE_INSTALL_DEV="libwine.so"
8886 LIBWINE_DEPENDS="wine.map"
8889 esac
8891 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8892 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8893 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8894 enable_winemac_drv=${enable_winemac_drv:-no}
8895 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8897 CROSSTARGET=""
8899 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8900 then
8901 case "$host_cpu" in
8902 arm*)
8903 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8904 i[3456789]86*)
8905 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
8906 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8907 mingw32-gcc" ;;
8908 x86_64)
8909 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
8910 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8912 ac_prefix_list="" ;;
8913 esac
8914 for ac_prog in $ac_prefix_list
8916 # Extract the first word of "$ac_prog", so it can be a program name with args.
8917 set dummy $ac_prog; ac_word=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8919 $as_echo_n "checking for $ac_word... " >&6; }
8920 if ${ac_cv_prog_CROSSCC+:} false; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 if test -n "$CROSSCC"; then
8924 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8925 else
8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927 for as_dir in $PATH
8929 IFS=$as_save_IFS
8930 test -z "$as_dir" && as_dir=.
8931 for ac_exec_ext in '' $ac_executable_extensions; do
8932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8933 ac_cv_prog_CROSSCC="$ac_prog"
8934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8935 break 2
8937 done
8938 done
8939 IFS=$as_save_IFS
8943 CROSSCC=$ac_cv_prog_CROSSCC
8944 if test -n "$CROSSCC"; then
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8946 $as_echo "$CROSSCC" >&6; }
8947 else
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8949 $as_echo "no" >&6; }
8953 test -n "$CROSSCC" && break
8954 done
8955 test -n "$CROSSCC" || CROSSCC="false"
8957 if test "$CROSSCC" != "false"
8958 then
8959 ac_save_CC="$CC"
8960 CC="$CROSSCC"
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8962 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h. */
8967 main ()
8971 return 0;
8973 _ACEOF
8974 if ac_fn_c_try_compile "$LINENO"; then :
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8976 $as_echo "yes" >&6; }
8977 set x $CROSSCC
8978 shift
8979 while test $# -ge 1
8981 case "$1" in
8982 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8983 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8984 esac
8985 shift
8986 done
8987 else
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8992 CC="$ac_save_CC"
8997 if test "$ac_cv_header_pthread_h" = "yes"
8998 then
8999 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9000 if test "x$ac_cv_func_pthread_create" = xyes; then :
9002 else
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9004 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9005 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9006 $as_echo_n "(cached) " >&6
9007 else
9008 ac_check_lib_save_LIBS=$LIBS
9009 LIBS="-lpthread $LIBS"
9010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9011 /* end confdefs.h. */
9013 /* Override any GCC internal prototype to avoid an error.
9014 Use char because int might match the return type of a GCC
9015 builtin and then its argument prototype would still apply. */
9016 #ifdef __cplusplus
9017 extern "C"
9018 #endif
9019 char pthread_create ();
9021 main ()
9023 return pthread_create ();
9025 return 0;
9027 _ACEOF
9028 if ac_fn_c_try_link "$LINENO"; then :
9029 ac_cv_lib_pthread_pthread_create=yes
9030 else
9031 ac_cv_lib_pthread_pthread_create=no
9033 rm -f core conftest.err conftest.$ac_objext \
9034 conftest$ac_exeext conftest.$ac_ext
9035 LIBS=$ac_check_lib_save_LIBS
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9038 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9039 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9040 PTHREAD_LIBS="-lpthread"
9047 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9048 case "x$with_pthread" in
9049 xno) ;;
9050 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9051 Wine cannot support threads without libpthread.
9052 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9053 esac
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9059 $as_echo_n "checking for X... " >&6; }
9062 # Check whether --with-x was given.
9063 if test "${with_x+set}" = set; then :
9064 withval=$with_x;
9067 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9068 if test "x$with_x" = xno; then
9069 # The user explicitly disabled X.
9070 have_x=disabled
9071 else
9072 case $x_includes,$x_libraries in #(
9073 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9074 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 # One or both of the vars are not set, and there is no cached value.
9078 ac_x_includes=no ac_x_libraries=no
9079 rm -f -r conftest.dir
9080 if mkdir conftest.dir; then
9081 cd conftest.dir
9082 cat >Imakefile <<'_ACEOF'
9083 incroot:
9084 @echo incroot='${INCROOT}'
9085 usrlibdir:
9086 @echo usrlibdir='${USRLIBDIR}'
9087 libdir:
9088 @echo libdir='${LIBDIR}'
9089 _ACEOF
9090 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9091 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9092 for ac_var in incroot usrlibdir libdir; do
9093 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9094 done
9095 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9096 for ac_extension in a so sl dylib la dll; do
9097 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9098 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9099 ac_im_usrlibdir=$ac_im_libdir; break
9101 done
9102 # Screen out bogus values from the imake configuration. They are
9103 # bogus both because they are the default anyway, and because
9104 # using them would break gcc on systems where it needs fixed includes.
9105 case $ac_im_incroot in
9106 /usr/include) ac_x_includes= ;;
9107 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9108 esac
9109 case $ac_im_usrlibdir in
9110 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9111 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9112 esac
9114 cd ..
9115 rm -f -r conftest.dir
9118 # Standard set of common directories for X headers.
9119 # Check X11 before X11Rn because it is often a symlink to the current release.
9120 ac_x_header_dirs='
9121 /usr/X11/include
9122 /usr/X11R7/include
9123 /usr/X11R6/include
9124 /usr/X11R5/include
9125 /usr/X11R4/include
9127 /usr/include/X11
9128 /usr/include/X11R7
9129 /usr/include/X11R6
9130 /usr/include/X11R5
9131 /usr/include/X11R4
9133 /usr/local/X11/include
9134 /usr/local/X11R7/include
9135 /usr/local/X11R6/include
9136 /usr/local/X11R5/include
9137 /usr/local/X11R4/include
9139 /usr/local/include/X11
9140 /usr/local/include/X11R7
9141 /usr/local/include/X11R6
9142 /usr/local/include/X11R5
9143 /usr/local/include/X11R4
9145 /usr/X386/include
9146 /usr/x386/include
9147 /usr/XFree86/include/X11
9149 /usr/include
9150 /usr/local/include
9151 /usr/unsupported/include
9152 /usr/athena/include
9153 /usr/local/x11r5/include
9154 /usr/lpp/Xamples/include
9156 /usr/openwin/include
9157 /usr/openwin/share/include'
9159 if test "$ac_x_includes" = no; then
9160 # Guess where to find include files, by looking for Xlib.h.
9161 # First, try using that file with no special directory specified.
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9164 #include <X11/Xlib.h>
9165 _ACEOF
9166 if ac_fn_c_try_cpp "$LINENO"; then :
9167 # We can compile using X headers with no special include directory.
9168 ac_x_includes=
9169 else
9170 for ac_dir in $ac_x_header_dirs; do
9171 if test -r "$ac_dir/X11/Xlib.h"; then
9172 ac_x_includes=$ac_dir
9173 break
9175 done
9177 rm -f conftest.err conftest.i conftest.$ac_ext
9178 fi # $ac_x_includes = no
9180 if test "$ac_x_libraries" = no; then
9181 # Check for the libraries.
9182 # See if we find them without any special options.
9183 # Don't add to $LIBS permanently.
9184 ac_save_LIBS=$LIBS
9185 LIBS="-lX11 $LIBS"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9188 #include <X11/Xlib.h>
9190 main ()
9192 XrmInitialize ()
9194 return 0;
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 LIBS=$ac_save_LIBS
9199 # We can link X programs with no special library path.
9200 ac_x_libraries=
9201 else
9202 LIBS=$ac_save_LIBS
9203 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9205 # Don't even attempt the hair of trying to link an X program!
9206 for ac_extension in a so sl dylib la dll; do
9207 if test -r "$ac_dir/libX11.$ac_extension"; then
9208 ac_x_libraries=$ac_dir
9209 break 2
9211 done
9212 done
9214 rm -f core conftest.err conftest.$ac_objext \
9215 conftest$ac_exeext conftest.$ac_ext
9216 fi # $ac_x_libraries = no
9218 case $ac_x_includes,$ac_x_libraries in #(
9219 no,* | *,no | *\'*)
9220 # Didn't find X, or a directory has "'" in its name.
9221 ac_cv_have_x="have_x=no";; #(
9223 # Record where we found X for the cache.
9224 ac_cv_have_x="have_x=yes\
9225 ac_x_includes='$ac_x_includes'\
9226 ac_x_libraries='$ac_x_libraries'"
9227 esac
9229 ;; #(
9230 *) have_x=yes;;
9231 esac
9232 eval "$ac_cv_have_x"
9233 fi # $with_x != no
9235 if test "$have_x" != yes; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9237 $as_echo "$have_x" >&6; }
9238 no_x=yes
9239 else
9240 # If each of the values was on the command line, it overrides each guess.
9241 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9242 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9243 # Update the cache value to reflect the command line values.
9244 ac_cv_have_x="have_x=yes\
9245 ac_x_includes='$x_includes'\
9246 ac_x_libraries='$x_libraries'"
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9248 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9251 if test "$no_x" = yes; then
9252 # Not all programs may use this symbol, but it does not hurt to define it.
9254 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9256 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9257 else
9258 if test -n "$x_includes"; then
9259 X_CFLAGS="$X_CFLAGS -I$x_includes"
9262 # It would also be nice to do this for all -L options, not just this one.
9263 if test -n "$x_libraries"; then
9264 X_LIBS="$X_LIBS -L$x_libraries"
9265 # For Solaris; some versions of Sun CC require a space after -R and
9266 # others require no space. Words are not sufficient . . . .
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9268 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9269 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9270 ac_xsave_c_werror_flag=$ac_c_werror_flag
9271 ac_c_werror_flag=yes
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9276 main ()
9280 return 0;
9282 _ACEOF
9283 if ac_fn_c_try_link "$LINENO"; then :
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285 $as_echo "no" >&6; }
9286 X_LIBS="$X_LIBS -R$x_libraries"
9287 else
9288 LIBS="$ac_xsave_LIBS -R $x_libraries"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9293 main ()
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9302 $as_echo "yes" >&6; }
9303 X_LIBS="$X_LIBS -R $x_libraries"
9304 else
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9306 $as_echo "neither works" >&6; }
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 ac_c_werror_flag=$ac_xsave_c_werror_flag
9314 LIBS=$ac_xsave_LIBS
9317 # Check for system-dependent libraries X programs must link with.
9318 # Do this before checking for the system-independent R6 libraries
9319 # (-lICE), since we may need -lsocket or whatever for X linking.
9321 if test "$ISC" = yes; then
9322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9323 else
9324 # Martyn Johnson says this is needed for Ultrix, if the X
9325 # libraries were built with DECnet support. And Karl Berry says
9326 # the Alpha needs dnet_stub (dnet does not exist).
9327 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char XOpenDisplay ();
9339 main ()
9341 return XOpenDisplay ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9348 else
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9350 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9351 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_check_lib_save_LIBS=$LIBS
9355 LIBS="-ldnet $LIBS"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9359 /* Override any GCC internal prototype to avoid an error.
9360 Use char because int might match the return type of a GCC
9361 builtin and then its argument prototype would still apply. */
9362 #ifdef __cplusplus
9363 extern "C"
9364 #endif
9365 char dnet_ntoa ();
9367 main ()
9369 return dnet_ntoa ();
9371 return 0;
9373 _ACEOF
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 ac_cv_lib_dnet_dnet_ntoa=yes
9376 else
9377 ac_cv_lib_dnet_dnet_ntoa=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LIBS=$ac_check_lib_save_LIBS
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9384 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9385 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9386 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9389 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9391 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9392 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9393 $as_echo_n "(cached) " >&6
9394 else
9395 ac_check_lib_save_LIBS=$LIBS
9396 LIBS="-ldnet_stub $LIBS"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9400 /* Override any GCC internal prototype to avoid an error.
9401 Use char because int might match the return type of a GCC
9402 builtin and then its argument prototype would still apply. */
9403 #ifdef __cplusplus
9404 extern "C"
9405 #endif
9406 char dnet_ntoa ();
9408 main ()
9410 return dnet_ntoa ();
9412 return 0;
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9417 else
9418 ac_cv_lib_dnet_stub_dnet_ntoa=no
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 LIBS=$ac_check_lib_save_LIBS
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9425 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9426 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9427 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9432 rm -f core conftest.err conftest.$ac_objext \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS="$ac_xsave_LIBS"
9436 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9437 # to get the SysV transport functions.
9438 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9439 # needs -lnsl.
9440 # The nsl library prevents programs from opening the X display
9441 # on Irix 5.2, according to T.E. Dickey.
9442 # The functions gethostbyname, getservbyname, and inet_addr are
9443 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9444 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9445 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9449 if test $ac_cv_func_gethostbyname = no; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9451 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9452 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_check_lib_save_LIBS=$LIBS
9456 LIBS="-lnsl $LIBS"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9463 #ifdef __cplusplus
9464 extern "C"
9465 #endif
9466 char gethostbyname ();
9468 main ()
9470 return gethostbyname ();
9472 return 0;
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 ac_cv_lib_nsl_gethostbyname=yes
9477 else
9478 ac_cv_lib_nsl_gethostbyname=no
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 LIBS=$ac_check_lib_save_LIBS
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9485 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9486 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9487 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9490 if test $ac_cv_lib_nsl_gethostbyname = no; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9492 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9493 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_check_lib_save_LIBS=$LIBS
9497 LIBS="-lbsd $LIBS"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9501 /* Override any GCC internal prototype to avoid an error.
9502 Use char because int might match the return type of a GCC
9503 builtin and then its argument prototype would still apply. */
9504 #ifdef __cplusplus
9505 extern "C"
9506 #endif
9507 char gethostbyname ();
9509 main ()
9511 return gethostbyname ();
9513 return 0;
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_lib_bsd_gethostbyname=yes
9518 else
9519 ac_cv_lib_bsd_gethostbyname=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 LIBS=$ac_check_lib_save_LIBS
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9526 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9527 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9528 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9534 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9535 # socket/setsockopt and other routines are undefined under SCO ODT
9536 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9537 # on later versions), says Simon Leinen: it contains gethostby*
9538 # variants that don't use the name server (or something). -lsocket
9539 # must be given before -lnsl if both are needed. We assume that
9540 # if connect needs -lnsl, so does gethostbyname.
9541 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9542 if test "x$ac_cv_func_connect" = xyes; then :
9546 if test $ac_cv_func_connect = no; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9548 $as_echo_n "checking for connect in -lsocket... " >&6; }
9549 if ${ac_cv_lib_socket_connect+:} false; then :
9550 $as_echo_n "(cached) " >&6
9551 else
9552 ac_check_lib_save_LIBS=$LIBS
9553 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9560 #ifdef __cplusplus
9561 extern "C"
9562 #endif
9563 char connect ();
9565 main ()
9567 return connect ();
9569 return 0;
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_lib_socket_connect=yes
9574 else
9575 ac_cv_lib_socket_connect=no
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 LIBS=$ac_check_lib_save_LIBS
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9582 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9583 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9584 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9589 # Guillermo Gomez says -lposix is necessary on A/UX.
9590 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9591 if test "x$ac_cv_func_remove" = xyes; then :
9595 if test $ac_cv_func_remove = no; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9597 $as_echo_n "checking for remove in -lposix... " >&6; }
9598 if ${ac_cv_lib_posix_remove+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_check_lib_save_LIBS=$LIBS
9602 LIBS="-lposix $LIBS"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9609 #ifdef __cplusplus
9610 extern "C"
9611 #endif
9612 char remove ();
9614 main ()
9616 return remove ();
9618 return 0;
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_lib_posix_remove=yes
9623 else
9624 ac_cv_lib_posix_remove=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9631 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9632 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9633 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9638 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9639 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9640 if test "x$ac_cv_func_shmat" = xyes; then :
9644 if test $ac_cv_func_shmat = no; then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9646 $as_echo_n "checking for shmat in -lipc... " >&6; }
9647 if ${ac_cv_lib_ipc_shmat+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_check_lib_save_LIBS=$LIBS
9651 LIBS="-lipc $LIBS"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char shmat ();
9663 main ()
9665 return shmat ();
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 ac_cv_lib_ipc_shmat=yes
9672 else
9673 ac_cv_lib_ipc_shmat=no
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9680 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9681 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9682 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9688 # Check for libraries that X11R6 Xt/Xaw programs need.
9689 ac_save_LDFLAGS=$LDFLAGS
9690 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9691 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9692 # check for ICE first), but we must link in the order -lSM -lICE or
9693 # we get undefined symbols. So assume we have SM if we have ICE.
9694 # These have to be linked with before -lX11, unlike the other
9695 # libraries we check for below, so use a different variable.
9696 # John Interrante, Karl Berry
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9698 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9699 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 ac_check_lib_save_LIBS=$LIBS
9703 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9710 #ifdef __cplusplus
9711 extern "C"
9712 #endif
9713 char IceConnectionNumber ();
9715 main ()
9717 return IceConnectionNumber ();
9719 return 0;
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 ac_cv_lib_ICE_IceConnectionNumber=yes
9724 else
9725 ac_cv_lib_ICE_IceConnectionNumber=no
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_lib_save_LIBS
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9732 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9733 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9734 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9737 LDFLAGS=$ac_save_LDFLAGS
9742 if test "$have_x" = "yes"
9743 then
9744 ac_save_CPPFLAGS="$CPPFLAGS"
9745 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9748 $as_echo_n "checking for -lX11... " >&6; }
9749 if ${ac_cv_lib_soname_X11+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 ac_check_soname_save_LIBS=$LIBS
9753 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9760 #ifdef __cplusplus
9761 extern "C"
9762 #endif
9763 char XCreateWindow ();
9765 main ()
9767 return XCreateWindow ();
9769 return 0;
9771 _ACEOF
9772 if ac_fn_c_try_link "$LINENO"; then :
9773 case "$LIBEXT" in
9774 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9775 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'` ;;
9776 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9777 if ${ac_cv_lib_soname_X11:+false} :; then :
9778 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9779 fi ;;
9780 esac
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 LIBS=$ac_check_soname_save_LIBS
9786 if ${ac_cv_lib_soname_X11:+false} :; then :
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9788 $as_echo "not found" >&6; }
9790 else
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9792 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9794 cat >>confdefs.h <<_ACEOF
9795 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9796 _ACEOF
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9801 $as_echo_n "checking for -lXext... " >&6; }
9802 if ${ac_cv_lib_soname_Xext+:} false; then :
9803 $as_echo_n "(cached) " >&6
9804 else
9805 ac_check_soname_save_LIBS=$LIBS
9806 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9810 /* Override any GCC internal prototype to avoid an error.
9811 Use char because int might match the return type of a GCC
9812 builtin and then its argument prototype would still apply. */
9813 #ifdef __cplusplus
9814 extern "C"
9815 #endif
9816 char XextCreateExtension ();
9818 main ()
9820 return XextCreateExtension ();
9822 return 0;
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 case "$LIBEXT" in
9827 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9828 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'` ;;
9829 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9830 if ${ac_cv_lib_soname_Xext:+false} :; then :
9831 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9832 fi ;;
9833 esac
9835 rm -f core conftest.err conftest.$ac_objext \
9836 conftest$ac_exeext conftest.$ac_ext
9837 LIBS=$ac_check_soname_save_LIBS
9839 if ${ac_cv_lib_soname_Xext:+false} :; then :
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9841 $as_echo "not found" >&6; }
9843 else
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9845 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9847 cat >>confdefs.h <<_ACEOF
9848 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9849 _ACEOF
9851 X_LIBS="$X_LIBS -lXext"
9853 X_LIBS="$X_LIBS -lX11"
9855 for ac_header in X11/Xlib.h \
9856 X11/XKBlib.h \
9857 X11/Xutil.h \
9858 X11/Xcursor/Xcursor.h \
9859 X11/extensions/shape.h \
9860 X11/extensions/XInput.h \
9861 X11/extensions/XInput2.h \
9862 X11/extensions/XShm.h \
9863 X11/extensions/Xcomposite.h \
9864 X11/extensions/Xfixes.h \
9865 X11/extensions/Xinerama.h \
9866 X11/extensions/Xrandr.h \
9867 X11/extensions/Xrender.h \
9868 X11/extensions/xf86vmode.h \
9869 X11/extensions/xf86vmproto.h
9870 do :
9871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9872 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9873 # include <X11/Xlib.h>
9874 #endif
9875 #ifdef HAVE_X11_XUTIL_H
9876 # include <X11/Xutil.h>
9877 #endif
9879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9880 cat >>confdefs.h <<_ACEOF
9881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9882 _ACEOF
9886 done
9889 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9890 then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9892 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9893 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_check_lib_save_LIBS=$LIBS
9897 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XkbQueryExtension ();
9909 main ()
9911 return XkbQueryExtension ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 ac_cv_lib_X11_XkbQueryExtension=yes
9918 else
9919 ac_cv_lib_X11_XkbQueryExtension=no
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_lib_save_LIBS
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9926 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9927 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9929 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9935 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9936 then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9938 $as_echo_n "checking for -lXcursor... " >&6; }
9939 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_check_soname_save_LIBS=$LIBS
9943 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9950 #ifdef __cplusplus
9951 extern "C"
9952 #endif
9953 char XcursorImageLoadCursor ();
9955 main ()
9957 return XcursorImageLoadCursor ();
9959 return 0;
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 case "$LIBEXT" in
9964 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9965 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'` ;;
9966 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9967 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9968 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9969 fi ;;
9970 esac
9972 rm -f core conftest.err conftest.$ac_objext \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LIBS=$ac_check_soname_save_LIBS
9976 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9978 $as_echo "not found" >&6; }
9980 else
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9982 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9984 cat >>confdefs.h <<_ACEOF
9985 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9986 _ACEOF
9991 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9992 case "x$with_xcursor" in
9993 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9994 xno) ;;
9995 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9996 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9997 esac
10001 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10002 then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10004 $as_echo_n "checking for -lXi... " >&6; }
10005 if ${ac_cv_lib_soname_Xi+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_check_soname_save_LIBS=$LIBS
10009 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10016 #ifdef __cplusplus
10017 extern "C"
10018 #endif
10019 char XOpenDevice ();
10021 main ()
10023 return XOpenDevice ();
10025 return 0;
10027 _ACEOF
10028 if ac_fn_c_try_link "$LINENO"; then :
10029 case "$LIBEXT" in
10030 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10031 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'` ;;
10032 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10033 if ${ac_cv_lib_soname_Xi:+false} :; then :
10034 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10035 fi ;;
10036 esac
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 LIBS=$ac_check_soname_save_LIBS
10042 if ${ac_cv_lib_soname_Xi:+false} :; then :
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10044 $as_echo "not found" >&6; }
10046 else
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10048 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10050 cat >>confdefs.h <<_ACEOF
10051 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10052 _ACEOF
10057 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10058 case "x$with_xinput" in
10059 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10060 xno) ;;
10061 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10062 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10063 esac
10067 if test "x$ac_cv_lib_soname_Xi" != x
10068 then
10069 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10070 case "x$with_xinput2" in
10071 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10072 xno) ;;
10073 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10074 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10075 esac
10080 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10081 then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10083 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10084 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_check_lib_save_LIBS=$LIBS
10088 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10095 #ifdef __cplusplus
10096 extern "C"
10097 #endif
10098 char XShmQueryExtension ();
10100 main ()
10102 return XShmQueryExtension ();
10104 return 0;
10106 _ACEOF
10107 if ac_fn_c_try_link "$LINENO"; then :
10108 ac_cv_lib_Xext_XShmQueryExtension=yes
10109 else
10110 ac_cv_lib_Xext_XShmQueryExtension=no
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_lib_save_LIBS
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10117 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10118 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10120 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10125 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10126 case "x$with_xshm" in
10127 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10128 xno) ;;
10129 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10130 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10131 esac
10135 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10136 then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10138 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10139 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_check_lib_save_LIBS=$LIBS
10143 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char XShapeQueryExtension ();
10155 main ()
10157 return XShapeQueryExtension ();
10159 return 0;
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 ac_cv_lib_Xext_XShapeQueryExtension=yes
10164 else
10165 ac_cv_lib_Xext_XShapeQueryExtension=no
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_lib_save_LIBS
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10172 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10173 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10175 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10180 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10181 case "x$with_xshape" in
10182 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10183 xno) ;;
10184 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10185 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10186 esac
10190 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10191 then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10193 $as_echo_n "checking for -lXxf86vm... " >&6; }
10194 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_check_soname_save_LIBS=$LIBS
10198 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10202 /* Override any GCC internal prototype to avoid an error.
10203 Use char because int might match the return type of a GCC
10204 builtin and then its argument prototype would still apply. */
10205 #ifdef __cplusplus
10206 extern "C"
10207 #endif
10208 char XF86VidModeQueryExtension ();
10210 main ()
10212 return XF86VidModeQueryExtension ();
10214 return 0;
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 case "$LIBEXT" in
10219 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10220 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'` ;;
10221 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10222 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10223 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10224 fi ;;
10225 esac
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_soname_save_LIBS
10231 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10233 $as_echo "not found" >&6; }
10235 else
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10237 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10239 cat >>confdefs.h <<_ACEOF
10240 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10241 _ACEOF
10246 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10247 case "x$with_xxf86vm" in
10248 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10249 xno) ;;
10250 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10251 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10252 esac
10256 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10257 then
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10259 $as_echo_n "checking for -lXrender... " >&6; }
10260 if ${ac_cv_lib_soname_Xrender+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_check_soname_save_LIBS=$LIBS
10264 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char XRenderQueryExtension ();
10276 main ()
10278 return XRenderQueryExtension ();
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 case "$LIBEXT" in
10285 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10286 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'` ;;
10287 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10288 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10289 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10290 fi ;;
10291 esac
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_soname_save_LIBS
10297 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10299 $as_echo "not found" >&6; }
10301 else
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10303 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10305 cat >>confdefs.h <<_ACEOF
10306 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10307 _ACEOF
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10310 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10311 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_check_lib_save_LIBS=$LIBS
10315 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 char XRenderSetPictureTransform ();
10327 main ()
10329 return XRenderSetPictureTransform ();
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10336 else
10337 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_lib_save_LIBS
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10344 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10345 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10347 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10352 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10353 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_check_lib_save_LIBS=$LIBS
10357 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10364 #ifdef __cplusplus
10365 extern "C"
10366 #endif
10367 char XRenderCreateLinearGradient ();
10369 main ()
10371 return XRenderCreateLinearGradient ();
10373 return 0;
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10378 else
10379 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 LIBS=$ac_check_lib_save_LIBS
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10386 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10387 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10389 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10396 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10397 case "x$with_xrender" in
10398 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10399 xno) ;;
10400 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10401 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10402 esac
10406 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10407 then
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 #include <X11/Xlib.h>
10411 #include <X11/extensions/Xrandr.h>
10413 main ()
10415 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10417 return 0;
10419 _ACEOF
10420 if ac_fn_c_try_compile "$LINENO"; then :
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10422 $as_echo_n "checking for -lXrandr... " >&6; }
10423 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_check_soname_save_LIBS=$LIBS
10427 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10434 #ifdef __cplusplus
10435 extern "C"
10436 #endif
10437 char XRRQueryExtension ();
10439 main ()
10441 return XRRQueryExtension ();
10443 return 0;
10445 _ACEOF
10446 if ac_fn_c_try_link "$LINENO"; then :
10447 case "$LIBEXT" in
10448 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10449 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'` ;;
10450 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10451 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10452 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10453 fi ;;
10454 esac
10456 rm -f core conftest.err conftest.$ac_objext \
10457 conftest$ac_exeext conftest.$ac_ext
10458 LIBS=$ac_check_soname_save_LIBS
10460 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10462 $as_echo "not found" >&6; }
10464 else
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10466 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10468 cat >>confdefs.h <<_ACEOF
10469 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10470 _ACEOF
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10474 #include <X11/Xlib.h>
10475 #include <X11/extensions/Xrandr.h>
10477 main ()
10479 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10481 return 0;
10483 _ACEOF
10484 if ac_fn_c_try_compile "$LINENO"; then :
10486 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10494 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10495 case "x$with_xrandr" in
10496 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10497 xno) ;;
10498 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10499 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10500 esac
10504 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10505 then
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10508 #include <X11/Xlib.h>
10509 #include <X11/extensions/Xfixes.h>
10511 main ()
10513 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10515 return 0;
10517 _ACEOF
10518 if ac_fn_c_try_compile "$LINENO"; then :
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10520 $as_echo_n "checking for -lXfixes... " >&6; }
10521 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_check_soname_save_LIBS=$LIBS
10525 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10532 #ifdef __cplusplus
10533 extern "C"
10534 #endif
10535 char XFixesQueryVersion ();
10537 main ()
10539 return XFixesQueryVersion ();
10541 return 0;
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 case "$LIBEXT" in
10546 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10547 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'` ;;
10548 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10549 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10550 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10551 fi ;;
10552 esac
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_soname_save_LIBS
10558 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10560 $as_echo "not found" >&6; }
10562 else
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10564 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10566 cat >>confdefs.h <<_ACEOF
10567 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10568 _ACEOF
10573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10575 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10576 case "x$with_xfixes" in
10577 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10578 xno) ;;
10579 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10580 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10581 esac
10585 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10586 then
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10589 #include <X11/Xlib.h>
10590 #include <X11/extensions/Xinerama.h>
10592 main ()
10594 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10596 return 0;
10598 _ACEOF
10599 if ac_fn_c_try_compile "$LINENO"; then :
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10601 $as_echo_n "checking for -lXinerama... " >&6; }
10602 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10603 $as_echo_n "(cached) " >&6
10604 else
10605 ac_check_soname_save_LIBS=$LIBS
10606 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10613 #ifdef __cplusplus
10614 extern "C"
10615 #endif
10616 char XineramaQueryScreens ();
10618 main ()
10620 return XineramaQueryScreens ();
10622 return 0;
10624 _ACEOF
10625 if ac_fn_c_try_link "$LINENO"; then :
10626 case "$LIBEXT" in
10627 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10628 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'` ;;
10629 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10630 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10631 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10632 fi ;;
10633 esac
10635 rm -f core conftest.err conftest.$ac_objext \
10636 conftest$ac_exeext conftest.$ac_ext
10637 LIBS=$ac_check_soname_save_LIBS
10639 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10641 $as_echo "not found" >&6; }
10643 else
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10645 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10647 cat >>confdefs.h <<_ACEOF
10648 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10649 _ACEOF
10654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10656 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10657 case "x$with_xinerama" in
10658 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10659 xno) ;;
10660 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10661 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10662 esac
10666 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10667 then
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10669 $as_echo_n "checking for -lXcomposite... " >&6; }
10670 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10671 $as_echo_n "(cached) " >&6
10672 else
10673 ac_check_soname_save_LIBS=$LIBS
10674 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10678 /* Override any GCC internal prototype to avoid an error.
10679 Use char because int might match the return type of a GCC
10680 builtin and then its argument prototype would still apply. */
10681 #ifdef __cplusplus
10682 extern "C"
10683 #endif
10684 char XCompositeRedirectWindow ();
10686 main ()
10688 return XCompositeRedirectWindow ();
10690 return 0;
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"; then :
10694 case "$LIBEXT" in
10695 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10696 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'` ;;
10697 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10698 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10699 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10700 fi ;;
10701 esac
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_soname_save_LIBS
10707 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10709 $as_echo "not found" >&6; }
10711 else
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10713 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10715 cat >>confdefs.h <<_ACEOF
10716 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10717 _ACEOF
10722 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10723 case "x$with_xcomposite" in
10724 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10725 xno) ;;
10726 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10727 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10728 esac
10732 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10733 #include <X11/Xlib.h>
10734 #endif
10736 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10738 cat >>confdefs.h <<_ACEOF
10739 #define HAVE_XICCALLBACK_CALLBACK 1
10740 _ACEOF
10744 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10745 #include <X11/Xlib.h>
10746 #endif
10748 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10750 cat >>confdefs.h <<_ACEOF
10751 #define HAVE_XEVENT_XCOOKIE 1
10752 _ACEOF
10759 opengl_msg=""
10760 if test "x$with_opengl" != "xno"
10761 then
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10763 $as_echo_n "checking for -lGL... " >&6; }
10764 if ${ac_cv_lib_soname_GL+:} false; then :
10765 $as_echo_n "(cached) " >&6
10766 else
10767 ac_check_soname_save_LIBS=$LIBS
10768 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10772 /* Override any GCC internal prototype to avoid an error.
10773 Use char because int might match the return type of a GCC
10774 builtin and then its argument prototype would still apply. */
10775 #ifdef __cplusplus
10776 extern "C"
10777 #endif
10778 char glXCreateContext ();
10780 main ()
10782 return glXCreateContext ();
10784 return 0;
10786 _ACEOF
10787 if ac_fn_c_try_link "$LINENO"; then :
10788 case "$LIBEXT" in
10789 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10790 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'` ;;
10791 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10792 if ${ac_cv_lib_soname_GL:+false} :; then :
10793 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10794 fi ;;
10795 esac
10797 rm -f core conftest.err conftest.$ac_objext \
10798 conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_soname_save_LIBS
10801 if ${ac_cv_lib_soname_GL:+false} :; then :
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10803 $as_echo "not found" >&6; }
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10805 $as_echo_n "checking for -lGL... " >&6; }
10806 if ${ac_cv_lib_soname_GL+:} false; then :
10807 $as_echo_n "(cached) " >&6
10808 else
10809 ac_check_soname_save_LIBS=$LIBS
10810 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"
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10817 #ifdef __cplusplus
10818 extern "C"
10819 #endif
10820 char glXCreateContext ();
10822 main ()
10824 return glXCreateContext ();
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830 case "$LIBEXT" in
10831 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10832 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'` ;;
10833 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10834 if ${ac_cv_lib_soname_GL:+false} :; then :
10835 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10836 fi ;;
10837 esac
10839 rm -f core conftest.err conftest.$ac_objext \
10840 conftest$ac_exeext conftest.$ac_ext
10841 LIBS=$ac_check_soname_save_LIBS
10843 if ${ac_cv_lib_soname_GL:+false} :; then :
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10845 $as_echo "not found" >&6; }
10846 if test -f /usr/X11R6/lib/libGL.a
10847 then
10848 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10849 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10850 else
10851 opengl_msg="No OpenGL library found on this system."
10853 else
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10855 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10857 cat >>confdefs.h <<_ACEOF
10858 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10859 _ACEOF
10861 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"
10863 else
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10865 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10867 cat >>confdefs.h <<_ACEOF
10868 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10869 _ACEOF
10871 OPENGL_LIBS="-lGL"
10873 if test "x$with_glu" != "xno"
10874 then
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10876 $as_echo_n "checking for -lGLU... " >&6; }
10877 if ${ac_cv_lib_soname_GLU+:} false; then :
10878 $as_echo_n "(cached) " >&6
10879 else
10880 ac_check_soname_save_LIBS=$LIBS
10881 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 char gluLookAt ();
10893 main ()
10895 return gluLookAt ();
10897 return 0;
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 case "$LIBEXT" in
10902 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10903 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'` ;;
10904 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10905 if ${ac_cv_lib_soname_GLU:+false} :; then :
10906 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10907 fi ;;
10908 esac
10910 rm -f core conftest.err conftest.$ac_objext \
10911 conftest$ac_exeext conftest.$ac_ext
10912 LIBS=$ac_check_soname_save_LIBS
10914 if ${ac_cv_lib_soname_GLU:+false} :; then :
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10916 $as_echo "not found" >&6; }
10918 else
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10920 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10922 cat >>confdefs.h <<_ACEOF
10923 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10924 _ACEOF
10928 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10929 case "x$with_glu" in
10930 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10931 xno) ;;
10932 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10933 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10934 esac
10939 if test "x$with_osmesa" != "xno"
10940 then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10942 $as_echo_n "checking for -lOSMesa... " >&6; }
10943 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10944 $as_echo_n "(cached) " >&6
10945 else
10946 ac_check_soname_save_LIBS=$LIBS
10947 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10954 #ifdef __cplusplus
10955 extern "C"
10956 #endif
10957 char OSMesaGetProcAddress ();
10959 main ()
10961 return OSMesaGetProcAddress ();
10963 return 0;
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"; then :
10967 case "$LIBEXT" in
10968 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10969 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'` ;;
10970 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10971 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10972 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10973 fi ;;
10974 esac
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_soname_save_LIBS
10980 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10982 $as_echo "not found" >&6; }
10984 else
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10986 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10988 cat >>confdefs.h <<_ACEOF
10989 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10990 _ACEOF
10994 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10995 case "x$with_osmesa" in
10996 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10997 xno) ;;
10998 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10999 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11000 esac
11005 if test -n "$opengl_msg"; then :
11006 case "x$with_opengl" in
11007 x) as_fn_append wine_warnings "|$opengl_msg
11008 OpenGL and Direct3D won't be supported." ;;
11009 xno) ;;
11010 *) as_fn_error $? "$opengl_msg
11011 OpenGL and Direct3D won't be supported.
11012 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11013 esac
11017 CPPFLAGS="$ac_save_CPPFLAGS"
11018 else
11019 X_CFLAGS=""
11020 X_LIBS=""
11023 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11024 then
11025 if test "x$X_LIBS" = "x"; then :
11026 case "x$with_x" in
11027 xno) ;;
11028 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11029 without X support, which probably isn't what you want. You will need
11030 to install ${notice_platform}development packages of Xlib at the very least.
11031 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11032 esac
11033 enable_winex11_drv=${enable_winex11_drv:-no}
11035 else
11036 if test "x$X_LIBS" = "x"; then :
11037 case "x$with_x" in
11038 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11039 xno) ;;
11040 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11041 This is an error since --with-x was requested." "$LINENO" 5 ;;
11042 esac
11043 enable_winex11_drv=${enable_winex11_drv:-no}
11047 if test "$ac_cv_header_CL_cl_h" = "yes"
11048 then
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11050 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11051 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11052 $as_echo_n "(cached) " >&6
11053 else
11054 ac_check_lib_save_LIBS=$LIBS
11055 LIBS="-lOpenCL $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char clGetPlatformInfo ();
11067 main ()
11069 return clGetPlatformInfo ();
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11076 else
11077 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11084 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11085 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11086 OPENCL_LIBS="-lOpenCL"
11091 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11092 case "x$with_opencl" in
11093 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11094 xno) ;;
11095 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11096 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11097 esac
11098 enable_opencl=${enable_opencl:-no}
11101 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11102 then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11104 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11105 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11106 $as_echo_n "(cached) " >&6
11107 else
11108 ac_check_lib_save_LIBS=$LIBS
11109 LIBS="-lpcap $LIBS"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11116 #ifdef __cplusplus
11117 extern "C"
11118 #endif
11119 char pcap_create ();
11121 main ()
11123 return pcap_create ();
11125 return 0;
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"; then :
11129 ac_cv_lib_pcap_pcap_create=yes
11130 else
11131 ac_cv_lib_pcap_pcap_create=no
11133 rm -f core conftest.err conftest.$ac_objext \
11134 conftest$ac_exeext conftest.$ac_ext
11135 LIBS=$ac_check_lib_save_LIBS
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11138 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11139 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11140 PCAP_LIBS="-lpcap"
11145 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11146 case "x$with_pcap" in
11147 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11148 xno) ;;
11149 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11150 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11151 esac
11152 enable_wpcap=${enable_wpcap:-no}
11156 if test "x$with_xml" != "xno"
11157 then
11158 if ${XML2_CFLAGS:+false} :; then :
11159 if ${PKG_CONFIG+:} false; then :
11160 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11163 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11164 if ${XML2_LIBS:+false} :; then :
11165 if ${PKG_CONFIG+:} false; then :
11166 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11169 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11170 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11171 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11172 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11173 ac_save_CPPFLAGS=$CPPFLAGS
11174 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11175 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11176 do :
11177 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11178 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11179 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11180 cat >>confdefs.h <<_ACEOF
11181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11182 _ACEOF
11186 done
11188 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"
11189 then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11191 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11192 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-lxml2 $XML2_LIBS $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char xmlParseMemory ();
11208 main ()
11210 return xmlParseMemory ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_xml2_xmlParseMemory=yes
11217 else
11218 ac_cv_lib_xml2_xmlParseMemory=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11225 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11226 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11228 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11230 else
11231 XML2_LIBS=""
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11235 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11236 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lxml2 $XML2_LIBS $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char xmlReadMemory ();
11252 main ()
11254 return xmlReadMemory ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 ac_cv_lib_xml2_xmlReadMemory=yes
11261 else
11262 ac_cv_lib_xml2_xmlReadMemory=no
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11269 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11270 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11272 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11277 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11278 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11279 $as_echo_n "(cached) " >&6
11280 else
11281 ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-lxml2 $XML2_LIBS $LIBS"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char xmlNewDocPI ();
11294 main ()
11296 return xmlNewDocPI ();
11298 return 0;
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_xml2_xmlNewDocPI=yes
11303 else
11304 ac_cv_lib_xml2_xmlNewDocPI=no
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11311 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11312 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11314 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11319 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11320 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-lxml2 $XML2_LIBS $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char xmlSchemaSetParserStructuredErrors ();
11336 main ()
11338 return xmlSchemaSetParserStructuredErrors ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11345 else
11346 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11353 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11354 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11356 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11361 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11362 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lxml2 $XML2_LIBS $LIBS"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11373 #ifdef __cplusplus
11374 extern "C"
11375 #endif
11376 char xmlSchemaSetValidStructuredErrors ();
11378 main ()
11380 return xmlSchemaSetValidStructuredErrors ();
11382 return 0;
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"; then :
11386 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11387 else
11388 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11390 rm -f core conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11392 LIBS=$ac_check_lib_save_LIBS
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11395 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11396 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11398 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11403 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11404 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-lxml2 $XML2_LIBS $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char xmlFirstElementChild ();
11420 main ()
11422 return xmlFirstElementChild ();
11424 return 0;
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_xml2_xmlFirstElementChild=yes
11429 else
11430 ac_cv_lib_xml2_xmlFirstElementChild=no
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11437 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11438 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11440 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11444 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11446 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11448 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11452 else
11453 XML2_CFLAGS=""
11454 XML2_LIBS=""
11456 CPPFLAGS=$ac_save_CPPFLAGS
11457 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11458 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11461 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11462 case "x$with_xml" in
11463 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11464 xno) ;;
11465 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11466 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11467 esac
11471 if test "x$with_xslt" != "xno"
11472 then
11473 if ${XSLT_CFLAGS:+false} :; then :
11474 if ${PKG_CONFIG+:} false; then :
11475 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11478 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11479 if ${XSLT_LIBS:+false} :; then :
11480 if ${PKG_CONFIG+:} false; then :
11481 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11484 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11485 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11486 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11487 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11488 ac_save_CPPFLAGS=$CPPFLAGS
11489 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11490 for ac_header in libxslt/pattern.h libxslt/transform.h
11491 do :
11492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11493 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11494 # include <libxslt/pattern.h>
11495 #endif
11497 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11498 cat >>confdefs.h <<_ACEOF
11499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11500 _ACEOF
11504 done
11506 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11507 then
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11509 $as_echo_n "checking for -lxslt... " >&6; }
11510 if ${ac_cv_lib_soname_xslt+:} false; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_soname_save_LIBS=$LIBS
11514 LIBS="-lxslt $XSLT_LIBS $LIBS"
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11521 #ifdef __cplusplus
11522 extern "C"
11523 #endif
11524 char xsltCompilePattern ();
11526 main ()
11528 return xsltCompilePattern ();
11530 return 0;
11532 _ACEOF
11533 if ac_fn_c_try_link "$LINENO"; then :
11534 case "$LIBEXT" in
11535 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11536 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'` ;;
11537 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11538 if ${ac_cv_lib_soname_xslt:+false} :; then :
11539 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11540 fi ;;
11541 esac
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_soname_save_LIBS
11547 if ${ac_cv_lib_soname_xslt:+false} :; then :
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11549 $as_echo "not found" >&6; }
11551 else
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11553 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11555 cat >>confdefs.h <<_ACEOF
11556 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11557 _ACEOF
11561 else
11562 XSLT_CFLAGS=""
11564 CPPFLAGS=$ac_save_CPPFLAGS
11565 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11566 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11569 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11570 case "x$with_xslt" in
11571 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11572 xno) ;;
11573 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11574 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11575 esac
11579 if test "x$with_dbus" != "xno"
11580 then
11581 if ${DBUS_CFLAGS:+false} :; then :
11582 if ${PKG_CONFIG+:} false; then :
11583 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11587 if ${DBUS_LIBS:+false} :; then :
11588 if ${PKG_CONFIG+:} false; then :
11589 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11594 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11595 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11596 ac_save_CPPFLAGS=$CPPFLAGS
11597 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11598 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11599 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11601 $as_echo_n "checking for -ldbus-1... " >&6; }
11602 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_soname_save_LIBS=$LIBS
11606 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char dbus_connection_close ();
11618 main ()
11620 return dbus_connection_close ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 case "$LIBEXT" in
11627 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11628 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'` ;;
11629 *) 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'`
11630 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11631 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11632 fi ;;
11633 esac
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_soname_save_LIBS
11639 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11641 $as_echo "not found" >&6; }
11642 DBUS_CFLAGS=""
11643 else
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11645 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11647 cat >>confdefs.h <<_ACEOF
11648 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11649 _ACEOF
11653 else
11654 DBUS_CFLAGS=""
11658 CPPFLAGS=$ac_save_CPPFLAGS
11659 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11660 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11663 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11664 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11665 case "x$with_dbus" in
11666 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11667 xno) ;;
11668 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11669 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11670 esac
11674 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11675 then
11676 if ${HAL_CFLAGS:+false} :; then :
11677 if ${PKG_CONFIG+:} false; then :
11678 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11682 if ${HAL_LIBS:+false} :; then :
11683 if ${PKG_CONFIG+:} false; then :
11684 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11688 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11689 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11690 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11691 ac_save_CPPFLAGS=$CPPFLAGS
11692 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11693 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11694 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11696 $as_echo_n "checking for -lhal... " >&6; }
11697 if ${ac_cv_lib_soname_hal+:} false; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 ac_check_soname_save_LIBS=$LIBS
11701 LIBS="-lhal $HAL_LIBS $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char libhal_ctx_new ();
11713 main ()
11715 return libhal_ctx_new ();
11717 return 0;
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 case "$LIBEXT" in
11722 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11723 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'` ;;
11724 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11725 if ${ac_cv_lib_soname_hal:+false} :; then :
11726 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11727 fi ;;
11728 esac
11730 rm -f core conftest.err conftest.$ac_objext \
11731 conftest$ac_exeext conftest.$ac_ext
11732 LIBS=$ac_check_soname_save_LIBS
11734 if ${ac_cv_lib_soname_hal:+false} :; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11736 $as_echo "not found" >&6; }
11737 HAL_CFLAGS=""
11738 else
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11740 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11742 cat >>confdefs.h <<_ACEOF
11743 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11744 _ACEOF
11748 else
11749 HAL_CFLAGS=""
11753 CPPFLAGS=$ac_save_CPPFLAGS
11754 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11755 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11757 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11758 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11759 case "x$with_hal" in
11760 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11761 xno) ;;
11762 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11763 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11764 esac
11769 if test "x$with_gnutls" != "xno"
11770 then
11771 if ${GNUTLS_CFLAGS:+false} :; then :
11772 if ${PKG_CONFIG+:} false; then :
11773 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11777 if ${GNUTLS_LIBS:+false} :; then :
11778 if ${PKG_CONFIG+:} false; then :
11779 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11784 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11785 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11786 ac_save_CPPFLAGS=$CPPFLAGS
11787 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11788 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11789 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11792 #include <gnutls/gnutls.h>
11793 #include <gnutls/crypto.h>
11795 main ()
11797 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11799 return 0;
11801 _ACEOF
11802 if ac_fn_c_try_compile "$LINENO"; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11804 $as_echo_n "checking for -lgnutls... " >&6; }
11805 if ${ac_cv_lib_soname_gnutls+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char gnutls_global_init ();
11821 main ()
11823 return gnutls_global_init ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 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'` ;;
11832 *) 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'`
11833 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11834 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'`
11835 fi ;;
11836 esac
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_soname_save_LIBS
11842 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11844 $as_echo "not found" >&6; }
11845 GNUTLS_CFLAGS=""
11846 else
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11848 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11850 cat >>confdefs.h <<_ACEOF
11851 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11852 _ACEOF
11856 ac_wine_check_funcs_save_LIBS="$LIBS"
11857 LIBS="$LIBS $GNUTLS_LIBS"
11858 for ac_func in gnutls_hash
11859 do :
11860 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11861 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11862 cat >>confdefs.h <<_ACEOF
11863 #define HAVE_GNUTLS_HASH 1
11864 _ACEOF
11866 else
11867 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11869 done
11871 LIBS="$ac_wine_check_funcs_save_LIBS"
11873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11874 else
11875 GNUTLS_CFLAGS=""
11879 CPPFLAGS=$ac_save_CPPFLAGS
11880 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11881 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11884 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11885 case "x$with_gnutls" in
11886 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11887 xno) ;;
11888 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11889 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11890 esac
11894 CURSES_LIBS=""
11895 if test "$ac_cv_header_ncurses_h" = "yes"
11896 then
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11898 $as_echo_n "checking for -lncurses... " >&6; }
11899 if ${ac_cv_lib_soname_ncurses+:} false; then :
11900 $as_echo_n "(cached) " >&6
11901 else
11902 ac_check_soname_save_LIBS=$LIBS
11903 LIBS="-lncurses $LIBS"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char waddch ();
11915 main ()
11917 return waddch ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 case "$LIBEXT" in
11924 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11925 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'` ;;
11926 *) 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'`
11927 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11928 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11929 fi ;;
11930 esac
11932 rm -f core conftest.err conftest.$ac_objext \
11933 conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_soname_save_LIBS
11936 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11938 $as_echo "not found" >&6; }
11940 else
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11942 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11944 cat >>confdefs.h <<_ACEOF
11945 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11946 _ACEOF
11948 CURSES_LIBS="-lncurses"
11950 elif test "$ac_cv_header_curses_h" = "yes"
11951 then
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11953 $as_echo_n "checking for -lcurses... " >&6; }
11954 if ${ac_cv_lib_soname_curses+:} false; then :
11955 $as_echo_n "(cached) " >&6
11956 else
11957 ac_check_soname_save_LIBS=$LIBS
11958 LIBS="-lcurses $LIBS"
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11965 #ifdef __cplusplus
11966 extern "C"
11967 #endif
11968 char waddch ();
11970 main ()
11972 return waddch ();
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"; then :
11978 case "$LIBEXT" in
11979 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11980 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'` ;;
11981 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11982 if ${ac_cv_lib_soname_curses:+false} :; then :
11983 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11984 fi ;;
11985 esac
11987 rm -f core conftest.err conftest.$ac_objext \
11988 conftest$ac_exeext conftest.$ac_ext
11989 LIBS=$ac_check_soname_save_LIBS
11991 if ${ac_cv_lib_soname_curses:+false} :; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11993 $as_echo "not found" >&6; }
11995 else
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11997 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11999 cat >>confdefs.h <<_ACEOF
12000 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12001 _ACEOF
12003 CURSES_LIBS="-lcurses"
12006 ac_save_LIBS="$LIBS"
12007 LIBS="$LIBS $CURSES_LIBS"
12008 for ac_func in mousemask
12009 do :
12010 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12011 if test "x$ac_cv_func_mousemask" = xyes; then :
12012 cat >>confdefs.h <<_ACEOF
12013 #define HAVE_MOUSEMASK 1
12014 _ACEOF
12017 done
12019 LIBS="$ac_save_LIBS"
12020 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12021 case "x$with_curses" in
12022 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12023 xno) ;;
12024 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12025 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12026 esac
12030 if test "x$with_sane" != "xno"
12031 then
12032 if ${SANE_CFLAGS:+false} :; then :
12033 if ${PKG_CONFIG+:} false; then :
12034 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12037 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12038 if ${SANE_LIBS:+false} :; then :
12039 if ${PKG_CONFIG+:} false; then :
12040 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12043 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12045 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12046 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12047 ac_save_CPPFLAGS=$CPPFLAGS
12048 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12049 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12050 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12052 $as_echo_n "checking for -lsane... " >&6; }
12053 if ${ac_cv_lib_soname_sane+:} false; then :
12054 $as_echo_n "(cached) " >&6
12055 else
12056 ac_check_soname_save_LIBS=$LIBS
12057 LIBS="-lsane $SANE_LIBS $LIBS"
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12064 #ifdef __cplusplus
12065 extern "C"
12066 #endif
12067 char sane_init ();
12069 main ()
12071 return sane_init ();
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"; then :
12077 case "$LIBEXT" in
12078 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12079 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'` ;;
12080 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12081 if ${ac_cv_lib_soname_sane:+false} :; then :
12082 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12083 fi ;;
12084 esac
12086 rm -f core conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_soname_save_LIBS
12090 if ${ac_cv_lib_soname_sane:+false} :; then :
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12092 $as_echo "not found" >&6; }
12093 SANE_CFLAGS=""
12094 else
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12096 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12098 cat >>confdefs.h <<_ACEOF
12099 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12100 _ACEOF
12104 else
12105 SANE_CFLAGS=""
12109 CPPFLAGS=$ac_save_CPPFLAGS
12110 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12111 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12114 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12115 case "x$with_sane" in
12116 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12117 xno) ;;
12118 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12119 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12120 esac
12124 if test "x$with_v4l" != "xno"
12125 then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12127 $as_echo_n "checking for -lv4l1... " >&6; }
12128 if ${ac_cv_lib_soname_v4l1+:} false; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 ac_check_soname_save_LIBS=$LIBS
12132 LIBS="-lv4l1 $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 #ifdef __cplusplus
12140 extern "C"
12141 #endif
12142 char v4l1_open ();
12144 main ()
12146 return v4l1_open ();
12148 return 0;
12150 _ACEOF
12151 if ac_fn_c_try_link "$LINENO"; then :
12152 case "$LIBEXT" in
12153 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12154 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'` ;;
12155 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12156 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12157 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12158 fi ;;
12159 esac
12161 rm -f core conftest.err conftest.$ac_objext \
12162 conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_soname_save_LIBS
12165 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12167 $as_echo "not found" >&6; }
12169 else
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12171 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12173 cat >>confdefs.h <<_ACEOF
12174 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12175 _ACEOF
12180 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12181 case "x$with_v4l" in
12182 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12183 xno) ;;
12184 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12185 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12186 esac
12190 if test "x$with_gphoto" != "xno"
12191 then
12192 if ${GPHOTO2_CFLAGS:+false} :; then :
12193 if ${PKG_CONFIG+:} false; then :
12194 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12197 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12198 if ${GPHOTO2_LIBS:+false} :; then :
12199 if ${PKG_CONFIG+:} false; then :
12200 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12203 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12204 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12205 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12206 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12207 ac_save_CPPFLAGS=$CPPFLAGS
12208 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12209 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12210 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12212 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12213 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12214 $as_echo_n "(cached) " >&6
12215 else
12216 ac_check_lib_save_LIBS=$LIBS
12217 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char gp_camera_new ();
12229 main ()
12231 return gp_camera_new ();
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"; then :
12237 ac_cv_lib_gphoto2_gp_camera_new=yes
12238 else
12239 ac_cv_lib_gphoto2_gp_camera_new=no
12241 rm -f core conftest.err conftest.$ac_objext \
12242 conftest$ac_exeext conftest.$ac_ext
12243 LIBS=$ac_check_lib_save_LIBS
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12246 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12247 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12249 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12251 else
12252 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12255 else
12256 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12260 CPPFLAGS=$ac_save_CPPFLAGS
12261 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12262 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12264 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12265 if ${PKG_CONFIG+:} false; then :
12266 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12269 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12270 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12271 if ${PKG_CONFIG+:} false; then :
12272 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12275 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12276 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12277 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12278 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12279 ac_save_CPPFLAGS=$CPPFLAGS
12280 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12281 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12282 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12284 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12285 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 ac_check_lib_save_LIBS=$LIBS
12289 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 #ifdef __cplusplus
12297 extern "C"
12298 #endif
12299 char gp_port_info_list_new ();
12301 main ()
12303 return gp_port_info_list_new ();
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_link "$LINENO"; then :
12309 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12310 else
12311 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12313 rm -f core conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 LIBS=$ac_check_lib_save_LIBS
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12318 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12319 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12321 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12323 else
12324 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12327 else
12328 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12332 CPPFLAGS=$ac_save_CPPFLAGS
12333 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12334 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12337 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12338 case "x$with_gphoto" in
12339 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12340 xno) ;;
12341 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12342 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12343 esac
12346 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12347 case "x$with_gphoto" in
12348 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12349 xno) ;;
12350 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12351 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12352 esac
12357 if test "$ac_cv_header_resolv_h" = "yes"
12358 then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12360 $as_echo_n "checking for resolver library... " >&6; }
12361 if ${ac_cv_have_resolv+:} false; then :
12362 $as_echo_n "(cached) " >&6
12363 else
12364 ac_save_LIBS="$LIBS"
12365 for lib in '' -lresolv
12367 LIBS="$lib $ac_save_LIBS"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12370 #ifdef HAVE_NETINET_IN_H
12371 #include <netinet/in.h>
12372 #endif
12373 #include <resolv.h>
12375 main ()
12377 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12379 return 0;
12381 _ACEOF
12382 if ac_fn_c_try_link "$LINENO"; then :
12383 ac_cv_have_resolv=${lib:-"none required"}
12384 else
12385 ac_cv_have_resolv="not found"
12387 rm -f core conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389 test "x$ac_cv_have_resolv" = "xnot found" || break
12390 done
12391 LIBS="$ac_save_LIBS"
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12394 $as_echo "$ac_cv_have_resolv" >&6; }
12396 case "$ac_cv_have_resolv" in
12397 "not found") ;;
12398 "none required")
12400 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12403 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12405 RESOLV_LIBS=$ac_cv_have_resolv
12407 esac
12410 if test "x$with_cms" != "xno"
12411 then
12412 if ${LCMS2_CFLAGS:+false} :; then :
12413 if ${PKG_CONFIG+:} false; then :
12414 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12418 if ${LCMS2_LIBS:+false} :; then :
12419 if ${PKG_CONFIG+:} false; then :
12420 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12424 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12425 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12426 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12427 ac_save_CPPFLAGS=$CPPFLAGS
12428 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12429 for ac_header in lcms2.h
12430 do :
12431 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12432 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12433 cat >>confdefs.h <<_ACEOF
12434 #define HAVE_LCMS2_H 1
12435 _ACEOF
12439 done
12441 if test "$ac_cv_header_lcms2_h" = "yes"
12442 then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12444 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12445 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12446 $as_echo_n "(cached) " >&6
12447 else
12448 ac_check_lib_save_LIBS=$LIBS
12449 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12456 #ifdef __cplusplus
12457 extern "C"
12458 #endif
12459 char cmsOpenProfileFromFile ();
12461 main ()
12463 return cmsOpenProfileFromFile ();
12465 return 0;
12467 _ACEOF
12468 if ac_fn_c_try_link "$LINENO"; then :
12469 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12470 else
12471 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_lib_save_LIBS
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12478 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12479 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12481 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12483 else
12484 LCMS2_LIBS=""
12487 else
12488 LCMS2_CFLAGS=""
12489 LCMS2_LIBS=""
12491 CPPFLAGS=$ac_save_CPPFLAGS
12492 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12493 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12496 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12497 case "x$with_cms" in
12498 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12499 xno) ;;
12500 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12501 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12502 esac
12506 if test "x$with_freetype" != "xno"
12507 then
12508 if ${FREETYPE_CFLAGS:+false} :; then :
12509 if ${PKG_CONFIG+:} false; then :
12510 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12513 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12514 if ${FREETYPE_LIBS:+false} :; then :
12515 if ${PKG_CONFIG+:} false; then :
12516 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12519 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12520 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12521 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12522 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12523 ac_save_CPPFLAGS=$CPPFLAGS
12524 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12525 for ac_header in ft2build.h
12526 do :
12527 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12528 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12529 cat >>confdefs.h <<_ACEOF
12530 #define HAVE_FT2BUILD_H 1
12531 _ACEOF
12535 done
12537 if test "$ac_cv_header_ft2build_h" = "yes"
12538 then
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12540 $as_echo_n "checking for -lfreetype... " >&6; }
12541 if ${ac_cv_lib_soname_freetype+:} false; then :
12542 $as_echo_n "(cached) " >&6
12543 else
12544 ac_check_soname_save_LIBS=$LIBS
12545 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12549 /* Override any GCC internal prototype to avoid an error.
12550 Use char because int might match the return type of a GCC
12551 builtin and then its argument prototype would still apply. */
12552 #ifdef __cplusplus
12553 extern "C"
12554 #endif
12555 char FT_Init_FreeType ();
12557 main ()
12559 return FT_Init_FreeType ();
12561 return 0;
12563 _ACEOF
12564 if ac_fn_c_try_link "$LINENO"; then :
12565 case "$LIBEXT" in
12566 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12567 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'` ;;
12568 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12569 if ${ac_cv_lib_soname_freetype:+false} :; then :
12570 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12571 fi ;;
12572 esac
12574 rm -f core conftest.err conftest.$ac_objext \
12575 conftest$ac_exeext conftest.$ac_ext
12576 LIBS=$ac_check_soname_save_LIBS
12578 if ${ac_cv_lib_soname_freetype:+false} :; then :
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12580 $as_echo "not found" >&6; }
12581 FREETYPE_LIBS=""
12582 else
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12584 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12586 cat >>confdefs.h <<_ACEOF
12587 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12588 _ACEOF
12591 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12593 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12594 #include FT_MODULE_H
12596 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12598 cat >>confdefs.h <<_ACEOF
12599 #define HAVE_FT_TRUETYPEENGINETYPE 1
12600 _ACEOF
12606 else
12607 FREETYPE_CFLAGS=""
12608 FREETYPE_LIBS=""
12610 CPPFLAGS=$ac_save_CPPFLAGS
12611 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12612 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12615 if test "x$ac_cv_lib_soname_freetype" = x; then :
12616 case "x$with_freetype" in
12617 xno) ;;
12618 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12619 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12620 esac
12621 enable_fonts=${enable_fonts:-no}
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12625 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12626 if ${ac_cv_c_ppdev+:} false; then :
12627 $as_echo_n "(cached) " >&6
12628 else
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12631 #ifdef HAVE_SYS_IOCTL_H
12632 # include <sys/ioctl.h>
12633 #endif
12634 #include <linux/ppdev.h>
12636 main ()
12638 ioctl (1,PPCLAIM,0)
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_compile "$LINENO"; then :
12644 ac_cv_c_ppdev="yes"
12645 else
12646 ac_cv_c_ppdev="no"
12648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12651 $as_echo "$ac_cv_c_ppdev" >&6; }
12652 if test "$ac_cv_c_ppdev" = "yes"
12653 then
12655 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12659 ac_wine_check_funcs_save_LIBS="$LIBS"
12660 LIBS="$LIBS $PTHREAD_LIBS"
12661 for ac_func in \
12662 pthread_attr_get_np \
12663 pthread_getattr_np \
12664 pthread_getthreadid_np \
12665 pthread_get_stackaddr_np \
12666 pthread_get_stacksize_np
12667 do :
12668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12671 cat >>confdefs.h <<_ACEOF
12672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12673 _ACEOF
12676 done
12678 LIBS="$ac_wine_check_funcs_save_LIBS"
12680 if test "$ac_cv_header_zlib_h" = "yes"
12681 then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12683 $as_echo_n "checking for inflate in -lz... " >&6; }
12684 if ${ac_cv_lib_z_inflate+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_lib_save_LIBS=$LIBS
12688 LIBS="-lz $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 /* Override any GCC internal prototype to avoid an error.
12693 Use char because int might match the return type of a GCC
12694 builtin and then its argument prototype would still apply. */
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 char inflate ();
12700 main ()
12702 return inflate ();
12704 return 0;
12706 _ACEOF
12707 if ac_fn_c_try_link "$LINENO"; then :
12708 ac_cv_lib_z_inflate=yes
12709 else
12710 ac_cv_lib_z_inflate=no
12712 rm -f core conftest.err conftest.$ac_objext \
12713 conftest$ac_exeext conftest.$ac_ext
12714 LIBS=$ac_check_lib_save_LIBS
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12717 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12718 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12720 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12722 Z_LIBS="-lz"
12727 if test "x$Z_LIBS" = "x"; then :
12728 case "x$with_zlib" in
12729 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12730 xno) ;;
12731 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12732 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12733 esac
12737 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12738 then
12739 if test "$ac_cv_header_gettext_po_h" = "yes"
12740 then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12742 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12743 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12744 $as_echo_n "(cached) " >&6
12745 else
12746 ac_check_lib_save_LIBS=$LIBS
12747 LIBS="-lgettextpo $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 #ifdef __cplusplus
12755 extern "C"
12756 #endif
12757 char po_message_msgctxt ();
12759 main ()
12761 return po_message_msgctxt ();
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"; then :
12767 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12768 else
12769 ac_cv_lib_gettextpo_po_message_msgctxt=no
12771 rm -f core conftest.err conftest.$ac_objext \
12772 conftest$ac_exeext conftest.$ac_ext
12773 LIBS=$ac_check_lib_save_LIBS
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12776 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12777 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12779 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12781 GETTEXTPO_LIBS="-lgettextpo"
12786 if test "x$GETTEXTPO_LIBS" = "x"; then :
12787 case "x$with_gettextpo" in
12788 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12789 xno) ;;
12790 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12791 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12792 esac
12795 if test "$srcdir" != .; then :
12796 case "x$with_gettextpo" in
12797 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12798 xno) ;;
12799 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12800 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12801 esac
12806 if test "x$with_pulse" != "xno";
12807 then
12808 if ${PULSE_CFLAGS:+false} :; then :
12809 if ${PKG_CONFIG+:} false; then :
12810 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12814 if ${PULSE_LIBS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12821 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12822 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12823 ac_save_CPPFLAGS=$CPPFLAGS
12824 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12825 for ac_header in pulse/pulseaudio.h
12826 do :
12827 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12828 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12829 cat >>confdefs.h <<_ACEOF
12830 #define HAVE_PULSE_PULSEAUDIO_H 1
12831 _ACEOF
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12833 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12834 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12835 $as_echo_n "(cached) " >&6
12836 else
12837 ac_check_lib_save_LIBS=$LIBS
12838 LIBS="-lpulse $PULSE_LIBS $LIBS"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12845 #ifdef __cplusplus
12846 extern "C"
12847 #endif
12848 char pa_stream_is_corked ();
12850 main ()
12852 return pa_stream_is_corked ();
12854 return 0;
12856 _ACEOF
12857 if ac_fn_c_try_link "$LINENO"; then :
12858 ac_cv_lib_pulse_pa_stream_is_corked=yes
12859 else
12860 ac_cv_lib_pulse_pa_stream_is_corked=no
12862 rm -f core conftest.err conftest.$ac_objext \
12863 conftest$ac_exeext conftest.$ac_ext
12864 LIBS=$ac_check_lib_save_LIBS
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12867 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12868 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12870 else
12871 PULSE_LIBS=""
12874 else
12875 PULSE_LIBS=""
12878 done
12880 CPPFLAGS=$ac_save_CPPFLAGS
12881 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12882 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12885 if test -z "$PULSE_LIBS"; then :
12886 case "x$with_pulse" in
12887 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12888 xno) ;;
12889 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12890 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12891 esac
12892 enable_winepulse_drv=${enable_winepulse_drv:-no}
12895 if test "x$with_gstreamer" != "xno"
12896 then
12897 if ${GSTREAMER_CFLAGS:+false} :; then :
12898 if ${PKG_CONFIG+:} false; then :
12899 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12903 if ${GSTREAMER_LIBS:+false} :; then :
12904 if ${PKG_CONFIG+:} false; then :
12905 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12910 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12911 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12912 ac_save_CPPFLAGS=$CPPFLAGS
12913 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12914 ac_gst_incl=""
12915 for i in $GSTREAMER_CFLAGS
12917 case "$i" in
12918 -I*) ac_gst_incl="$ac_gst_incl $i";;
12919 esac
12920 done
12921 GSTREAMER_CFLAGS=$ac_gst_incl
12922 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12923 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12924 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12926 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12929 #include <gst/gst.h>
12931 main ()
12933 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12935 return 0;
12937 _ACEOF
12938 if ac_fn_c_try_compile "$LINENO"; then :
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12940 $as_echo "yes" >&6; }
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12942 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12943 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12944 $as_echo_n "(cached) " >&6
12945 else
12946 ac_check_lib_save_LIBS=$LIBS
12947 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char gst_pad_new ();
12959 main ()
12961 return gst_pad_new ();
12963 return 0;
12965 _ACEOF
12966 if ac_fn_c_try_link "$LINENO"; then :
12967 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12968 else
12969 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12971 rm -f core conftest.err conftest.$ac_objext \
12972 conftest$ac_exeext conftest.$ac_ext
12973 LIBS=$ac_check_lib_save_LIBS
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12976 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12977 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12981 else
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12984 ac_glib2_broken=yes
12985 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12991 CPPFLAGS=$ac_save_CPPFLAGS
12992 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12993 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12996 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 :
12997 case "x$with_gstreamer" in
12998 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12999 xno) ;;
13000 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13001 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13002 esac
13005 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13007 ALSA_LIBS=""
13009 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13010 then
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13012 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13013 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13014 $as_echo_n "(cached) " >&6
13015 else
13016 ac_check_lib_save_LIBS=$LIBS
13017 LIBS="-lasound $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 #ifdef __cplusplus
13025 extern "C"
13026 #endif
13027 char snd_pcm_hw_params_get_access_mask ();
13029 main ()
13031 return snd_pcm_hw_params_get_access_mask ();
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_link "$LINENO"; then :
13037 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13038 else
13039 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13041 rm -f core conftest.err conftest.$ac_objext \
13042 conftest$ac_exeext conftest.$ac_ext
13043 LIBS=$ac_check_lib_save_LIBS
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13046 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13047 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13050 #ifdef HAVE_ALSA_ASOUNDLIB_H
13051 #include <alsa/asoundlib.h>
13052 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13053 #include <sys/asoundlib.h>
13054 #endif
13056 main ()
13058 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13060 return 0;
13062 _ACEOF
13063 if ac_fn_c_try_compile "$LINENO"; then :
13064 ALSA_LIBS="-lasound"
13066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13070 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13072 if test "x$with_oss" != xno
13073 then
13074 ac_save_CPPFLAGS="$CPPFLAGS"
13075 if test -f /etc/oss.conf
13076 then
13077 . /etc/oss.conf
13079 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13080 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13081 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13082 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13083 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13085 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13087 cat >>confdefs.h <<_ACEOF
13088 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13089 _ACEOF
13091 OSS4_CFLAGS="$ac_oss_incl"
13098 CPPFLAGS="$ac_save_CPPFLAGS"
13100 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13101 case "x$with_oss" in
13102 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13103 xno) ;;
13104 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13105 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13106 esac
13107 enable_wineoss_drv=${enable_wineoss_drv:-no}
13110 if test "x$with_udev" != "xno"
13111 then
13112 if ${UDEV_CFLAGS:+false} :; then :
13113 if ${PKG_CONFIG+:} false; then :
13114 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13118 if ${UDEV_LIBS:+false} :; then :
13119 if ${PKG_CONFIG+:} false; then :
13120 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13124 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13125 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13126 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13127 ac_save_CPPFLAGS=$CPPFLAGS
13128 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13129 for ac_header in libudev.h
13130 do :
13131 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13132 if test "x$ac_cv_header_libudev_h" = xyes; then :
13133 cat >>confdefs.h <<_ACEOF
13134 #define HAVE_LIBUDEV_H 1
13135 _ACEOF
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13137 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13138 if ${ac_cv_lib_udev_udev_new+:} false; then :
13139 $as_echo_n "(cached) " >&6
13140 else
13141 ac_check_lib_save_LIBS=$LIBS
13142 LIBS="-ludev $UDEV_LIBS $LIBS"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 /* Override any GCC internal prototype to avoid an error.
13147 Use char because int might match the return type of a GCC
13148 builtin and then its argument prototype would still apply. */
13149 #ifdef __cplusplus
13150 extern "C"
13151 #endif
13152 char udev_new ();
13154 main ()
13156 return udev_new ();
13158 return 0;
13160 _ACEOF
13161 if ac_fn_c_try_link "$LINENO"; then :
13162 ac_cv_lib_udev_udev_new=yes
13163 else
13164 ac_cv_lib_udev_udev_new=no
13166 rm -f core conftest.err conftest.$ac_objext \
13167 conftest$ac_exeext conftest.$ac_ext
13168 LIBS=$ac_check_lib_save_LIBS
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13171 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13172 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13174 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13176 else
13177 UDEV_LIBS=""
13180 else
13181 UDEV_LIBS=""
13184 done
13186 CPPFLAGS=$ac_save_CPPFLAGS
13187 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13188 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13191 if test "x$UDEV_LIBS" = "x"; then :
13192 case "x$with_udev" in
13193 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13194 xno) ;;
13195 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13196 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13197 esac
13201 if test "x$with_capi" != "xno"
13202 then
13203 if ${CAPI20_CFLAGS:+false} :; then :
13204 if ${PKG_CONFIG+:} false; then :
13205 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13209 if ${CAPI20_LIBS:+false} :; then :
13210 if ${PKG_CONFIG+:} false; then :
13211 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13216 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13217 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13218 ac_save_CPPFLAGS=$CPPFLAGS
13219 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13220 for ac_header in capi20.h linux/capi.h
13221 do :
13222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13223 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13225 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13226 cat >>confdefs.h <<_ACEOF
13227 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13228 _ACEOF
13232 done
13234 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13235 then
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13237 $as_echo_n "checking for -lcapi20... " >&6; }
13238 if ${ac_cv_lib_soname_capi20+:} false; then :
13239 $as_echo_n "(cached) " >&6
13240 else
13241 ac_check_soname_save_LIBS=$LIBS
13242 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13249 #ifdef __cplusplus
13250 extern "C"
13251 #endif
13252 char capi20_register ();
13254 main ()
13256 return capi20_register ();
13258 return 0;
13260 _ACEOF
13261 if ac_fn_c_try_link "$LINENO"; then :
13262 case "$LIBEXT" in
13263 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13264 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'` ;;
13265 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13266 if ${ac_cv_lib_soname_capi20:+false} :; then :
13267 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13268 fi ;;
13269 esac
13271 rm -f core conftest.err conftest.$ac_objext \
13272 conftest$ac_exeext conftest.$ac_ext
13273 LIBS=$ac_check_soname_save_LIBS
13275 if ${ac_cv_lib_soname_capi20:+false} :; then :
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13277 $as_echo "not found" >&6; }
13279 else
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13281 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13283 cat >>confdefs.h <<_ACEOF
13284 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13285 _ACEOF
13290 CPPFLAGS=$ac_save_CPPFLAGS
13291 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13292 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13295 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13296 case "x$with_capi" in
13297 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13298 xno) ;;
13299 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13300 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13301 esac
13305 CUPS_CFLAGS=""
13307 if test "x$with_cups" != "xno"
13308 then
13309 ac_save_CPPFLAGS="$CPPFLAGS"
13310 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13311 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13312 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13313 for ac_header in cups/cups.h
13314 do :
13315 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13316 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13317 cat >>confdefs.h <<_ACEOF
13318 #define HAVE_CUPS_CUPS_H 1
13319 _ACEOF
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13321 $as_echo_n "checking for -lcups... " >&6; }
13322 if ${ac_cv_lib_soname_cups+:} false; then :
13323 $as_echo_n "(cached) " >&6
13324 else
13325 ac_check_soname_save_LIBS=$LIBS
13326 LIBS="-lcups $ac_cups_libs $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 #ifdef __cplusplus
13334 extern "C"
13335 #endif
13336 char cupsGetDefault ();
13338 main ()
13340 return cupsGetDefault ();
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"; then :
13346 case "$LIBEXT" in
13347 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13348 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'` ;;
13349 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13350 if ${ac_cv_lib_soname_cups:+false} :; then :
13351 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13352 fi ;;
13353 esac
13355 rm -f core conftest.err conftest.$ac_objext \
13356 conftest$ac_exeext conftest.$ac_ext
13357 LIBS=$ac_check_soname_save_LIBS
13359 if ${ac_cv_lib_soname_cups:+false} :; then :
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13361 $as_echo "not found" >&6; }
13363 else
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13365 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13367 cat >>confdefs.h <<_ACEOF
13368 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13369 _ACEOF
13371 CUPS_CFLAGS="$ac_cups_cflags"
13373 for ac_header in cups/ppd.h
13374 do :
13375 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13376 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13377 cat >>confdefs.h <<_ACEOF
13378 #define HAVE_CUPS_PPD_H 1
13379 _ACEOF
13383 done
13387 done
13389 CPPFLAGS="$ac_save_CPPFLAGS"
13391 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13392 case "x$with_cups" in
13393 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13394 xno) ;;
13395 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13396 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13397 esac
13401 if test "x$with_fontconfig" != "xno"
13402 then
13403 if ${FONTCONFIG_CFLAGS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13408 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13409 if ${FONTCONFIG_LIBS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13414 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13416 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13417 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13418 ac_save_CPPFLAGS=$CPPFLAGS
13419 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13420 for ac_header in fontconfig/fontconfig.h
13421 do :
13422 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13423 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13424 cat >>confdefs.h <<_ACEOF
13425 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13426 _ACEOF
13430 done
13432 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13433 then
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13435 $as_echo_n "checking for -lfontconfig... " >&6; }
13436 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13437 $as_echo_n "(cached) " >&6
13438 else
13439 ac_check_soname_save_LIBS=$LIBS
13440 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13447 #ifdef __cplusplus
13448 extern "C"
13449 #endif
13450 char FcInit ();
13452 main ()
13454 return FcInit ();
13456 return 0;
13458 _ACEOF
13459 if ac_fn_c_try_link "$LINENO"; then :
13460 case "$LIBEXT" in
13461 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13462 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'` ;;
13463 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13464 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13465 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13466 fi ;;
13467 esac
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 LIBS=$ac_check_soname_save_LIBS
13473 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13475 $as_echo "not found" >&6; }
13476 FONTCONFIG_CFLAGS=""
13477 else
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13479 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13481 cat >>confdefs.h <<_ACEOF
13482 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13483 _ACEOF
13487 else
13488 FONTCONFIG_CFLAGS=""
13490 CPPFLAGS=$ac_save_CPPFLAGS
13491 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13492 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13495 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13496 case "x$with_fontconfig" in
13497 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13498 xno) ;;
13499 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13500 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13501 esac
13505 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13506 then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13508 $as_echo_n "checking for -lgsm... " >&6; }
13509 if ${ac_cv_lib_soname_gsm+:} false; then :
13510 $as_echo_n "(cached) " >&6
13511 else
13512 ac_check_soname_save_LIBS=$LIBS
13513 LIBS="-lgsm $LIBS"
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13517 /* Override any GCC internal prototype to avoid an error.
13518 Use char because int might match the return type of a GCC
13519 builtin and then its argument prototype would still apply. */
13520 #ifdef __cplusplus
13521 extern "C"
13522 #endif
13523 char gsm_create ();
13525 main ()
13527 return gsm_create ();
13529 return 0;
13531 _ACEOF
13532 if ac_fn_c_try_link "$LINENO"; then :
13533 case "$LIBEXT" in
13534 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13535 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'` ;;
13536 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13537 if ${ac_cv_lib_soname_gsm:+false} :; then :
13538 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13539 fi ;;
13540 esac
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 LIBS=$ac_check_soname_save_LIBS
13546 if ${ac_cv_lib_soname_gsm:+false} :; then :
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13548 $as_echo "not found" >&6; }
13550 else
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13552 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13554 cat >>confdefs.h <<_ACEOF
13555 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13556 _ACEOF
13561 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13562 case "x$with_gsm" in
13563 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13564 xno) ;;
13565 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13566 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13567 esac
13571 if test "x$with_jpeg" != "xno"
13572 then
13573 if ${JPEG_CFLAGS:+false} :; then :
13574 if ${PKG_CONFIG+:} false; then :
13575 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13579 if ${JPEG_LIBS:+false} :; then :
13580 if ${PKG_CONFIG+:} false; then :
13581 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13586 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13587 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13588 ac_save_CPPFLAGS=$CPPFLAGS
13589 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13590 for ac_header in jpeglib.h
13591 do :
13592 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13593 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13594 cat >>confdefs.h <<_ACEOF
13595 #define HAVE_JPEGLIB_H 1
13596 _ACEOF
13600 done
13602 if test "$ac_cv_header_jpeglib_h" = "yes"
13603 then
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13605 $as_echo_n "checking for -ljpeg... " >&6; }
13606 if ${ac_cv_lib_soname_jpeg+:} false; then :
13607 $as_echo_n "(cached) " >&6
13608 else
13609 ac_check_soname_save_LIBS=$LIBS
13610 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13614 /* Override any GCC internal prototype to avoid an error.
13615 Use char because int might match the return type of a GCC
13616 builtin and then its argument prototype would still apply. */
13617 #ifdef __cplusplus
13618 extern "C"
13619 #endif
13620 char jpeg_start_decompress ();
13622 main ()
13624 return jpeg_start_decompress ();
13626 return 0;
13628 _ACEOF
13629 if ac_fn_c_try_link "$LINENO"; then :
13630 case "$LIBEXT" in
13631 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13632 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'` ;;
13633 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13634 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13635 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13636 fi ;;
13637 esac
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 LIBS=$ac_check_soname_save_LIBS
13643 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13645 $as_echo "not found" >&6; }
13646 JPEG_CFLAGS=""
13647 else
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13649 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13651 cat >>confdefs.h <<_ACEOF
13652 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13653 _ACEOF
13657 else
13658 JPEG_CFLAGS=""
13660 CPPFLAGS=$ac_save_CPPFLAGS
13661 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13662 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13665 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13666 case "x$with_jpeg" in
13667 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13668 xno) ;;
13669 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13670 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13671 esac
13675 if test "x$with_png" != "xno"
13676 then
13677 if ${PNG_CFLAGS:+false} :; then :
13678 if ${PKG_CONFIG+:} false; then :
13679 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13682 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13683 if ${PNG_LIBS:+false} :; then :
13684 if ${PKG_CONFIG+:} false; then :
13685 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13688 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13690 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13691 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13692 ac_save_CPPFLAGS=$CPPFLAGS
13693 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13694 for ac_header in png.h
13695 do :
13696 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13697 if test "x$ac_cv_header_png_h" = xyes; then :
13698 cat >>confdefs.h <<_ACEOF
13699 #define HAVE_PNG_H 1
13700 _ACEOF
13704 done
13706 if test "$ac_cv_header_png_h" = "yes"
13707 then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13709 $as_echo_n "checking for -lpng... " >&6; }
13710 if ${ac_cv_lib_soname_png+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 ac_check_soname_save_LIBS=$LIBS
13714 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13721 #ifdef __cplusplus
13722 extern "C"
13723 #endif
13724 char png_create_read_struct ();
13726 main ()
13728 return png_create_read_struct ();
13730 return 0;
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 case "$LIBEXT" in
13735 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13736 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'` ;;
13737 *) 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'`
13738 if ${ac_cv_lib_soname_png:+false} :; then :
13739 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13740 fi ;;
13741 esac
13743 rm -f core conftest.err conftest.$ac_objext \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS=$ac_check_soname_save_LIBS
13747 if ${ac_cv_lib_soname_png:+false} :; then :
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13749 $as_echo "not found" >&6; }
13750 PNG_CFLAGS=""
13751 else
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13753 $as_echo "$ac_cv_lib_soname_png" >&6; }
13755 cat >>confdefs.h <<_ACEOF
13756 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13757 _ACEOF
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 #include <png.h>
13763 main ()
13765 typeof(png_set_expand_gray_1_2_4_to_8) *p
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_compile "$LINENO"; then :
13772 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13777 else
13778 PNG_CFLAGS=""
13780 CPPFLAGS=$ac_save_CPPFLAGS
13781 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13782 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13785 if test "x$ac_cv_lib_soname_png" = "x"; then :
13786 case "x$with_png" in
13787 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13788 xno) ;;
13789 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13790 This is an error since --with-png was requested." "$LINENO" 5 ;;
13791 esac
13795 if test "x$with_tiff" != "xno"
13796 then
13797 if ${TIFF_CFLAGS:+false} :; then :
13798 if ${PKG_CONFIG+:} false; then :
13799 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13803 if ${TIFF_LIBS:+false} :; then :
13804 if ${PKG_CONFIG+:} false; then :
13805 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13810 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13811 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13812 ac_save_CPPFLAGS=$CPPFLAGS
13813 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13814 for ac_header in tiffio.h
13815 do :
13816 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13817 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13818 cat >>confdefs.h <<_ACEOF
13819 #define HAVE_TIFFIO_H 1
13820 _ACEOF
13824 done
13826 if test "$ac_cv_header_tiffio_h" = "yes"
13827 then
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13829 $as_echo_n "checking for -ltiff... " >&6; }
13830 if ${ac_cv_lib_soname_tiff+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 ac_check_soname_save_LIBS=$LIBS
13834 LIBS="-ltiff $TIFF_LIBS $LIBS"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13841 #ifdef __cplusplus
13842 extern "C"
13843 #endif
13844 char TIFFClientOpen ();
13846 main ()
13848 return TIFFClientOpen ();
13850 return 0;
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 case "$LIBEXT" in
13855 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13856 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'` ;;
13857 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13858 if ${ac_cv_lib_soname_tiff:+false} :; then :
13859 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13860 fi ;;
13861 esac
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_soname_save_LIBS
13867 if ${ac_cv_lib_soname_tiff:+false} :; then :
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13869 $as_echo "not found" >&6; }
13871 else
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13873 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13875 cat >>confdefs.h <<_ACEOF
13876 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13877 _ACEOF
13882 CPPFLAGS=$ac_save_CPPFLAGS
13883 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13884 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13887 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13888 case "x$with_tiff" in
13889 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13890 xno) ;;
13891 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13892 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13893 esac
13897 if test "x$with_mpg123" != "xno"
13898 then
13899 if ${MPG123_CFLAGS:+false} :; then :
13900 if ${PKG_CONFIG+:} false; then :
13901 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13905 if ${MPG123_LIBS:+false} :; then :
13906 if ${PKG_CONFIG+:} false; then :
13907 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13911 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13912 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13913 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13914 ac_save_CPPFLAGS=$CPPFLAGS
13915 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13916 for ac_header in mpg123.h
13917 do :
13918 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13919 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13920 cat >>confdefs.h <<_ACEOF
13921 #define HAVE_MPG123_H 1
13922 _ACEOF
13926 done
13928 if test "$ac_cv_header_mpg123_h" = "yes"
13929 then
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13931 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13932 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13933 $as_echo_n "(cached) " >&6
13934 else
13935 ac_check_lib_save_LIBS=$LIBS
13936 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13940 /* Override any GCC internal prototype to avoid an error.
13941 Use char because int might match the return type of a GCC
13942 builtin and then its argument prototype would still apply. */
13943 #ifdef __cplusplus
13944 extern "C"
13945 #endif
13946 char mpg123_feed ();
13948 main ()
13950 return mpg123_feed ();
13952 return 0;
13954 _ACEOF
13955 if ac_fn_c_try_link "$LINENO"; then :
13956 ac_cv_lib_mpg123_mpg123_feed=yes
13957 else
13958 ac_cv_lib_mpg123_mpg123_feed=no
13960 rm -f core conftest.err conftest.$ac_objext \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS=$ac_check_lib_save_LIBS
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13965 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13966 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13968 else
13969 MPG123_LIBS=""
13972 else
13973 MPG123_CFLAGS=""
13974 MPG123_LIBS=""
13976 CPPFLAGS=$ac_save_CPPFLAGS
13977 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13978 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13981 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13982 case "x$with_mpg123" in
13983 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13984 xno) ;;
13985 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13986 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13987 esac
13988 enable_winemp3_acm=${enable_winemp3_acm:-no}
13991 if test "$ac_cv_header_AL_al_h" = "yes"
13992 then
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13994 $as_echo_n "checking for -lopenal... " >&6; }
13995 if ${ac_cv_lib_soname_openal+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_check_soname_save_LIBS=$LIBS
13999 LIBS="-lopenal $LIBS"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 /* Override any GCC internal prototype to avoid an error.
14004 Use char because int might match the return type of a GCC
14005 builtin and then its argument prototype would still apply. */
14006 #ifdef __cplusplus
14007 extern "C"
14008 #endif
14009 char alGetSource3i ();
14011 main ()
14013 return alGetSource3i ();
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"; then :
14019 case "$LIBEXT" in
14020 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14021 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'` ;;
14022 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14023 if ${ac_cv_lib_soname_openal:+false} :; then :
14024 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14025 fi ;;
14026 esac
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_soname_save_LIBS
14032 if ${ac_cv_lib_soname_openal:+false} :; then :
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14034 $as_echo "not found" >&6; }
14036 else
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14038 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14040 cat >>confdefs.h <<_ACEOF
14041 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14042 _ACEOF
14044 OPENAL_LIBS="-lopenal"
14046 ac_cv_lib_openal=yes
14048 cat >>confdefs.h <<_ACEOF
14049 #define HAVE_OPENAL 1
14050 _ACEOF
14054 if test "x$ac_cv_lib_openal" != xyes; then :
14055 case "x$with_openal" in
14056 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14057 xno) ;;
14058 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14059 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14060 esac
14061 enable_openal32=${enable_openal32:-no}
14064 if test "x$ac_cv_lib_openal" = xyes
14065 then
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14067 $as_echo_n "checking for openal-soft... " >&6; }
14068 if ${ac_cv_have_openalsoft+:} false; then :
14069 $as_echo_n "(cached) " >&6
14070 else
14071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 #include <AL/al.h>
14074 #include <AL/alc.h>
14075 #include <AL/alext.h>
14076 LPALCRENDERSAMPLESSOFT x;
14078 main ()
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_compile "$LINENO"; then :
14086 ac_cv_have_openalsoft=yes
14087 else
14088 ac_cv_have_openalsoft=no
14090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14093 $as_echo "$ac_cv_have_openalsoft" >&6; }
14095 if test "x$ac_cv_have_openalsoft" != xyes
14096 then
14097 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14098 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14099 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14100 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14101 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14102 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14103 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14104 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14105 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14106 enable_xapofx1_1=${enable_xapofx1_1:-no}
14107 enable_xapofx1_2=${enable_xapofx1_2:-no}
14108 enable_xapofx1_3=${enable_xapofx1_3:-no}
14109 enable_xapofx1_4=${enable_xapofx1_4:-no}
14110 enable_xapofx1_5=${enable_xapofx1_5:-no}
14111 enable_xaudio2_0=${enable_xaudio2_0:-no}
14112 enable_xaudio2_1=${enable_xaudio2_1:-no}
14113 enable_xaudio2_2=${enable_xaudio2_2:-no}
14114 enable_xaudio2_3=${enable_xaudio2_3:-no}
14115 enable_xaudio2_4=${enable_xaudio2_4:-no}
14116 enable_xaudio2_5=${enable_xaudio2_5:-no}
14117 enable_xaudio2_6=${enable_xaudio2_6:-no}
14118 enable_xaudio2_7=${enable_xaudio2_7:-no}
14119 enable_xaudio2_8=${enable_xaudio2_8:-no}
14120 enable_xaudio2_9=${enable_xaudio2_9:-no}
14123 if test "$ac_cv_header_kstat_h" = "yes"
14124 then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14126 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14127 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_check_lib_save_LIBS=$LIBS
14131 LIBS="-lkstat $LIBS"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14135 /* Override any GCC internal prototype to avoid an error.
14136 Use char because int might match the return type of a GCC
14137 builtin and then its argument prototype would still apply. */
14138 #ifdef __cplusplus
14139 extern "C"
14140 #endif
14141 char kstat_open ();
14143 main ()
14145 return kstat_open ();
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_cv_lib_kstat_kstat_open=yes
14152 else
14153 ac_cv_lib_kstat_kstat_open=no
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 LIBS=$ac_check_lib_save_LIBS
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14160 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14161 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14163 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14165 KSTAT_LIBS="-lkstat"
14171 if test "$ac_cv_header_libprocstat_h" = "yes"
14172 then
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14174 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14175 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14176 $as_echo_n "(cached) " >&6
14177 else
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-lprocstat $LIBS"
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 /* Override any GCC internal prototype to avoid an error.
14184 Use char because int might match the return type of a GCC
14185 builtin and then its argument prototype would still apply. */
14186 #ifdef __cplusplus
14187 extern "C"
14188 #endif
14189 char procstat_open_sysctl ();
14191 main ()
14193 return procstat_open_sysctl ();
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_lib_procstat_procstat_open_sysctl=yes
14200 else
14201 ac_cv_lib_procstat_procstat_open_sysctl=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS=$ac_check_lib_save_LIBS
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14208 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14209 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14211 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14213 PROCSTAT_LIBS="-lprocstat"
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14220 $as_echo_n "checking for -lodbc... " >&6; }
14221 if ${ac_cv_lib_soname_odbc+:} false; then :
14222 $as_echo_n "(cached) " >&6
14223 else
14224 ac_check_soname_save_LIBS=$LIBS
14225 LIBS="-lodbc $LIBS"
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14232 #ifdef __cplusplus
14233 extern "C"
14234 #endif
14235 char SQLConnect ();
14237 main ()
14239 return SQLConnect ();
14241 return 0;
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"; then :
14245 case "$LIBEXT" in
14246 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14247 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'` ;;
14248 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14249 if ${ac_cv_lib_soname_odbc:+false} :; then :
14250 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14251 fi ;;
14252 esac
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS=$ac_check_soname_save_LIBS
14258 if ${ac_cv_lib_soname_odbc:+false} :; then :
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14260 $as_echo "not found" >&6; }
14261 cat >>confdefs.h <<_ACEOF
14262 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14263 _ACEOF
14265 else
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14267 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14269 cat >>confdefs.h <<_ACEOF
14270 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14271 _ACEOF
14276 if test "x$with_netapi" != "xno"
14277 then
14278 if ${NETAPI_CFLAGS:+false} :; then :
14279 if ${PKG_CONFIG+:} false; then :
14280 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14284 if ${NETAPI_LIBS:+false} :; then :
14285 if ${PKG_CONFIG+:} false; then :
14286 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14291 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14292 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14293 ac_save_CPPFLAGS=$CPPFLAGS
14294 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14296 $as_echo_n "checking for -lnetapi... " >&6; }
14297 if ${ac_cv_lib_soname_netapi+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 ac_check_soname_save_LIBS=$LIBS
14301 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14308 #ifdef __cplusplus
14309 extern "C"
14310 #endif
14311 char libnetapi_init ();
14313 main ()
14315 return libnetapi_init ();
14317 return 0;
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 case "$LIBEXT" in
14322 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14323 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'` ;;
14324 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14325 if ${ac_cv_lib_soname_netapi:+false} :; then :
14326 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14327 fi ;;
14328 esac
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_soname_save_LIBS
14334 if ${ac_cv_lib_soname_netapi:+false} :; then :
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14336 $as_echo "not found" >&6; }
14337 cat >>confdefs.h <<_ACEOF
14338 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14339 _ACEOF
14341 else
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14343 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14345 cat >>confdefs.h <<_ACEOF
14346 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14347 _ACEOF
14351 CPPFLAGS=$ac_save_CPPFLAGS
14352 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14353 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14357 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14358 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14359 then
14360 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14364 EXTRACFLAGS=""
14366 if test "x${GCC}" = "xyes"
14367 then
14368 EXTRACFLAGS="-Wall -pipe"
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14371 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14372 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14373 $as_echo_n "(cached) " >&6
14374 else
14375 if test "$cross_compiling" = yes; then :
14376 ac_cv_c_gcc_strength_bug="no"
14377 else
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 int L[4] = {0,1,2,3};
14382 main ()
14384 static int Array[3];
14385 unsigned int B = 3;
14386 int i;
14387 for(i=0; i<B; i++) Array[i] = i - 3;
14388 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14389 L[i] = 4;
14390 return (Array[1] != -2 || L[2] != 3)
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_run "$LINENO"; then :
14396 ac_cv_c_gcc_strength_bug="no"
14397 else
14398 ac_cv_c_gcc_strength_bug="yes"
14400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14401 conftest.$ac_objext conftest.beam conftest.$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14406 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14407 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14408 then
14409 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14413 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14414 if ${ac_cv_cflags__fno_builtin+:} false; then :
14415 $as_echo_n "(cached) " >&6
14416 else
14417 ac_wine_try_cflags_saved=$CFLAGS
14418 CFLAGS="$CFLAGS -fno-builtin"
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14421 int main(int argc, char **argv) { return 0; }
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 ac_cv_cflags__fno_builtin=yes
14425 else
14426 ac_cv_cflags__fno_builtin=no
14428 rm -f core conftest.err conftest.$ac_objext \
14429 conftest$ac_exeext conftest.$ac_ext
14430 CFLAGS=$ac_wine_try_cflags_saved
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14433 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14434 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14435 BUILTINFLAG="-fno-builtin"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14439 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14440 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_wine_try_cflags_saved=$CFLAGS
14444 CFLAGS="$CFLAGS -fno-strict-aliasing"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 int main(int argc, char **argv) { return 0; }
14448 _ACEOF
14449 if ac_fn_c_try_link "$LINENO"; then :
14450 ac_cv_cflags__fno_strict_aliasing=yes
14451 else
14452 ac_cv_cflags__fno_strict_aliasing=no
14454 rm -f core conftest.err conftest.$ac_objext \
14455 conftest$ac_exeext conftest.$ac_ext
14456 CFLAGS=$ac_wine_try_cflags_saved
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14459 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14460 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14461 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14464 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14465 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_wine_try_cflags_saved=$CFLAGS
14469 CFLAGS="$CFLAGS -fexcess-precision=standard"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 int main(int argc, char **argv) { return 0; }
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_cflags__fexcess_precision_standard=yes
14476 else
14477 ac_cv_cflags__fexcess_precision_standard=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 CFLAGS=$ac_wine_try_cflags_saved
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14484 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14485 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14486 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14489 saved_CFLAGS=$CFLAGS
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14491 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14492 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14493 $as_echo_n "(cached) " >&6
14494 else
14495 ac_wine_try_cflags_saved=$CFLAGS
14496 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 int main(int argc, char **argv) { return 0; }
14500 _ACEOF
14501 if ac_fn_c_try_link "$LINENO"; then :
14502 ac_cv_cflags__Werror_unknown_warning_option=yes
14503 else
14504 ac_cv_cflags__Werror_unknown_warning_option=no
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14508 CFLAGS=$ac_wine_try_cflags_saved
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14511 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14512 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14513 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14516 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14517 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 ac_wine_try_cflags_saved=$CFLAGS
14521 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14524 int main(int argc, char **argv) { return 0; }
14525 _ACEOF
14526 if ac_fn_c_try_link "$LINENO"; then :
14527 ac_cv_cflags__Wdeclaration_after_statement=yes
14528 else
14529 ac_cv_cflags__Wdeclaration_after_statement=no
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 CFLAGS=$ac_wine_try_cflags_saved
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14536 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14537 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14538 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14541 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14542 if ${ac_cv_cflags__Wempty_body+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_wine_try_cflags_saved=$CFLAGS
14546 CFLAGS="$CFLAGS -Wempty-body"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14549 int main(int argc, char **argv) { return 0; }
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_cflags__Wempty_body=yes
14553 else
14554 ac_cv_cflags__Wempty_body=no
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 CFLAGS=$ac_wine_try_cflags_saved
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14561 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14562 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14563 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14566 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14567 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_wine_try_cflags_saved=$CFLAGS
14571 CFLAGS="$CFLAGS -Wignored-qualifiers"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_cflags__Wignored_qualifiers=yes
14578 else
14579 ac_cv_cflags__Wignored_qualifiers=no
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 CFLAGS=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14586 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14587 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14588 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14591 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14592 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 ac_wine_try_cflags_saved=$CFLAGS
14596 CFLAGS="$CFLAGS -Wshift-overflow=2"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 int main(int argc, char **argv) { return 0; }
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 ac_cv_cflags__Wshift_overflow_2=yes
14603 else
14604 ac_cv_cflags__Wshift_overflow_2=no
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14608 CFLAGS=$ac_wine_try_cflags_saved
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14611 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14612 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14613 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14616 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14617 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 ac_wine_try_cflags_saved=$CFLAGS
14621 CFLAGS="$CFLAGS -Wstrict-prototypes"
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 int main(int argc, char **argv) { return 0; }
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 ac_cv_cflags__Wstrict_prototypes=yes
14628 else
14629 ac_cv_cflags__Wstrict_prototypes=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 CFLAGS=$ac_wine_try_cflags_saved
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14636 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14637 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14638 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14641 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14642 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 ac_wine_try_cflags_saved=$CFLAGS
14646 CFLAGS="$CFLAGS -Wtype-limits"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 int main(int argc, char **argv) { return 0; }
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"; then :
14652 ac_cv_cflags__Wtype_limits=yes
14653 else
14654 ac_cv_cflags__Wtype_limits=no
14656 rm -f core conftest.err conftest.$ac_objext \
14657 conftest$ac_exeext conftest.$ac_ext
14658 CFLAGS=$ac_wine_try_cflags_saved
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14661 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14662 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14663 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14666 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14667 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 ac_wine_try_cflags_saved=$CFLAGS
14671 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14674 int main(int argc, char **argv) { return 0; }
14675 _ACEOF
14676 if ac_fn_c_try_link "$LINENO"; then :
14677 ac_cv_cflags__Wunused_but_set_parameter=yes
14678 else
14679 ac_cv_cflags__Wunused_but_set_parameter=no
14681 rm -f core conftest.err conftest.$ac_objext \
14682 conftest$ac_exeext conftest.$ac_ext
14683 CFLAGS=$ac_wine_try_cflags_saved
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14686 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14687 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14688 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14691 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14692 if ${ac_cv_cflags__Wvla+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 ac_wine_try_cflags_saved=$CFLAGS
14696 CFLAGS="$CFLAGS -Wvla"
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 int main(int argc, char **argv) { return 0; }
14700 _ACEOF
14701 if ac_fn_c_try_link "$LINENO"; then :
14702 ac_cv_cflags__Wvla=yes
14703 else
14704 ac_cv_cflags__Wvla=no
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext conftest.$ac_ext
14708 CFLAGS=$ac_wine_try_cflags_saved
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14711 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14712 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14713 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14716 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14717 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_wine_try_cflags_saved=$CFLAGS
14721 CFLAGS="$CFLAGS -Wwrite-strings"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 int main(int argc, char **argv) { return 0; }
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_cflags__Wwrite_strings=yes
14728 else
14729 ac_cv_cflags__Wwrite_strings=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 CFLAGS=$ac_wine_try_cflags_saved
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14736 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14737 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14738 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14742 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14743 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14744 $as_echo_n "(cached) " >&6
14745 else
14746 ac_wine_try_cflags_saved=$CFLAGS
14747 CFLAGS="$CFLAGS -Wpointer-arith"
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14750 int main(int argc, char **argv) { return 0; }
14751 _ACEOF
14752 if ac_fn_c_try_link "$LINENO"; then :
14753 ac_cv_cflags__Wpointer_arith=yes
14754 else
14755 ac_cv_cflags__Wpointer_arith=no
14757 rm -f core conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 CFLAGS=$ac_wine_try_cflags_saved
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14762 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14763 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14764 saved_string_h_CFLAGS=$CFLAGS
14765 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14767 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14768 if ${ac_cv_c_string_h_warnings+:} false; then :
14769 $as_echo_n "(cached) " >&6
14770 else
14771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14772 /* end confdefs.h. */
14773 #include <string.h>
14775 main ()
14779 return 0;
14781 _ACEOF
14782 if ac_fn_c_try_compile "$LINENO"; then :
14783 ac_cv_c_string_h_warnings=no
14784 else
14785 ac_cv_c_string_h_warnings=yes
14787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14790 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14791 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14792 CFLAGS=$saved_string_h_CFLAGS
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14796 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14797 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_wine_try_cflags_saved=$CFLAGS
14801 CFLAGS="$CFLAGS -Wlogical-op"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 int main(int argc, char **argv) { return 0; }
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"; then :
14807 ac_cv_cflags__Wlogical_op=yes
14808 else
14809 ac_cv_cflags__Wlogical_op=no
14811 rm -f core conftest.err conftest.$ac_objext \
14812 conftest$ac_exeext conftest.$ac_ext
14813 CFLAGS=$ac_wine_try_cflags_saved
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14816 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14817 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14818 saved_string_h_CFLAGS=$CFLAGS
14819 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14821 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14822 if ${ac_cv_c_logicalop_noisy+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 #include <string.h>
14828 char*f(const char *h,char n) {return strchr(h,n);}
14830 main ()
14834 return 0;
14836 _ACEOF
14837 if ac_fn_c_try_compile "$LINENO"; then :
14838 ac_cv_c_logicalop_noisy=no
14839 else
14840 ac_cv_c_logicalop_noisy=yes
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14845 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14846 CFLAGS=$saved_string_h_CFLAGS
14847 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14850 CFLAGS=$saved_CFLAGS
14852 for ac_flag in $CFLAGS; do
14853 case $ac_flag in
14854 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14855 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14856 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 ac_wine_try_cflags_saved=$CFLAGS
14860 CFLAGS="$CFLAGS -gdwarf-2"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14863 int main(int argc, char **argv) { return 0; }
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_cflags__gdwarf_2=yes
14867 else
14868 ac_cv_cflags__gdwarf_2=no
14870 rm -f core conftest.err conftest.$ac_objext \
14871 conftest$ac_exeext conftest.$ac_ext
14872 CFLAGS=$ac_wine_try_cflags_saved
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14875 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14876 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14877 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14880 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14881 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 ac_wine_try_cflags_saved=$CFLAGS
14885 CFLAGS="$CFLAGS -gstrict-dwarf"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14888 int main(int argc, char **argv) { return 0; }
14889 _ACEOF
14890 if ac_fn_c_try_link "$LINENO"; then :
14891 ac_cv_cflags__gstrict_dwarf=yes
14892 else
14893 ac_cv_cflags__gstrict_dwarf=no
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14897 CFLAGS=$ac_wine_try_cflags_saved
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14900 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14901 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14902 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14903 fi ;;
14904 esac
14905 done
14907 case $host_cpu in
14908 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14909 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14910 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 ac_wine_try_cflags_saved=$CFLAGS
14914 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 int main(int argc, char **argv) { return 0; }
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920 ac_cv_cflags__fno_omit_frame_pointer=yes
14921 else
14922 ac_cv_cflags__fno_omit_frame_pointer=no
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14926 CFLAGS=$ac_wine_try_cflags_saved
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14929 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14930 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14931 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14932 fi ;;
14933 esac
14935 case $host in
14936 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14937 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14938 if ${ac_cv_cflags__Wno_format+:} false; then :
14939 $as_echo_n "(cached) " >&6
14940 else
14941 ac_wine_try_cflags_saved=$CFLAGS
14942 CFLAGS="$CFLAGS -Wno-format"
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14945 int main(int argc, char **argv) { return 0; }
14946 _ACEOF
14947 if ac_fn_c_try_link "$LINENO"; then :
14948 ac_cv_cflags__Wno_format=yes
14949 else
14950 ac_cv_cflags__Wno_format=no
14952 rm -f core conftest.err conftest.$ac_objext \
14953 conftest$ac_exeext conftest.$ac_ext
14954 CFLAGS=$ac_wine_try_cflags_saved
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14957 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14958 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14959 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14960 fi ;;
14961 esac
14963 if test "x$enable_maintainer_mode" = "xyes"
14964 then
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14966 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14967 if ${ac_cv_cflags__Werror+:} false; then :
14968 $as_echo_n "(cached) " >&6
14969 else
14970 ac_wine_try_cflags_saved=$CFLAGS
14971 CFLAGS="$CFLAGS -Werror"
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14974 int main(int argc, char **argv) { return 0; }
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"; then :
14977 ac_cv_cflags__Werror=yes
14978 else
14979 ac_cv_cflags__Werror=no
14981 rm -f core conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext conftest.$ac_ext
14983 CFLAGS=$ac_wine_try_cflags_saved
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14986 $as_echo "$ac_cv_cflags__Werror" >&6; }
14987 if test "x$ac_cv_cflags__Werror" = xyes; then :
14988 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14992 saved_CFLAGS="$CFLAGS"
14993 CFLAGS="$CFLAGS -Werror"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14995 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14996 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15001 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15003 main ()
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_compile "$LINENO"; then :
15011 ac_cv_have_ms_hook_prologue="yes"
15012 else
15013 ac_cv_have_ms_hook_prologue="no"
15015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15018 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15019 CFLAGS="$saved_CFLAGS"
15020 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15021 then
15023 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15025 else
15026 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15033 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15034 if ${ac_cv_c_fortify_enabled+:} false; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 #include <string.h>
15041 main ()
15043 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15044 #error Fortify enabled
15045 #endif
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_compile "$LINENO"; then :
15051 ac_cv_c_fortify_enabled=no
15052 else
15053 ac_cv_c_fortify_enabled=yes
15055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15058 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15059 if test "$ac_cv_c_fortify_enabled" = yes
15060 then
15061 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15066 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15067 if ${ac_cv_c_extern_prefix+:} false; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 extern int ac_test;
15074 main ()
15076 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 ac_cv_c_extern_prefix="yes"
15083 else
15084 ac_cv_c_extern_prefix="no"
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext conftest.$ac_ext
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15090 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15092 case $host_cpu in
15093 *i[3456789]86*)
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15095 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15096 if ${ac_cv_c_stdcall_suffix+:} false; then :
15097 $as_echo_n "(cached) " >&6
15098 else
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15101 #ifndef _MSC_VER
15102 #define __stdcall __attribute__((__stdcall__))
15103 #endif
15104 int __stdcall ac_test(int i) { return i; }
15106 main ()
15108 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15110 return 0;
15112 _ACEOF
15113 if ac_fn_c_try_link "$LINENO"; then :
15114 ac_cv_c_stdcall_suffix="yes"
15115 else
15116 ac_cv_c_stdcall_suffix="no"
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15122 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15123 *) ac_cv_c_stdcall_suffix="no" ;;
15124 esac
15127 if test "$ac_cv_c_extern_prefix" = "yes"
15128 then
15129 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15131 asm_name_prefix="_"
15132 else
15133 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15135 asm_name_prefix=""
15139 if test "$ac_cv_c_stdcall_suffix" = "yes"
15140 then
15141 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15143 else
15144 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15150 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15151 if ${ac_cv_asm_func_def+:} false; then :
15152 $as_echo_n "(cached) " >&6
15153 else
15154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15155 /* end confdefs.h. */
15158 main ()
15160 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_link "$LINENO"; then :
15166 ac_cv_asm_func_def=".def"
15167 else
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15172 main ()
15174 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"; then :
15180 ac_cv_asm_func_def=".type @function"
15181 else
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15186 main ()
15188 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_link "$LINENO"; then :
15194 ac_cv_asm_func_def=".type 2"
15195 else
15196 ac_cv_asm_func_def="unknown"
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15208 $as_echo "$ac_cv_asm_func_def" >&6; }
15211 case "$ac_cv_asm_func_def" in
15212 ".def")
15213 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15215 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15216 ".type @function")
15217 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15219 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15220 ".type 2")
15221 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15223 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15225 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15227 asm_func_header="" ;;
15228 esac
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15231 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15232 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15233 $as_echo_n "(cached) " >&6
15234 else
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15237 asm(".text\n\t.long 0");
15239 main ()
15243 return 0;
15245 _ACEOF
15246 if ac_fn_c_try_compile "$LINENO"; then :
15247 ac_cv_c_asm_outside_funcs="yes"
15248 else
15249 ac_cv_c_asm_outside_funcs="no"
15251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15254 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15257 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15258 if ${ac_cv_c_dot_previous+:} false; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15262 /* end confdefs.h. */
15265 main ()
15267 asm(".text\nac_test:\t.long 0\n\t.previous");
15269 return 0;
15271 _ACEOF
15272 if ac_fn_c_try_link "$LINENO"; then :
15273 ac_cv_c_dot_previous="yes"
15274 else
15275 ac_cv_c_dot_previous="no"
15277 rm -f core conftest.err conftest.$ac_objext \
15278 conftest$ac_exeext conftest.$ac_ext
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15281 $as_echo "$ac_cv_c_dot_previous" >&6; }
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15284 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15285 if ${ac_cv_c_cfi_support+:} false; then :
15286 $as_echo_n "(cached) " >&6
15287 else
15288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h. */
15290 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15292 main ()
15296 return 0;
15298 _ACEOF
15299 if ac_fn_c_try_compile "$LINENO"; then :
15300 ac_cv_c_cfi_support="yes"
15301 else
15302 ac_cv_c_cfi_support="no"
15304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15307 $as_echo "$ac_cv_c_cfi_support" >&6; }
15309 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15310 asm_func_trailer=""
15311 if test "$ac_cv_c_dot_previous" = "yes"
15312 then
15313 asm_func_trailer="\\n\\t.previous"
15315 if test "$ac_cv_c_cfi_support" = "yes"
15316 then
15317 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15318 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15320 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15322 UNWINDFLAGS=-fasynchronous-unwind-tables
15324 else
15325 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15327 if test "x$enable_win64" = "xyes"
15328 then
15329 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15333 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15336 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15337 then
15338 cat >>confdefs.h <<_ACEOF
15339 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15340 _ACEOF
15342 else
15343 cat >>confdefs.h <<_ACEOF
15344 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15345 _ACEOF
15349 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15352 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15356 case $build_os in
15357 cygwin*|mingw32*) TOOLSEXT=".exe"
15359 esac
15361 case $host_os in
15362 linux*)
15363 case $host_cpu in
15364 *i[3456789]86*|x86_64*)
15365 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15366 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15368 esac
15370 esac
15373 ac_save_CFLAGS="$CFLAGS"
15374 CFLAGS="$CFLAGS $BUILTINFLAG"
15375 for ac_func in \
15376 __res_get_state \
15377 __res_getservers \
15378 _finite \
15379 _isnan \
15380 _pclose \
15381 _popen \
15382 _snprintf \
15383 _spawnvp \
15384 _strdup \
15385 _stricmp \
15386 _strnicmp \
15387 _strtoi64 \
15388 _strtoui64 \
15389 _vsnprintf \
15390 asctime_r \
15391 chsize \
15392 dlopen \
15393 epoll_create \
15394 ffs \
15395 finitef \
15396 fnmatch \
15397 fork \
15398 fpclass \
15399 fstatfs \
15400 fstatvfs \
15401 ftruncate \
15402 futimens \
15403 futimes \
15404 futimesat \
15405 getattrlist \
15406 getauxval \
15407 getifaddrs \
15408 getopt_long_only \
15409 getpwuid \
15410 gettimeofday \
15411 getuid \
15412 isnanf \
15413 kqueue \
15414 lstat \
15415 memmove \
15416 mmap \
15417 pclose \
15418 pipe2 \
15419 poll \
15420 popen \
15421 port_create \
15422 prctl \
15423 pread \
15424 proc_pidinfo \
15425 pwrite \
15426 readdir \
15427 readlink \
15428 sched_yield \
15429 select \
15430 setproctitle \
15431 setprogname \
15432 setrlimit \
15433 settimeofday \
15434 sigaltstack \
15435 sigprocmask \
15436 snprintf \
15437 statfs \
15438 statvfs \
15439 strcasecmp \
15440 strdup \
15441 strerror \
15442 strncasecmp \
15443 strtold \
15444 strtoll \
15445 strtoull \
15446 symlink \
15447 sysinfo \
15448 tcdrain \
15449 thr_kill2 \
15450 timegm \
15451 usleep \
15452 vsnprintf
15454 do :
15455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15458 cat >>confdefs.h <<_ACEOF
15459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15460 _ACEOF
15463 done
15465 CFLAGS="$ac_save_CFLAGS"
15467 if test "$ac_cv_func_dlopen" = no
15468 then
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15470 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15471 if ${ac_cv_lib_dl_dlopen+:} false; then :
15472 $as_echo_n "(cached) " >&6
15473 else
15474 ac_check_lib_save_LIBS=$LIBS
15475 LIBS="-ldl $LIBS"
15476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15477 /* end confdefs.h. */
15479 /* Override any GCC internal prototype to avoid an error.
15480 Use char because int might match the return type of a GCC
15481 builtin and then its argument prototype would still apply. */
15482 #ifdef __cplusplus
15483 extern "C"
15484 #endif
15485 char dlopen ();
15487 main ()
15489 return dlopen ();
15491 return 0;
15493 _ACEOF
15494 if ac_fn_c_try_link "$LINENO"; then :
15495 ac_cv_lib_dl_dlopen=yes
15496 else
15497 ac_cv_lib_dl_dlopen=no
15499 rm -f core conftest.err conftest.$ac_objext \
15500 conftest$ac_exeext conftest.$ac_ext
15501 LIBS=$ac_check_lib_save_LIBS
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15504 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15505 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15506 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15507 DL_LIBS="-ldl"
15512 ac_wine_check_funcs_save_LIBS="$LIBS"
15513 LIBS="$LIBS $DL_LIBS"
15514 for ac_func in dladdr
15515 do :
15516 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15517 if test "x$ac_cv_func_dladdr" = xyes; then :
15518 cat >>confdefs.h <<_ACEOF
15519 #define HAVE_DLADDR 1
15520 _ACEOF
15523 done
15525 LIBS="$ac_wine_check_funcs_save_LIBS"
15527 if test "$ac_cv_func_poll" = no
15528 then
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15530 $as_echo_n "checking for poll in -lpoll... " >&6; }
15531 if ${ac_cv_lib_poll_poll+:} false; then :
15532 $as_echo_n "(cached) " >&6
15533 else
15534 ac_check_lib_save_LIBS=$LIBS
15535 LIBS="-lpoll $LIBS"
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15539 /* Override any GCC internal prototype to avoid an error.
15540 Use char because int might match the return type of a GCC
15541 builtin and then its argument prototype would still apply. */
15542 #ifdef __cplusplus
15543 extern "C"
15544 #endif
15545 char poll ();
15547 main ()
15549 return poll ();
15551 return 0;
15553 _ACEOF
15554 if ac_fn_c_try_link "$LINENO"; then :
15555 ac_cv_lib_poll_poll=yes
15556 else
15557 ac_cv_lib_poll_poll=no
15559 rm -f core conftest.err conftest.$ac_objext \
15560 conftest$ac_exeext conftest.$ac_ext
15561 LIBS=$ac_check_lib_save_LIBS
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15564 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15565 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15566 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15567 POLL_LIBS="-lpoll"
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15574 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15575 if ${ac_cv_search_gethostbyname+:} false; then :
15576 $as_echo_n "(cached) " >&6
15577 else
15578 ac_func_search_save_LIBS=$LIBS
15579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15582 /* Override any GCC internal prototype to avoid an error.
15583 Use char because int might match the return type of a GCC
15584 builtin and then its argument prototype would still apply. */
15585 #ifdef __cplusplus
15586 extern "C"
15587 #endif
15588 char gethostbyname ();
15590 main ()
15592 return gethostbyname ();
15594 return 0;
15596 _ACEOF
15597 for ac_lib in '' nsl; do
15598 if test -z "$ac_lib"; then
15599 ac_res="none required"
15600 else
15601 ac_res=-l$ac_lib
15602 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 ac_cv_search_gethostbyname=$ac_res
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext
15609 if ${ac_cv_search_gethostbyname+:} false; then :
15610 break
15612 done
15613 if ${ac_cv_search_gethostbyname+:} false; then :
15615 else
15616 ac_cv_search_gethostbyname=no
15618 rm conftest.$ac_ext
15619 LIBS=$ac_func_search_save_LIBS
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15622 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15623 ac_res=$ac_cv_search_gethostbyname
15624 if test "$ac_res" != no; then :
15625 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15631 $as_echo_n "checking for library containing connect... " >&6; }
15632 if ${ac_cv_search_connect+:} false; then :
15633 $as_echo_n "(cached) " >&6
15634 else
15635 ac_func_search_save_LIBS=$LIBS
15636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15639 /* Override any GCC internal prototype to avoid an error.
15640 Use char because int might match the return type of a GCC
15641 builtin and then its argument prototype would still apply. */
15642 #ifdef __cplusplus
15643 extern "C"
15644 #endif
15645 char connect ();
15647 main ()
15649 return connect ();
15651 return 0;
15653 _ACEOF
15654 for ac_lib in '' socket; do
15655 if test -z "$ac_lib"; then
15656 ac_res="none required"
15657 else
15658 ac_res=-l$ac_lib
15659 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15661 if ac_fn_c_try_link "$LINENO"; then :
15662 ac_cv_search_connect=$ac_res
15664 rm -f core conftest.err conftest.$ac_objext \
15665 conftest$ac_exeext
15666 if ${ac_cv_search_connect+:} false; then :
15667 break
15669 done
15670 if ${ac_cv_search_connect+:} false; then :
15672 else
15673 ac_cv_search_connect=no
15675 rm conftest.$ac_ext
15676 LIBS=$ac_func_search_save_LIBS
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15679 $as_echo "$ac_cv_search_connect" >&6; }
15680 ac_res=$ac_cv_search_connect
15681 if test "$ac_res" != no; then :
15682 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15688 $as_echo_n "checking for library containing inet_aton... " >&6; }
15689 if ${ac_cv_search_inet_aton+:} false; then :
15690 $as_echo_n "(cached) " >&6
15691 else
15692 ac_func_search_save_LIBS=$LIBS
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15696 /* Override any GCC internal prototype to avoid an error.
15697 Use char because int might match the return type of a GCC
15698 builtin and then its argument prototype would still apply. */
15699 #ifdef __cplusplus
15700 extern "C"
15701 #endif
15702 char inet_aton ();
15704 main ()
15706 return inet_aton ();
15708 return 0;
15710 _ACEOF
15711 for ac_lib in '' resolv; do
15712 if test -z "$ac_lib"; then
15713 ac_res="none required"
15714 else
15715 ac_res=-l$ac_lib
15716 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15718 if ac_fn_c_try_link "$LINENO"; then :
15719 ac_cv_search_inet_aton=$ac_res
15721 rm -f core conftest.err conftest.$ac_objext \
15722 conftest$ac_exeext
15723 if ${ac_cv_search_inet_aton+:} false; then :
15724 break
15726 done
15727 if ${ac_cv_search_inet_aton+:} false; then :
15729 else
15730 ac_cv_search_inet_aton=no
15732 rm conftest.$ac_ext
15733 LIBS=$ac_func_search_save_LIBS
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15736 $as_echo "$ac_cv_search_inet_aton" >&6; }
15737 ac_res=$ac_cv_search_inet_aton
15738 if test "$ac_res" != no; then :
15739 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15744 for ac_func in \
15745 getaddrinfo \
15746 getnameinfo \
15747 getnetbyname \
15748 getprotobyname \
15749 getprotobynumber \
15750 getservbyport \
15751 inet_addr \
15752 inet_network \
15753 inet_ntop \
15754 inet_pton \
15755 sendmsg \
15756 socketpair \
15758 do :
15759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15761 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15762 cat >>confdefs.h <<_ACEOF
15763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15764 _ACEOF
15767 done
15770 ac_save_LIBS=$LIBS
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15772 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15773 if ${ac_cv_search_clock_gettime+:} false; then :
15774 $as_echo_n "(cached) " >&6
15775 else
15776 ac_func_search_save_LIBS=$LIBS
15777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15780 /* Override any GCC internal prototype to avoid an error.
15781 Use char because int might match the return type of a GCC
15782 builtin and then its argument prototype would still apply. */
15783 #ifdef __cplusplus
15784 extern "C"
15785 #endif
15786 char clock_gettime ();
15788 main ()
15790 return clock_gettime ();
15792 return 0;
15794 _ACEOF
15795 for ac_lib in '' rt; do
15796 if test -z "$ac_lib"; then
15797 ac_res="none required"
15798 else
15799 ac_res=-l$ac_lib
15800 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 ac_cv_search_clock_gettime=$ac_res
15805 rm -f core conftest.err conftest.$ac_objext \
15806 conftest$ac_exeext
15807 if ${ac_cv_search_clock_gettime+:} false; then :
15808 break
15810 done
15811 if ${ac_cv_search_clock_gettime+:} false; then :
15813 else
15814 ac_cv_search_clock_gettime=no
15816 rm conftest.$ac_ext
15817 LIBS=$ac_func_search_save_LIBS
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15820 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15821 ac_res=$ac_cv_search_clock_gettime
15822 if test "$ac_res" != no; then :
15823 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15825 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15827 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15831 LIBS=$ac_save_LIBS
15833 LDAP_LIBS=""
15835 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15836 then
15837 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15839 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15841 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15842 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15843 $as_echo_n "(cached) " >&6
15844 else
15845 ac_check_lib_save_LIBS=$LIBS
15846 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15853 #ifdef __cplusplus
15854 extern "C"
15855 #endif
15856 char ldap_initialize ();
15858 main ()
15860 return ldap_initialize ();
15862 return 0;
15864 _ACEOF
15865 if ac_fn_c_try_link "$LINENO"; then :
15866 ac_cv_lib_ldap_r_ldap_initialize=yes
15867 else
15868 ac_cv_lib_ldap_r_ldap_initialize=no
15870 rm -f core conftest.err conftest.$ac_objext \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_lib_save_LIBS
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15875 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15876 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15878 $as_echo_n "checking for ber_init in -llber... " >&6; }
15879 if ${ac_cv_lib_lber_ber_init+:} false; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 ac_check_lib_save_LIBS=$LIBS
15883 LIBS="-llber $PTHREAD_LIBS $LIBS"
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 #ifdef __cplusplus
15891 extern "C"
15892 #endif
15893 char ber_init ();
15895 main ()
15897 return ber_init ();
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_link "$LINENO"; then :
15903 ac_cv_lib_lber_ber_init=yes
15904 else
15905 ac_cv_lib_lber_ber_init=no
15907 rm -f core conftest.err conftest.$ac_objext \
15908 conftest$ac_exeext conftest.$ac_ext
15909 LIBS=$ac_check_lib_save_LIBS
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15912 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15913 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15915 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15917 LDAP_LIBS="-lldap_r -llber"
15924 ac_wine_check_funcs_save_LIBS="$LIBS"
15925 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15926 for ac_func in \
15927 ldap_count_references \
15928 ldap_first_reference \
15929 ldap_next_reference \
15930 ldap_parse_reference \
15931 ldap_parse_sort_control \
15932 ldap_parse_sortresponse_control \
15933 ldap_parse_vlv_control \
15934 ldap_parse_vlvresponse_control
15935 do :
15936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15938 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15941 _ACEOF
15944 done
15946 LIBS="$ac_wine_check_funcs_save_LIBS"
15948 if test "x$LDAP_LIBS" = "x"; then :
15949 case "x$with_ldap" in
15950 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15951 xno) ;;
15952 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15953 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15954 esac
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15959 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15960 if ${wine_cv_one_arg_mkdir+:} false; then :
15961 $as_echo_n "(cached) " >&6
15962 else
15963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15965 #include <sys/stat.h>
15967 main ()
15969 mkdir("foo");
15971 return 0;
15973 _ACEOF
15974 if ac_fn_c_try_compile "$LINENO"; then :
15975 wine_cv_one_arg_mkdir=yes
15976 else
15977 wine_cv_one_arg_mkdir=no
15979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15982 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15983 if test "$wine_cv_one_arg_mkdir" = "yes"
15984 then
15986 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15991 $as_echo_n "checking for sched_setaffinity... " >&6; }
15992 if ${wine_cv_have_sched_setaffinity+:} false; then :
15993 $as_echo_n "(cached) " >&6
15994 else
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15997 #define _GNU_SOURCE
15998 #include <sched.h>
16000 main ()
16002 sched_setaffinity(0, 0, 0);
16004 return 0;
16006 _ACEOF
16007 if ac_fn_c_try_link "$LINENO"; then :
16008 wine_cv_have_sched_setaffinity=yes
16009 else
16010 wine_cv_have_sched_setaffinity=no
16012 rm -f core conftest.err conftest.$ac_objext \
16013 conftest$ac_exeext conftest.$ac_ext
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16016 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16017 if test "$wine_cv_have_sched_setaffinity" = "yes"
16018 then
16020 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16025 $as_echo_n "checking for fallocate... " >&6; }
16026 if ${wine_cv_have_fallocate+:} false; then :
16027 $as_echo_n "(cached) " >&6
16028 else
16029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16030 /* end confdefs.h. */
16031 #define _GNU_SOURCE
16032 #include <fcntl.h>
16034 main ()
16036 fallocate(-1, 0, 0, 0);
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"; then :
16042 wine_cv_have_fallocate=yes
16043 else
16044 wine_cv_have_fallocate=no
16046 rm -f core conftest.err conftest.$ac_objext \
16047 conftest$ac_exeext conftest.$ac_ext
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16050 $as_echo "$wine_cv_have_fallocate" >&6; }
16051 if test "$wine_cv_have_fallocate" = "yes"
16052 then
16054 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16060 $as_echo_n "checking for inline... " >&6; }
16061 if ${ac_cv_c_inline+:} false; then :
16062 $as_echo_n "(cached) " >&6
16063 else
16064 ac_cv_c_inline=no
16065 for ac_kw in inline __inline__ __inline; do
16066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h. */
16068 #ifndef __cplusplus
16069 typedef int foo_t;
16070 static $ac_kw foo_t static_foo () {return 0; }
16071 $ac_kw foo_t foo () {return 0; }
16072 #endif
16074 _ACEOF
16075 if ac_fn_c_try_compile "$LINENO"; then :
16076 ac_cv_c_inline=$ac_kw
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16079 test "$ac_cv_c_inline" != no && break
16080 done
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16084 $as_echo "$ac_cv_c_inline" >&6; }
16086 case $ac_cv_c_inline in
16087 inline | yes) ;;
16089 case $ac_cv_c_inline in
16090 no) ac_val=;;
16091 *) ac_val=$ac_cv_c_inline;;
16092 esac
16093 cat >>confdefs.h <<_ACEOF
16094 #ifndef __cplusplus
16095 #define inline $ac_val
16096 #endif
16097 _ACEOF
16099 esac
16101 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16102 if test "x$ac_cv_type_mode_t" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_MODE_T 1
16106 _ACEOF
16110 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16111 if test "x$ac_cv_type_off_t" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_OFF_T 1
16115 _ACEOF
16119 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16120 if test "x$ac_cv_type_pid_t" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_PID_T 1
16124 _ACEOF
16128 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16129 if test "x$ac_cv_type_size_t" = xyes; then :
16131 cat >>confdefs.h <<_ACEOF
16132 #define HAVE_SIZE_T 1
16133 _ACEOF
16137 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16138 if test "x$ac_cv_type_ssize_t" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_SSIZE_T 1
16142 _ACEOF
16146 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16147 if test "x$ac_cv_type_long_long" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_LONG_LONG 1
16151 _ACEOF
16155 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16156 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16158 cat >>confdefs.h <<_ACEOF
16159 #define HAVE_FSBLKCNT_T 1
16160 _ACEOF
16164 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16165 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_FSFILCNT_T 1
16169 _ACEOF
16174 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16175 #include <signal.h>
16177 if test "x$ac_cv_type_sigset_t" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_SIGSET_T 1
16181 _ACEOF
16186 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16188 if test "x$ac_cv_type_request_sense" = xyes; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define HAVE_REQUEST_SENSE 1
16192 _ACEOF
16198 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16199 #ifdef HAVE_SYS_SOCKET_H
16200 #include <sys/socket.h>
16201 #endif
16202 #ifdef HAVE_SYS_SOCKETVAR_H
16203 #include <sys/socketvar.h>
16204 #endif
16205 #ifdef HAVE_NET_ROUTE_H
16206 #include <net/route.h>
16207 #endif
16208 #ifdef HAVE_NETINET_IN_H
16209 #include <netinet/in.h>
16210 #endif
16211 #ifdef HAVE_NETINET_IN_SYSTM_H
16212 #include <netinet/in_systm.h>
16213 #endif
16214 #ifdef HAVE_NETINET_IP_H
16215 #include <netinet/ip.h>
16216 #endif
16217 #ifdef HAVE_NETINET_IN_PCB_H
16218 #include <netinet/in_pcb.h>
16219 #endif
16221 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16223 cat >>confdefs.h <<_ACEOF
16224 #define HAVE_STRUCT_XINPGEN 1
16225 _ACEOF
16231 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16232 #include <link.h>
16233 #endif
16234 #ifdef HAVE_SYS_LINK_H
16235 #include <sys/link.h>
16236 #endif
16238 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16240 cat >>confdefs.h <<_ACEOF
16241 #define HAVE_STRUCT_R_DEBUG 1
16242 _ACEOF
16246 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16247 #include <link.h>
16248 #endif
16249 #ifdef HAVE_SYS_LINK_H
16250 #include <sys/link.h>
16251 #endif
16253 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16255 cat >>confdefs.h <<_ACEOF
16256 #define HAVE_STRUCT_LINK_MAP 1
16257 _ACEOF
16263 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16264 #include <linux/input.h>
16265 #endif
16267 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16271 _ACEOF
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16278 $as_echo_n "checking for if_nameindex... " >&6; }
16279 if ${wine_cv_have_if_nameindex+:} false; then :
16280 $as_echo_n "(cached) " >&6
16281 else
16282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16283 /* end confdefs.h. */
16284 #ifdef HAVE_SYS_TYPES_H
16285 #include <sys/types.h>
16286 #endif
16287 #ifdef HAVE_NET_IF_H
16288 # include <net/if.h>
16289 #endif
16291 main ()
16293 struct if_nameindex *p = if_nameindex(); return p->if_index;
16295 return 0;
16297 _ACEOF
16298 if ac_fn_c_try_link "$LINENO"; then :
16299 wine_cv_have_if_nameindex=yes
16300 else
16301 wine_cv_have_if_nameindex=no
16303 rm -f core conftest.err conftest.$ac_objext \
16304 conftest$ac_exeext conftest.$ac_ext
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16307 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16308 if test "$wine_cv_have_if_nameindex" = "yes"
16309 then
16311 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16316 $as_echo_n "checking for sigaddset... " >&6; }
16317 if ${wine_cv_have_sigaddset+:} false; then :
16318 $as_echo_n "(cached) " >&6
16319 else
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16322 #include <signal.h>
16324 main ()
16326 sigset_t set; sigaddset(&set,SIGTERM);
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_link "$LINENO"; then :
16332 wine_cv_have_sigaddset=yes
16333 else
16334 wine_cv_have_sigaddset=no
16336 rm -f core conftest.err conftest.$ac_objext \
16337 conftest$ac_exeext conftest.$ac_ext
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16340 $as_echo "$wine_cv_have_sigaddset" >&6; }
16341 if test "$wine_cv_have_sigaddset" = "yes"
16342 then
16344 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16350 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16351 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16352 $as_echo_n "(cached) " >&6
16353 else
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 #include <netdb.h>
16358 main ()
16361 char *name=0;
16362 struct hostent he;
16363 struct hostent *result;
16364 char *buf=0;
16365 int bufsize=0;
16366 int errnr;
16367 char *addr=0;
16368 int addrlen=0;
16369 int addrtype=0;
16370 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16371 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_link "$LINENO"; then :
16378 wine_cv_linux_gethostbyname_r_6=yes
16379 else
16380 wine_cv_linux_gethostbyname_r_6=no
16383 rm -f core conftest.err conftest.$ac_objext \
16384 conftest$ac_exeext conftest.$ac_ext
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16388 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16389 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16390 then
16392 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16396 if test "$ac_cv_header_linux_joystick_h" = "yes"
16397 then
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16399 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16400 if ${wine_cv_linux_joystick_22_api+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16406 #include <sys/ioctl.h>
16407 #include <sys/types.h>
16408 #include <linux/joystick.h>
16410 struct js_event blub;
16411 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16412 #error "no 2.2 header"
16413 #endif
16416 main ()
16418 /*empty*/
16420 return 0;
16422 _ACEOF
16423 if ac_fn_c_try_compile "$LINENO"; then :
16424 wine_cv_linux_joystick_22_api=yes
16425 else
16426 wine_cv_linux_joystick_22_api=no
16428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16432 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16433 if test "$wine_cv_linux_joystick_22_api" = "yes"
16434 then
16436 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16442 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16443 #ifdef HAVE_SYS_PARAM_H
16444 # include <sys/param.h>
16445 #endif
16446 #ifdef HAVE_SYS_MOUNT_H
16447 # include <sys/mount.h>
16448 #endif
16449 #ifdef HAVE_SYS_VFS_H
16450 # include <sys/vfs.h>
16451 #endif
16452 #ifdef HAVE_SYS_STATFS_H
16453 # include <sys/statfs.h>
16454 #endif
16456 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_STATFS_F_BFREE 1
16460 _ACEOF
16464 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16465 #ifdef HAVE_SYS_PARAM_H
16466 # include <sys/param.h>
16467 #endif
16468 #ifdef HAVE_SYS_MOUNT_H
16469 # include <sys/mount.h>
16470 #endif
16471 #ifdef HAVE_SYS_VFS_H
16472 # include <sys/vfs.h>
16473 #endif
16474 #ifdef HAVE_SYS_STATFS_H
16475 # include <sys/statfs.h>
16476 #endif
16478 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16482 _ACEOF
16486 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16487 #ifdef HAVE_SYS_PARAM_H
16488 # include <sys/param.h>
16489 #endif
16490 #ifdef HAVE_SYS_MOUNT_H
16491 # include <sys/mount.h>
16492 #endif
16493 #ifdef HAVE_SYS_VFS_H
16494 # include <sys/vfs.h>
16495 #endif
16496 #ifdef HAVE_SYS_STATFS_H
16497 # include <sys/statfs.h>
16498 #endif
16500 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16502 cat >>confdefs.h <<_ACEOF
16503 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16504 _ACEOF
16508 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16509 #ifdef HAVE_SYS_PARAM_H
16510 # include <sys/param.h>
16511 #endif
16512 #ifdef HAVE_SYS_MOUNT_H
16513 # include <sys/mount.h>
16514 #endif
16515 #ifdef HAVE_SYS_VFS_H
16516 # include <sys/vfs.h>
16517 #endif
16518 #ifdef HAVE_SYS_STATFS_H
16519 # include <sys/statfs.h>
16520 #endif
16522 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_STRUCT_STATFS_F_FFREE 1
16526 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16531 #ifdef HAVE_SYS_PARAM_H
16532 # include <sys/param.h>
16533 #endif
16534 #ifdef HAVE_SYS_MOUNT_H
16535 # include <sys/mount.h>
16536 #endif
16537 #ifdef HAVE_SYS_VFS_H
16538 # include <sys/vfs.h>
16539 #endif
16540 #ifdef HAVE_SYS_STATFS_H
16541 # include <sys/statfs.h>
16542 #endif
16544 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16548 _ACEOF
16552 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16553 #ifdef HAVE_SYS_PARAM_H
16554 # include <sys/param.h>
16555 #endif
16556 #ifdef HAVE_SYS_MOUNT_H
16557 # include <sys/mount.h>
16558 #endif
16559 #ifdef HAVE_SYS_VFS_H
16560 # include <sys/vfs.h>
16561 #endif
16562 #ifdef HAVE_SYS_STATFS_H
16563 # include <sys/statfs.h>
16564 #endif
16566 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16570 _ACEOF
16576 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16577 #include <sys/statvfs.h>
16578 #endif
16580 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16582 cat >>confdefs.h <<_ACEOF
16583 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16584 _ACEOF
16590 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16591 #include <dirent.h>
16592 #endif
16594 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16598 _ACEOF
16604 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16605 #ifdef HAVE_SYS_SOCKET_H
16606 # include <sys/socket.h>
16607 #endif
16608 #ifdef HAVE_SYS_UN_H
16609 # include <sys/un.h>
16610 #endif
16612 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16616 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16621 #ifdef HAVE_SYS_SOCKET_H
16622 # include <sys/socket.h>
16623 #endif
16624 #ifdef HAVE_SYS_UN_H
16625 # include <sys/un.h>
16626 #endif
16628 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16632 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16637 #ifdef HAVE_SYS_SOCKET_H
16638 # include <sys/socket.h>
16639 #endif
16640 #ifdef HAVE_SYS_UN_H
16641 # include <sys/un.h>
16642 #endif
16644 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16648 _ACEOF
16654 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16655 #ifdef HAVE_SCSI_SG_H
16656 #include <scsi/sg.h>
16657 #endif
16659 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16661 cat >>confdefs.h <<_ACEOF
16662 #define HAVE_SCSIREQ_T_CMD 1
16663 _ACEOF
16667 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>
16668 #ifdef HAVE_SCSI_SG_H
16669 #include <scsi/sg.h>
16670 #endif
16672 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16676 _ACEOF
16682 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16684 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_SIGINFO_T_SI_FD 1
16688 _ACEOF
16694 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16695 #ifdef HAVE_SYS_MTIO_H
16696 #include <sys/mtio.h>
16697 #endif
16699 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16701 cat >>confdefs.h <<_ACEOF
16702 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16703 _ACEOF
16707 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16708 #ifdef HAVE_SYS_MTIO_H
16709 #include <sys/mtio.h>
16710 #endif
16712 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16716 _ACEOF
16720 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16721 #ifdef HAVE_SYS_MTIO_H
16722 #include <sys/mtio.h>
16723 #endif
16725 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16729 _ACEOF
16735 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16736 #include <getopt.h>
16737 #endif
16739 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT_OPTION_NAME 1
16743 _ACEOF
16749 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16750 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16754 _ACEOF
16758 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16759 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_STRUCT_STAT_ST_MTIM 1
16763 _ACEOF
16767 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16768 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16770 cat >>confdefs.h <<_ACEOF
16771 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16772 _ACEOF
16776 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16777 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16779 cat >>confdefs.h <<_ACEOF
16780 #define HAVE_STRUCT_STAT_ST_CTIM 1
16781 _ACEOF
16785 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16786 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16788 cat >>confdefs.h <<_ACEOF
16789 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16790 _ACEOF
16794 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16795 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16797 cat >>confdefs.h <<_ACEOF
16798 #define HAVE_STRUCT_STAT_ST_ATIM 1
16799 _ACEOF
16803 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16804 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16806 cat >>confdefs.h <<_ACEOF
16807 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16808 _ACEOF
16812 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16813 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16815 cat >>confdefs.h <<_ACEOF
16816 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16817 _ACEOF
16821 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16822 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16824 cat >>confdefs.h <<_ACEOF
16825 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16826 _ACEOF
16830 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16831 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16833 cat >>confdefs.h <<_ACEOF
16834 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16835 _ACEOF
16839 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16840 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16842 cat >>confdefs.h <<_ACEOF
16843 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16844 _ACEOF
16848 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16849 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16851 cat >>confdefs.h <<_ACEOF
16852 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16853 _ACEOF
16859 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
16860 #include <sys/types.h>
16861 #endif
16862 #ifdef HAVE_NETINET_IN_H
16863 #include <netinet/in.h>
16864 #endif
16866 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16870 _ACEOF
16876 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16877 #include <sys/types.h>
16878 #endif
16879 #ifdef HAVE_NETINET_IN_H
16880 #include <netinet/in.h>
16881 #endif
16882 #ifdef HAVE_RESOLV_H
16883 #include <resolv.h>
16884 #endif
16886 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT___RES_STATE 1
16890 _ACEOF
16896 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
16897 #include <resolv.h>
16898 #endif
16900 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16902 cat >>confdefs.h <<_ACEOF
16903 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16904 _ACEOF
16910 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16911 #include <sys/types.h>
16912 #endif
16913 #ifdef HAVE_NETINET_IN_H
16914 # include <netinet/in.h>
16915 #endif
16916 #ifdef HAVE_ARPA_NAMESER_H
16917 # include <arpa/nameser.h>
16918 #endif
16920 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16922 cat >>confdefs.h <<_ACEOF
16923 #define HAVE_NS_MSG__MSG_PTR 1
16924 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16931 #include <sys/types.h>
16932 #endif
16933 #ifdef HAVE_NETINET_IN_H
16934 #include <netinet/in.h>
16935 #endif
16936 #ifdef HAVE_NETINET_IP_H
16937 #include <netinet/ip.h>
16938 #endif
16939 #ifdef HAVE_NETINET_IP_ICMP_H
16940 #include <netinet/ip_icmp.h>
16941 #endif
16942 #ifdef HAVE_NETINET_ICMP_VAR_H
16943 #include <netinet/icmp_var.h>
16944 #endif
16946 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16948 cat >>confdefs.h <<_ACEOF
16949 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16950 _ACEOF
16956 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16957 #include <sys/types.h>
16958 #endif
16959 #ifdef HAVE_ALIAS_H
16960 #include <alias.h>
16961 #endif
16962 #ifdef HAVE_SYS_SOCKET_H
16963 #include <sys/socket.h>
16964 #endif
16965 #ifdef HAVE_SYS_SOCKETVAR_H
16966 #include <sys/socketvar.h>
16967 #endif
16968 #ifdef HAVE_SYS_TIMEOUT_H
16969 #include <sys/timeout.h>
16970 #endif
16971 #ifdef HAVE_NETINET_IN_H
16972 #include <netinet/in.h>
16973 #endif
16974 #ifdef HAVE_NETINET_IN_SYSTM_H
16975 #include <netinet/in_systm.h>
16976 #endif
16977 #ifdef HAVE_NETINET_IP_H
16978 #include <netinet/ip.h>
16979 #endif
16980 #ifdef HAVE_NETINET_IP_VAR_H
16981 #include <netinet/ip_var.h>
16982 #endif
16983 #ifdef HAVE_NETINET_IP_ICMP_H
16984 #include <netinet/ip_icmp.h>
16985 #endif
16986 #ifdef HAVE_NETINET_ICMP_VAR_H
16987 #include <netinet/icmp_var.h>
16988 #endif
16990 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16994 _ACEOF
17000 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17001 #include <sys/types.h>
17002 #endif
17003 #ifdef HAVE_SYS_SOCKETVAR_H
17004 #include <sys/socketvar.h>
17005 #endif
17006 #ifdef HAVE_NETINET_IN_H
17007 #include <netinet/in.h>
17008 #endif
17009 #ifdef HAVE_NETINET_IP_VAR_H
17010 #include <netinet/ip_var.h>
17011 #endif
17013 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17017 _ACEOF
17023 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
17024 #include <netinet/ip_var.h>
17025 #endif
17027 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17029 cat >>confdefs.h <<_ACEOF
17030 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17031 _ACEOF
17037 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17038 #include <sys/types.h>
17039 #endif
17040 #ifdef HAVE_SYS_SOCKETVAR_H
17041 #include <sys/socketvar.h>
17042 #endif
17043 #ifdef HAVE_NETINET_IN_H
17044 #include <netinet/in.h>
17045 #endif
17046 #ifdef HAVE_NETINET_TCP_H
17047 #include <netinet/tcp.h>
17048 #endif
17049 #ifdef HAVE_NETINET_TCP_VAR_H
17050 #include <netinet/tcp_var.h>
17051 #endif
17053 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17055 cat >>confdefs.h <<_ACEOF
17056 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17057 _ACEOF
17063 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
17064 #include <netinet/tcp_var.h>
17065 #endif
17067 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17069 cat >>confdefs.h <<_ACEOF
17070 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17071 _ACEOF
17077 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17078 #include <sys/types.h>
17079 #endif
17080 #ifdef HAVE_NETINET_IN_H
17081 #include <netinet/in.h>
17082 #endif
17083 #ifdef HAVE_NETINET_IP_VAR_H
17084 #include <netinet/ip_var.h>
17085 #endif
17086 #ifdef HAVE_NETINET_UDP_H
17087 #include <netinet/udp.h>
17088 #endif
17089 #ifdef HAVE_NETINET_UDP_VAR_H
17090 #include <netinet/udp_var.h>
17091 #endif
17093 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17095 cat >>confdefs.h <<_ACEOF
17096 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17097 _ACEOF
17103 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17104 #include <sys/types.h>
17105 #endif
17106 #ifdef HAVE_NET_IF_H
17107 # include <net/if.h>
17108 #endif
17110 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17112 cat >>confdefs.h <<_ACEOF
17113 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17114 _ACEOF
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17121 $as_echo_n "checking for timezone variable... " >&6; }
17122 if ${ac_cv_have_timezone+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <time.h>
17129 main ()
17131 timezone = 1
17133 return 0;
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_have_timezone="yes"
17138 else
17139 ac_cv_have_timezone="no"
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17145 $as_echo "$ac_cv_have_timezone" >&6; }
17146 if test "$ac_cv_have_timezone" = "yes"
17147 then
17149 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17153 $as_echo_n "checking for daylight variable... " >&6; }
17154 if ${ac_cv_have_daylight+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 #include <time.h>
17161 main ()
17163 daylight = 1
17165 return 0;
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169 ac_cv_have_daylight="yes"
17170 else
17171 ac_cv_have_daylight="no"
17173 rm -f core conftest.err conftest.$ac_objext \
17174 conftest$ac_exeext conftest.$ac_ext
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17177 $as_echo "$ac_cv_have_daylight" >&6; }
17178 if test "$ac_cv_have_daylight" = "yes"
17179 then
17181 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17185 ac_save_LIBS="$LIBS"
17186 LIBS="$LIBS -lm"
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17188 $as_echo_n "checking for isfinite... " >&6; }
17189 if ${ac_cv_have_isfinite+:} false; then :
17190 $as_echo_n "(cached) " >&6
17191 else
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17194 #define _GNU_SOURCE
17195 #include <math.h>
17197 main ()
17199 float f = 0.0; return isfinite(f)
17201 return 0;
17203 _ACEOF
17204 if ac_fn_c_try_link "$LINENO"; then :
17205 ac_cv_have_isfinite="yes"
17206 else
17207 ac_cv_have_isfinite="no"
17209 rm -f core conftest.err conftest.$ac_objext \
17210 conftest$ac_exeext conftest.$ac_ext
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17213 $as_echo "$ac_cv_have_isfinite" >&6; }
17214 if test "$ac_cv_have_isfinite" = "yes"
17215 then
17217 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17222 $as_echo_n "checking for isinf... " >&6; }
17223 if ${ac_cv_have_isinf+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 #include <math.h>
17230 main ()
17232 float f = 0.0; return isinf(f)
17234 return 0;
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_have_isinf="yes"
17239 else
17240 ac_cv_have_isinf="no"
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17246 $as_echo "$ac_cv_have_isinf" >&6; }
17247 if test "$ac_cv_have_isinf" = "yes"
17248 then
17250 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17255 $as_echo_n "checking for isnan... " >&6; }
17256 if ${ac_cv_have_isnan+:} false; then :
17257 $as_echo_n "(cached) " >&6
17258 else
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 #include <math.h>
17263 main ()
17265 float f = 0.0; return isnan(f)
17267 return 0;
17269 _ACEOF
17270 if ac_fn_c_try_link "$LINENO"; then :
17271 ac_cv_have_isnan="yes"
17272 else
17273 ac_cv_have_isnan="no"
17275 rm -f core conftest.err conftest.$ac_objext \
17276 conftest$ac_exeext conftest.$ac_ext
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17279 $as_echo "$ac_cv_have_isnan" >&6; }
17280 if test "$ac_cv_have_isnan" = "yes"
17281 then
17283 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17287 for ac_func in \
17288 asinh \
17289 asinhf \
17290 cbrt \
17291 cbrtf \
17292 erf \
17293 erff \
17294 exp2 \
17295 exp2f \
17296 lgamma \
17297 lgammaf \
17298 llrint \
17299 llrintf \
17300 llround \
17301 llroundf \
17302 log2 \
17303 log2f \
17304 lrint \
17305 lrintf \
17306 lround \
17307 lroundf \
17308 nearbyint \
17309 nearbyintf \
17310 powl \
17311 remainder \
17312 remainderf \
17313 rint \
17314 rintf \
17315 round \
17316 roundf \
17317 trunc \
17318 truncf
17320 do :
17321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17324 cat >>confdefs.h <<_ACEOF
17325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17326 _ACEOF
17329 done
17331 LIBS="$ac_save_LIBS"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17334 $as_echo_n "checking for __builtin_clz... " >&6; }
17335 if ${ac_cv_have___builtin_clz+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17342 main ()
17344 return __builtin_clz(1)
17346 return 0;
17348 _ACEOF
17349 if ac_fn_c_try_link "$LINENO"; then :
17350 ac_cv_have___builtin_clz="yes"
17351 else
17352 ac_cv_have___builtin_clz="no"
17354 rm -f core conftest.err conftest.$ac_objext \
17355 conftest$ac_exeext conftest.$ac_ext
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17358 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17359 if test "$ac_cv_have___builtin_clz" = "yes"
17360 then
17362 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17367 $as_echo_n "checking for __builtin_popcount... " >&6; }
17368 if ${ac_cv_have___builtin_popcount+:} false; then :
17369 $as_echo_n "(cached) " >&6
17370 else
17371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17372 /* end confdefs.h. */
17375 main ()
17377 return __builtin_popcount(1)
17379 return 0;
17381 _ACEOF
17382 if ac_fn_c_try_link "$LINENO"; then :
17383 ac_cv_have___builtin_popcount="yes"
17384 else
17385 ac_cv_have___builtin_popcount="no"
17387 rm -f core conftest.err conftest.$ac_objext \
17388 conftest$ac_exeext conftest.$ac_ext
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17391 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17392 if test "$ac_cv_have___builtin_popcount" = "yes"
17393 then
17395 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17400 case $host_cpu in
17401 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17402 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17403 if ${ac_cv_cpp_def___i386__+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 #ifndef __i386__
17410 #endif
17411 _ACEOF
17412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17413 $EGREP "yes" >/dev/null 2>&1; then :
17414 ac_cv_cpp_def___i386__=yes
17415 else
17416 ac_cv_cpp_def___i386__=no
17418 rm -f conftest*
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17422 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17423 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17424 CFLAGS="$CFLAGS -D__i386__"
17425 LINTFLAGS="$LINTFLAGS -D__i386__"
17426 fi ;;
17427 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17428 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17429 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 #ifndef __x86_64__
17436 #endif
17437 _ACEOF
17438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17439 $EGREP "yes" >/dev/null 2>&1; then :
17440 ac_cv_cpp_def___x86_64__=yes
17441 else
17442 ac_cv_cpp_def___x86_64__=no
17444 rm -f conftest*
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17448 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17449 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17450 CFLAGS="$CFLAGS -D__x86_64__"
17451 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17452 fi ;;
17453 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17454 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17455 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #ifndef __sparc64__
17462 #endif
17463 _ACEOF
17464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17465 $EGREP "yes" >/dev/null 2>&1; then :
17466 ac_cv_cpp_def___sparc64__=yes
17467 else
17468 ac_cv_cpp_def___sparc64__=no
17470 rm -f conftest*
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17474 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17475 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17476 CFLAGS="$CFLAGS -D__sparc64__"
17477 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17478 fi ;;
17479 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17480 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17481 if ${ac_cv_cpp_def___sparc__+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #ifndef __sparc__
17488 #endif
17489 _ACEOF
17490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17491 $EGREP "yes" >/dev/null 2>&1; then :
17492 ac_cv_cpp_def___sparc__=yes
17493 else
17494 ac_cv_cpp_def___sparc__=no
17496 rm -f conftest*
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17500 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17501 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17502 CFLAGS="$CFLAGS -D__sparc__"
17503 LINTFLAGS="$LINTFLAGS -D__sparc__"
17504 fi ;;
17505 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17506 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17507 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17508 $as_echo_n "(cached) " >&6
17509 else
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 #ifndef __powerpc64__
17514 #endif
17515 _ACEOF
17516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17517 $EGREP "yes" >/dev/null 2>&1; then :
17518 ac_cv_cpp_def___powerpc64__=yes
17519 else
17520 ac_cv_cpp_def___powerpc64__=no
17522 rm -f conftest*
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17526 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17527 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17528 CFLAGS="$CFLAGS -D__powerpc64__"
17529 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17530 fi ;;
17531 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17532 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17533 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #ifndef __powerpc__
17540 #endif
17541 _ACEOF
17542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17543 $EGREP "yes" >/dev/null 2>&1; then :
17544 ac_cv_cpp_def___powerpc__=yes
17545 else
17546 ac_cv_cpp_def___powerpc__=no
17548 rm -f conftest*
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17552 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17553 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17554 CFLAGS="$CFLAGS -D__powerpc__"
17555 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17556 fi ;;
17557 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17558 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17559 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17560 $as_echo_n "(cached) " >&6
17561 else
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #ifndef __aarch64__
17566 #endif
17567 _ACEOF
17568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17569 $EGREP "yes" >/dev/null 2>&1; then :
17570 ac_cv_cpp_def___aarch64__=yes
17571 else
17572 ac_cv_cpp_def___aarch64__=no
17574 rm -f conftest*
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17578 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17579 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17580 CFLAGS="$CFLAGS -D__aarch64__"
17581 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17582 fi ;;
17583 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17584 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17585 if ${ac_cv_cpp_def___arm__+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 #ifndef __arm__
17592 #endif
17593 _ACEOF
17594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17595 $EGREP "yes" >/dev/null 2>&1; then :
17596 ac_cv_cpp_def___arm__=yes
17597 else
17598 ac_cv_cpp_def___arm__=no
17600 rm -f conftest*
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17604 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17605 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17606 CFLAGS="$CFLAGS -D__arm__"
17607 LINTFLAGS="$LINTFLAGS -D__arm__"
17608 fi ;;
17609 esac
17611 case $host_vendor in
17612 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17613 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17614 if ${ac_cv_cpp_def___sun__+:} false; then :
17615 $as_echo_n "(cached) " >&6
17616 else
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #ifndef __sun__
17621 #endif
17622 _ACEOF
17623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17624 $EGREP "yes" >/dev/null 2>&1; then :
17625 ac_cv_cpp_def___sun__=yes
17626 else
17627 ac_cv_cpp_def___sun__=no
17629 rm -f conftest*
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17633 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17634 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17635 CFLAGS="$CFLAGS -D__sun__"
17636 LINTFLAGS="$LINTFLAGS -D__sun__"
17637 fi ;;
17638 esac
17644 ac_config_commands="$ac_config_commands include/stamp-h"
17646 $as_echo_n "creating Makefile rules..." >&6
17648 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17649 SOCKET_LIBS = $SOCKET_LIBS
17650 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17651 IOKIT_LIBS = $IOKIT_LIBS
17652 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17653 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17654 CORESERVICES_LIBS = $CORESERVICES_LIBS
17655 APPKIT_LIBS = $APPKIT_LIBS
17656 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17657 SECURITY_LIBS = $SECURITY_LIBS
17658 COREAUDIO_LIBS = $COREAUDIO_LIBS
17659 OPENAL_LIBS = $OPENAL_LIBS
17660 OPENCL_LIBS = $OPENCL_LIBS
17661 QUICKTIME_LIBS = $QUICKTIME_LIBS
17662 CARBON_LIBS = $CARBON_LIBS
17663 PTHREAD_LIBS = $PTHREAD_LIBS
17664 X_CFLAGS = $X_CFLAGS
17665 X_PRE_LIBS = $X_PRE_LIBS
17666 X_LIBS = $X_LIBS
17667 X_EXTRA_LIBS = $X_EXTRA_LIBS
17668 PCAP_LIBS = $PCAP_LIBS
17669 XML2_CFLAGS = $XML2_CFLAGS
17670 XML2_LIBS = $XML2_LIBS
17671 XSLT_CFLAGS = $XSLT_CFLAGS
17672 XSLT_LIBS = $XSLT_LIBS
17673 DBUS_CFLAGS = $DBUS_CFLAGS
17674 DBUS_LIBS = $DBUS_LIBS
17675 HAL_CFLAGS = $HAL_CFLAGS
17676 HAL_LIBS = $HAL_LIBS
17677 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17678 GNUTLS_LIBS = $GNUTLS_LIBS
17679 SANE_CFLAGS = $SANE_CFLAGS
17680 SANE_LIBS = $SANE_LIBS
17681 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17682 GPHOTO2_LIBS = $GPHOTO2_LIBS
17683 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17684 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17685 RESOLV_LIBS = $RESOLV_LIBS
17686 LCMS2_CFLAGS = $LCMS2_CFLAGS
17687 LCMS2_LIBS = $LCMS2_LIBS
17688 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17689 FREETYPE_LIBS = $FREETYPE_LIBS
17690 Z_LIBS = $Z_LIBS
17691 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17692 PULSE_CFLAGS = $PULSE_CFLAGS
17693 PULSE_LIBS = $PULSE_LIBS
17694 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17695 GSTREAMER_LIBS = $GSTREAMER_LIBS
17696 ALSA_LIBS = $ALSA_LIBS
17697 OSS4_CFLAGS = $OSS4_CFLAGS
17698 UDEV_CFLAGS = $UDEV_CFLAGS
17699 UDEV_LIBS = $UDEV_LIBS
17700 CAPI20_CFLAGS = $CAPI20_CFLAGS
17701 CAPI20_LIBS = $CAPI20_LIBS
17702 CUPS_CFLAGS = $CUPS_CFLAGS
17703 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17704 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17705 JPEG_CFLAGS = $JPEG_CFLAGS
17706 JPEG_LIBS = $JPEG_LIBS
17707 PNG_CFLAGS = $PNG_CFLAGS
17708 PNG_LIBS = $PNG_LIBS
17709 TIFF_CFLAGS = $TIFF_CFLAGS
17710 TIFF_LIBS = $TIFF_LIBS
17711 MPG123_CFLAGS = $MPG123_CFLAGS
17712 MPG123_LIBS = $MPG123_LIBS
17713 KSTAT_LIBS = $KSTAT_LIBS
17714 PROCSTAT_LIBS = $PROCSTAT_LIBS
17715 NETAPI_CFLAGS = $NETAPI_CFLAGS
17716 NETAPI_LIBS = $NETAPI_LIBS
17717 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17718 DL_LIBS = $DL_LIBS
17719 POLL_LIBS = $POLL_LIBS
17720 RT_LIBS = $RT_LIBS
17721 LDAP_LIBS = $LDAP_LIBS
17726 wine_fn_append_rule "
17727 # Rules automatically generated by configure
17729 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17731 .INIT: Makefile
17732 .MAKEFILEDEPS:
17733 all: Makefile
17734 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17735 @./config.status Make.tmp Makefile
17736 depend: \$(MAKEDEP) dummy
17737 \$(MAKEDEP)"
17739 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17740 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17742 if test "x$enable_fonts" != xno; then
17743 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17744 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17745 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17746 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17747 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17748 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17750 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17751 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17752 ac_config_links="$ac_config_links wine:tools/winewrapper"
17753 wine_fn_config_symlink wine
17754 if test "x$enable_win64" != xno; then
17755 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17756 wine_fn_config_symlink wine64
17759 wine_fn_config_dll acledit enable_acledit
17760 wine_fn_config_dll aclui enable_aclui implib
17761 wine_fn_config_dll activeds enable_activeds implib
17762 wine_fn_config_dll actxprxy enable_actxprxy clean
17763 wine_fn_config_lib adsiid
17764 wine_fn_config_dll adsldpc enable_adsldpc
17765 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17766 wine_fn_config_test dlls/advapi32/tests advapi32_test
17767 wine_fn_config_dll advpack enable_advpack implib
17768 wine_fn_config_test dlls/advpack/tests advpack_test
17769 wine_fn_config_dll amstream enable_amstream clean
17770 wine_fn_config_test dlls/amstream/tests amstream_test
17771 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17772 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17773 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17774 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17775 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17776 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17777 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17778 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17779 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17780 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17781 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17782 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17783 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17784 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17785 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17786 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17787 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17788 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17789 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17790 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17791 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17792 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17793 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17794 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17795 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17796 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17797 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17798 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17799 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17800 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17801 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17802 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17803 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17804 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17805 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17806 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17807 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17808 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17809 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17810 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17811 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17812 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17813 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17814 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17815 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17816 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17817 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17818 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17819 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17820 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17821 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17822 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17823 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17824 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17825 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17826 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17827 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17828 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17829 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17830 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17831 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17832 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17833 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17834 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17835 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17836 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17837 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17838 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17839 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17840 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17841 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17842 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17843 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17844 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17845 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17846 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17847 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17848 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17849 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17850 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17851 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17852 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17853 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17854 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17855 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17856 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17857 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17858 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17859 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17860 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17861 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17862 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17863 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17864 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17865 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17866 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17867 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17868 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17869 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17870 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17871 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17872 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17873 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17874 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17875 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17876 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17877 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17878 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17879 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17880 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17881 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17882 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17883 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17884 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17885 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17886 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17887 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17888 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17889 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17890 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17891 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17892 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17893 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17894 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17895 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17896 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17897 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17898 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17899 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17900 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17901 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17902 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17903 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17904 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17905 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17906 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17907 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17908 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17909 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17910 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17911 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17912 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17913 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17914 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17915 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17916 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17917 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17918 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17919 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17920 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17921 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
17922 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17923 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17924 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17925 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17926 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
17927 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17928 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17929 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17930 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17931 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17932 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17933 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17934 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17935 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17936 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17937 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17938 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17939 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17940 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17941 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17942 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17943 wine_fn_config_dll apphelp enable_apphelp
17944 wine_fn_config_test dlls/apphelp/tests apphelp_test
17945 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17946 wine_fn_config_dll atl enable_atl clean,implib
17947 wine_fn_config_test dlls/atl/tests atl_test
17948 wine_fn_config_dll atl100 enable_atl100 clean,implib
17949 wine_fn_config_test dlls/atl100/tests atl100_test
17950 wine_fn_config_dll atl110 enable_atl110 clean
17951 wine_fn_config_dll atl80 enable_atl80 clean,implib
17952 wine_fn_config_test dlls/atl80/tests atl80_test
17953 wine_fn_config_dll atl90 enable_atl90 clean
17954 wine_fn_config_dll authz enable_authz
17955 wine_fn_config_dll avicap32 enable_avicap32 implib
17956 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17957 wine_fn_config_test dlls/avifil32/tests avifil32_test
17958 wine_fn_config_dll avifile.dll16 enable_win16
17959 wine_fn_config_dll avrt enable_avrt implib
17960 wine_fn_config_dll bcrypt enable_bcrypt implib
17961 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17962 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17963 wine_fn_config_dll browseui enable_browseui clean
17964 wine_fn_config_test dlls/browseui/tests browseui_test
17965 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17966 wine_fn_config_dll cabinet enable_cabinet implib
17967 wine_fn_config_test dlls/cabinet/tests cabinet_test
17968 wine_fn_config_dll capi2032 enable_capi2032 implib
17969 wine_fn_config_dll cards enable_cards implib
17970 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17971 wine_fn_config_dll clusapi enable_clusapi implib
17972 wine_fn_config_dll combase enable_combase
17973 wine_fn_config_test dlls/combase/tests combase_test
17974 wine_fn_config_dll comcat enable_comcat
17975 wine_fn_config_test dlls/comcat/tests comcat_test
17976 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17977 wine_fn_config_test dlls/comctl32/tests comctl32_test
17978 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17979 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17980 wine_fn_config_dll comm.drv16 enable_win16
17981 wine_fn_config_dll commdlg.dll16 enable_win16
17982 wine_fn_config_dll compobj.dll16 enable_win16
17983 wine_fn_config_dll compstui enable_compstui implib
17984 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17985 wine_fn_config_dll concrt140 enable_concrt140
17986 wine_fn_config_dll connect enable_connect
17987 wine_fn_config_dll credui enable_credui clean,implib
17988 wine_fn_config_test dlls/credui/tests credui_test
17989 wine_fn_config_dll crtdll enable_crtdll
17990 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17991 wine_fn_config_test dlls/crypt32/tests crypt32_test
17992 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17993 wine_fn_config_dll cryptdll enable_cryptdll implib
17994 wine_fn_config_dll cryptext enable_cryptext
17995 wine_fn_config_dll cryptnet enable_cryptnet implib
17996 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17997 wine_fn_config_dll cryptui enable_cryptui clean,implib
17998 wine_fn_config_test dlls/cryptui/tests cryptui_test
17999 wine_fn_config_dll ctapi32 enable_ctapi32
18000 wine_fn_config_dll ctl3d.dll16 enable_win16
18001 wine_fn_config_dll ctl3d32 enable_ctl3d32
18002 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18003 wine_fn_config_dll d2d1 enable_d2d1 implib
18004 wine_fn_config_test dlls/d2d1/tests d2d1_test
18005 wine_fn_config_dll d3d10 enable_d3d10 implib
18006 wine_fn_config_test dlls/d3d10/tests d3d10_test
18007 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18008 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18009 wine_fn_config_dll d3d10core enable_d3d10core implib
18010 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18011 wine_fn_config_dll d3d11 enable_d3d11 implib
18012 wine_fn_config_test dlls/d3d11/tests d3d11_test
18013 wine_fn_config_dll d3d8 enable_d3d8 implib
18014 wine_fn_config_test dlls/d3d8/tests d3d8_test
18015 wine_fn_config_dll d3d9 enable_d3d9 implib
18016 wine_fn_config_test dlls/d3d9/tests d3d9_test
18017 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18018 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18019 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18020 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18021 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18022 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18023 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18024 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18025 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18026 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18027 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18028 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18029 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18030 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18031 wine_fn_config_dll d3dim enable_d3dim
18032 wine_fn_config_dll d3drm enable_d3drm implib
18033 wine_fn_config_test dlls/d3drm/tests d3drm_test
18034 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18035 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18036 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18037 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18038 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18039 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18040 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18041 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18042 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18043 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18044 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18045 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18046 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18047 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18048 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18049 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18050 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18051 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18052 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18053 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18054 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18055 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18056 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18057 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18058 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18059 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18060 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18061 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18062 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18063 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18064 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18065 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18066 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18067 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18068 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18069 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18070 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18071 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18072 wine_fn_config_dll davclnt enable_davclnt
18073 wine_fn_config_dll dbgeng enable_dbgeng implib
18074 wine_fn_config_dll dbghelp enable_dbghelp implib
18075 wine_fn_config_dll dciman32 enable_dciman32 implib
18076 wine_fn_config_dll ddeml.dll16 enable_win16
18077 wine_fn_config_dll ddraw enable_ddraw clean,implib
18078 wine_fn_config_test dlls/ddraw/tests ddraw_test
18079 wine_fn_config_dll ddrawex enable_ddrawex clean
18080 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18081 wine_fn_config_dll devenum enable_devenum clean
18082 wine_fn_config_test dlls/devenum/tests devenum_test
18083 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18084 wine_fn_config_dll difxapi enable_difxapi
18085 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18086 wine_fn_config_test dlls/dinput/tests dinput_test
18087 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18088 wine_fn_config_test dlls/dinput8/tests dinput8_test
18089 wine_fn_config_dll dispdib.dll16 enable_win16
18090 wine_fn_config_dll dispex enable_dispex clean
18091 wine_fn_config_test dlls/dispex/tests dispex_test
18092 wine_fn_config_dll display.drv16 enable_win16
18093 wine_fn_config_dll dmband enable_dmband clean
18094 wine_fn_config_test dlls/dmband/tests dmband_test
18095 wine_fn_config_dll dmcompos enable_dmcompos clean
18096 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18097 wine_fn_config_dll dmime enable_dmime clean
18098 wine_fn_config_test dlls/dmime/tests dmime_test
18099 wine_fn_config_dll dmloader enable_dmloader clean
18100 wine_fn_config_test dlls/dmloader/tests dmloader_test
18101 wine_fn_config_dll dmscript enable_dmscript clean
18102 wine_fn_config_test dlls/dmscript/tests dmscript_test
18103 wine_fn_config_dll dmstyle enable_dmstyle clean
18104 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18105 wine_fn_config_dll dmsynth enable_dmsynth clean
18106 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18107 wine_fn_config_dll dmusic enable_dmusic clean
18108 wine_fn_config_test dlls/dmusic/tests dmusic_test
18109 wine_fn_config_dll dmusic32 enable_dmusic32
18110 wine_fn_config_dll dnsapi enable_dnsapi implib
18111 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18112 wine_fn_config_dll dplay enable_dplay
18113 wine_fn_config_dll dplayx enable_dplayx clean,implib
18114 wine_fn_config_test dlls/dplayx/tests dplayx_test
18115 wine_fn_config_dll dpnaddr enable_dpnaddr
18116 wine_fn_config_dll dpnet enable_dpnet clean,implib
18117 wine_fn_config_test dlls/dpnet/tests dpnet_test
18118 wine_fn_config_dll dpnhpast enable_dpnhpast
18119 wine_fn_config_dll dpnlobby enable_dpnlobby
18120 wine_fn_config_dll dpvoice enable_dpvoice clean
18121 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18122 wine_fn_config_dll dpwsockx enable_dpwsockx
18123 wine_fn_config_dll drmclien enable_drmclien
18124 wine_fn_config_dll dsound enable_dsound clean,implib
18125 wine_fn_config_test dlls/dsound/tests dsound_test
18126 wine_fn_config_dll dssenh enable_dssenh
18127 wine_fn_config_test dlls/dssenh/tests dssenh_test
18128 wine_fn_config_dll dswave enable_dswave clean
18129 wine_fn_config_test dlls/dswave/tests dswave_test
18130 wine_fn_config_dll dwmapi enable_dwmapi implib
18131 wine_fn_config_dll dwrite enable_dwrite implib
18132 wine_fn_config_test dlls/dwrite/tests dwrite_test
18133 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18134 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18135 wine_fn_config_lib dxerr8
18136 wine_fn_config_lib dxerr9
18137 wine_fn_config_dll dxgi enable_dxgi implib
18138 wine_fn_config_test dlls/dxgi/tests dxgi_test
18139 wine_fn_config_lib dxguid
18140 wine_fn_config_dll dxva2 enable_dxva2
18141 wine_fn_config_dll esent enable_esent
18142 wine_fn_config_dll evr enable_evr
18143 wine_fn_config_dll explorerframe enable_explorerframe clean
18144 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18145 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18146 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18147 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18148 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18149 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18150 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18151 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18152 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18153 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18154 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18155 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18156 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18157 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18158 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18159 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18160 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
18161 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18162 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18163 wine_fn_config_dll faultrep enable_faultrep implib
18164 wine_fn_config_test dlls/faultrep/tests faultrep_test
18165 wine_fn_config_dll fltlib enable_fltlib
18166 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18167 wine_fn_config_dll fntcache enable_fntcache
18168 wine_fn_config_dll fontsub enable_fontsub
18169 wine_fn_config_dll fusion enable_fusion
18170 wine_fn_config_test dlls/fusion/tests fusion_test
18171 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18172 wine_fn_config_dll gameux enable_gameux clean
18173 wine_fn_config_test dlls/gameux/tests gameux_test
18174 wine_fn_config_dll gdi.exe16 enable_win16
18175 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18176 wine_fn_config_test dlls/gdi32/tests gdi32_test
18177 wine_fn_config_dll gdiplus enable_gdiplus implib
18178 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18179 wine_fn_config_dll glu32 enable_glu32 implib
18180 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18181 wine_fn_config_dll gpkcsp enable_gpkcsp
18182 wine_fn_config_dll hal enable_hal
18183 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18184 wine_fn_config_dll hid enable_hid implib
18185 wine_fn_config_test dlls/hid/tests hid_test
18186 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18187 wine_fn_config_dll hlink enable_hlink clean,implib
18188 wine_fn_config_test dlls/hlink/tests hlink_test
18189 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18190 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18191 wine_fn_config_dll httpapi enable_httpapi
18192 wine_fn_config_dll iccvid enable_iccvid clean
18193 wine_fn_config_dll icmp enable_icmp
18194 wine_fn_config_dll ieframe enable_ieframe clean,implib
18195 wine_fn_config_test dlls/ieframe/tests ieframe_test
18196 wine_fn_config_dll ifsmgr.vxd enable_win16
18197 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18198 wine_fn_config_dll imagehlp enable_imagehlp implib
18199 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18200 wine_fn_config_dll imm.dll16 enable_win16
18201 wine_fn_config_dll imm32 enable_imm32 implib
18202 wine_fn_config_test dlls/imm32/tests imm32_test
18203 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18204 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18205 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18206 wine_fn_config_dll inetmib1 enable_inetmib1
18207 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18208 wine_fn_config_dll infosoft enable_infosoft clean
18209 wine_fn_config_test dlls/infosoft/tests infosoft_test
18210 wine_fn_config_dll initpki enable_initpki
18211 wine_fn_config_dll inkobj enable_inkobj
18212 wine_fn_config_dll inseng enable_inseng clean
18213 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18214 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18215 wine_fn_config_dll iprop enable_iprop
18216 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18217 wine_fn_config_dll itircl enable_itircl
18218 wine_fn_config_dll itss enable_itss clean
18219 wine_fn_config_test dlls/itss/tests itss_test
18220 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18221 wine_fn_config_dll jscript enable_jscript clean
18222 wine_fn_config_test dlls/jscript/tests jscript_test
18223 wine_fn_config_dll jsproxy enable_jsproxy implib
18224 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18225 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18226 wine_fn_config_test dlls/kernel32/tests kernel32_test
18227 wine_fn_config_dll kernelbase enable_kernelbase
18228 wine_fn_config_dll keyboard.drv16 enable_win16
18229 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18230 wine_fn_config_dll ksuser enable_ksuser
18231 wine_fn_config_dll ktmw32 enable_ktmw32
18232 wine_fn_config_dll loadperf enable_loadperf implib
18233 wine_fn_config_dll localspl enable_localspl clean
18234 wine_fn_config_test dlls/localspl/tests localspl_test
18235 wine_fn_config_dll localui enable_localui clean
18236 wine_fn_config_test dlls/localui/tests localui_test
18237 wine_fn_config_dll lz32 enable_lz32 implib
18238 wine_fn_config_test dlls/lz32/tests lz32_test
18239 wine_fn_config_dll lzexpand.dll16 enable_win16
18240 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18241 wine_fn_config_test dlls/mapi32/tests mapi32_test
18242 wine_fn_config_dll mapistub enable_mapistub
18243 wine_fn_config_dll mciavi32 enable_mciavi32
18244 wine_fn_config_dll mcicda enable_mcicda
18245 wine_fn_config_dll mciqtz32 enable_mciqtz32
18246 wine_fn_config_dll mciseq enable_mciseq
18247 wine_fn_config_dll mciwave enable_mciwave
18248 wine_fn_config_dll mf enable_mf implib
18249 wine_fn_config_test dlls/mf/tests mf_test
18250 wine_fn_config_dll mf3216 enable_mf3216
18251 wine_fn_config_dll mfplat enable_mfplat implib
18252 wine_fn_config_test dlls/mfplat/tests mfplat_test
18253 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18254 wine_fn_config_dll mgmtapi enable_mgmtapi
18255 wine_fn_config_dll midimap enable_midimap
18256 wine_fn_config_dll mlang enable_mlang clean,implib
18257 wine_fn_config_test dlls/mlang/tests mlang_test
18258 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18259 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18260 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18261 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18262 wine_fn_config_dll mmdevldr.vxd enable_win16
18263 wine_fn_config_dll mmsystem.dll16 enable_win16
18264 wine_fn_config_dll monodebg.vxd enable_win16
18265 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18266 wine_fn_config_dll mouse.drv16 enable_win16
18267 wine_fn_config_dll mpr enable_mpr clean,implib
18268 wine_fn_config_test dlls/mpr/tests mpr_test
18269 wine_fn_config_dll mprapi enable_mprapi implib
18270 wine_fn_config_dll msacm.dll16 enable_win16
18271 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18272 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18273 wine_fn_config_test dlls/msacm32/tests msacm32_test
18274 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18275 wine_fn_config_dll msasn1 enable_msasn1 implib
18276 wine_fn_config_dll mscat32 enable_mscat32
18277 wine_fn_config_dll mscms enable_mscms implib
18278 wine_fn_config_test dlls/mscms/tests mscms_test
18279 wine_fn_config_dll mscoree enable_mscoree clean
18280 wine_fn_config_test dlls/mscoree/tests mscoree_test
18281 wine_fn_config_dll msctf enable_msctf clean
18282 wine_fn_config_test dlls/msctf/tests msctf_test
18283 wine_fn_config_dll msctfp enable_msctfp clean
18284 wine_fn_config_dll msdaps enable_msdaps clean
18285 wine_fn_config_dll msdelta enable_msdelta
18286 wine_fn_config_dll msdmo enable_msdmo implib
18287 wine_fn_config_test dlls/msdmo/tests msdmo_test
18288 wine_fn_config_dll msdrm enable_msdrm
18289 wine_fn_config_dll msftedit enable_msftedit
18290 wine_fn_config_dll msg711.acm enable_msg711_acm
18291 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18292 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18293 wine_fn_config_dll mshtml enable_mshtml clean,implib
18294 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18295 wine_fn_config_dll msi enable_msi clean,implib
18296 wine_fn_config_test dlls/msi/tests msi_test
18297 wine_fn_config_dll msident enable_msident clean
18298 wine_fn_config_dll msimg32 enable_msimg32 implib
18299 wine_fn_config_dll msimsg enable_msimsg
18300 wine_fn_config_dll msimtf enable_msimtf clean
18301 wine_fn_config_dll msisip enable_msisip
18302 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18303 wine_fn_config_dll msls31 enable_msls31
18304 wine_fn_config_dll msnet32 enable_msnet32
18305 wine_fn_config_dll mspatcha enable_mspatcha implib
18306 wine_fn_config_dll msports enable_msports
18307 wine_fn_config_dll msrle32 enable_msrle32 clean
18308 wine_fn_config_test dlls/msrle32/tests msrle32_test
18309 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18310 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18311 wine_fn_config_dll mssign32 enable_mssign32
18312 wine_fn_config_dll mssip32 enable_mssip32
18313 wine_fn_config_dll mstask enable_mstask clean
18314 wine_fn_config_test dlls/mstask/tests mstask_test
18315 wine_fn_config_dll msvcirt enable_msvcirt
18316 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18317 wine_fn_config_dll msvcm80 enable_msvcm80
18318 wine_fn_config_dll msvcm90 enable_msvcm90
18319 wine_fn_config_dll msvcp100 enable_msvcp100
18320 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18321 wine_fn_config_dll msvcp110 enable_msvcp110
18322 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18323 wine_fn_config_dll msvcp120 enable_msvcp120
18324 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18325 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18326 wine_fn_config_dll msvcp140 enable_msvcp140
18327 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18328 wine_fn_config_dll msvcp60 enable_msvcp60
18329 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18330 wine_fn_config_dll msvcp70 enable_msvcp70
18331 wine_fn_config_dll msvcp71 enable_msvcp71
18332 wine_fn_config_dll msvcp80 enable_msvcp80
18333 wine_fn_config_dll msvcp90 enable_msvcp90
18334 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18335 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18336 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18337 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18338 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18339 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18340 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18341 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18342 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18343 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18344 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18345 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18346 wine_fn_config_dll msvcrt enable_msvcrt implib
18347 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18348 wine_fn_config_dll msvcrt20 enable_msvcrt20
18349 wine_fn_config_dll msvcrt40 enable_msvcrt40
18350 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18351 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18352 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18353 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18354 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18355 wine_fn_config_dll msvideo.dll16 enable_win16
18356 wine_fn_config_dll mswsock enable_mswsock implib
18357 wine_fn_config_dll msxml enable_msxml clean
18358 wine_fn_config_dll msxml2 enable_msxml2 clean
18359 wine_fn_config_dll msxml3 enable_msxml3 clean
18360 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18361 wine_fn_config_dll msxml4 enable_msxml4 clean
18362 wine_fn_config_dll msxml6 enable_msxml6 clean
18363 wine_fn_config_dll mtxdm enable_mtxdm
18364 wine_fn_config_dll ncrypt enable_ncrypt
18365 wine_fn_config_dll nddeapi enable_nddeapi implib
18366 wine_fn_config_dll ndis.sys enable_ndis_sys
18367 wine_fn_config_dll netapi32 enable_netapi32 implib
18368 wine_fn_config_test dlls/netapi32/tests netapi32_test
18369 wine_fn_config_dll netcfgx enable_netcfgx clean
18370 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18371 wine_fn_config_dll netprofm enable_netprofm clean
18372 wine_fn_config_test dlls/netprofm/tests netprofm_test
18373 wine_fn_config_dll newdev enable_newdev implib
18374 wine_fn_config_dll normaliz enable_normaliz implib
18375 wine_fn_config_dll npmshtml enable_npmshtml
18376 wine_fn_config_dll npptools enable_npptools
18377 wine_fn_config_dll ntdll enable_ntdll implib
18378 wine_fn_config_test dlls/ntdll/tests ntdll_test
18379 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18380 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18381 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18382 wine_fn_config_dll ntprint enable_ntprint
18383 wine_fn_config_test dlls/ntprint/tests ntprint_test
18384 wine_fn_config_dll objsel enable_objsel clean
18385 wine_fn_config_dll odbc32 enable_odbc32 implib
18386 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18387 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18388 wine_fn_config_dll odbccu32 enable_odbccu32
18389 wine_fn_config_dll ole2.dll16 enable_win16
18390 wine_fn_config_dll ole2conv.dll16 enable_win16
18391 wine_fn_config_dll ole2disp.dll16 enable_win16
18392 wine_fn_config_dll ole2nls.dll16 enable_win16
18393 wine_fn_config_dll ole2prox.dll16 enable_win16
18394 wine_fn_config_dll ole2thk.dll16 enable_win16
18395 wine_fn_config_dll ole32 enable_ole32 clean,implib
18396 wine_fn_config_test dlls/ole32/tests ole32_test
18397 wine_fn_config_dll oleacc enable_oleacc clean,implib
18398 wine_fn_config_test dlls/oleacc/tests oleacc_test
18399 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18400 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18401 wine_fn_config_dll olecli.dll16 enable_win16
18402 wine_fn_config_dll olecli32 enable_olecli32 implib
18403 wine_fn_config_dll oledb32 enable_oledb32 clean
18404 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18405 wine_fn_config_dll oledlg enable_oledlg clean,implib
18406 wine_fn_config_test dlls/oledlg/tests oledlg_test
18407 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18408 wine_fn_config_dll olesvr.dll16 enable_win16
18409 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18410 wine_fn_config_dll olethk32 enable_olethk32
18411 wine_fn_config_dll openal32 enable_openal32
18412 wine_fn_config_dll opencl enable_opencl
18413 wine_fn_config_dll opengl32 enable_opengl32 implib
18414 wine_fn_config_test dlls/opengl32/tests opengl32_test
18415 wine_fn_config_dll packager enable_packager clean
18416 wine_fn_config_test dlls/packager/tests packager_test
18417 wine_fn_config_dll pdh enable_pdh implib
18418 wine_fn_config_test dlls/pdh/tests pdh_test
18419 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18420 wine_fn_config_dll pidgen enable_pidgen
18421 wine_fn_config_dll powrprof enable_powrprof implib
18422 wine_fn_config_dll printui enable_printui
18423 wine_fn_config_dll prntvpt enable_prntvpt
18424 wine_fn_config_dll propsys enable_propsys clean,implib
18425 wine_fn_config_test dlls/propsys/tests propsys_test
18426 wine_fn_config_dll psapi enable_psapi implib
18427 wine_fn_config_test dlls/psapi/tests psapi_test
18428 wine_fn_config_dll pstorec enable_pstorec clean
18429 wine_fn_config_test dlls/pstorec/tests pstorec_test
18430 wine_fn_config_dll qcap enable_qcap
18431 wine_fn_config_test dlls/qcap/tests qcap_test
18432 wine_fn_config_dll qedit enable_qedit clean
18433 wine_fn_config_test dlls/qedit/tests qedit_test
18434 wine_fn_config_dll qmgr enable_qmgr clean
18435 wine_fn_config_test dlls/qmgr/tests qmgr_test
18436 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18437 wine_fn_config_dll quartz enable_quartz clean,implib
18438 wine_fn_config_test dlls/quartz/tests quartz_test clean
18439 wine_fn_config_dll query enable_query
18440 wine_fn_config_dll rasapi16.dll16 enable_win16
18441 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18442 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18443 wine_fn_config_dll rasdlg enable_rasdlg implib
18444 wine_fn_config_dll regapi enable_regapi
18445 wine_fn_config_dll resutils enable_resutils implib
18446 wine_fn_config_dll riched20 enable_riched20 clean,implib
18447 wine_fn_config_test dlls/riched20/tests riched20_test
18448 wine_fn_config_dll riched32 enable_riched32
18449 wine_fn_config_test dlls/riched32/tests riched32_test
18450 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18451 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18452 wine_fn_config_dll rsabase enable_rsabase
18453 wine_fn_config_dll rsaenh enable_rsaenh implib
18454 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18455 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18456 wine_fn_config_dll rtutils enable_rtutils implib
18457 wine_fn_config_dll samlib enable_samlib
18458 wine_fn_config_dll sane.ds enable_sane_ds clean
18459 wine_fn_config_dll scarddlg enable_scarddlg
18460 wine_fn_config_dll sccbase enable_sccbase
18461 wine_fn_config_dll schannel enable_schannel
18462 wine_fn_config_test dlls/schannel/tests schannel_test
18463 wine_fn_config_dll schedsvc enable_schedsvc clean
18464 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18465 wine_fn_config_dll scrobj enable_scrobj clean
18466 wine_fn_config_dll scrrun enable_scrrun clean
18467 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18468 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18469 wine_fn_config_dll secur32 enable_secur32 implib
18470 wine_fn_config_test dlls/secur32/tests secur32_test
18471 wine_fn_config_dll security enable_security
18472 wine_fn_config_dll sensapi enable_sensapi implib
18473 wine_fn_config_dll serialui enable_serialui clean
18474 wine_fn_config_test dlls/serialui/tests serialui_test
18475 wine_fn_config_dll setupapi enable_setupapi clean,implib
18476 wine_fn_config_test dlls/setupapi/tests setupapi_test
18477 wine_fn_config_dll setupx.dll16 enable_win16
18478 wine_fn_config_dll sfc enable_sfc implib
18479 wine_fn_config_dll sfc_os enable_sfc_os implib
18480 wine_fn_config_dll shdoclc enable_shdoclc clean
18481 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18482 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18483 wine_fn_config_dll shell.dll16 enable_win16
18484 wine_fn_config_dll shell32 enable_shell32 clean,implib
18485 wine_fn_config_test dlls/shell32/tests shell32_test
18486 wine_fn_config_dll shfolder enable_shfolder implib
18487 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18488 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18489 wine_fn_config_dll slbcsp enable_slbcsp
18490 wine_fn_config_dll slc enable_slc implib
18491 wine_fn_config_test dlls/slc/tests slc_test
18492 wine_fn_config_dll snmpapi enable_snmpapi implib
18493 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18494 wine_fn_config_dll softpub enable_softpub
18495 wine_fn_config_dll sound.drv16 enable_win16
18496 wine_fn_config_dll spoolss enable_spoolss implib
18497 wine_fn_config_test dlls/spoolss/tests spoolss_test
18498 wine_fn_config_dll sspicli enable_sspicli
18499 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18500 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18501 wine_fn_config_dll sti enable_sti clean,implib
18502 wine_fn_config_test dlls/sti/tests sti_test
18503 wine_fn_config_dll storage.dll16 enable_win16
18504 wine_fn_config_dll stress.dll16 enable_win16
18505 wine_fn_config_lib strmbase
18506 wine_fn_config_lib strmiids
18507 wine_fn_config_dll svrapi enable_svrapi
18508 wine_fn_config_dll sxs enable_sxs implib
18509 wine_fn_config_test dlls/sxs/tests sxs_test
18510 wine_fn_config_dll system.drv16 enable_win16
18511 wine_fn_config_dll t2embed enable_t2embed implib
18512 wine_fn_config_test dlls/t2embed/tests t2embed_test
18513 wine_fn_config_dll tapi32 enable_tapi32 implib
18514 wine_fn_config_dll taskschd enable_taskschd clean
18515 wine_fn_config_test dlls/taskschd/tests taskschd_test
18516 wine_fn_config_dll tdh enable_tdh
18517 wine_fn_config_dll tdi.sys enable_tdi_sys
18518 wine_fn_config_dll toolhelp.dll16 enable_win16
18519 wine_fn_config_dll traffic enable_traffic
18520 wine_fn_config_dll twain.dll16 enable_win16
18521 wine_fn_config_dll twain_32 enable_twain_32
18522 wine_fn_config_test dlls/twain_32/tests twain_32_test
18523 wine_fn_config_dll typelib.dll16 enable_win16
18524 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18525 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18526 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18527 wine_fn_config_dll unicows enable_unicows implib
18528 wine_fn_config_dll updspapi enable_updspapi
18529 wine_fn_config_dll url enable_url implib
18530 wine_fn_config_dll urlmon enable_urlmon clean,implib
18531 wine_fn_config_test dlls/urlmon/tests urlmon_test
18532 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18533 wine_fn_config_dll user.exe16 enable_win16
18534 wine_fn_config_dll user32 enable_user32 clean,implib
18535 wine_fn_config_test dlls/user32/tests user32_test
18536 wine_fn_config_dll userenv enable_userenv implib
18537 wine_fn_config_test dlls/userenv/tests userenv_test
18538 wine_fn_config_dll usp10 enable_usp10 implib
18539 wine_fn_config_test dlls/usp10/tests usp10_test
18540 wine_fn_config_lib uuid
18541 wine_fn_config_dll uxtheme enable_uxtheme implib
18542 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18543 wine_fn_config_dll vbscript enable_vbscript clean
18544 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18545 wine_fn_config_dll vcomp enable_vcomp
18546 wine_fn_config_test dlls/vcomp/tests vcomp_test
18547 wine_fn_config_dll vcomp100 enable_vcomp100
18548 wine_fn_config_dll vcomp110 enable_vcomp110
18549 wine_fn_config_dll vcomp120 enable_vcomp120
18550 wine_fn_config_dll vcomp140 enable_vcomp140
18551 wine_fn_config_dll vcomp90 enable_vcomp90
18552 wine_fn_config_dll vcruntime140 enable_vcruntime140
18553 wine_fn_config_dll vdhcp.vxd enable_win16
18554 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18555 wine_fn_config_dll ver.dll16 enable_win16
18556 wine_fn_config_dll version enable_version implib
18557 wine_fn_config_test dlls/version/tests version_test
18558 wine_fn_config_dll virtdisk enable_virtdisk
18559 wine_fn_config_dll vmm.vxd enable_win16
18560 wine_fn_config_dll vnbt.vxd enable_win16
18561 wine_fn_config_dll vnetbios.vxd enable_win16
18562 wine_fn_config_dll vssapi enable_vssapi
18563 wine_fn_config_dll vtdapi.vxd enable_win16
18564 wine_fn_config_dll vwin32.vxd enable_win16
18565 wine_fn_config_dll w32skrnl enable_win16
18566 wine_fn_config_dll w32sys.dll16 enable_win16
18567 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18568 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18569 wine_fn_config_dll wbemprox enable_wbemprox clean
18570 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18571 wine_fn_config_dll webservices enable_webservices implib
18572 wine_fn_config_test dlls/webservices/tests webservices_test
18573 wine_fn_config_dll wer enable_wer implib
18574 wine_fn_config_test dlls/wer/tests wer_test
18575 wine_fn_config_dll wevtapi enable_wevtapi
18576 wine_fn_config_dll wiaservc enable_wiaservc clean
18577 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18578 wine_fn_config_dll wimgapi enable_wimgapi
18579 wine_fn_config_dll win32s16.dll16 enable_win16
18580 wine_fn_config_dll win87em.dll16 enable_win16
18581 wine_fn_config_dll winaspi.dll16 enable_win16
18582 wine_fn_config_dll windebug.dll16 enable_win16
18583 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18584 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18585 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18586 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18587 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18588 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18589 wine_fn_config_dll winebus.sys enable_winebus_sys
18590 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18591 wine_fn_config_lib winecrt0
18592 wine_fn_config_dll wined3d enable_wined3d implib
18593 wine_fn_config_dll winegstreamer enable_winegstreamer
18594 wine_fn_config_dll winehid.sys enable_winehid_sys
18595 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18596 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18597 wine_fn_config_dll winemapi enable_winemapi
18598 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18599 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18600 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18601 wine_fn_config_dll wineps16.drv16 enable_win16
18602 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18603 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18604 wine_fn_config_dll winex11.drv enable_winex11_drv
18605 wine_fn_config_dll wing.dll16 enable_win16
18606 wine_fn_config_dll wing32 enable_wing32
18607 wine_fn_config_dll winhttp enable_winhttp clean,implib
18608 wine_fn_config_test dlls/winhttp/tests winhttp_test
18609 wine_fn_config_dll wininet enable_wininet clean,implib
18610 wine_fn_config_test dlls/wininet/tests wininet_test
18611 wine_fn_config_dll winmm enable_winmm clean,implib
18612 wine_fn_config_test dlls/winmm/tests winmm_test
18613 wine_fn_config_dll winnls.dll16 enable_win16
18614 wine_fn_config_dll winnls32 enable_winnls32 implib
18615 wine_fn_config_dll winscard enable_winscard implib
18616 wine_fn_config_dll winsock.dll16 enable_win16
18617 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18618 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18619 wine_fn_config_dll winsta enable_winsta
18620 wine_fn_config_dll wintab.dll16 enable_win16
18621 wine_fn_config_dll wintab32 enable_wintab32 implib
18622 wine_fn_config_test dlls/wintab32/tests wintab32_test
18623 wine_fn_config_dll wintrust enable_wintrust implib
18624 wine_fn_config_test dlls/wintrust/tests wintrust_test
18625 wine_fn_config_dll winusb enable_winusb
18626 wine_fn_config_dll wlanapi enable_wlanapi implib
18627 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18628 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18629 wine_fn_config_test dlls/wldap32/tests wldap32_test
18630 wine_fn_config_dll wmasf enable_wmasf
18631 wine_fn_config_dll wmi enable_wmi
18632 wine_fn_config_dll wmiutils enable_wmiutils clean
18633 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18634 wine_fn_config_dll wmp enable_wmp clean
18635 wine_fn_config_test dlls/wmp/tests wmp_test
18636 wine_fn_config_dll wmvcore enable_wmvcore implib
18637 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18638 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18639 wine_fn_config_dll wow32 enable_win16 implib
18640 wine_fn_config_dll wpc enable_wpc clean
18641 wine_fn_config_test dlls/wpc/tests wpc_test
18642 wine_fn_config_dll wpcap enable_wpcap
18643 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18644 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18645 wine_fn_config_dll wsdapi enable_wsdapi implib
18646 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18647 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18648 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18649 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18650 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18651 wine_fn_config_dll wsock32 enable_wsock32 implib
18652 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18653 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18654 wine_fn_config_dll wuapi enable_wuapi clean
18655 wine_fn_config_dll wuaueng enable_wuaueng
18656 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18657 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18658 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18659 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18660 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18661 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18662 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18663 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18664 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18665 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18666 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18667 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18668 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18669 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18670 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18671 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18672 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18673 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18674 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18675 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18676 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18677 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18678 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18679 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18680 wine_fn_config_dll xinput1_1 enable_xinput1_1
18681 wine_fn_config_dll xinput1_2 enable_xinput1_2
18682 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18683 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18684 wine_fn_config_dll xinput1_4 enable_xinput1_4
18685 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18686 wine_fn_config_dll xmllite enable_xmllite implib
18687 wine_fn_config_test dlls/xmllite/tests xmllite_test
18688 wine_fn_config_dll xolehlp enable_xolehlp
18689 wine_fn_config_dll xpsprint enable_xpsprint
18690 wine_fn_config_dll xpssvcs enable_xpssvcs
18691 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18692 wine_fn_config_makefile include enable_include clean,install-dev
18693 wine_fn_config_makefile libs/port enable_libs_port
18694 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18695 wine_fn_config_makefile libs/wpp enable_libs_wpp
18696 wine_fn_config_makefile loader enable_loader clean,install-lib
18697 wine_fn_config_makefile po enable_po clean
18698 wine_fn_config_program arp enable_arp install
18699 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18700 wine_fn_config_program attrib enable_attrib clean,install
18701 wine_fn_config_program cabarc enable_cabarc install
18702 wine_fn_config_program cacls enable_cacls install
18703 wine_fn_config_program clock enable_clock clean,install
18704 wine_fn_config_program cmd enable_cmd clean,install
18705 wine_fn_config_test programs/cmd/tests cmd.exe_test
18706 wine_fn_config_program conhost enable_conhost install
18707 wine_fn_config_program control enable_control install
18708 wine_fn_config_program cscript enable_cscript clean,install
18709 wine_fn_config_program dpnsvr enable_dpnsvr install
18710 wine_fn_config_program dxdiag enable_dxdiag clean,install
18711 wine_fn_config_program eject enable_eject install
18712 wine_fn_config_program expand enable_expand install
18713 wine_fn_config_program explorer enable_explorer clean,install
18714 wine_fn_config_program extrac32 enable_extrac32 install
18715 wine_fn_config_program findstr enable_findstr install
18716 wine_fn_config_program fsutil enable_fsutil install
18717 wine_fn_config_program hh enable_hh install
18718 wine_fn_config_program hostname enable_hostname clean,install
18719 wine_fn_config_program icacls enable_icacls install
18720 wine_fn_config_program icinfo enable_icinfo install
18721 wine_fn_config_program iexplore enable_iexplore install
18722 wine_fn_config_program ipconfig enable_ipconfig clean,install
18723 wine_fn_config_program lodctr enable_lodctr install
18724 wine_fn_config_program mofcomp enable_mofcomp install
18725 wine_fn_config_program mshta enable_mshta install
18726 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18727 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18728 wine_fn_config_program net enable_net clean,install
18729 wine_fn_config_program netsh enable_netsh install
18730 wine_fn_config_program netstat enable_netstat clean,install
18731 wine_fn_config_program ngen enable_ngen install
18732 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18733 wine_fn_config_program oleview enable_oleview clean,install
18734 wine_fn_config_program ping enable_ping install
18735 wine_fn_config_program plugplay enable_plugplay install
18736 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18737 wine_fn_config_program progman enable_progman clean,install
18738 wine_fn_config_program reg enable_reg clean,install
18739 wine_fn_config_test programs/reg/tests reg.exe_test
18740 wine_fn_config_program regasm enable_regasm install
18741 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18742 wine_fn_config_test programs/regedit/tests regedit.exe_test
18743 wine_fn_config_program regsvcs enable_regsvcs install
18744 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18745 wine_fn_config_program rpcss enable_rpcss clean,install
18746 wine_fn_config_program rundll.exe16 enable_win16 install
18747 wine_fn_config_program rundll32 enable_rundll32 install
18748 wine_fn_config_program sc enable_sc install
18749 wine_fn_config_program schtasks enable_schtasks install
18750 wine_fn_config_program sdbinst enable_sdbinst install
18751 wine_fn_config_program secedit enable_secedit install
18752 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18753 wine_fn_config_program services enable_services clean,install
18754 wine_fn_config_test programs/services/tests services.exe_test
18755 wine_fn_config_program shutdown enable_shutdown install
18756 wine_fn_config_program spoolsv enable_spoolsv install
18757 wine_fn_config_program start enable_start clean,install
18758 wine_fn_config_program subst enable_subst install
18759 wine_fn_config_program svchost enable_svchost install
18760 wine_fn_config_program systeminfo enable_systeminfo install
18761 wine_fn_config_program taskkill enable_taskkill clean,install
18762 wine_fn_config_program tasklist enable_tasklist install
18763 wine_fn_config_program taskmgr enable_taskmgr clean,install
18764 wine_fn_config_program termsv enable_termsv install
18765 wine_fn_config_program uninstaller enable_uninstaller clean,install
18766 wine_fn_config_program unlodctr enable_unlodctr install
18767 wine_fn_config_program view enable_view clean,install
18768 wine_fn_config_program wevtutil enable_wevtutil install
18769 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18770 wine_fn_config_program winebrowser enable_winebrowser install
18771 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18772 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18773 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18774 wine_fn_config_program winedevice enable_winedevice install
18775 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18776 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18777 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18778 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18779 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18780 wine_fn_config_program winetest enable_winetest clean
18781 wine_fn_config_program winevdm enable_win16 install
18782 wine_fn_config_program winhelp.exe16 enable_win16 install
18783 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18784 wine_fn_config_program winoldap.mod16 enable_win16 install
18785 wine_fn_config_program winver enable_winver install
18786 wine_fn_config_program wmic enable_wmic clean,install
18787 wine_fn_config_program wmplayer enable_wmplayer install
18788 wine_fn_config_program wordpad enable_wordpad clean,install
18789 wine_fn_config_program write enable_write clean,install
18790 wine_fn_config_program wscript enable_wscript clean,install
18791 wine_fn_config_test programs/wscript/tests wscript.exe_test
18792 wine_fn_config_program wusa enable_wusa install
18793 wine_fn_config_program xcopy enable_xcopy clean,install
18794 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18795 wine_fn_config_makefile server enable_server clean,install-lib
18796 wine_fn_config_tool tools clean
18797 wine_fn_config_tool tools/sfnt2fon clean
18798 wine_fn_config_tool tools/widl clean,install-dev
18799 wine_fn_config_tool tools/winebuild clean,install-dev
18800 wine_fn_config_tool tools/winedump clean,install-dev
18801 wine_fn_config_tool tools/winegcc clean,install-dev
18802 wine_fn_config_tool tools/winemaker clean,install-dev
18803 wine_fn_config_tool tools/wmc clean,install-dev
18804 wine_fn_config_tool tools/wrc clean,install-dev
18807 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18808 wine_fn_append_file CONFIGURE_TARGETS "tags"
18809 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18810 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18811 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18812 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18813 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18814 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18816 if test "x$enable_tools" != xno
18817 then
18818 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18819 ac_config_commands="$ac_config_commands tools/makedep"
18823 ac_config_commands="$ac_config_commands Makefile"
18826 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18830 if test "x$enable_maintainer_mode" = xyes
18831 then
18832 wine_fn_append_rule "configure: configure.ac aclocal.m4
18833 autoconf --warnings=all
18834 include/config.h.in: include/stamp-h.in
18835 include/stamp-h.in: configure.ac aclocal.m4
18836 autoheader --warnings=all
18837 @echo timestamp > \$@"
18840 if test "x$enable_tools" != xno
18841 then
18842 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18843 @./config.status tools/makedep
18844 Makefile: tools/makedep$ac_exeext"
18845 else
18846 wine_fn_append_rule "\$(MAKEDEP):
18847 @echo \"You need to run make in $TOOLSDIR first\" && false"
18850 if test -n "$with_wine64"
18851 then
18852 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18853 fonts server:
18854 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18855 $with_wine64/loader/wine:
18856 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18857 $with_wine64/loader/wine-preloader:
18858 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18859 clean::
18860 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18861 else
18862 WINELOADER_INSTALL="wine.inf"
18864 wine_fn_append_rule "install install-lib::
18865 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18866 uninstall::
18867 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18868 case $host_os in
18869 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18870 *) wine_fn_append_rule "install install-lib::
18871 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18872 uninstall::
18873 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18874 esac
18877 $as_echo " done" >&6
18878 cat >confcache <<\_ACEOF
18879 # This file is a shell script that caches the results of configure
18880 # tests run on this system so they can be shared between configure
18881 # scripts and configure runs, see configure's option --config-cache.
18882 # It is not useful on other systems. If it contains results you don't
18883 # want to keep, you may remove or edit it.
18885 # config.status only pays attention to the cache file if you give it
18886 # the --recheck option to rerun configure.
18888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18890 # following values.
18892 _ACEOF
18894 # The following way of writing the cache mishandles newlines in values,
18895 # but we know of no workaround that is simple, portable, and efficient.
18896 # So, we kill variables containing newlines.
18897 # Ultrix sh set writes to stderr and can't be redirected directly,
18898 # and sets the high bit in the cache file unless we assign to the vars.
18900 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18901 eval ac_val=\$$ac_var
18902 case $ac_val in #(
18903 *${as_nl}*)
18904 case $ac_var in #(
18905 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18907 esac
18908 case $ac_var in #(
18909 _ | IFS | as_nl) ;; #(
18910 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18911 *) { eval $ac_var=; unset $ac_var;} ;;
18912 esac ;;
18913 esac
18914 done
18916 (set) 2>&1 |
18917 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18918 *${as_nl}ac_space=\ *)
18919 # `set' does not quote correctly, so add quotes: double-quote
18920 # substitution turns \\\\ into \\, and sed turns \\ into \.
18921 sed -n \
18922 "s/'/'\\\\''/g;
18923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18924 ;; #(
18926 # `set' quotes correctly as required by POSIX, so do not add quotes.
18927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18929 esac |
18930 sort
18932 sed '
18933 /^ac_cv_env_/b end
18934 t clear
18935 :clear
18936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18937 t end
18938 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18939 :end' >>confcache
18940 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18941 if test -w "$cache_file"; then
18942 if test "x$cache_file" != "x/dev/null"; then
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18944 $as_echo "$as_me: updating cache $cache_file" >&6;}
18945 if test ! -f "$cache_file" || test -h "$cache_file"; then
18946 cat confcache >"$cache_file"
18947 else
18948 case $cache_file in #(
18949 */* | ?:*)
18950 mv -f confcache "$cache_file"$$ &&
18951 mv -f "$cache_file"$$ "$cache_file" ;; #(
18953 mv -f confcache "$cache_file" ;;
18954 esac
18957 else
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18959 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18962 rm -f confcache
18964 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18965 # Let make expand exec_prefix.
18966 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18968 DEFS=-DHAVE_CONFIG_H
18970 ac_libobjs=
18971 ac_ltlibobjs=
18973 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18974 # 1. Remove the extension, and $U if already installed.
18975 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18976 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18977 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18978 # will be set to the directory where LIBOBJS objects are built.
18979 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18980 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18981 done
18982 LIBOBJS=$ac_libobjs
18984 LTLIBOBJS=$ac_ltlibobjs
18988 : "${CONFIG_STATUS=./config.status}"
18989 ac_write_fail=0
18990 ac_clean_files_save=$ac_clean_files
18991 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18993 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18994 as_write_fail=0
18995 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18996 #! $SHELL
18997 # Generated by $as_me.
18998 # Run this file to recreate the current configuration.
18999 # Compiler output produced by configure, useful for debugging
19000 # configure, is in config.log if it exists.
19002 debug=false
19003 ac_cs_recheck=false
19004 ac_cs_silent=false
19006 SHELL=\${CONFIG_SHELL-$SHELL}
19007 export SHELL
19008 _ASEOF
19009 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19010 ## -------------------- ##
19011 ## M4sh Initialization. ##
19012 ## -------------------- ##
19014 # Be more Bourne compatible
19015 DUALCASE=1; export DUALCASE # for MKS sh
19016 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19017 emulate sh
19018 NULLCMD=:
19019 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19020 # is contrary to our usage. Disable this feature.
19021 alias -g '${1+"$@"}'='"$@"'
19022 setopt NO_GLOB_SUBST
19023 else
19024 case `(set -o) 2>/dev/null` in #(
19025 *posix*) :
19026 set -o posix ;; #(
19027 *) :
19029 esac
19033 as_nl='
19035 export as_nl
19036 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19037 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19039 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19040 # Prefer a ksh shell builtin over an external printf program on Solaris,
19041 # but without wasting forks for bash or zsh.
19042 if test -z "$BASH_VERSION$ZSH_VERSION" \
19043 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19044 as_echo='print -r --'
19045 as_echo_n='print -rn --'
19046 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19047 as_echo='printf %s\n'
19048 as_echo_n='printf %s'
19049 else
19050 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19051 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19052 as_echo_n='/usr/ucb/echo -n'
19053 else
19054 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19055 as_echo_n_body='eval
19056 arg=$1;
19057 case $arg in #(
19058 *"$as_nl"*)
19059 expr "X$arg" : "X\\(.*\\)$as_nl";
19060 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19061 esac;
19062 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19064 export as_echo_n_body
19065 as_echo_n='sh -c $as_echo_n_body as_echo'
19067 export as_echo_body
19068 as_echo='sh -c $as_echo_body as_echo'
19071 # The user is always right.
19072 if test "${PATH_SEPARATOR+set}" != set; then
19073 PATH_SEPARATOR=:
19074 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19075 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19076 PATH_SEPARATOR=';'
19081 # IFS
19082 # We need space, tab and new line, in precisely that order. Quoting is
19083 # there to prevent editors from complaining about space-tab.
19084 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19085 # splitting by setting IFS to empty value.)
19086 IFS=" "" $as_nl"
19088 # Find who we are. Look in the path if we contain no directory separator.
19089 as_myself=
19090 case $0 in #((
19091 *[\\/]* ) as_myself=$0 ;;
19092 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19093 for as_dir in $PATH
19095 IFS=$as_save_IFS
19096 test -z "$as_dir" && as_dir=.
19097 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19098 done
19099 IFS=$as_save_IFS
19102 esac
19103 # We did not find ourselves, most probably we were run as `sh COMMAND'
19104 # in which case we are not to be found in the path.
19105 if test "x$as_myself" = x; then
19106 as_myself=$0
19108 if test ! -f "$as_myself"; then
19109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19110 exit 1
19113 # Unset variables that we do not need and which cause bugs (e.g. in
19114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19115 # suppresses any "Segmentation fault" message there. '((' could
19116 # trigger a bug in pdksh 5.2.14.
19117 for as_var in BASH_ENV ENV MAIL MAILPATH
19118 do eval test x\${$as_var+set} = xset \
19119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19120 done
19121 PS1='$ '
19122 PS2='> '
19123 PS4='+ '
19125 # NLS nuisances.
19126 LC_ALL=C
19127 export LC_ALL
19128 LANGUAGE=C
19129 export LANGUAGE
19131 # CDPATH.
19132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19135 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19136 # ----------------------------------------
19137 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19138 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19139 # script with STATUS, using 1 if that was 0.
19140 as_fn_error ()
19142 as_status=$1; test $as_status -eq 0 && as_status=1
19143 if test "$4"; then
19144 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19145 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19147 $as_echo "$as_me: error: $2" >&2
19148 as_fn_exit $as_status
19149 } # as_fn_error
19152 # as_fn_set_status STATUS
19153 # -----------------------
19154 # Set $? to STATUS, without forking.
19155 as_fn_set_status ()
19157 return $1
19158 } # as_fn_set_status
19160 # as_fn_exit STATUS
19161 # -----------------
19162 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19163 as_fn_exit ()
19165 set +e
19166 as_fn_set_status $1
19167 exit $1
19168 } # as_fn_exit
19170 # as_fn_unset VAR
19171 # ---------------
19172 # Portably unset VAR.
19173 as_fn_unset ()
19175 { eval $1=; unset $1;}
19177 as_unset=as_fn_unset
19178 # as_fn_append VAR VALUE
19179 # ----------------------
19180 # Append the text in VALUE to the end of the definition contained in VAR. Take
19181 # advantage of any shell optimizations that allow amortized linear growth over
19182 # repeated appends, instead of the typical quadratic growth present in naive
19183 # implementations.
19184 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19185 eval 'as_fn_append ()
19187 eval $1+=\$2
19189 else
19190 as_fn_append ()
19192 eval $1=\$$1\$2
19194 fi # as_fn_append
19196 # as_fn_arith ARG...
19197 # ------------------
19198 # Perform arithmetic evaluation on the ARGs, and store the result in the
19199 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19200 # must be portable across $(()) and expr.
19201 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19202 eval 'as_fn_arith ()
19204 as_val=$(( $* ))
19206 else
19207 as_fn_arith ()
19209 as_val=`expr "$@" || test $? -eq 1`
19211 fi # as_fn_arith
19214 if expr a : '\(a\)' >/dev/null 2>&1 &&
19215 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19216 as_expr=expr
19217 else
19218 as_expr=false
19221 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19222 as_basename=basename
19223 else
19224 as_basename=false
19227 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19228 as_dirname=dirname
19229 else
19230 as_dirname=false
19233 as_me=`$as_basename -- "$0" ||
19234 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19235 X"$0" : 'X\(//\)$' \| \
19236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19237 $as_echo X/"$0" |
19238 sed '/^.*\/\([^/][^/]*\)\/*$/{
19239 s//\1/
19242 /^X\/\(\/\/\)$/{
19243 s//\1/
19246 /^X\/\(\/\).*/{
19247 s//\1/
19250 s/.*/./; q'`
19252 # Avoid depending upon Character Ranges.
19253 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19254 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19255 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19256 as_cr_digits='0123456789'
19257 as_cr_alnum=$as_cr_Letters$as_cr_digits
19259 ECHO_C= ECHO_N= ECHO_T=
19260 case `echo -n x` in #(((((
19261 -n*)
19262 case `echo 'xy\c'` in
19263 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19264 xy) ECHO_C='\c';;
19265 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19266 ECHO_T=' ';;
19267 esac;;
19269 ECHO_N='-n';;
19270 esac
19272 rm -f conf$$ conf$$.exe conf$$.file
19273 if test -d conf$$.dir; then
19274 rm -f conf$$.dir/conf$$.file
19275 else
19276 rm -f conf$$.dir
19277 mkdir conf$$.dir 2>/dev/null
19279 if (echo >conf$$.file) 2>/dev/null; then
19280 if ln -s conf$$.file conf$$ 2>/dev/null; then
19281 as_ln_s='ln -s'
19282 # ... but there are two gotchas:
19283 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19284 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19285 # In both cases, we have to default to `cp -pR'.
19286 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19287 as_ln_s='cp -pR'
19288 elif ln conf$$.file conf$$ 2>/dev/null; then
19289 as_ln_s=ln
19290 else
19291 as_ln_s='cp -pR'
19293 else
19294 as_ln_s='cp -pR'
19296 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19297 rmdir conf$$.dir 2>/dev/null
19300 # as_fn_mkdir_p
19301 # -------------
19302 # Create "$as_dir" as a directory, including parents if necessary.
19303 as_fn_mkdir_p ()
19306 case $as_dir in #(
19307 -*) as_dir=./$as_dir;;
19308 esac
19309 test -d "$as_dir" || eval $as_mkdir_p || {
19310 as_dirs=
19311 while :; do
19312 case $as_dir in #(
19313 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19314 *) as_qdir=$as_dir;;
19315 esac
19316 as_dirs="'$as_qdir' $as_dirs"
19317 as_dir=`$as_dirname -- "$as_dir" ||
19318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19319 X"$as_dir" : 'X\(//\)[^/]' \| \
19320 X"$as_dir" : 'X\(//\)$' \| \
19321 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19322 $as_echo X"$as_dir" |
19323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19324 s//\1/
19327 /^X\(\/\/\)[^/].*/{
19328 s//\1/
19331 /^X\(\/\/\)$/{
19332 s//\1/
19335 /^X\(\/\).*/{
19336 s//\1/
19339 s/.*/./; q'`
19340 test -d "$as_dir" && break
19341 done
19342 test -z "$as_dirs" || eval "mkdir $as_dirs"
19343 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19346 } # as_fn_mkdir_p
19347 if mkdir -p . 2>/dev/null; then
19348 as_mkdir_p='mkdir -p "$as_dir"'
19349 else
19350 test -d ./-p && rmdir ./-p
19351 as_mkdir_p=false
19355 # as_fn_executable_p FILE
19356 # -----------------------
19357 # Test if FILE is an executable regular file.
19358 as_fn_executable_p ()
19360 test -f "$1" && test -x "$1"
19361 } # as_fn_executable_p
19362 as_test_x='test -x'
19363 as_executable_p=as_fn_executable_p
19365 # Sed expression to map a string onto a valid CPP name.
19366 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19368 # Sed expression to map a string onto a valid variable name.
19369 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19372 exec 6>&1
19373 ## ----------------------------------- ##
19374 ## Main body of $CONFIG_STATUS script. ##
19375 ## ----------------------------------- ##
19376 _ASEOF
19377 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19380 # Save the log message, to keep $0 and so on meaningful, and to
19381 # report actual input values of CONFIG_FILES etc. instead of their
19382 # values after options handling.
19383 ac_log="
19384 This file was extended by Wine $as_me 2.10, which was
19385 generated by GNU Autoconf 2.69. Invocation command line was
19387 CONFIG_FILES = $CONFIG_FILES
19388 CONFIG_HEADERS = $CONFIG_HEADERS
19389 CONFIG_LINKS = $CONFIG_LINKS
19390 CONFIG_COMMANDS = $CONFIG_COMMANDS
19391 $ $0 $@
19393 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19396 _ACEOF
19398 case $ac_config_files in *"
19399 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19400 esac
19402 case $ac_config_headers in *"
19403 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19404 esac
19407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19408 # Files that config.status was made for.
19409 config_files="$ac_config_files"
19410 config_headers="$ac_config_headers"
19411 config_links="$ac_config_links"
19412 config_commands="$ac_config_commands"
19414 _ACEOF
19416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19417 ac_cs_usage="\
19418 \`$as_me' instantiates files and other configuration actions
19419 from templates according to the current configuration. Unless the files
19420 and actions are specified as TAGs, all are instantiated by default.
19422 Usage: $0 [OPTION]... [TAG]...
19424 -h, --help print this help, then exit
19425 -V, --version print version number and configuration settings, then exit
19426 --config print configuration, then exit
19427 -q, --quiet, --silent
19428 do not print progress messages
19429 -d, --debug don't remove temporary files
19430 --recheck update $as_me by reconfiguring in the same conditions
19431 --file=FILE[:TEMPLATE]
19432 instantiate the configuration file FILE
19433 --header=FILE[:TEMPLATE]
19434 instantiate the configuration header FILE
19436 Configuration files:
19437 $config_files
19439 Configuration headers:
19440 $config_headers
19442 Configuration links:
19443 $config_links
19445 Configuration commands:
19446 $config_commands
19448 Report bugs to <wine-devel@winehq.org>.
19449 Wine home page: <http://www.winehq.org>."
19451 _ACEOF
19452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19453 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19454 ac_cs_version="\\
19455 Wine config.status 2.10
19456 configured by $0, generated by GNU Autoconf 2.69,
19457 with options \\"\$ac_cs_config\\"
19459 Copyright (C) 2012 Free Software Foundation, Inc.
19460 This config.status script is free software; the Free Software Foundation
19461 gives unlimited permission to copy, distribute and modify it."
19463 ac_pwd='$ac_pwd'
19464 srcdir='$srcdir'
19465 test -n "\$AWK" || AWK=awk
19466 _ACEOF
19468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19469 # The default lists apply if the user does not specify any file.
19470 ac_need_defaults=:
19471 while test $# != 0
19473 case $1 in
19474 --*=?*)
19475 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19476 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19477 ac_shift=:
19479 --*=)
19480 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19481 ac_optarg=
19482 ac_shift=:
19485 ac_option=$1
19486 ac_optarg=$2
19487 ac_shift=shift
19489 esac
19491 case $ac_option in
19492 # Handling of the options.
19493 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19494 ac_cs_recheck=: ;;
19495 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19496 $as_echo "$ac_cs_version"; exit ;;
19497 --config | --confi | --conf | --con | --co | --c )
19498 $as_echo "$ac_cs_config"; exit ;;
19499 --debug | --debu | --deb | --de | --d | -d )
19500 debug=: ;;
19501 --file | --fil | --fi | --f )
19502 $ac_shift
19503 case $ac_optarg in
19504 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19505 '') as_fn_error $? "missing file argument" ;;
19506 esac
19507 as_fn_append CONFIG_FILES " '$ac_optarg'"
19508 ac_need_defaults=false;;
19509 --header | --heade | --head | --hea )
19510 $ac_shift
19511 case $ac_optarg in
19512 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19513 esac
19514 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19515 ac_need_defaults=false;;
19516 --he | --h)
19517 # Conflict between --help and --header
19518 as_fn_error $? "ambiguous option: \`$1'
19519 Try \`$0 --help' for more information.";;
19520 --help | --hel | -h )
19521 $as_echo "$ac_cs_usage"; exit ;;
19522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19523 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19524 ac_cs_silent=: ;;
19526 # This is an error.
19527 -*) as_fn_error $? "unrecognized option: \`$1'
19528 Try \`$0 --help' for more information." ;;
19530 *) as_fn_append ac_config_targets " $1"
19531 ac_need_defaults=false ;;
19533 esac
19534 shift
19535 done
19537 ac_configure_extra_args=
19539 if $ac_cs_silent; then
19540 exec 6>/dev/null
19541 ac_configure_extra_args="$ac_configure_extra_args --silent"
19544 _ACEOF
19545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19546 if \$ac_cs_recheck; then
19547 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19548 shift
19549 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19550 CONFIG_SHELL='$SHELL'
19551 export CONFIG_SHELL
19552 exec "\$@"
19555 _ACEOF
19556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19557 exec 5>>config.log
19559 echo
19560 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19561 ## Running $as_me. ##
19562 _ASBOX
19563 $as_echo "$ac_log"
19564 } >&5
19566 _ACEOF
19567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19569 # INIT-COMMANDS
19571 wine_fn_output_makedep ()
19573 as_dir=tools; as_fn_mkdir_p
19574 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19576 wine_fn_output_makefile ()
19578 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19579 `cat $wine_rules_file`
19580 _WINE_EOF
19581 as_fn_error $? "could not create Makefile" "$LINENO" 5
19584 _ACEOF
19586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19588 # Handling of arguments.
19589 for ac_config_target in $ac_config_targets
19591 case $ac_config_target in
19592 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19593 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19594 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19595 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19596 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19597 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19598 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19599 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19600 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19601 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19602 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19603 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19604 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19606 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19607 esac
19608 done
19611 # If the user did not use the arguments to specify the items to instantiate,
19612 # then the envvar interface is used. Set only those that are not.
19613 # We use the long form for the default assignment because of an extremely
19614 # bizarre bug on SunOS 4.1.3.
19615 if $ac_need_defaults; then
19616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19617 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19618 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19619 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19622 # Have a temporary directory for convenience. Make it in the build tree
19623 # simply because there is no reason against having it here, and in addition,
19624 # creating and moving files from /tmp can sometimes cause problems.
19625 # Hook for its removal unless debugging.
19626 # Note that there is a small window in which the directory will not be cleaned:
19627 # after its creation but before its name has been assigned to `$tmp'.
19628 $debug ||
19630 tmp= ac_tmp=
19631 trap 'exit_status=$?
19632 : "${ac_tmp:=$tmp}"
19633 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19635 trap 'as_fn_exit 1' 1 2 13 15
19637 # Create a (secure) tmp directory for tmp files.
19640 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19641 test -d "$tmp"
19642 } ||
19644 tmp=./conf$$-$RANDOM
19645 (umask 077 && mkdir "$tmp")
19646 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19647 ac_tmp=$tmp
19649 # Set up the scripts for CONFIG_FILES section.
19650 # No need to generate them if there are no CONFIG_FILES.
19651 # This happens for instance with `./config.status config.h'.
19652 if test -n "$CONFIG_FILES"; then
19655 ac_cr=`echo X | tr X '\015'`
19656 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19657 # But we know of no other shell where ac_cr would be empty at this
19658 # point, so we can use a bashism as a fallback.
19659 if test "x$ac_cr" = x; then
19660 eval ac_cr=\$\'\\r\'
19662 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19663 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19664 ac_cs_awk_cr='\\r'
19665 else
19666 ac_cs_awk_cr=$ac_cr
19669 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19670 _ACEOF
19674 echo "cat >conf$$subs.awk <<_ACEOF" &&
19675 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19676 echo "_ACEOF"
19677 } >conf$$subs.sh ||
19678 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19679 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19680 ac_delim='%!_!# '
19681 for ac_last_try in false false false false false :; do
19682 . ./conf$$subs.sh ||
19683 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19685 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19686 if test $ac_delim_n = $ac_delim_num; then
19687 break
19688 elif $ac_last_try; then
19689 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19690 else
19691 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19693 done
19694 rm -f conf$$subs.sh
19696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19697 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19698 _ACEOF
19699 sed -n '
19701 s/^/S["/; s/!.*/"]=/
19704 s/^[^!]*!//
19705 :repl
19706 t repl
19707 s/'"$ac_delim"'$//
19708 t delim
19711 s/\(.\{148\}\)..*/\1/
19712 t more1
19713 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19716 b repl
19717 :more1
19718 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19721 s/.\{148\}//
19722 t nl
19723 :delim
19725 s/\(.\{148\}\)..*/\1/
19726 t more2
19727 s/["\\]/\\&/g; s/^/"/; s/$/"/
19730 :more2
19731 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19734 s/.\{148\}//
19735 t delim
19736 ' <conf$$subs.awk | sed '
19737 /^[^""]/{
19739 s/\n//
19741 ' >>$CONFIG_STATUS || ac_write_fail=1
19742 rm -f conf$$subs.awk
19743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19744 _ACAWK
19745 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19746 for (key in S) S_is_set[key] = 1
19747 FS = "\a"
19751 line = $ 0
19752 nfields = split(line, field, "@")
19753 substed = 0
19754 len = length(field[1])
19755 for (i = 2; i < nfields; i++) {
19756 key = field[i]
19757 keylen = length(key)
19758 if (S_is_set[key]) {
19759 value = S[key]
19760 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19761 len += length(value) + length(field[++i])
19762 substed = 1
19763 } else
19764 len += 1 + keylen
19767 print line
19770 _ACAWK
19771 _ACEOF
19772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19773 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19774 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19775 else
19777 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19778 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19779 _ACEOF
19781 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19782 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19783 # trailing colons and then remove the whole line if VPATH becomes empty
19784 # (actually we leave an empty line to preserve line numbers).
19785 if test "x$srcdir" = x.; then
19786 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19788 s///
19789 s/^/:/
19790 s/[ ]*$/:/
19791 s/:\$(srcdir):/:/g
19792 s/:\${srcdir}:/:/g
19793 s/:@srcdir@:/:/g
19794 s/^:*//
19795 s/:*$//
19797 s/\(=[ ]*\).*/\1/
19799 s/\n//
19800 s/^[^=]*=[ ]*$//
19804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19805 fi # test -n "$CONFIG_FILES"
19807 # Set up the scripts for CONFIG_HEADERS section.
19808 # No need to generate them if there are no CONFIG_HEADERS.
19809 # This happens for instance with `./config.status Makefile'.
19810 if test -n "$CONFIG_HEADERS"; then
19811 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19812 BEGIN {
19813 _ACEOF
19815 # Transform confdefs.h into an awk script `defines.awk', embedded as
19816 # here-document in config.status, that substitutes the proper values into
19817 # config.h.in to produce config.h.
19819 # Create a delimiter string that does not exist in confdefs.h, to ease
19820 # handling of long lines.
19821 ac_delim='%!_!# '
19822 for ac_last_try in false false :; do
19823 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19824 if test -z "$ac_tt"; then
19825 break
19826 elif $ac_last_try; then
19827 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19828 else
19829 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19831 done
19833 # For the awk script, D is an array of macro values keyed by name,
19834 # likewise P contains macro parameters if any. Preserve backslash
19835 # newline sequences.
19837 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19838 sed -n '
19839 s/.\{148\}/&'"$ac_delim"'/g
19840 t rset
19841 :rset
19842 s/^[ ]*#[ ]*define[ ][ ]*/ /
19843 t def
19845 :def
19846 s/\\$//
19847 t bsnl
19848 s/["\\]/\\&/g
19849 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19850 D["\1"]=" \3"/p
19851 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19853 :bsnl
19854 s/["\\]/\\&/g
19855 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19856 D["\1"]=" \3\\\\\\n"\\/p
19857 t cont
19858 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19859 t cont
19861 :cont
19863 s/.\{148\}/&'"$ac_delim"'/g
19864 t clear
19865 :clear
19866 s/\\$//
19867 t bsnlc
19868 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19870 :bsnlc
19871 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19872 b cont
19873 ' <confdefs.h | sed '
19874 s/'"$ac_delim"'/"\\\
19875 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19878 for (key in D) D_is_set[key] = 1
19879 FS = "\a"
19881 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19882 line = \$ 0
19883 split(line, arg, " ")
19884 if (arg[1] == "#") {
19885 defundef = arg[2]
19886 mac1 = arg[3]
19887 } else {
19888 defundef = substr(arg[1], 2)
19889 mac1 = arg[2]
19891 split(mac1, mac2, "(") #)
19892 macro = mac2[1]
19893 prefix = substr(line, 1, index(line, defundef) - 1)
19894 if (D_is_set[macro]) {
19895 # Preserve the white space surrounding the "#".
19896 print prefix "define", macro P[macro] D[macro]
19897 next
19898 } else {
19899 # Replace #undef with comments. This is necessary, for example,
19900 # in the case of _POSIX_SOURCE, which is predefined and required
19901 # on some systems where configure will not decide to define it.
19902 if (defundef == "undef") {
19903 print "/*", prefix defundef, macro, "*/"
19904 next
19908 { print }
19909 _ACAWK
19910 _ACEOF
19911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19912 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19913 fi # test -n "$CONFIG_HEADERS"
19916 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19917 shift
19918 for ac_tag
19920 case $ac_tag in
19921 :[FHLC]) ac_mode=$ac_tag; continue;;
19922 esac
19923 case $ac_mode$ac_tag in
19924 :[FHL]*:*);;
19925 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19926 :[FH]-) ac_tag=-:-;;
19927 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19928 esac
19929 ac_save_IFS=$IFS
19930 IFS=:
19931 set x $ac_tag
19932 IFS=$ac_save_IFS
19933 shift
19934 ac_file=$1
19935 shift
19937 case $ac_mode in
19938 :L) ac_source=$1;;
19939 :[FH])
19940 ac_file_inputs=
19941 for ac_f
19943 case $ac_f in
19944 -) ac_f="$ac_tmp/stdin";;
19945 *) # Look for the file first in the build tree, then in the source tree
19946 # (if the path is not absolute). The absolute path cannot be DOS-style,
19947 # because $ac_f cannot contain `:'.
19948 test -f "$ac_f" ||
19949 case $ac_f in
19950 [\\/$]*) false;;
19951 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19952 esac ||
19953 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19954 esac
19955 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19956 as_fn_append ac_file_inputs " '$ac_f'"
19957 done
19959 # Let's still pretend it is `configure' which instantiates (i.e., don't
19960 # use $as_me), people would be surprised to read:
19961 # /* config.h. Generated by config.status. */
19962 configure_input='Generated from '`
19963 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19964 `' by configure.'
19965 if test x"$ac_file" != x-; then
19966 configure_input="$ac_file. $configure_input"
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19968 $as_echo "$as_me: creating $ac_file" >&6;}
19970 # Neutralize special characters interpreted by sed in replacement strings.
19971 case $configure_input in #(
19972 *\&* | *\|* | *\\* )
19973 ac_sed_conf_input=`$as_echo "$configure_input" |
19974 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19975 *) ac_sed_conf_input=$configure_input;;
19976 esac
19978 case $ac_tag in
19979 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19980 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19981 esac
19983 esac
19985 ac_dir=`$as_dirname -- "$ac_file" ||
19986 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19987 X"$ac_file" : 'X\(//\)[^/]' \| \
19988 X"$ac_file" : 'X\(//\)$' \| \
19989 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19990 $as_echo X"$ac_file" |
19991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19992 s//\1/
19995 /^X\(\/\/\)[^/].*/{
19996 s//\1/
19999 /^X\(\/\/\)$/{
20000 s//\1/
20003 /^X\(\/\).*/{
20004 s//\1/
20007 s/.*/./; q'`
20008 as_dir="$ac_dir"; as_fn_mkdir_p
20009 ac_builddir=.
20011 case "$ac_dir" in
20012 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20014 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20015 # A ".." for each directory in $ac_dir_suffix.
20016 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20017 case $ac_top_builddir_sub in
20018 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20019 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20020 esac ;;
20021 esac
20022 ac_abs_top_builddir=$ac_pwd
20023 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20024 # for backward compatibility:
20025 ac_top_builddir=$ac_top_build_prefix
20027 case $srcdir in
20028 .) # We are building in place.
20029 ac_srcdir=.
20030 ac_top_srcdir=$ac_top_builddir_sub
20031 ac_abs_top_srcdir=$ac_pwd ;;
20032 [\\/]* | ?:[\\/]* ) # Absolute name.
20033 ac_srcdir=$srcdir$ac_dir_suffix;
20034 ac_top_srcdir=$srcdir
20035 ac_abs_top_srcdir=$srcdir ;;
20036 *) # Relative name.
20037 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20038 ac_top_srcdir=$ac_top_build_prefix$srcdir
20039 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20040 esac
20041 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20044 case $ac_mode in
20047 # CONFIG_FILE
20050 _ACEOF
20052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20053 # If the template does not know about datarootdir, expand it.
20054 # FIXME: This hack should be removed a few years after 2.60.
20055 ac_datarootdir_hack=; ac_datarootdir_seen=
20056 ac_sed_dataroot='
20057 /datarootdir/ {
20061 /@datadir@/p
20062 /@docdir@/p
20063 /@infodir@/p
20064 /@localedir@/p
20065 /@mandir@/p'
20066 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20067 *datarootdir*) ac_datarootdir_seen=yes;;
20068 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20070 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20071 _ACEOF
20072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20073 ac_datarootdir_hack='
20074 s&@datadir@&$datadir&g
20075 s&@docdir@&$docdir&g
20076 s&@infodir@&$infodir&g
20077 s&@localedir@&$localedir&g
20078 s&@mandir@&$mandir&g
20079 s&\\\${datarootdir}&$datarootdir&g' ;;
20080 esac
20081 _ACEOF
20083 # Neutralize VPATH when `$srcdir' = `.'.
20084 # Shell code in configure.ac might set extrasub.
20085 # FIXME: do we really want to maintain this feature?
20086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20087 ac_sed_extra="$ac_vpsub
20088 $extrasub
20089 _ACEOF
20090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20092 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20093 s|@configure_input@|$ac_sed_conf_input|;t t
20094 s&@top_builddir@&$ac_top_builddir_sub&;t t
20095 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20096 s&@srcdir@&$ac_srcdir&;t t
20097 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20098 s&@top_srcdir@&$ac_top_srcdir&;t t
20099 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20100 s&@builddir@&$ac_builddir&;t t
20101 s&@abs_builddir@&$ac_abs_builddir&;t t
20102 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20103 $ac_datarootdir_hack
20105 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20106 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20108 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20109 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20110 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20111 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20113 which seems to be undefined. Please make sure it is defined" >&5
20114 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20115 which seems to be undefined. Please make sure it is defined" >&2;}
20117 rm -f "$ac_tmp/stdin"
20118 case $ac_file in
20119 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20120 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20121 esac \
20122 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20126 # CONFIG_HEADER
20128 if test x"$ac_file" != x-; then
20130 $as_echo "/* $configure_input */" \
20131 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20132 } >"$ac_tmp/config.h" \
20133 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20134 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20136 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20137 else
20138 rm -f "$ac_file"
20139 mv "$ac_tmp/config.h" "$ac_file" \
20140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20142 else
20143 $as_echo "/* $configure_input */" \
20144 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20145 || as_fn_error $? "could not create -" "$LINENO" 5
20150 # CONFIG_LINK
20153 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20155 else
20156 # Prefer the file from the source tree if names are identical.
20157 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20158 ac_source=$srcdir/$ac_source
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20162 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20164 if test ! -r "$ac_source"; then
20165 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20167 rm -f "$ac_file"
20169 # Try a relative symlink, then a hard link, then a copy.
20170 case $ac_source in
20171 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20172 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20173 esac
20174 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20175 ln "$ac_source" "$ac_file" 2>/dev/null ||
20176 cp -p "$ac_source" "$ac_file" ||
20177 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20180 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20181 $as_echo "$as_me: executing $ac_file commands" >&6;}
20183 esac
20186 case $ac_file$ac_mode in
20187 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20188 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20189 "Makefile":C) wine_fn_output_makefile Makefile ;;
20191 esac
20192 done # for ac_tag
20195 as_fn_exit 0
20196 _ACEOF
20197 ac_clean_files=$ac_clean_files_save
20199 test $ac_write_fail = 0 ||
20200 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20203 # configure is writing to config.log, and then calls config.status.
20204 # config.status does its own redirection, appending to config.log.
20205 # Unfortunately, on DOS this fails, as config.log is still kept open
20206 # by configure, so config.status won't be able to write to it; its
20207 # output is simply discarded. So we exec the FD to /dev/null,
20208 # effectively closing config.log, so it can be properly (re)opened and
20209 # appended to by config.status. When coming back to configure, we
20210 # need to make the FD available again.
20211 if test "$no_create" != yes; then
20212 ac_cs_success=:
20213 ac_config_status_args=
20214 test "$silent" = yes &&
20215 ac_config_status_args="$ac_config_status_args --quiet"
20216 exec 5>/dev/null
20217 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20218 exec 5>>config.log
20219 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20220 # would make configure fail if this is the last instruction.
20221 $ac_cs_success || as_fn_exit 1
20223 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20225 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20229 if test "$no_create" = "yes"
20230 then
20231 exit 0
20234 ac_save_IFS="$IFS"
20235 if test "x$wine_notices" != x; then
20236 echo >&6
20237 IFS="|"
20238 for msg in $wine_notices; do
20239 IFS="$ac_save_IFS"
20240 if ${msg:+false} :; then :
20242 else
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20244 $as_echo "$as_me: $msg" >&6;}
20246 done
20248 IFS="|"
20249 for msg in $wine_warnings; do
20250 IFS="$ac_save_IFS"
20251 if ${msg:+false} :; then :
20253 else
20254 echo >&2
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20256 $as_echo "$as_me: WARNING: $msg" >&2;}
20258 done
20259 IFS="$ac_save_IFS"
20261 $as_echo "
20262 $as_me: Finished. Do '${ac_make}' to compile Wine.
20263 " >&6