iphlpapi: Add partial implementation of GetIfTable2Ex.
[wine.git] / configure
blobfb22627517792c18323b038eb3d967549c9d082f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.9.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.9'
584 PACKAGE_STRING='Wine 2.9'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xfixes
857 with_xinerama
858 with_xinput
859 with_xinput2
860 with_xml
861 with_xrandr
862 with_xrender
863 with_xshape
864 with_xshm
865 with_xslt
866 with_xxf86vm
867 with_zlib
868 with_wine_tools
869 with_wine64
870 enable_largefile
871 with_x
872 enable_acledit
873 enable_aclui
874 enable_activeds
875 enable_actxprxy
876 enable_advapi32
877 enable_advpack
878 enable_amstream
879 enable_api_ms_win_appmodel_identity_l1_1_0
880 enable_api_ms_win_appmodel_runtime_l1_1_1
881 enable_api_ms_win_core_apiquery_l1_1_0
882 enable_api_ms_win_core_appcompat_l1_1_1
883 enable_api_ms_win_core_appinit_l1_1_0
884 enable_api_ms_win_core_atoms_l1_1_0
885 enable_api_ms_win_core_bem_l1_1_0
886 enable_api_ms_win_core_com_l1_1_0
887 enable_api_ms_win_core_com_l1_1_1
888 enable_api_ms_win_core_com_private_l1_1_0
889 enable_api_ms_win_core_console_l1_1_0
890 enable_api_ms_win_core_console_l2_1_0
891 enable_api_ms_win_core_datetime_l1_1_0
892 enable_api_ms_win_core_datetime_l1_1_1
893 enable_api_ms_win_core_debug_l1_1_0
894 enable_api_ms_win_core_debug_l1_1_1
895 enable_api_ms_win_core_delayload_l1_1_0
896 enable_api_ms_win_core_delayload_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_0
898 enable_api_ms_win_core_errorhandling_l1_1_1
899 enable_api_ms_win_core_errorhandling_l1_1_2
900 enable_api_ms_win_core_fibers_l1_1_0
901 enable_api_ms_win_core_fibers_l1_1_1
902 enable_api_ms_win_core_file_l1_1_0
903 enable_api_ms_win_core_file_l1_2_0
904 enable_api_ms_win_core_file_l1_2_1
905 enable_api_ms_win_core_file_l2_1_0
906 enable_api_ms_win_core_file_l2_1_1
907 enable_api_ms_win_core_handle_l1_1_0
908 enable_api_ms_win_core_heap_l1_1_0
909 enable_api_ms_win_core_heap_l1_2_0
910 enable_api_ms_win_core_heap_obsolete_l1_1_0
911 enable_api_ms_win_core_interlocked_l1_1_0
912 enable_api_ms_win_core_interlocked_l1_2_0
913 enable_api_ms_win_core_io_l1_1_0
914 enable_api_ms_win_core_io_l1_1_1
915 enable_api_ms_win_core_job_l1_1_0
916 enable_api_ms_win_core_job_l2_1_0
917 enable_api_ms_win_core_kernel32_legacy_l1_1_0
918 enable_api_ms_win_core_kernel32_legacy_l1_1_1
919 enable_api_ms_win_core_kernel32_private_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_1_0
921 enable_api_ms_win_core_libraryloader_l1_1_1
922 enable_api_ms_win_core_libraryloader_l1_2_0
923 enable_api_ms_win_core_libraryloader_l1_2_2
924 enable_api_ms_win_core_localization_l1_1_0
925 enable_api_ms_win_core_localization_l1_2_0
926 enable_api_ms_win_core_localization_l1_2_1
927 enable_api_ms_win_core_localization_l2_1_0
928 enable_api_ms_win_core_localization_obsolete_l1_1_0
929 enable_api_ms_win_core_localization_obsolete_l1_2_0
930 enable_api_ms_win_core_localization_private_l1_1_0
931 enable_api_ms_win_core_localregistry_l1_1_0
932 enable_api_ms_win_core_memory_l1_1_0
933 enable_api_ms_win_core_memory_l1_1_1
934 enable_api_ms_win_core_memory_l1_1_2
935 enable_api_ms_win_core_misc_l1_1_0
936 enable_api_ms_win_core_namedpipe_l1_1_0
937 enable_api_ms_win_core_namedpipe_l1_2_0
938 enable_api_ms_win_core_namespace_l1_1_0
939 enable_api_ms_win_core_normalization_l1_1_0
940 enable_api_ms_win_core_path_l1_1_0
941 enable_api_ms_win_core_privateprofile_l1_1_1
942 enable_api_ms_win_core_processenvironment_l1_1_0
943 enable_api_ms_win_core_processenvironment_l1_2_0
944 enable_api_ms_win_core_processthreads_l1_1_0
945 enable_api_ms_win_core_processthreads_l1_1_1
946 enable_api_ms_win_core_processthreads_l1_1_2
947 enable_api_ms_win_core_profile_l1_1_0
948 enable_api_ms_win_core_psapi_l1_1_0
949 enable_api_ms_win_core_psapi_obsolete_l1_1_0
950 enable_api_ms_win_core_quirks_l1_1_0
951 enable_api_ms_win_core_realtime_l1_1_0
952 enable_api_ms_win_core_registry_l1_1_0
953 enable_api_ms_win_core_registry_l2_1_0
954 enable_api_ms_win_core_registryuserspecific_l1_1_0
955 enable_api_ms_win_core_rtlsupport_l1_1_0
956 enable_api_ms_win_core_rtlsupport_l1_2_0
957 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
958 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
959 enable_api_ms_win_core_sidebyside_l1_1_0
960 enable_api_ms_win_core_string_l1_1_0
961 enable_api_ms_win_core_string_l2_1_0
962 enable_api_ms_win_core_string_obsolete_l1_1_0
963 enable_api_ms_win_core_stringansi_l1_1_0
964 enable_api_ms_win_core_synch_l1_1_0
965 enable_api_ms_win_core_synch_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_1_0
967 enable_api_ms_win_core_sysinfo_l1_2_0
968 enable_api_ms_win_core_sysinfo_l1_2_1
969 enable_api_ms_win_core_threadpool_l1_1_0
970 enable_api_ms_win_core_threadpool_l1_2_0
971 enable_api_ms_win_core_threadpool_legacy_l1_1_0
972 enable_api_ms_win_core_threadpool_private_l1_1_0
973 enable_api_ms_win_core_timezone_l1_1_0
974 enable_api_ms_win_core_toolhelp_l1_1_0
975 enable_api_ms_win_core_url_l1_1_0
976 enable_api_ms_win_core_util_l1_1_0
977 enable_api_ms_win_core_version_l1_1_0
978 enable_api_ms_win_core_version_private_l1_1_0
979 enable_api_ms_win_core_versionansi_l1_1_0
980 enable_api_ms_win_core_windowserrorreporting_l1_1_0
981 enable_api_ms_win_core_winrt_error_l1_1_0
982 enable_api_ms_win_core_winrt_error_l1_1_1
983 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
984 enable_api_ms_win_core_winrt_l1_1_0
985 enable_api_ms_win_core_winrt_registration_l1_1_0
986 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
987 enable_api_ms_win_core_winrt_string_l1_1_0
988 enable_api_ms_win_core_wow64_l1_1_0
989 enable_api_ms_win_core_xstate_l1_1_0
990 enable_api_ms_win_core_xstate_l2_1_0
991 enable_api_ms_win_crt_conio_l1_1_0
992 enable_api_ms_win_crt_convert_l1_1_0
993 enable_api_ms_win_crt_environment_l1_1_0
994 enable_api_ms_win_crt_filesystem_l1_1_0
995 enable_api_ms_win_crt_heap_l1_1_0
996 enable_api_ms_win_crt_locale_l1_1_0
997 enable_api_ms_win_crt_math_l1_1_0
998 enable_api_ms_win_crt_multibyte_l1_1_0
999 enable_api_ms_win_crt_private_l1_1_0
1000 enable_api_ms_win_crt_process_l1_1_0
1001 enable_api_ms_win_crt_runtime_l1_1_0
1002 enable_api_ms_win_crt_stdio_l1_1_0
1003 enable_api_ms_win_crt_string_l1_1_0
1004 enable_api_ms_win_crt_time_l1_1_0
1005 enable_api_ms_win_crt_utility_l1_1_0
1006 enable_api_ms_win_devices_config_l1_1_1
1007 enable_api_ms_win_devices_query_l1_1_1
1008 enable_api_ms_win_downlevel_advapi32_l1_1_0
1009 enable_api_ms_win_downlevel_advapi32_l2_1_0
1010 enable_api_ms_win_downlevel_normaliz_l1_1_0
1011 enable_api_ms_win_downlevel_ole32_l1_1_0
1012 enable_api_ms_win_downlevel_shell32_l1_1_0
1013 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1014 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1015 enable_api_ms_win_downlevel_user32_l1_1_0
1016 enable_api_ms_win_downlevel_version_l1_1_0
1017 enable_api_ms_win_dx_d3dkmt_l1_1_0
1018 enable_api_ms_win_eventing_classicprovider_l1_1_0
1019 enable_api_ms_win_eventing_consumer_l1_1_0
1020 enable_api_ms_win_eventing_controller_l1_1_0
1021 enable_api_ms_win_eventing_provider_l1_1_0
1022 enable_api_ms_win_eventlog_legacy_l1_1_0
1023 enable_api_ms_win_mm_misc_l1_1_1
1024 enable_api_ms_win_mm_mme_l1_1_0
1025 enable_api_ms_win_ntuser_dc_access_l1_1_0
1026 enable_api_ms_win_power_base_l1_1_0
1027 enable_api_ms_win_power_setting_l1_1_0
1028 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1029 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1030 enable_api_ms_win_security_audit_l1_1_1
1031 enable_api_ms_win_security_base_l1_1_0
1032 enable_api_ms_win_security_base_l1_2_0
1033 enable_api_ms_win_security_base_private_l1_1_1
1034 enable_api_ms_win_security_grouppolicy_l1_1_0
1035 enable_api_ms_win_security_lsalookup_l1_1_0
1036 enable_api_ms_win_security_lsalookup_l1_1_1
1037 enable_api_ms_win_security_lsalookup_l2_1_1
1038 enable_api_ms_win_security_lsapolicy_l1_1_0
1039 enable_api_ms_win_security_sddl_l1_1_0
1040 enable_api_ms_win_security_systemfunctions_l1_1_0
1041 enable_api_ms_win_service_core_l1_1_0
1042 enable_api_ms_win_service_core_l1_1_1
1043 enable_api_ms_win_service_management_l1_1_0
1044 enable_api_ms_win_service_management_l2_1_0
1045 enable_api_ms_win_service_private_l1_1_1
1046 enable_api_ms_win_service_winsvc_l1_1_0
1047 enable_api_ms_win_service_winsvc_l1_2_0
1048 enable_api_ms_win_shell_shellcom_l1_1_0
1049 enable_api_ms_win_shell_shellfolders_l1_1_0
1050 enable_apphelp
1051 enable_appwiz_cpl
1052 enable_atl
1053 enable_atl100
1054 enable_atl110
1055 enable_atl80
1056 enable_atl90
1057 enable_authz
1058 enable_avicap32
1059 enable_avifil32
1060 enable_avrt
1061 enable_bcrypt
1062 enable_bluetoothapis
1063 enable_browseui
1064 enable_bthprops_cpl
1065 enable_cabinet
1066 enable_capi2032
1067 enable_cards
1068 enable_cfgmgr32
1069 enable_clusapi
1070 enable_combase
1071 enable_comcat
1072 enable_comctl32
1073 enable_comdlg32
1074 enable_compstui
1075 enable_comsvcs
1076 enable_concrt140
1077 enable_connect
1078 enable_credui
1079 enable_crtdll
1080 enable_crypt32
1081 enable_cryptdlg
1082 enable_cryptdll
1083 enable_cryptext
1084 enable_cryptnet
1085 enable_cryptui
1086 enable_ctapi32
1087 enable_ctl3d32
1088 enable_d2d1
1089 enable_d3d10
1090 enable_d3d10_1
1091 enable_d3d10core
1092 enable_d3d11
1093 enable_d3d8
1094 enable_d3d9
1095 enable_d3dcompiler_33
1096 enable_d3dcompiler_34
1097 enable_d3dcompiler_35
1098 enable_d3dcompiler_36
1099 enable_d3dcompiler_37
1100 enable_d3dcompiler_38
1101 enable_d3dcompiler_39
1102 enable_d3dcompiler_40
1103 enable_d3dcompiler_41
1104 enable_d3dcompiler_42
1105 enable_d3dcompiler_43
1106 enable_d3dcompiler_46
1107 enable_d3dcompiler_47
1108 enable_d3dim
1109 enable_d3drm
1110 enable_d3dx10_33
1111 enable_d3dx10_34
1112 enable_d3dx10_35
1113 enable_d3dx10_36
1114 enable_d3dx10_37
1115 enable_d3dx10_38
1116 enable_d3dx10_39
1117 enable_d3dx10_40
1118 enable_d3dx10_41
1119 enable_d3dx10_42
1120 enable_d3dx10_43
1121 enable_d3dx11_42
1122 enable_d3dx11_43
1123 enable_d3dx9_24
1124 enable_d3dx9_25
1125 enable_d3dx9_26
1126 enable_d3dx9_27
1127 enable_d3dx9_28
1128 enable_d3dx9_29
1129 enable_d3dx9_30
1130 enable_d3dx9_31
1131 enable_d3dx9_32
1132 enable_d3dx9_33
1133 enable_d3dx9_34
1134 enable_d3dx9_35
1135 enable_d3dx9_36
1136 enable_d3dx9_37
1137 enable_d3dx9_38
1138 enable_d3dx9_39
1139 enable_d3dx9_40
1140 enable_d3dx9_41
1141 enable_d3dx9_42
1142 enable_d3dx9_43
1143 enable_d3dxof
1144 enable_davclnt
1145 enable_dbgeng
1146 enable_dbghelp
1147 enable_dciman32
1148 enable_ddraw
1149 enable_ddrawex
1150 enable_devenum
1151 enable_dhcpcsvc
1152 enable_difxapi
1153 enable_dinput
1154 enable_dinput8
1155 enable_dispex
1156 enable_dmband
1157 enable_dmcompos
1158 enable_dmime
1159 enable_dmloader
1160 enable_dmscript
1161 enable_dmstyle
1162 enable_dmsynth
1163 enable_dmusic
1164 enable_dmusic32
1165 enable_dnsapi
1166 enable_dplay
1167 enable_dplayx
1168 enable_dpnaddr
1169 enable_dpnet
1170 enable_dpnhpast
1171 enable_dpnlobby
1172 enable_dpvoice
1173 enable_dpwsockx
1174 enable_drmclien
1175 enable_dsound
1176 enable_dssenh
1177 enable_dswave
1178 enable_dwmapi
1179 enable_dwrite
1180 enable_dxdiagn
1181 enable_dxgi
1182 enable_dxva2
1183 enable_esent
1184 enable_evr
1185 enable_explorerframe
1186 enable_ext_ms_win_authz_context_l1_1_0
1187 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1188 enable_ext_ms_win_gdi_dc_create_l1_1_1
1189 enable_ext_ms_win_gdi_dc_l1_2_0
1190 enable_ext_ms_win_gdi_devcaps_l1_1_0
1191 enable_ext_ms_win_gdi_draw_l1_1_1
1192 enable_ext_ms_win_gdi_render_l1_1_0
1193 enable_ext_ms_win_kernel32_package_current_l1_1_0
1194 enable_ext_ms_win_ntuser_message_l1_1_1
1195 enable_ext_ms_win_ntuser_private_l1_1_1
1196 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1197 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1198 enable_ext_ms_win_ntuser_window_l1_1_1
1199 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1200 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1201 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1202 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1203 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1204 enable_faultrep
1205 enable_fltlib
1206 enable_fltmgr_sys
1207 enable_fntcache
1208 enable_fontsub
1209 enable_fusion
1210 enable_fwpuclnt
1211 enable_gameux
1212 enable_gdi32
1213 enable_gdiplus
1214 enable_glu32
1215 enable_gphoto2_ds
1216 enable_gpkcsp
1217 enable_hal
1218 enable_hhctrl_ocx
1219 enable_hid
1220 enable_hidclass_sys
1221 enable_hlink
1222 enable_hnetcfg
1223 enable_httpapi
1224 enable_iccvid
1225 enable_icmp
1226 enable_ieframe
1227 enable_imaadp32_acm
1228 enable_imagehlp
1229 enable_imm32
1230 enable_inetcomm
1231 enable_inetcpl_cpl
1232 enable_inetmib1
1233 enable_infosoft
1234 enable_initpki
1235 enable_inkobj
1236 enable_inseng
1237 enable_iphlpapi
1238 enable_iprop
1239 enable_irprops_cpl
1240 enable_itircl
1241 enable_itss
1242 enable_joy_cpl
1243 enable_jscript
1244 enable_jsproxy
1245 enable_kernel32
1246 enable_kernelbase
1247 enable_ksuser
1248 enable_ktmw32
1249 enable_loadperf
1250 enable_localspl
1251 enable_localui
1252 enable_lz32
1253 enable_mapi32
1254 enable_mapistub
1255 enable_mciavi32
1256 enable_mcicda
1257 enable_mciqtz32
1258 enable_mciseq
1259 enable_mciwave
1260 enable_mf
1261 enable_mf3216
1262 enable_mfplat
1263 enable_mfreadwrite
1264 enable_mgmtapi
1265 enable_midimap
1266 enable_mlang
1267 enable_mmcndmgr
1268 enable_mmdevapi
1269 enable_mountmgr_sys
1270 enable_mpr
1271 enable_mprapi
1272 enable_msacm32_drv
1273 enable_msacm32
1274 enable_msadp32_acm
1275 enable_msasn1
1276 enable_mscat32
1277 enable_mscms
1278 enable_mscoree
1279 enable_msctf
1280 enable_msctfp
1281 enable_msdaps
1282 enable_msdelta
1283 enable_msdmo
1284 enable_msdrm
1285 enable_msftedit
1286 enable_msg711_acm
1287 enable_msgsm32_acm
1288 enable_mshtml_tlb
1289 enable_mshtml
1290 enable_msi
1291 enable_msident
1292 enable_msimg32
1293 enable_msimsg
1294 enable_msimtf
1295 enable_msisip
1296 enable_msisys_ocx
1297 enable_msls31
1298 enable_msnet32
1299 enable_mspatcha
1300 enable_msports
1301 enable_msrle32
1302 enable_msscript_ocx
1303 enable_mssign32
1304 enable_mssip32
1305 enable_mstask
1306 enable_msvcirt
1307 enable_msvcm80
1308 enable_msvcm90
1309 enable_msvcp100
1310 enable_msvcp110
1311 enable_msvcp120
1312 enable_msvcp120_app
1313 enable_msvcp140
1314 enable_msvcp60
1315 enable_msvcp70
1316 enable_msvcp71
1317 enable_msvcp80
1318 enable_msvcp90
1319 enable_msvcr100
1320 enable_msvcr110
1321 enable_msvcr120
1322 enable_msvcr120_app
1323 enable_msvcr70
1324 enable_msvcr71
1325 enable_msvcr80
1326 enable_msvcr90
1327 enable_msvcrt
1328 enable_msvcrt20
1329 enable_msvcrt40
1330 enable_msvcrtd
1331 enable_msvfw32
1332 enable_msvidc32
1333 enable_mswsock
1334 enable_msxml
1335 enable_msxml2
1336 enable_msxml3
1337 enable_msxml4
1338 enable_msxml6
1339 enable_mtxdm
1340 enable_ncrypt
1341 enable_nddeapi
1342 enable_ndis_sys
1343 enable_netapi32
1344 enable_netcfgx
1345 enable_netprofm
1346 enable_newdev
1347 enable_normaliz
1348 enable_npmshtml
1349 enable_npptools
1350 enable_ntdll
1351 enable_ntdsapi
1352 enable_ntoskrnl_exe
1353 enable_ntprint
1354 enable_objsel
1355 enable_odbc32
1356 enable_odbccp32
1357 enable_odbccu32
1358 enable_ole32
1359 enable_oleacc
1360 enable_oleaut32
1361 enable_olecli32
1362 enable_oledb32
1363 enable_oledlg
1364 enable_olepro32
1365 enable_olesvr32
1366 enable_olethk32
1367 enable_openal32
1368 enable_opencl
1369 enable_opengl32
1370 enable_packager
1371 enable_pdh
1372 enable_photometadatahandler
1373 enable_pidgen
1374 enable_powrprof
1375 enable_printui
1376 enable_prntvpt
1377 enable_propsys
1378 enable_psapi
1379 enable_pstorec
1380 enable_qcap
1381 enable_qedit
1382 enable_qmgr
1383 enable_qmgrprxy
1384 enable_quartz
1385 enable_query
1386 enable_rasapi32
1387 enable_rasdlg
1388 enable_regapi
1389 enable_resutils
1390 enable_riched20
1391 enable_riched32
1392 enable_rpcrt4
1393 enable_rsabase
1394 enable_rsaenh
1395 enable_rstrtmgr
1396 enable_rtutils
1397 enable_samlib
1398 enable_sane_ds
1399 enable_scarddlg
1400 enable_sccbase
1401 enable_schannel
1402 enable_schedsvc
1403 enable_scrobj
1404 enable_scrrun
1405 enable_scsiport_sys
1406 enable_secur32
1407 enable_security
1408 enable_sensapi
1409 enable_serialui
1410 enable_setupapi
1411 enable_sfc
1412 enable_sfc_os
1413 enable_shdoclc
1414 enable_shdocvw
1415 enable_shell32
1416 enable_shfolder
1417 enable_shlwapi
1418 enable_slbcsp
1419 enable_slc
1420 enable_snmpapi
1421 enable_softpub
1422 enable_spoolss
1423 enable_sspicli
1424 enable_stdole2_tlb
1425 enable_stdole32_tlb
1426 enable_sti
1427 enable_svrapi
1428 enable_sxs
1429 enable_t2embed
1430 enable_tapi32
1431 enable_taskschd
1432 enable_tdi_sys
1433 enable_traffic
1434 enable_twain_32
1435 enable_ucrtbase
1436 enable_uiautomationcore
1437 enable_unicows
1438 enable_updspapi
1439 enable_url
1440 enable_urlmon
1441 enable_usbd_sys
1442 enable_user32
1443 enable_userenv
1444 enable_usp10
1445 enable_uxtheme
1446 enable_vbscript
1447 enable_vcomp
1448 enable_vcomp100
1449 enable_vcomp110
1450 enable_vcomp120
1451 enable_vcomp140
1452 enable_vcomp90
1453 enable_vcruntime140
1454 enable_vdmdbg
1455 enable_version
1456 enable_virtdisk
1457 enable_vssapi
1458 enable_wbemdisp
1459 enable_wbemprox
1460 enable_webservices
1461 enable_wer
1462 enable_wevtapi
1463 enable_wiaservc
1464 enable_wimgapi
1465 enable_windowscodecs
1466 enable_windowscodecsext
1467 enable_winealsa_drv
1468 enable_winebus_sys
1469 enable_winecoreaudio_drv
1470 enable_wined3d
1471 enable_winegstreamer
1472 enable_winehid_sys
1473 enable_winejoystick_drv
1474 enable_winemac_drv
1475 enable_winemapi
1476 enable_winemp3_acm
1477 enable_wineoss_drv
1478 enable_wineps_drv
1479 enable_winepulse_drv
1480 enable_wineqtdecoder
1481 enable_winex11_drv
1482 enable_wing32
1483 enable_winhttp
1484 enable_wininet
1485 enable_winmm
1486 enable_winnls32
1487 enable_winscard
1488 enable_winspool_drv
1489 enable_winsta
1490 enable_wintab32
1491 enable_wintrust
1492 enable_winusb
1493 enable_wlanapi
1494 enable_wldap32
1495 enable_wmasf
1496 enable_wmi
1497 enable_wmiutils
1498 enable_wmp
1499 enable_wmvcore
1500 enable_wnaspi32
1501 enable_wpc
1502 enable_wpcap
1503 enable_ws2_32
1504 enable_wsdapi
1505 enable_wshom_ocx
1506 enable_wsnmp32
1507 enable_wsock32
1508 enable_wtsapi32
1509 enable_wuapi
1510 enable_wuaueng
1511 enable_x3daudio1_0
1512 enable_x3daudio1_1
1513 enable_x3daudio1_2
1514 enable_x3daudio1_3
1515 enable_x3daudio1_4
1516 enable_x3daudio1_5
1517 enable_x3daudio1_6
1518 enable_x3daudio1_7
1519 enable_xapofx1_1
1520 enable_xapofx1_2
1521 enable_xapofx1_3
1522 enable_xapofx1_4
1523 enable_xapofx1_5
1524 enable_xaudio2_0
1525 enable_xaudio2_1
1526 enable_xaudio2_2
1527 enable_xaudio2_3
1528 enable_xaudio2_4
1529 enable_xaudio2_5
1530 enable_xaudio2_6
1531 enable_xaudio2_7
1532 enable_xaudio2_8
1533 enable_xaudio2_9
1534 enable_xinput1_1
1535 enable_xinput1_2
1536 enable_xinput1_3
1537 enable_xinput1_4
1538 enable_xinput9_1_0
1539 enable_xmllite
1540 enable_xolehlp
1541 enable_xpsprint
1542 enable_xpssvcs
1543 enable_fonts
1544 enable_include
1545 enable_libs_port
1546 enable_libs_wine
1547 enable_libs_wpp
1548 enable_loader
1549 enable_po
1550 enable_arp
1551 enable_aspnet_regiis
1552 enable_attrib
1553 enable_cabarc
1554 enable_cacls
1555 enable_clock
1556 enable_cmd
1557 enable_conhost
1558 enable_control
1559 enable_cscript
1560 enable_dpnsvr
1561 enable_dxdiag
1562 enable_eject
1563 enable_expand
1564 enable_explorer
1565 enable_extrac32
1566 enable_findstr
1567 enable_fsutil
1568 enable_hh
1569 enable_hostname
1570 enable_icacls
1571 enable_icinfo
1572 enable_iexplore
1573 enable_ipconfig
1574 enable_lodctr
1575 enable_mofcomp
1576 enable_mshta
1577 enable_msiexec
1578 enable_msinfo32
1579 enable_net
1580 enable_netsh
1581 enable_netstat
1582 enable_ngen
1583 enable_notepad
1584 enable_oleview
1585 enable_ping
1586 enable_plugplay
1587 enable_presentationfontcache
1588 enable_progman
1589 enable_reg
1590 enable_regasm
1591 enable_regedit
1592 enable_regsvcs
1593 enable_regsvr32
1594 enable_rpcss
1595 enable_rundll32
1596 enable_sc
1597 enable_schtasks
1598 enable_sdbinst
1599 enable_secedit
1600 enable_servicemodelreg
1601 enable_services
1602 enable_shutdown
1603 enable_spoolsv
1604 enable_start
1605 enable_subst
1606 enable_svchost
1607 enable_systeminfo
1608 enable_taskkill
1609 enable_tasklist
1610 enable_taskmgr
1611 enable_termsv
1612 enable_uninstaller
1613 enable_unlodctr
1614 enable_view
1615 enable_wevtutil
1616 enable_wineboot
1617 enable_winebrowser
1618 enable_winecfg
1619 enable_wineconsole
1620 enable_winedbg
1621 enable_winedevice
1622 enable_winefile
1623 enable_winemenubuilder
1624 enable_winemine
1625 enable_winemsibuilder
1626 enable_winepath
1627 enable_winetest
1628 enable_winhlp32
1629 enable_winver
1630 enable_wmic
1631 enable_wmplayer
1632 enable_wordpad
1633 enable_write
1634 enable_wscript
1635 enable_wusa
1636 enable_xcopy
1637 enable_server
1638 enable_tools
1640 ac_precious_vars='build_alias
1641 host_alias
1642 target_alias
1644 CFLAGS
1645 LDFLAGS
1646 LIBS
1647 CPPFLAGS
1649 CXXFLAGS
1652 XMKMF
1653 XML2_CFLAGS
1654 XML2_LIBS
1655 XSLT_CFLAGS
1656 XSLT_LIBS
1657 DBUS_CFLAGS
1658 DBUS_LIBS
1659 HAL_CFLAGS
1660 HAL_LIBS
1661 GNUTLS_CFLAGS
1662 GNUTLS_LIBS
1663 SANE_CFLAGS
1664 SANE_LIBS
1665 GPHOTO2_CFLAGS
1666 GPHOTO2_LIBS
1667 GPHOTO2_PORT_CFLAGS
1668 GPHOTO2_PORT_LIBS
1669 LCMS2_CFLAGS
1670 LCMS2_LIBS
1671 FREETYPE_CFLAGS
1672 FREETYPE_LIBS
1673 PULSE_CFLAGS
1674 PULSE_LIBS
1675 GSTREAMER_CFLAGS
1676 GSTREAMER_LIBS
1677 UDEV_CFLAGS
1678 UDEV_LIBS
1679 CAPI20_CFLAGS
1680 CAPI20_LIBS
1681 FONTCONFIG_CFLAGS
1682 FONTCONFIG_LIBS
1683 JPEG_CFLAGS
1684 JPEG_LIBS
1685 PNG_CFLAGS
1686 PNG_LIBS
1687 TIFF_CFLAGS
1688 TIFF_LIBS
1689 MPG123_CFLAGS
1690 MPG123_LIBS
1691 NETAPI_CFLAGS
1692 NETAPI_LIBS'
1695 # Initialize some variables set by options.
1696 ac_init_help=
1697 ac_init_version=false
1698 ac_unrecognized_opts=
1699 ac_unrecognized_sep=
1700 # The variables have the same names as the options, with
1701 # dashes changed to underlines.
1702 cache_file=/dev/null
1703 exec_prefix=NONE
1704 no_create=
1705 no_recursion=
1706 prefix=NONE
1707 program_prefix=NONE
1708 program_suffix=NONE
1709 program_transform_name=s,x,x,
1710 silent=
1711 site=
1712 srcdir=
1713 verbose=
1714 x_includes=NONE
1715 x_libraries=NONE
1717 # Installation directory options.
1718 # These are left unexpanded so users can "make install exec_prefix=/foo"
1719 # and all the variables that are supposed to be based on exec_prefix
1720 # by default will actually change.
1721 # Use braces instead of parens because sh, perl, etc. also accept them.
1722 # (The list follows the same order as the GNU Coding Standards.)
1723 bindir='${exec_prefix}/bin'
1724 sbindir='${exec_prefix}/sbin'
1725 libexecdir='${exec_prefix}/libexec'
1726 datarootdir='${prefix}/share'
1727 datadir='${datarootdir}'
1728 sysconfdir='${prefix}/etc'
1729 sharedstatedir='${prefix}/com'
1730 localstatedir='${prefix}/var'
1731 runstatedir='${localstatedir}/run'
1732 includedir='${prefix}/include'
1733 oldincludedir='/usr/include'
1734 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1735 infodir='${datarootdir}/info'
1736 htmldir='${docdir}'
1737 dvidir='${docdir}'
1738 pdfdir='${docdir}'
1739 psdir='${docdir}'
1740 libdir='${exec_prefix}/lib'
1741 localedir='${datarootdir}/locale'
1742 mandir='${datarootdir}/man'
1744 ac_prev=
1745 ac_dashdash=
1746 for ac_option
1748 # If the previous option needs an argument, assign it.
1749 if test -n "$ac_prev"; then
1750 eval $ac_prev=\$ac_option
1751 ac_prev=
1752 continue
1755 case $ac_option in
1756 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1757 *=) ac_optarg= ;;
1758 *) ac_optarg=yes ;;
1759 esac
1761 # Accept the important Cygnus configure options, so we can diagnose typos.
1763 case $ac_dashdash$ac_option in
1765 ac_dashdash=yes ;;
1767 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1768 ac_prev=bindir ;;
1769 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1770 bindir=$ac_optarg ;;
1772 -build | --build | --buil | --bui | --bu)
1773 ac_prev=build_alias ;;
1774 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1775 build_alias=$ac_optarg ;;
1777 -cache-file | --cache-file | --cache-fil | --cache-fi \
1778 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1779 ac_prev=cache_file ;;
1780 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1781 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1782 cache_file=$ac_optarg ;;
1784 --config-cache | -C)
1785 cache_file=config.cache ;;
1787 -datadir | --datadir | --datadi | --datad)
1788 ac_prev=datadir ;;
1789 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1790 datadir=$ac_optarg ;;
1792 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1793 | --dataroo | --dataro | --datar)
1794 ac_prev=datarootdir ;;
1795 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1796 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1797 datarootdir=$ac_optarg ;;
1799 -disable-* | --disable-*)
1800 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1801 # Reject names that are not valid shell variable names.
1802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1803 as_fn_error $? "invalid feature name: $ac_useropt"
1804 ac_useropt_orig=$ac_useropt
1805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806 case $ac_user_opts in
1808 "enable_$ac_useropt"
1809 "*) ;;
1810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1811 ac_unrecognized_sep=', ';;
1812 esac
1813 eval enable_$ac_useropt=no ;;
1815 -docdir | --docdir | --docdi | --doc | --do)
1816 ac_prev=docdir ;;
1817 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1818 docdir=$ac_optarg ;;
1820 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1821 ac_prev=dvidir ;;
1822 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1823 dvidir=$ac_optarg ;;
1825 -enable-* | --enable-*)
1826 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1827 # Reject names that are not valid shell variable names.
1828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1829 as_fn_error $? "invalid feature name: $ac_useropt"
1830 ac_useropt_orig=$ac_useropt
1831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1832 case $ac_user_opts in
1834 "enable_$ac_useropt"
1835 "*) ;;
1836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1837 ac_unrecognized_sep=', ';;
1838 esac
1839 eval enable_$ac_useropt=\$ac_optarg ;;
1841 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1842 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1843 | --exec | --exe | --ex)
1844 ac_prev=exec_prefix ;;
1845 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1846 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1847 | --exec=* | --exe=* | --ex=*)
1848 exec_prefix=$ac_optarg ;;
1850 -gas | --gas | --ga | --g)
1851 # Obsolete; use --with-gas.
1852 with_gas=yes ;;
1854 -help | --help | --hel | --he | -h)
1855 ac_init_help=long ;;
1856 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1857 ac_init_help=recursive ;;
1858 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1859 ac_init_help=short ;;
1861 -host | --host | --hos | --ho)
1862 ac_prev=host_alias ;;
1863 -host=* | --host=* | --hos=* | --ho=*)
1864 host_alias=$ac_optarg ;;
1866 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1867 ac_prev=htmldir ;;
1868 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1869 | --ht=*)
1870 htmldir=$ac_optarg ;;
1872 -includedir | --includedir | --includedi | --included | --include \
1873 | --includ | --inclu | --incl | --inc)
1874 ac_prev=includedir ;;
1875 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1876 | --includ=* | --inclu=* | --incl=* | --inc=*)
1877 includedir=$ac_optarg ;;
1879 -infodir | --infodir | --infodi | --infod | --info | --inf)
1880 ac_prev=infodir ;;
1881 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1882 infodir=$ac_optarg ;;
1884 -libdir | --libdir | --libdi | --libd)
1885 ac_prev=libdir ;;
1886 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1887 libdir=$ac_optarg ;;
1889 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1890 | --libexe | --libex | --libe)
1891 ac_prev=libexecdir ;;
1892 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1893 | --libexe=* | --libex=* | --libe=*)
1894 libexecdir=$ac_optarg ;;
1896 -localedir | --localedir | --localedi | --localed | --locale)
1897 ac_prev=localedir ;;
1898 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1899 localedir=$ac_optarg ;;
1901 -localstatedir | --localstatedir | --localstatedi | --localstated \
1902 | --localstate | --localstat | --localsta | --localst | --locals)
1903 ac_prev=localstatedir ;;
1904 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1905 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1906 localstatedir=$ac_optarg ;;
1908 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1909 ac_prev=mandir ;;
1910 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1911 mandir=$ac_optarg ;;
1913 -nfp | --nfp | --nf)
1914 # Obsolete; use --without-fp.
1915 with_fp=no ;;
1917 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1918 | --no-cr | --no-c | -n)
1919 no_create=yes ;;
1921 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1922 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1923 no_recursion=yes ;;
1925 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1926 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1927 | --oldin | --oldi | --old | --ol | --o)
1928 ac_prev=oldincludedir ;;
1929 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1930 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1931 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1932 oldincludedir=$ac_optarg ;;
1934 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1935 ac_prev=prefix ;;
1936 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1937 prefix=$ac_optarg ;;
1939 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1940 | --program-pre | --program-pr | --program-p)
1941 ac_prev=program_prefix ;;
1942 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1943 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1944 program_prefix=$ac_optarg ;;
1946 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1947 | --program-suf | --program-su | --program-s)
1948 ac_prev=program_suffix ;;
1949 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1950 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1951 program_suffix=$ac_optarg ;;
1953 -program-transform-name | --program-transform-name \
1954 | --program-transform-nam | --program-transform-na \
1955 | --program-transform-n | --program-transform- \
1956 | --program-transform | --program-transfor \
1957 | --program-transfo | --program-transf \
1958 | --program-trans | --program-tran \
1959 | --progr-tra | --program-tr | --program-t)
1960 ac_prev=program_transform_name ;;
1961 -program-transform-name=* | --program-transform-name=* \
1962 | --program-transform-nam=* | --program-transform-na=* \
1963 | --program-transform-n=* | --program-transform-=* \
1964 | --program-transform=* | --program-transfor=* \
1965 | --program-transfo=* | --program-transf=* \
1966 | --program-trans=* | --program-tran=* \
1967 | --progr-tra=* | --program-tr=* | --program-t=*)
1968 program_transform_name=$ac_optarg ;;
1970 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1971 ac_prev=pdfdir ;;
1972 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1973 pdfdir=$ac_optarg ;;
1975 -psdir | --psdir | --psdi | --psd | --ps)
1976 ac_prev=psdir ;;
1977 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1978 psdir=$ac_optarg ;;
1980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1981 | -silent | --silent | --silen | --sile | --sil)
1982 silent=yes ;;
1984 -runstatedir | --runstatedir | --runstatedi | --runstated \
1985 | --runstate | --runstat | --runsta | --runst | --runs \
1986 | --run | --ru | --r)
1987 ac_prev=runstatedir ;;
1988 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1989 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1990 | --run=* | --ru=* | --r=*)
1991 runstatedir=$ac_optarg ;;
1993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1994 ac_prev=sbindir ;;
1995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1996 | --sbi=* | --sb=*)
1997 sbindir=$ac_optarg ;;
1999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2001 | --sharedst | --shareds | --shared | --share | --shar \
2002 | --sha | --sh)
2003 ac_prev=sharedstatedir ;;
2004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2007 | --sha=* | --sh=*)
2008 sharedstatedir=$ac_optarg ;;
2010 -site | --site | --sit)
2011 ac_prev=site ;;
2012 -site=* | --site=* | --sit=*)
2013 site=$ac_optarg ;;
2015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2016 ac_prev=srcdir ;;
2017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2018 srcdir=$ac_optarg ;;
2020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2021 | --syscon | --sysco | --sysc | --sys | --sy)
2022 ac_prev=sysconfdir ;;
2023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2025 sysconfdir=$ac_optarg ;;
2027 -target | --target | --targe | --targ | --tar | --ta | --t)
2028 ac_prev=target_alias ;;
2029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2030 target_alias=$ac_optarg ;;
2032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2033 verbose=yes ;;
2035 -version | --version | --versio | --versi | --vers | -V)
2036 ac_init_version=: ;;
2038 -with-* | --with-*)
2039 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2040 # Reject names that are not valid shell variable names.
2041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2042 as_fn_error $? "invalid package name: $ac_useropt"
2043 ac_useropt_orig=$ac_useropt
2044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2045 case $ac_user_opts in
2047 "with_$ac_useropt"
2048 "*) ;;
2049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2050 ac_unrecognized_sep=', ';;
2051 esac
2052 eval with_$ac_useropt=\$ac_optarg ;;
2054 -without-* | --without-*)
2055 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2056 # Reject names that are not valid shell variable names.
2057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2058 as_fn_error $? "invalid package name: $ac_useropt"
2059 ac_useropt_orig=$ac_useropt
2060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2061 case $ac_user_opts in
2063 "with_$ac_useropt"
2064 "*) ;;
2065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2066 ac_unrecognized_sep=', ';;
2067 esac
2068 eval with_$ac_useropt=no ;;
2070 --x)
2071 # Obsolete; use --with-x.
2072 with_x=yes ;;
2074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2075 | --x-incl | --x-inc | --x-in | --x-i)
2076 ac_prev=x_includes ;;
2077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2079 x_includes=$ac_optarg ;;
2081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2083 ac_prev=x_libraries ;;
2084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2086 x_libraries=$ac_optarg ;;
2088 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2089 Try \`$0 --help' for more information"
2092 *=*)
2093 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2094 # Reject names that are not valid shell variable names.
2095 case $ac_envvar in #(
2096 '' | [0-9]* | *[!_$as_cr_alnum]* )
2097 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2098 esac
2099 eval $ac_envvar=\$ac_optarg
2100 export $ac_envvar ;;
2103 # FIXME: should be removed in autoconf 3.0.
2104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2107 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2110 esac
2111 done
2113 if test -n "$ac_prev"; then
2114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2115 as_fn_error $? "missing argument to $ac_option"
2118 if test -n "$ac_unrecognized_opts"; then
2119 case $enable_option_checking in
2120 no) ;;
2121 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2123 esac
2126 # Check all directory arguments for consistency.
2127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2128 datadir sysconfdir sharedstatedir localstatedir includedir \
2129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2130 libdir localedir mandir runstatedir
2132 eval ac_val=\$$ac_var
2133 # Remove trailing slashes.
2134 case $ac_val in
2135 */ )
2136 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2137 eval $ac_var=\$ac_val;;
2138 esac
2139 # Be sure to have absolute directory names.
2140 case $ac_val in
2141 [\\/$]* | ?:[\\/]* ) continue;;
2142 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2143 esac
2144 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2145 done
2147 # There might be people who depend on the old broken behavior: `$host'
2148 # used to hold the argument of --host etc.
2149 # FIXME: To remove some day.
2150 build=$build_alias
2151 host=$host_alias
2152 target=$target_alias
2154 # FIXME: To remove some day.
2155 if test "x$host_alias" != x; then
2156 if test "x$build_alias" = x; then
2157 cross_compiling=maybe
2158 elif test "x$build_alias" != "x$host_alias"; then
2159 cross_compiling=yes
2163 ac_tool_prefix=
2164 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2166 test "$silent" = yes && exec 6>/dev/null
2169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2170 ac_ls_di=`ls -di .` &&
2171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2172 as_fn_error $? "working directory cannot be determined"
2173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2174 as_fn_error $? "pwd does not report name of working directory"
2177 # Find the source files, if location was not specified.
2178 if test -z "$srcdir"; then
2179 ac_srcdir_defaulted=yes
2180 # Try the directory containing this script, then the parent directory.
2181 ac_confdir=`$as_dirname -- "$as_myself" ||
2182 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2183 X"$as_myself" : 'X\(//\)[^/]' \| \
2184 X"$as_myself" : 'X\(//\)$' \| \
2185 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2186 $as_echo X"$as_myself" |
2187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2188 s//\1/
2191 /^X\(\/\/\)[^/].*/{
2192 s//\1/
2195 /^X\(\/\/\)$/{
2196 s//\1/
2199 /^X\(\/\).*/{
2200 s//\1/
2203 s/.*/./; q'`
2204 srcdir=$ac_confdir
2205 if test ! -r "$srcdir/$ac_unique_file"; then
2206 srcdir=..
2208 else
2209 ac_srcdir_defaulted=no
2211 if test ! -r "$srcdir/$ac_unique_file"; then
2212 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2213 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2216 ac_abs_confdir=`(
2217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2218 pwd)`
2219 # When building in place, set srcdir=.
2220 if test "$ac_abs_confdir" = "$ac_pwd"; then
2221 srcdir=.
2223 # Remove unnecessary trailing slashes from srcdir.
2224 # Double slashes in file names in object file debugging info
2225 # mess up M-x gdb in Emacs.
2226 case $srcdir in
2227 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2228 esac
2229 for ac_var in $ac_precious_vars; do
2230 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2231 eval ac_env_${ac_var}_value=\$${ac_var}
2232 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2233 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2234 done
2237 # Report the --help message.
2239 if test "$ac_init_help" = "long"; then
2240 # Omit some internal or obsolete options to make the list less imposing.
2241 # This message is too long to be a string in the A/UX 3.1 sh.
2242 cat <<_ACEOF
2243 \`configure' configures Wine 2.9 to adapt to many kinds of systems.
2245 Usage: $0 [OPTION]... [VAR=VALUE]...
2247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2248 VAR=VALUE. See below for descriptions of some of the useful variables.
2250 Defaults for the options are specified in brackets.
2252 Configuration:
2253 -h, --help display this help and exit
2254 --help=short display options specific to this package
2255 --help=recursive display the short help of all the included packages
2256 -V, --version display version information and exit
2257 -q, --quiet, --silent do not print \`checking ...' messages
2258 --cache-file=FILE cache test results in FILE [disabled]
2259 -C, --config-cache alias for \`--cache-file=config.cache'
2260 -n, --no-create do not create output files
2261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2263 Installation directories:
2264 --prefix=PREFIX install architecture-independent files in PREFIX
2265 [$ac_default_prefix]
2266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2267 [PREFIX]
2269 By default, \`make install' will install all the files in
2270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2272 for instance \`--prefix=\$HOME'.
2274 For better control, use the options below.
2276 Fine tuning of the installation directories:
2277 --bindir=DIR user executables [EPREFIX/bin]
2278 --sbindir=DIR system admin executables [EPREFIX/sbin]
2279 --libexecdir=DIR program executables [EPREFIX/libexec]
2280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2283 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2284 --libdir=DIR object code libraries [EPREFIX/lib]
2285 --includedir=DIR C header files [PREFIX/include]
2286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2289 --infodir=DIR info documentation [DATAROOTDIR/info]
2290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2291 --mandir=DIR man documentation [DATAROOTDIR/man]
2292 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2293 --htmldir=DIR html documentation [DOCDIR]
2294 --dvidir=DIR dvi documentation [DOCDIR]
2295 --pdfdir=DIR pdf documentation [DOCDIR]
2296 --psdir=DIR ps documentation [DOCDIR]
2297 _ACEOF
2299 cat <<\_ACEOF
2301 X features:
2302 --x-includes=DIR X include files are in DIR
2303 --x-libraries=DIR X library files are in DIR
2305 System types:
2306 --build=BUILD configure for building on BUILD [guessed]
2307 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2308 _ACEOF
2311 if test -n "$ac_init_help"; then
2312 case $ac_init_help in
2313 short | recursive ) echo "Configuration of Wine 2.9:";;
2314 esac
2315 cat <<\_ACEOF
2317 Optional Features:
2318 --disable-option-checking ignore unrecognized --enable/--with options
2319 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2320 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2321 --disable-win16 do not include Win16 support
2322 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2323 binaries)
2324 --disable-tests do not build the regression tests
2325 --enable-maintainer-mode
2326 enable maintainer-specific build rules
2327 --disable-largefile omit support for large files
2329 Optional Packages:
2330 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2331 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2332 --without-alsa do not use the Alsa sound support
2333 --without-capi do not use CAPI (ISDN support)
2334 --without-cms do not use CMS (color management support)
2335 --without-coreaudio do not use the CoreAudio sound support
2336 --without-cups do not use CUPS
2337 --without-curses do not use (n)curses
2338 --without-dbus do not use DBus (dynamic device support)
2339 --without-fontconfig do not use fontconfig
2340 --without-freetype do not use the FreeType library
2341 --without-gettext do not use gettext
2342 --with-gettextpo use the GetTextPO library to rebuild po files
2343 --without-gphoto do not use gphoto (Digital Camera support)
2344 --without-glu do not use the GLU library
2345 --without-gnutls do not use GnuTLS (schannel support)
2346 --without-gsm do not use libgsm (GSM 06.10 codec support)
2347 --without-gstreamer do not use GStreamer (codecs support)
2348 --without-hal do not use HAL (dynamic device support)
2349 --without-jpeg do not use JPEG
2350 --without-ldap do not use LDAP
2351 --without-mpg123 do not use the mpg123 library
2352 --without-netapi do not use the Samba NetAPI library
2353 --without-openal do not use OpenAL
2354 --without-opencl do not use OpenCL
2355 --without-opengl do not use OpenGL
2356 --without-osmesa do not use the OSMesa library
2357 --without-oss do not use the OSS sound support
2358 --without-pcap do not use the Packet Capture library
2359 --without-png do not use PNG
2360 --without-pthread do not use the pthread library
2361 --without-pulse do not use PulseAudio sound support
2362 --without-sane do not use SANE (scanner support)
2363 --without-tiff do not use TIFF
2364 --without-udev do not use udev (plug and play support)
2365 --without-v4l do not use v4l1 (v4l support)
2366 --without-xcomposite do not use the Xcomposite extension
2367 --without-xcursor do not use the Xcursor extension
2368 --without-xfixes do not use Xfixes for clipboard change notifications
2369 --without-xinerama do not use Xinerama (multi-monitor support)
2370 --without-xinput do not use the Xinput extension
2371 --without-xinput2 do not use the Xinput 2 extension
2372 --without-xml do not use XML
2373 --without-xrandr do not use Xrandr (resolution changes)
2374 --without-xrender do not use the Xrender extension
2375 --without-xshape do not use the Xshape extension
2376 --without-xshm do not use XShm (shared memory extension)
2377 --without-xslt do not use XSLT
2378 --without-xxf86vm do not use XFree video mode extension
2379 --without-zlib do not use Zlib (data compression)
2380 --with-wine-tools=DIR use Wine tools from directory DIR
2381 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2382 --with-x use the X Window System
2384 Some influential environment variables:
2385 CC C compiler command
2386 CFLAGS C compiler flags
2387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2388 nonstandard directory <lib dir>
2389 LIBS libraries to pass to the linker, e.g. -l<library>
2390 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2391 you have headers in a nonstandard directory <include dir>
2392 CXX C++ compiler command
2393 CXXFLAGS C++ compiler flags
2394 CPP C preprocessor
2395 XMKMF Path to xmkmf, Makefile generator for X Window System
2396 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2397 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2398 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2399 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2400 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2401 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2402 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2403 HAL_LIBS Linker flags for hal, overriding pkg-config
2404 GNUTLS_CFLAGS
2405 C compiler flags for gnutls, overriding pkg-config
2406 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2407 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2408 SANE_LIBS Linker flags for libsane, overriding pkg-config
2409 GPHOTO2_CFLAGS
2410 C compiler flags for libgphoto2, overriding pkg-config
2411 GPHOTO2_LIBS
2412 Linker flags for libgphoto2, overriding pkg-config
2413 GPHOTO2_PORT_CFLAGS
2414 C compiler flags for libgphoto2_port, overriding pkg-config
2415 GPHOTO2_PORT_LIBS
2416 Linker flags for libgphoto2_port, overriding pkg-config
2417 LCMS2_CFLAGS
2418 C compiler flags for lcms2, overriding pkg-config
2419 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2420 FREETYPE_CFLAGS
2421 C compiler flags for freetype2, overriding pkg-config
2422 FREETYPE_LIBS
2423 Linker flags for freetype2, overriding pkg-config
2424 PULSE_CFLAGS
2425 C compiler flags for libpulse, overriding pkg-config
2426 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2427 GSTREAMER_CFLAGS
2428 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2429 gstreamer-audio-1.0, overriding pkg-config
2430 GSTREAMER_LIBS
2431 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2432 gstreamer-audio-1.0, overriding pkg-config
2433 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2434 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2435 CAPI20_CFLAGS
2436 C compiler flags for capi20, overriding pkg-config
2437 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2438 FONTCONFIG_CFLAGS
2439 C compiler flags for fontconfig, overriding pkg-config
2440 FONTCONFIG_LIBS
2441 Linker flags for fontconfig, overriding pkg-config
2442 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2443 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2444 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2445 PNG_LIBS Linker flags for libpng, overriding pkg-config
2446 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2447 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2448 MPG123_CFLAGS
2449 C compiler flags for libmpg123, overriding pkg-config
2450 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2451 NETAPI_CFLAGS
2452 C compiler flags for netapi, overriding pkg-config
2453 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2455 Use these variables to override the choices made by `configure' or to help
2456 it to find libraries and programs with nonstandard names/locations.
2458 Report bugs to <wine-devel@winehq.org>.
2459 Wine home page: <http://www.winehq.org>.
2460 _ACEOF
2461 ac_status=$?
2464 if test "$ac_init_help" = "recursive"; then
2465 # If there are subdirs, report their specific --help.
2466 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2467 test -d "$ac_dir" ||
2468 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2469 continue
2470 ac_builddir=.
2472 case "$ac_dir" in
2473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2475 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2476 # A ".." for each directory in $ac_dir_suffix.
2477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2478 case $ac_top_builddir_sub in
2479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2481 esac ;;
2482 esac
2483 ac_abs_top_builddir=$ac_pwd
2484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2485 # for backward compatibility:
2486 ac_top_builddir=$ac_top_build_prefix
2488 case $srcdir in
2489 .) # We are building in place.
2490 ac_srcdir=.
2491 ac_top_srcdir=$ac_top_builddir_sub
2492 ac_abs_top_srcdir=$ac_pwd ;;
2493 [\\/]* | ?:[\\/]* ) # Absolute name.
2494 ac_srcdir=$srcdir$ac_dir_suffix;
2495 ac_top_srcdir=$srcdir
2496 ac_abs_top_srcdir=$srcdir ;;
2497 *) # Relative name.
2498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2499 ac_top_srcdir=$ac_top_build_prefix$srcdir
2500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2501 esac
2502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2504 cd "$ac_dir" || { ac_status=$?; continue; }
2505 # Check for guested configure.
2506 if test -f "$ac_srcdir/configure.gnu"; then
2507 echo &&
2508 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2509 elif test -f "$ac_srcdir/configure"; then
2510 echo &&
2511 $SHELL "$ac_srcdir/configure" --help=recursive
2512 else
2513 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2514 fi || ac_status=$?
2515 cd "$ac_pwd" || { ac_status=$?; break; }
2516 done
2519 test -n "$ac_init_help" && exit $ac_status
2520 if $ac_init_version; then
2521 cat <<\_ACEOF
2522 Wine configure 2.9
2523 generated by GNU Autoconf 2.69
2525 Copyright (C) 2012 Free Software Foundation, Inc.
2526 This configure script is free software; the Free Software Foundation
2527 gives unlimited permission to copy, distribute and modify it.
2528 _ACEOF
2529 exit
2532 ## ------------------------ ##
2533 ## Autoconf initialization. ##
2534 ## ------------------------ ##
2536 # ac_fn_c_try_compile LINENO
2537 # --------------------------
2538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2539 ac_fn_c_try_compile ()
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2542 rm -f conftest.$ac_objext
2543 if { { ac_try="$ac_compile"
2544 case "(($ac_try" in
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2547 esac
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_compile") 2>conftest.err
2551 ac_status=$?
2552 if test -s conftest.err; then
2553 grep -v '^ *+' conftest.err >conftest.er1
2554 cat conftest.er1 >&5
2555 mv -f conftest.er1 conftest.err
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; } && {
2559 test -z "$ac_c_werror_flag" ||
2560 test ! -s conftest.err
2561 } && test -s conftest.$ac_objext; then :
2562 ac_retval=0
2563 else
2564 $as_echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2567 ac_retval=1
2569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2570 as_fn_set_status $ac_retval
2572 } # ac_fn_c_try_compile
2574 # ac_fn_cxx_try_compile LINENO
2575 # ----------------------------
2576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2577 ac_fn_cxx_try_compile ()
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 rm -f conftest.$ac_objext
2581 if { { ac_try="$ac_compile"
2582 case "(($ac_try" in
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2585 esac
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587 $as_echo "$ac_try_echo"; } >&5
2588 (eval "$ac_compile") 2>conftest.err
2589 ac_status=$?
2590 if test -s conftest.err; then
2591 grep -v '^ *+' conftest.err >conftest.er1
2592 cat conftest.er1 >&5
2593 mv -f conftest.er1 conftest.err
2595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2596 test $ac_status = 0; } && {
2597 test -z "$ac_cxx_werror_flag" ||
2598 test ! -s conftest.err
2599 } && test -s conftest.$ac_objext; then :
2600 ac_retval=0
2601 else
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 ac_retval=1
2607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 as_fn_set_status $ac_retval
2610 } # ac_fn_cxx_try_compile
2612 # ac_fn_c_try_link LINENO
2613 # -----------------------
2614 # Try to link conftest.$ac_ext, and return whether this succeeded.
2615 ac_fn_c_try_link ()
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 rm -f conftest.$ac_objext conftest$ac_exeext
2619 if { { ac_try="$ac_link"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_link") 2>conftest.err
2627 ac_status=$?
2628 if test -s conftest.err; then
2629 grep -v '^ *+' conftest.err >conftest.er1
2630 cat conftest.er1 >&5
2631 mv -f conftest.er1 conftest.err
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; } && {
2635 test -z "$ac_c_werror_flag" ||
2636 test ! -s conftest.err
2637 } && test -s conftest$ac_exeext && {
2638 test "$cross_compiling" = yes ||
2639 test -x conftest$ac_exeext
2640 }; then :
2641 ac_retval=0
2642 else
2643 $as_echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2646 ac_retval=1
2648 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2649 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2650 # interfere with the next link command; also delete a directory that is
2651 # left behind by Apple's compiler. We do this before executing the actions.
2652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 as_fn_set_status $ac_retval
2656 } # ac_fn_c_try_link
2658 # ac_fn_c_try_cpp LINENO
2659 # ----------------------
2660 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2661 ac_fn_c_try_cpp ()
2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664 if { { ac_try="$ac_cpp conftest.$ac_ext"
2665 case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668 esac
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2672 ac_status=$?
2673 if test -s conftest.err; then
2674 grep -v '^ *+' conftest.err >conftest.er1
2675 cat conftest.er1 >&5
2676 mv -f conftest.er1 conftest.err
2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2679 test $ac_status = 0; } > conftest.i && {
2680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2681 test ! -s conftest.err
2682 }; then :
2683 ac_retval=0
2684 else
2685 $as_echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2688 ac_retval=1
2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2691 as_fn_set_status $ac_retval
2693 } # ac_fn_c_try_cpp
2695 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2696 # -------------------------------------------------------
2697 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2698 # the include files in INCLUDES and setting the cache variable VAR
2699 # accordingly.
2700 ac_fn_c_check_header_mongrel ()
2702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2703 if eval \${$3+:} false; then :
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2705 $as_echo_n "checking for $2... " >&6; }
2706 if eval \${$3+:} false; then :
2707 $as_echo_n "(cached) " >&6
2709 eval ac_res=\$$3
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2711 $as_echo "$ac_res" >&6; }
2712 else
2713 # Is the header compilable?
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2715 $as_echo_n "checking $2 usability... " >&6; }
2716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h. */
2719 #include <$2>
2720 _ACEOF
2721 if ac_fn_c_try_compile "$LINENO"; then :
2722 ac_header_compiler=yes
2723 else
2724 ac_header_compiler=no
2726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2728 $as_echo "$ac_header_compiler" >&6; }
2730 # Is the header present?
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2732 $as_echo_n "checking $2 presence... " >&6; }
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2735 #include <$2>
2736 _ACEOF
2737 if ac_fn_c_try_cpp "$LINENO"; then :
2738 ac_header_preproc=yes
2739 else
2740 ac_header_preproc=no
2742 rm -f conftest.err conftest.i conftest.$ac_ext
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2744 $as_echo "$ac_header_preproc" >&6; }
2746 # So? What about this header?
2747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2748 yes:no: )
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2750 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2752 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2754 no:yes:* )
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2756 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2758 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2760 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2762 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2765 ( $as_echo "## ------------------------------------ ##
2766 ## Report this to wine-devel@winehq.org ##
2767 ## ------------------------------------ ##"
2768 ) | sed "s/^/$as_me: WARNING: /" >&2
2770 esac
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2772 $as_echo_n "checking for $2... " >&6; }
2773 if eval \${$3+:} false; then :
2774 $as_echo_n "(cached) " >&6
2775 else
2776 eval "$3=\$ac_header_compiler"
2778 eval ac_res=\$$3
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2780 $as_echo "$ac_res" >&6; }
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 } # ac_fn_c_check_header_mongrel
2786 # ac_fn_c_try_run LINENO
2787 # ----------------------
2788 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2789 # that executables *can* be run.
2790 ac_fn_c_try_run ()
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 if { { ac_try="$ac_link"
2794 case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2797 esac
2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 $as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_link") 2>&5
2801 ac_status=$?
2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2804 { { case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_try") 2>&5
2811 ac_status=$?
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; }; }; then :
2814 ac_retval=0
2815 else
2816 $as_echo "$as_me: program exited with status $ac_status" >&5
2817 $as_echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.$ac_ext >&5
2820 ac_retval=$ac_status
2822 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 as_fn_set_status $ac_retval
2826 } # ac_fn_c_try_run
2828 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2829 # -------------------------------------------------------
2830 # Tests whether HEADER exists and can be compiled using the include files in
2831 # INCLUDES, setting the cache variable VAR accordingly.
2832 ac_fn_c_check_header_compile ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2836 $as_echo_n "checking for $2... " >&6; }
2837 if eval \${$3+:} false; then :
2838 $as_echo_n "(cached) " >&6
2839 else
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2843 #include <$2>
2844 _ACEOF
2845 if ac_fn_c_try_compile "$LINENO"; then :
2846 eval "$3=yes"
2847 else
2848 eval "$3=no"
2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2852 eval ac_res=\$$3
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2854 $as_echo "$ac_res" >&6; }
2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2857 } # ac_fn_c_check_header_compile
2859 # ac_fn_c_check_func LINENO FUNC VAR
2860 # ----------------------------------
2861 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2862 ac_fn_c_check_func ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2866 $as_echo_n "checking for $2... " >&6; }
2867 if eval \${$3+:} false; then :
2868 $as_echo_n "(cached) " >&6
2869 else
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2872 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2874 #define $2 innocuous_$2
2876 /* System header to define __stub macros and hopefully few prototypes,
2877 which can conflict with char $2 (); below.
2878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2879 <limits.h> exists even on freestanding compilers. */
2881 #ifdef __STDC__
2882 # include <limits.h>
2883 #else
2884 # include <assert.h>
2885 #endif
2887 #undef $2
2889 /* Override any GCC internal prototype to avoid an error.
2890 Use char because int might match the return type of a GCC
2891 builtin and then its argument prototype would still apply. */
2892 #ifdef __cplusplus
2893 extern "C"
2894 #endif
2895 char $2 ();
2896 /* The GNU C library defines this for functions which it implements
2897 to always fail with ENOSYS. Some functions are actually named
2898 something starting with __ and the normal name is an alias. */
2899 #if defined __stub_$2 || defined __stub___$2
2900 choke me
2901 #endif
2904 main ()
2906 return $2 ();
2908 return 0;
2910 _ACEOF
2911 if ac_fn_c_try_link "$LINENO"; then :
2912 eval "$3=yes"
2913 else
2914 eval "$3=no"
2916 rm -f core conftest.err conftest.$ac_objext \
2917 conftest$ac_exeext conftest.$ac_ext
2919 eval ac_res=\$$3
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2921 $as_echo "$ac_res" >&6; }
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 } # ac_fn_c_check_func
2926 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2927 # ----------------------------------------------------
2928 # Tries to find if the field MEMBER exists in type AGGR, after including
2929 # INCLUDES, setting cache variable VAR accordingly.
2930 ac_fn_c_check_member ()
2932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2934 $as_echo_n "checking for $2.$3... " >&6; }
2935 if eval \${$4+:} false; then :
2936 $as_echo_n "(cached) " >&6
2937 else
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2942 main ()
2944 static $2 ac_aggr;
2945 if (ac_aggr.$3)
2946 return 0;
2948 return 0;
2950 _ACEOF
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 eval "$4=yes"
2953 else
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2958 main ()
2960 static $2 ac_aggr;
2961 if (sizeof ac_aggr.$3)
2962 return 0;
2964 return 0;
2966 _ACEOF
2967 if ac_fn_c_try_compile "$LINENO"; then :
2968 eval "$4=yes"
2969 else
2970 eval "$4=no"
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 eval ac_res=\$$4
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2978 $as_echo "$ac_res" >&6; }
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2981 } # ac_fn_c_check_member
2983 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2984 # -------------------------------------------
2985 # Tests whether TYPE exists after having included INCLUDES, setting cache
2986 # variable VAR accordingly.
2987 ac_fn_c_check_type ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2991 $as_echo_n "checking for $2... " >&6; }
2992 if eval \${$3+:} false; then :
2993 $as_echo_n "(cached) " >&6
2994 else
2995 eval "$3=no"
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3000 main ()
3002 if (sizeof ($2))
3003 return 0;
3005 return 0;
3007 _ACEOF
3008 if ac_fn_c_try_compile "$LINENO"; then :
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3013 main ()
3015 if (sizeof (($2)))
3016 return 0;
3018 return 0;
3020 _ACEOF
3021 if ac_fn_c_try_compile "$LINENO"; then :
3023 else
3024 eval "$3=yes"
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 eval ac_res=\$$3
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3032 $as_echo "$ac_res" >&6; }
3033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3035 } # ac_fn_c_check_type
3036 cat >config.log <<_ACEOF
3037 This file contains any messages produced by compilers while
3038 running configure, to aid debugging if configure makes a mistake.
3040 It was created by Wine $as_me 2.9, which was
3041 generated by GNU Autoconf 2.69. Invocation command line was
3043 $ $0 $@
3045 _ACEOF
3046 exec 5>>config.log
3048 cat <<_ASUNAME
3049 ## --------- ##
3050 ## Platform. ##
3051 ## --------- ##
3053 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3054 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3055 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3056 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3057 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3059 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3060 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3062 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3063 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3064 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3065 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3066 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3067 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3068 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3070 _ASUNAME
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
3077 $as_echo "PATH: $as_dir"
3078 done
3079 IFS=$as_save_IFS
3081 } >&5
3083 cat >&5 <<_ACEOF
3086 ## ----------- ##
3087 ## Core tests. ##
3088 ## ----------- ##
3090 _ACEOF
3093 # Keep a trace of the command line.
3094 # Strip out --no-create and --no-recursion so they do not pile up.
3095 # Strip out --silent because we don't want to record it for future runs.
3096 # Also quote any args containing shell meta-characters.
3097 # Make two passes to allow for proper duplicate-argument suppression.
3098 ac_configure_args=
3099 ac_configure_args0=
3100 ac_configure_args1=
3101 ac_must_keep_next=false
3102 for ac_pass in 1 2
3104 for ac_arg
3106 case $ac_arg in
3107 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3109 | -silent | --silent | --silen | --sile | --sil)
3110 continue ;;
3111 *\'*)
3112 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3113 esac
3114 case $ac_pass in
3115 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3117 as_fn_append ac_configure_args1 " '$ac_arg'"
3118 if test $ac_must_keep_next = true; then
3119 ac_must_keep_next=false # Got value, back to normal.
3120 else
3121 case $ac_arg in
3122 *=* | --config-cache | -C | -disable-* | --disable-* \
3123 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3124 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3125 | -with-* | --with-* | -without-* | --without-* | --x)
3126 case "$ac_configure_args0 " in
3127 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3128 esac
3130 -* ) ac_must_keep_next=true ;;
3131 esac
3133 as_fn_append ac_configure_args " '$ac_arg'"
3135 esac
3136 done
3137 done
3138 { ac_configure_args0=; unset ac_configure_args0;}
3139 { ac_configure_args1=; unset ac_configure_args1;}
3141 # When interrupted or exit'd, cleanup temporary files, and complete
3142 # config.log. We remove comments because anyway the quotes in there
3143 # would cause problems or look ugly.
3144 # WARNING: Use '\'' to represent an apostrophe within the trap.
3145 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3146 trap 'exit_status=$?
3147 # Save into config.log some information that might help in debugging.
3149 echo
3151 $as_echo "## ---------------- ##
3152 ## Cache variables. ##
3153 ## ---------------- ##"
3154 echo
3155 # The following way of writing the cache mishandles newlines in values,
3157 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3158 eval ac_val=\$$ac_var
3159 case $ac_val in #(
3160 *${as_nl}*)
3161 case $ac_var in #(
3162 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3163 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3164 esac
3165 case $ac_var in #(
3166 _ | IFS | as_nl) ;; #(
3167 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3168 *) { eval $ac_var=; unset $ac_var;} ;;
3169 esac ;;
3170 esac
3171 done
3172 (set) 2>&1 |
3173 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3174 *${as_nl}ac_space=\ *)
3175 sed -n \
3176 "s/'\''/'\''\\\\'\'''\''/g;
3177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3178 ;; #(
3180 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3182 esac |
3183 sort
3185 echo
3187 $as_echo "## ----------------- ##
3188 ## Output variables. ##
3189 ## ----------------- ##"
3190 echo
3191 for ac_var in $ac_subst_vars
3193 eval ac_val=\$$ac_var
3194 case $ac_val in
3195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3196 esac
3197 $as_echo "$ac_var='\''$ac_val'\''"
3198 done | sort
3199 echo
3201 if test -n "$ac_subst_files"; then
3202 $as_echo "## ------------------- ##
3203 ## File substitutions. ##
3204 ## ------------------- ##"
3205 echo
3206 for ac_var in $ac_subst_files
3208 eval ac_val=\$$ac_var
3209 case $ac_val in
3210 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3211 esac
3212 $as_echo "$ac_var='\''$ac_val'\''"
3213 done | sort
3214 echo
3217 if test -s confdefs.h; then
3218 $as_echo "## ----------- ##
3219 ## confdefs.h. ##
3220 ## ----------- ##"
3221 echo
3222 cat confdefs.h
3223 echo
3225 test "$ac_signal" != 0 &&
3226 $as_echo "$as_me: caught signal $ac_signal"
3227 $as_echo "$as_me: exit $exit_status"
3228 } >&5
3229 rm -f core *.core core.conftest.* &&
3230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3231 exit $exit_status
3233 for ac_signal in 1 2 13 15; do
3234 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3235 done
3236 ac_signal=0
3238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3239 rm -f -r conftest* confdefs.h
3241 $as_echo "/* confdefs.h */" > confdefs.h
3243 # Predefined preprocessor variables.
3245 cat >>confdefs.h <<_ACEOF
3246 #define PACKAGE_NAME "$PACKAGE_NAME"
3247 _ACEOF
3249 cat >>confdefs.h <<_ACEOF
3250 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3251 _ACEOF
3253 cat >>confdefs.h <<_ACEOF
3254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3255 _ACEOF
3257 cat >>confdefs.h <<_ACEOF
3258 #define PACKAGE_STRING "$PACKAGE_STRING"
3259 _ACEOF
3261 cat >>confdefs.h <<_ACEOF
3262 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3263 _ACEOF
3265 cat >>confdefs.h <<_ACEOF
3266 #define PACKAGE_URL "$PACKAGE_URL"
3267 _ACEOF
3270 # Let the site file select an alternate cache file if it wants to.
3271 # Prefer an explicitly selected file to automatically selected ones.
3272 ac_site_file1=NONE
3273 ac_site_file2=NONE
3274 if test -n "$CONFIG_SITE"; then
3275 # We do not want a PATH search for config.site.
3276 case $CONFIG_SITE in #((
3277 -*) ac_site_file1=./$CONFIG_SITE;;
3278 */*) ac_site_file1=$CONFIG_SITE;;
3279 *) ac_site_file1=./$CONFIG_SITE;;
3280 esac
3281 elif test "x$prefix" != xNONE; then
3282 ac_site_file1=$prefix/share/config.site
3283 ac_site_file2=$prefix/etc/config.site
3284 else
3285 ac_site_file1=$ac_default_prefix/share/config.site
3286 ac_site_file2=$ac_default_prefix/etc/config.site
3288 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3290 test "x$ac_site_file" = xNONE && continue
3291 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3293 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3294 sed 's/^/| /' "$ac_site_file" >&5
3295 . "$ac_site_file" \
3296 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $? "failed to load site script $ac_site_file
3299 See \`config.log' for more details" "$LINENO" 5; }
3301 done
3303 if test -r "$cache_file"; then
3304 # Some versions of bash will fail to source /dev/null (special files
3305 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3306 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3308 $as_echo "$as_me: loading cache $cache_file" >&6;}
3309 case $cache_file in
3310 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3311 *) . "./$cache_file";;
3312 esac
3314 else
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3316 $as_echo "$as_me: creating cache $cache_file" >&6;}
3317 >$cache_file
3320 # Check that the precious variables saved in the cache have kept the same
3321 # value.
3322 ac_cache_corrupted=false
3323 for ac_var in $ac_precious_vars; do
3324 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3325 eval ac_new_set=\$ac_env_${ac_var}_set
3326 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3327 eval ac_new_val=\$ac_env_${ac_var}_value
3328 case $ac_old_set,$ac_new_set in
3329 set,)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3331 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3332 ac_cache_corrupted=: ;;
3333 ,set)
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3335 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3336 ac_cache_corrupted=: ;;
3337 ,);;
3339 if test "x$ac_old_val" != "x$ac_new_val"; then
3340 # differences in whitespace do not lead to failure.
3341 ac_old_val_w=`echo x $ac_old_val`
3342 ac_new_val_w=`echo x $ac_new_val`
3343 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3345 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3346 ac_cache_corrupted=:
3347 else
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3349 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3350 eval $ac_var=\$ac_old_val
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3353 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3355 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3356 fi;;
3357 esac
3358 # Pass precious variables to config.status.
3359 if test "$ac_new_set" = set; then
3360 case $ac_new_val in
3361 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3362 *) ac_arg=$ac_var=$ac_new_val ;;
3363 esac
3364 case " $ac_configure_args " in
3365 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3366 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3367 esac
3369 done
3370 if $ac_cache_corrupted; then
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3374 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3375 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3377 ## -------------------- ##
3378 ## Main body of script. ##
3379 ## -------------------- ##
3381 ac_ext=c
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389 ac_config_headers="$ac_config_headers include/config.h"
3391 ac_aux_dir=
3392 for ac_dir in tools "$srcdir"/tools; do
3393 if test -f "$ac_dir/install-sh"; then
3394 ac_aux_dir=$ac_dir
3395 ac_install_sh="$ac_aux_dir/install-sh -c"
3396 break
3397 elif 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/shtool"; then
3402 ac_aux_dir=$ac_dir
3403 ac_install_sh="$ac_aux_dir/shtool install -c"
3404 break
3406 done
3407 if test -z "$ac_aux_dir"; then
3408 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3411 # These three variables are undocumented and unsupported,
3412 # and are intended to be withdrawn in a future Autoconf release.
3413 # They can cause serious problems if a builder's source tree is in a directory
3414 # whose full name contains unusual characters.
3415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3421 libwine_version="1.0"
3425 # Check whether --enable-win16 was given.
3426 if test "${enable_win16+set}" = set; then :
3427 enableval=$enable_win16;
3430 # Check whether --enable-win64 was given.
3431 if test "${enable_win64+set}" = set; then :
3432 enableval=$enable_win64;
3435 # Check whether --enable-tests was given.
3436 if test "${enable_tests+set}" = set; then :
3437 enableval=$enable_tests;
3440 # Check whether --enable-maintainer-mode was given.
3441 if test "${enable_maintainer_mode+set}" = set; then :
3442 enableval=$enable_maintainer_mode;
3447 # Check whether --with-alsa was given.
3448 if test "${with_alsa+set}" = set; then :
3449 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3453 # Check whether --with-capi was given.
3454 if test "${with_capi+set}" = set; then :
3455 withval=$with_capi;
3459 # Check whether --with-cms was given.
3460 if test "${with_cms+set}" = set; then :
3461 withval=$with_cms;
3465 # Check whether --with-coreaudio was given.
3466 if test "${with_coreaudio+set}" = set; then :
3467 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3471 # Check whether --with-cups was given.
3472 if test "${with_cups+set}" = set; then :
3473 withval=$with_cups;
3477 # Check whether --with-curses was given.
3478 if test "${with_curses+set}" = set; then :
3479 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3483 # Check whether --with-dbus was given.
3484 if test "${with_dbus+set}" = set; then :
3485 withval=$with_dbus;
3489 # Check whether --with-fontconfig was given.
3490 if test "${with_fontconfig+set}" = set; then :
3491 withval=$with_fontconfig;
3495 # Check whether --with-freetype was given.
3496 if test "${with_freetype+set}" = set; then :
3497 withval=$with_freetype;
3501 # Check whether --with-gettext was given.
3502 if test "${with_gettext+set}" = set; then :
3503 withval=$with_gettext;
3507 # Check whether --with-gettextpo was given.
3508 if test "${with_gettextpo+set}" = set; then :
3509 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3513 # Check whether --with-gphoto was given.
3514 if test "${with_gphoto+set}" = set; then :
3515 withval=$with_gphoto;
3519 # Check whether --with-glu was given.
3520 if test "${with_glu+set}" = set; then :
3521 withval=$with_glu;
3525 # Check whether --with-gnutls was given.
3526 if test "${with_gnutls+set}" = set; then :
3527 withval=$with_gnutls;
3531 # Check whether --with-gsm was given.
3532 if test "${with_gsm+set}" = set; then :
3533 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3537 # Check whether --with-gstreamer was given.
3538 if test "${with_gstreamer+set}" = set; then :
3539 withval=$with_gstreamer;
3543 # Check whether --with-hal was given.
3544 if test "${with_hal+set}" = set; then :
3545 withval=$with_hal;
3549 # Check whether --with-jpeg was given.
3550 if test "${with_jpeg+set}" = set; then :
3551 withval=$with_jpeg;
3555 # Check whether --with-ldap was given.
3556 if test "${with_ldap+set}" = set; then :
3557 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3561 # Check whether --with-mpg123 was given.
3562 if test "${with_mpg123+set}" = set; then :
3563 withval=$with_mpg123;
3567 # Check whether --with-netapi was given.
3568 if test "${with_netapi+set}" = set; then :
3569 withval=$with_netapi;
3573 # Check whether --with-openal was given.
3574 if test "${with_openal+set}" = set; then :
3575 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3579 # Check whether --with-opencl was given.
3580 if test "${with_opencl+set}" = set; then :
3581 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3585 # Check whether --with-opengl was given.
3586 if test "${with_opengl+set}" = set; then :
3587 withval=$with_opengl;
3591 # Check whether --with-osmesa was given.
3592 if test "${with_osmesa+set}" = set; then :
3593 withval=$with_osmesa;
3597 # Check whether --with-oss was given.
3598 if test "${with_oss+set}" = set; then :
3599 withval=$with_oss;
3603 # Check whether --with-pcap was given.
3604 if test "${with_pcap+set}" = set; then :
3605 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3609 # Check whether --with-png was given.
3610 if test "${with_png+set}" = set; then :
3611 withval=$with_png;
3615 # Check whether --with-pthread was given.
3616 if test "${with_pthread+set}" = set; then :
3617 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3621 # Check whether --with-pulse was given.
3622 if test "${with_pulse+set}" = set; then :
3623 withval=$with_pulse;
3627 # Check whether --with-sane was given.
3628 if test "${with_sane+set}" = set; then :
3629 withval=$with_sane;
3633 # Check whether --with-tiff was given.
3634 if test "${with_tiff+set}" = set; then :
3635 withval=$with_tiff;
3639 # Check whether --with-udev was given.
3640 if test "${with_udev+set}" = set; then :
3641 withval=$with_udev;
3645 # Check whether --with-v4l was given.
3646 if test "${with_v4l+set}" = set; then :
3647 withval=$with_v4l;
3651 # Check whether --with-xcomposite was given.
3652 if test "${with_xcomposite+set}" = set; then :
3653 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3657 # Check whether --with-xcursor was given.
3658 if test "${with_xcursor+set}" = set; then :
3659 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3663 # Check whether --with-xfixes was given.
3664 if test "${with_xfixes+set}" = set; then :
3665 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3669 # Check whether --with-xinerama was given.
3670 if test "${with_xinerama+set}" = set; then :
3671 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3675 # Check whether --with-xinput was given.
3676 if test "${with_xinput+set}" = set; then :
3677 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3681 # Check whether --with-xinput2 was given.
3682 if test "${with_xinput2+set}" = set; then :
3683 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3687 # Check whether --with-xml was given.
3688 if test "${with_xml+set}" = set; then :
3689 withval=$with_xml;
3693 # Check whether --with-xrandr was given.
3694 if test "${with_xrandr+set}" = set; then :
3695 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3699 # Check whether --with-xrender was given.
3700 if test "${with_xrender+set}" = set; then :
3701 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3705 # Check whether --with-xshape was given.
3706 if test "${with_xshape+set}" = set; then :
3707 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3711 # Check whether --with-xshm was given.
3712 if test "${with_xshm+set}" = set; then :
3713 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3717 # Check whether --with-xslt was given.
3718 if test "${with_xslt+set}" = set; then :
3719 withval=$with_xslt;
3723 # Check whether --with-xxf86vm was given.
3724 if test "${with_xxf86vm+set}" = set; then :
3725 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
3729 # Check whether --with-zlib was given.
3730 if test "${with_zlib+set}" = set; then :
3731 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3736 # Check whether --with-wine-tools was given.
3737 if test "${with_wine_tools+set}" = set; then :
3738 withval=$with_wine_tools;
3742 # Check whether --with-wine64 was given.
3743 if test "${with_wine64+set}" = set; then :
3744 withval=$with_wine64;
3748 # Make sure we can run config.sub.
3749 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3750 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3753 $as_echo_n "checking build system type... " >&6; }
3754 if ${ac_cv_build+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 ac_build_alias=$build_alias
3758 test "x$ac_build_alias" = x &&
3759 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3760 test "x$ac_build_alias" = x &&
3761 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3762 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3763 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3767 $as_echo "$ac_cv_build" >&6; }
3768 case $ac_cv_build in
3769 *-*-*) ;;
3770 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3771 esac
3772 build=$ac_cv_build
3773 ac_save_IFS=$IFS; IFS='-'
3774 set x $ac_cv_build
3775 shift
3776 build_cpu=$1
3777 build_vendor=$2
3778 shift; shift
3779 # Remember, the first character of IFS is used to create $*,
3780 # except with old shells:
3781 build_os=$*
3782 IFS=$ac_save_IFS
3783 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3787 $as_echo_n "checking host system type... " >&6; }
3788 if ${ac_cv_host+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if test "x$host_alias" = x; then
3792 ac_cv_host=$ac_cv_build
3793 else
3794 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3795 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3800 $as_echo "$ac_cv_host" >&6; }
3801 case $ac_cv_host in
3802 *-*-*) ;;
3803 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3804 esac
3805 host=$ac_cv_host
3806 ac_save_IFS=$IFS; IFS='-'
3807 set x $ac_cv_host
3808 shift
3809 host_cpu=$1
3810 host_vendor=$2
3811 shift; shift
3812 # Remember, the first character of IFS is used to create $*,
3813 # except with old shells:
3814 host_os=$*
3815 IFS=$ac_save_IFS
3816 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3820 case "$srcdir" in
3821 .) ;;
3822 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3823 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3824 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3825 fi ;;
3826 esac
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3830 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3831 set x ${MAKE-make}
3832 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3833 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3834 $as_echo_n "(cached) " >&6
3835 else
3836 cat >conftest.make <<\_ACEOF
3837 SHELL = /bin/sh
3838 all:
3839 @echo '@@@%%%=$(MAKE)=@@@%%%'
3840 _ACEOF
3841 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3842 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3843 *@@@%%%=?*=@@@%%%*)
3844 eval ac_cv_prog_make_${ac_make}_set=yes;;
3846 eval ac_cv_prog_make_${ac_make}_set=no;;
3847 esac
3848 rm -f conftest.make
3850 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3852 $as_echo "yes" >&6; }
3853 SET_MAKE=
3854 else
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3857 SET_MAKE="MAKE=${MAKE-make}"
3860 ac_ext=c
3861 ac_cpp='$CPP $CPPFLAGS'
3862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3865 if test -n "$ac_tool_prefix"; then
3866 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if ${ac_cv_prog_CC+:} false; then :
3871 $as_echo_n "(cached) " >&6
3872 else
3873 if test -n "$CC"; then
3874 ac_cv_prog_CC="$CC" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3889 IFS=$as_save_IFS
3893 CC=$ac_cv_prog_CC
3894 if test -n "$CC"; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3896 $as_echo "$CC" >&6; }
3897 else
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3904 if test -z "$ac_cv_prog_CC"; then
3905 ac_ct_CC=$CC
3906 # Extract the first word of "gcc", so it can be a program name with args.
3907 set dummy gcc; ac_word=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3911 $as_echo_n "(cached) " >&6
3912 else
3913 if test -n "$ac_ct_CC"; then
3914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3915 else
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH
3919 IFS=$as_save_IFS
3920 test -z "$as_dir" && as_dir=.
3921 for ac_exec_ext in '' $ac_executable_extensions; do
3922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3923 ac_cv_prog_ac_ct_CC="gcc"
3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 break 2
3927 done
3928 done
3929 IFS=$as_save_IFS
3933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3934 if test -n "$ac_ct_CC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3936 $as_echo "$ac_ct_CC" >&6; }
3937 else
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3942 if test "x$ac_ct_CC" = x; then
3943 CC=""
3944 else
3945 case $cross_compiling:$ac_tool_warned in
3946 yes:)
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3949 ac_tool_warned=yes ;;
3950 esac
3951 CC=$ac_ct_CC
3953 else
3954 CC="$ac_cv_prog_CC"
3957 if test -z "$CC"; then
3958 if test -n "$ac_tool_prefix"; then
3959 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3960 set dummy ${ac_tool_prefix}cc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$CC"; then
3967 ac_cv_prog_CC="$CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_CC="${ac_tool_prefix}cc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 CC=$ac_cv_prog_CC
3987 if test -n "$CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3989 $as_echo "$CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3998 if test -z "$CC"; then
3999 # Extract the first word of "cc", so it can be a program name with args.
4000 set dummy cc; ac_word=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_CC+:} false; then :
4004 $as_echo_n "(cached) " >&6
4005 else
4006 if test -n "$CC"; then
4007 ac_cv_prog_CC="$CC" # Let the user override the test.
4008 else
4009 ac_prog_rejected=no
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 for as_dir in $PATH
4013 IFS=$as_save_IFS
4014 test -z "$as_dir" && as_dir=.
4015 for ac_exec_ext in '' $ac_executable_extensions; do
4016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4017 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4018 ac_prog_rejected=yes
4019 continue
4021 ac_cv_prog_CC="cc"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 break 2
4025 done
4026 done
4027 IFS=$as_save_IFS
4029 if test $ac_prog_rejected = yes; then
4030 # We found a bogon in the path, so make sure we never use it.
4031 set dummy $ac_cv_prog_CC
4032 shift
4033 if test $# != 0; then
4034 # We chose a different compiler from the bogus one.
4035 # However, it has the same basename, so the bogon will be chosen
4036 # first if we set CC to just the basename; use the full file name.
4037 shift
4038 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4043 CC=$ac_cv_prog_CC
4044 if test -n "$CC"; then
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4046 $as_echo "$CC" >&6; }
4047 else
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4054 if test -z "$CC"; then
4055 if test -n "$ac_tool_prefix"; then
4056 for ac_prog in cl.exe
4058 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4059 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CC+:} false; then :
4063 $as_echo_n "(cached) " >&6
4064 else
4065 if test -n "$CC"; then
4066 ac_cv_prog_CC="$CC" # Let the user override the test.
4067 else
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH
4071 IFS=$as_save_IFS
4072 test -z "$as_dir" && as_dir=.
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 break 2
4079 done
4080 done
4081 IFS=$as_save_IFS
4085 CC=$ac_cv_prog_CC
4086 if test -n "$CC"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4088 $as_echo "$CC" >&6; }
4089 else
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4095 test -n "$CC" && break
4096 done
4098 if test -z "$CC"; then
4099 ac_ct_CC=$CC
4100 for ac_prog in cl.exe
4102 # Extract the first word of "$ac_prog", so it can be a program name with args.
4103 set dummy $ac_prog; ac_word=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4107 $as_echo_n "(cached) " >&6
4108 else
4109 if test -n "$ac_ct_CC"; then
4110 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4111 else
4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 for as_dir in $PATH
4115 IFS=$as_save_IFS
4116 test -z "$as_dir" && as_dir=.
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4119 ac_cv_prog_ac_ct_CC="$ac_prog"
4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 break 2
4123 done
4124 done
4125 IFS=$as_save_IFS
4129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4130 if test -n "$ac_ct_CC"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4132 $as_echo "$ac_ct_CC" >&6; }
4133 else
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4139 test -n "$ac_ct_CC" && break
4140 done
4142 if test "x$ac_ct_CC" = x; then
4143 CC=""
4144 else
4145 case $cross_compiling:$ac_tool_warned in
4146 yes:)
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4149 ac_tool_warned=yes ;;
4150 esac
4151 CC=$ac_ct_CC
4158 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error $? "no acceptable C compiler found in \$PATH
4161 See \`config.log' for more details" "$LINENO" 5; }
4163 # Provide some information about the compiler.
4164 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4165 set X $ac_compile
4166 ac_compiler=$2
4167 for ac_option in --version -v -V -qversion; do
4168 { { ac_try="$ac_compiler $ac_option >&5"
4169 case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4176 ac_status=$?
4177 if test -s conftest.err; then
4178 sed '10a\
4179 ... rest of stderr output deleted ...
4180 10q' conftest.err >conftest.er1
4181 cat conftest.er1 >&5
4183 rm -f conftest.er1 conftest.err
4184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185 test $ac_status = 0; }
4186 done
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4192 main ()
4196 return 0;
4198 _ACEOF
4199 ac_clean_files_save=$ac_clean_files
4200 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4201 # Try to create an executable without -o first, disregard a.out.
4202 # It will help us diagnose broken compilers, and finding out an intuition
4203 # of exeext.
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4205 $as_echo_n "checking whether the C compiler works... " >&6; }
4206 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4208 # The possible output files:
4209 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4211 ac_rmfiles=
4212 for ac_file in $ac_files
4214 case $ac_file in
4215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4216 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4217 esac
4218 done
4219 rm -f $ac_rmfiles
4221 if { { ac_try="$ac_link_default"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_link_default") 2>&5
4229 ac_status=$?
4230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4231 test $ac_status = 0; }; then :
4232 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4233 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4234 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4235 # so that the user can short-circuit this test for compilers unknown to
4236 # Autoconf.
4237 for ac_file in $ac_files ''
4239 test -f "$ac_file" || continue
4240 case $ac_file in
4241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4243 [ab].out )
4244 # We found the default executable, but exeext='' is most
4245 # certainly right.
4246 break;;
4247 *.* )
4248 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4249 then :; else
4250 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4252 # We set ac_cv_exeext here because the later test for it is not
4253 # safe: cross compilers may not add the suffix if given an `-o'
4254 # argument, so we may need to know it at that point already.
4255 # Even if this section looks crufty: it has the advantage of
4256 # actually working.
4257 break;;
4259 break;;
4260 esac
4261 done
4262 test "$ac_cv_exeext" = no && ac_cv_exeext=
4264 else
4265 ac_file=''
4267 if test -z "$ac_file"; then :
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4270 $as_echo "$as_me: failed program was:" >&5
4271 sed 's/^/| /' conftest.$ac_ext >&5
4273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4275 as_fn_error 77 "C compiler cannot create executables
4276 See \`config.log' for more details" "$LINENO" 5; }
4277 else
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4279 $as_echo "yes" >&6; }
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4282 $as_echo_n "checking for C compiler default output file name... " >&6; }
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4284 $as_echo "$ac_file" >&6; }
4285 ac_exeext=$ac_cv_exeext
4287 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4288 ac_clean_files=$ac_clean_files_save
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4290 $as_echo_n "checking for suffix of executables... " >&6; }
4291 if { { ac_try="$ac_link"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 $as_echo "$ac_try_echo"; } >&5
4298 (eval "$ac_link") 2>&5
4299 ac_status=$?
4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301 test $ac_status = 0; }; then :
4302 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4303 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4304 # work properly (i.e., refer to `conftest.exe'), while it won't with
4305 # `rm'.
4306 for ac_file in conftest.exe conftest conftest.*; do
4307 test -f "$ac_file" || continue
4308 case $ac_file in
4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4310 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4311 break;;
4312 * ) break;;
4313 esac
4314 done
4315 else
4316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4318 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4319 See \`config.log' for more details" "$LINENO" 5; }
4321 rm -f conftest conftest$ac_cv_exeext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4323 $as_echo "$ac_cv_exeext" >&6; }
4325 rm -f conftest.$ac_ext
4326 EXEEXT=$ac_cv_exeext
4327 ac_exeext=$EXEEXT
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4330 #include <stdio.h>
4332 main ()
4334 FILE *f = fopen ("conftest.out", "w");
4335 return ferror (f) || fclose (f) != 0;
4338 return 0;
4340 _ACEOF
4341 ac_clean_files="$ac_clean_files conftest.out"
4342 # Check that the compiler produces executables we can run. If not, either
4343 # the compiler is broken, or we cross compile.
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4345 $as_echo_n "checking whether we are cross compiling... " >&6; }
4346 if test "$cross_compiling" != yes; then
4347 { { ac_try="$ac_link"
4348 case "(($ac_try" in
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4351 esac
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_link") 2>&5
4355 ac_status=$?
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }
4358 if { ac_try='./conftest$ac_cv_exeext'
4359 { { case "(($ac_try" in
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4362 esac
4363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4364 $as_echo "$ac_try_echo"; } >&5
4365 (eval "$ac_try") 2>&5
4366 ac_status=$?
4367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4368 test $ac_status = 0; }; }; then
4369 cross_compiling=no
4370 else
4371 if test "$cross_compiling" = maybe; then
4372 cross_compiling=yes
4373 else
4374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4376 as_fn_error $? "cannot run C compiled programs.
4377 If you meant to cross compile, use \`--host'.
4378 See \`config.log' for more details" "$LINENO" 5; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4383 $as_echo "$cross_compiling" >&6; }
4385 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4386 ac_clean_files=$ac_clean_files_save
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4388 $as_echo_n "checking for suffix of object files... " >&6; }
4389 if ${ac_cv_objext+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4396 main ()
4400 return 0;
4402 _ACEOF
4403 rm -f conftest.o conftest.obj
4404 if { { ac_try="$ac_compile"
4405 case "(($ac_try" in
4406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4407 *) ac_try_echo=$ac_try;;
4408 esac
4409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_compile") 2>&5
4412 ac_status=$?
4413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4414 test $ac_status = 0; }; then :
4415 for ac_file in conftest.o conftest.obj conftest.*; do
4416 test -f "$ac_file" || continue;
4417 case $ac_file in
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4419 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4420 break;;
4421 esac
4422 done
4423 else
4424 $as_echo "$as_me: failed program was:" >&5
4425 sed 's/^/| /' conftest.$ac_ext >&5
4427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4429 as_fn_error $? "cannot compute suffix of object files: cannot compile
4430 See \`config.log' for more details" "$LINENO" 5; }
4432 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4435 $as_echo "$ac_cv_objext" >&6; }
4436 OBJEXT=$ac_cv_objext
4437 ac_objext=$OBJEXT
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4439 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4440 if ${ac_cv_c_compiler_gnu+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4447 main ()
4449 #ifndef __GNUC__
4450 choke me
4451 #endif
4454 return 0;
4456 _ACEOF
4457 if ac_fn_c_try_compile "$LINENO"; then :
4458 ac_compiler_gnu=yes
4459 else
4460 ac_compiler_gnu=no
4462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4463 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4467 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4468 if test $ac_compiler_gnu = yes; then
4469 GCC=yes
4470 else
4471 GCC=
4473 ac_test_CFLAGS=${CFLAGS+set}
4474 ac_save_CFLAGS=$CFLAGS
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4476 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4477 if ${ac_cv_prog_cc_g+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 ac_save_c_werror_flag=$ac_c_werror_flag
4481 ac_c_werror_flag=yes
4482 ac_cv_prog_cc_g=no
4483 CFLAGS="-g"
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4488 main ()
4492 return 0;
4494 _ACEOF
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496 ac_cv_prog_cc_g=yes
4497 else
4498 CFLAGS=""
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4503 main ()
4507 return 0;
4509 _ACEOF
4510 if ac_fn_c_try_compile "$LINENO"; then :
4512 else
4513 ac_c_werror_flag=$ac_save_c_werror_flag
4514 CFLAGS="-g"
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4519 main ()
4523 return 0;
4525 _ACEOF
4526 if ac_fn_c_try_compile "$LINENO"; then :
4527 ac_cv_prog_cc_g=yes
4529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 ac_c_werror_flag=$ac_save_c_werror_flag
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4537 $as_echo "$ac_cv_prog_cc_g" >&6; }
4538 if test "$ac_test_CFLAGS" = set; then
4539 CFLAGS=$ac_save_CFLAGS
4540 elif test $ac_cv_prog_cc_g = yes; then
4541 if test "$GCC" = yes; then
4542 CFLAGS="-g -O2"
4543 else
4544 CFLAGS="-g"
4546 else
4547 if test "$GCC" = yes; then
4548 CFLAGS="-O2"
4549 else
4550 CFLAGS=
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4554 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4555 if ${ac_cv_prog_cc_c89+:} false; then :
4556 $as_echo_n "(cached) " >&6
4557 else
4558 ac_cv_prog_cc_c89=no
4559 ac_save_CC=$CC
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4562 #include <stdarg.h>
4563 #include <stdio.h>
4564 struct stat;
4565 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4566 struct buf { int x; };
4567 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4568 static char *e (p, i)
4569 char **p;
4570 int i;
4572 return p[i];
4574 static char *f (char * (*g) (char **, int), char **p, ...)
4576 char *s;
4577 va_list v;
4578 va_start (v,p);
4579 s = g (p, va_arg (v,int));
4580 va_end (v);
4581 return s;
4584 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4585 function prototypes and stuff, but not '\xHH' hex character constants.
4586 These don't provoke an error unfortunately, instead are silently treated
4587 as 'x'. The following induces an error, until -std is added to get
4588 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4589 array size at least. It's necessary to write '\x00'==0 to get something
4590 that's true only with -std. */
4591 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4593 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4594 inside strings and character constants. */
4595 #define FOO(x) 'x'
4596 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4598 int test (int i, double x);
4599 struct s1 {int (*f) (int a);};
4600 struct s2 {int (*f) (double a);};
4601 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4602 int argc;
4603 char **argv;
4605 main ()
4607 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4609 return 0;
4611 _ACEOF
4612 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4613 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4615 CC="$ac_save_CC $ac_arg"
4616 if ac_fn_c_try_compile "$LINENO"; then :
4617 ac_cv_prog_cc_c89=$ac_arg
4619 rm -f core conftest.err conftest.$ac_objext
4620 test "x$ac_cv_prog_cc_c89" != "xno" && break
4621 done
4622 rm -f conftest.$ac_ext
4623 CC=$ac_save_CC
4626 # AC_CACHE_VAL
4627 case "x$ac_cv_prog_cc_c89" in
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4630 $as_echo "none needed" >&6; } ;;
4631 xno)
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4633 $as_echo "unsupported" >&6; } ;;
4635 CC="$CC $ac_cv_prog_cc_c89"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4637 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4638 esac
4639 if test "x$ac_cv_prog_cc_c89" != xno; then :
4643 ac_ext=c
4644 ac_cpp='$CPP $CPPFLAGS'
4645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4649 ac_ext=cpp
4650 ac_cpp='$CXXCPP $CPPFLAGS'
4651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4654 if test -z "$CXX"; then
4655 if test -n "$CCC"; then
4656 CXX=$CCC
4657 else
4658 if test -n "$ac_tool_prefix"; then
4659 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_prog_CXX+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 if test -n "$CXX"; then
4669 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4670 else
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH
4674 IFS=$as_save_IFS
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 break 2
4682 done
4683 done
4684 IFS=$as_save_IFS
4688 CXX=$ac_cv_prog_CXX
4689 if test -n "$CXX"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4691 $as_echo "$CXX" >&6; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4698 test -n "$CXX" && break
4699 done
4701 if test -z "$CXX"; then
4702 ac_ct_CXX=$CXX
4703 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4705 # Extract the first word of "$ac_prog", so it can be a program name with args.
4706 set dummy $ac_prog; ac_word=$2
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 $as_echo_n "checking for $ac_word... " >&6; }
4709 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4710 $as_echo_n "(cached) " >&6
4711 else
4712 if test -n "$ac_ct_CXX"; then
4713 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4714 else
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 for as_dir in $PATH
4718 IFS=$as_save_IFS
4719 test -z "$as_dir" && as_dir=.
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_ac_ct_CXX="$ac_prog"
4723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 break 2
4726 done
4727 done
4728 IFS=$as_save_IFS
4732 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4733 if test -n "$ac_ct_CXX"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4735 $as_echo "$ac_ct_CXX" >&6; }
4736 else
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4742 test -n "$ac_ct_CXX" && break
4743 done
4745 if test "x$ac_ct_CXX" = x; then
4746 CXX="g++"
4747 else
4748 case $cross_compiling:$ac_tool_warned in
4749 yes:)
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned=yes ;;
4753 esac
4754 CXX=$ac_ct_CXX
4760 # Provide some information about the compiler.
4761 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4762 set X $ac_compile
4763 ac_compiler=$2
4764 for ac_option in --version -v -V -qversion; do
4765 { { ac_try="$ac_compiler $ac_option >&5"
4766 case "(($ac_try" in
4767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4768 *) ac_try_echo=$ac_try;;
4769 esac
4770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4771 $as_echo "$ac_try_echo"; } >&5
4772 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4773 ac_status=$?
4774 if test -s conftest.err; then
4775 sed '10a\
4776 ... rest of stderr output deleted ...
4777 10q' conftest.err >conftest.er1
4778 cat conftest.er1 >&5
4780 rm -f conftest.er1 conftest.err
4781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4782 test $ac_status = 0; }
4783 done
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4786 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4787 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4788 $as_echo_n "(cached) " >&6
4789 else
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4794 main ()
4796 #ifndef __GNUC__
4797 choke me
4798 #endif
4801 return 0;
4803 _ACEOF
4804 if ac_fn_cxx_try_compile "$LINENO"; then :
4805 ac_compiler_gnu=yes
4806 else
4807 ac_compiler_gnu=no
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4814 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4815 if test $ac_compiler_gnu = yes; then
4816 GXX=yes
4817 else
4818 GXX=
4820 ac_test_CXXFLAGS=${CXXFLAGS+set}
4821 ac_save_CXXFLAGS=$CXXFLAGS
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4823 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4824 if ${ac_cv_prog_cxx_g+:} false; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4828 ac_cxx_werror_flag=yes
4829 ac_cv_prog_cxx_g=no
4830 CXXFLAGS="-g"
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4835 main ()
4839 return 0;
4841 _ACEOF
4842 if ac_fn_cxx_try_compile "$LINENO"; then :
4843 ac_cv_prog_cxx_g=yes
4844 else
4845 CXXFLAGS=""
4846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847 /* end confdefs.h. */
4850 main ()
4854 return 0;
4856 _ACEOF
4857 if ac_fn_cxx_try_compile "$LINENO"; then :
4859 else
4860 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4861 CXXFLAGS="-g"
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 if ac_fn_cxx_try_compile "$LINENO"; then :
4874 ac_cv_prog_cxx_g=yes
4876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4884 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4885 if test "$ac_test_CXXFLAGS" = set; then
4886 CXXFLAGS=$ac_save_CXXFLAGS
4887 elif test $ac_cv_prog_cxx_g = yes; then
4888 if test "$GXX" = yes; then
4889 CXXFLAGS="-g -O2"
4890 else
4891 CXXFLAGS="-g"
4893 else
4894 if test "$GXX" = yes; then
4895 CXXFLAGS="-O2"
4896 else
4897 CXXFLAGS=
4900 ac_ext=c
4901 ac_cpp='$CPP $CPPFLAGS'
4902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4906 if test -n "$ac_tool_prefix"; then
4907 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4908 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910 $as_echo_n "checking for $ac_word... " >&6; }
4911 if ${ac_cv_prog_CPPBIN+:} false; then :
4912 $as_echo_n "(cached) " >&6
4913 else
4914 if test -n "$CPPBIN"; then
4915 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4916 else
4917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918 for as_dir in $PATH
4920 IFS=$as_save_IFS
4921 test -z "$as_dir" && as_dir=.
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4924 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 break 2
4928 done
4929 done
4930 IFS=$as_save_IFS
4934 CPPBIN=$ac_cv_prog_CPPBIN
4935 if test -n "$CPPBIN"; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4937 $as_echo "$CPPBIN" >&6; }
4938 else
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4945 if test -z "$ac_cv_prog_CPPBIN"; then
4946 ac_ct_CPPBIN=$CPPBIN
4947 # Extract the first word of "cpp", so it can be a program name with args.
4948 set dummy cpp; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 if test -n "$ac_ct_CPPBIN"; then
4955 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_ac_ct_CPPBIN="cpp"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 break 2
4968 done
4969 done
4970 IFS=$as_save_IFS
4974 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4975 if test -n "$ac_ct_CPPBIN"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4977 $as_echo "$ac_ct_CPPBIN" >&6; }
4978 else
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4983 if test "x$ac_ct_CPPBIN" = x; then
4984 CPPBIN="cpp"
4985 else
4986 case $cross_compiling:$ac_tool_warned in
4987 yes:)
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4990 ac_tool_warned=yes ;;
4991 esac
4992 CPPBIN=$ac_ct_CPPBIN
4994 else
4995 CPPBIN="$ac_cv_prog_CPPBIN"
4999 cat >>confdefs.h <<_ACEOF
5000 #define EXEEXT "$ac_exeext"
5001 _ACEOF
5003 if test -n "$ac_tool_prefix"; then
5004 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5005 set dummy ${ac_tool_prefix}ld; ac_word=$2
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5008 if ${ac_cv_prog_LD+:} false; then :
5009 $as_echo_n "(cached) " >&6
5010 else
5011 if test -n "$LD"; then
5012 ac_cv_prog_LD="$LD" # Let the user override the test.
5013 else
5014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015 for as_dir in $PATH
5017 IFS=$as_save_IFS
5018 test -z "$as_dir" && as_dir=.
5019 for ac_exec_ext in '' $ac_executable_extensions; do
5020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_LD="${ac_tool_prefix}ld"
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 break 2
5025 done
5026 done
5027 IFS=$as_save_IFS
5031 LD=$ac_cv_prog_LD
5032 if test -n "$LD"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5034 $as_echo "$LD" >&6; }
5035 else
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5042 if test -z "$ac_cv_prog_LD"; then
5043 ac_ct_LD=$LD
5044 # Extract the first word of "ld", so it can be a program name with args.
5045 set dummy ld; ac_word=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5049 $as_echo_n "(cached) " >&6
5050 else
5051 if test -n "$ac_ct_LD"; then
5052 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5053 else
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 for as_dir in $PATH
5057 IFS=$as_save_IFS
5058 test -z "$as_dir" && as_dir=.
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_ac_ct_LD="ld"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 break 2
5065 done
5066 done
5067 IFS=$as_save_IFS
5071 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5072 if test -n "$ac_ct_LD"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5074 $as_echo "$ac_ct_LD" >&6; }
5075 else
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5080 if test "x$ac_ct_LD" = x; then
5081 LD=""
5082 else
5083 case $cross_compiling:$ac_tool_warned in
5084 yes:)
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned=yes ;;
5088 esac
5089 LD=$ac_ct_LD
5091 else
5092 LD="$ac_cv_prog_LD"
5096 case $host in
5097 *-darwin*)
5098 with_fontconfig=${with_fontconfig:-no}
5100 *-mingw32*|*-cygwin*)
5101 enable_win16=${enable_win16:-no}
5102 CFLAGS="$CFLAGS -D_WIN32"
5104 esac
5106 case $host in
5107 x86_64*|amd64*)
5108 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5109 then
5110 CC="$CC -m32"
5111 CXX="$CXX -m32"
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5113 $as_echo_n "checking whether $CC works... " >&6; }
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5119 main ()
5123 return 0;
5125 _ACEOF
5126 if ac_fn_c_try_link "$LINENO"; then :
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5128 $as_echo "yes" >&6; }
5129 else
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5132 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5134 rm -f core conftest.err conftest.$ac_objext \
5135 conftest$ac_exeext conftest.$ac_ext
5136 host_cpu="i386"
5137 notice_platform="32-bit "
5138 TARGETFLAGS="-m32"
5140 enable_win16=${enable_win16:-yes}
5141 else
5142 if test "x${GCC}" = "xyes"
5143 then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5145 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148 #include <stdarg.h>
5150 main ()
5152 void func(__builtin_ms_va_list *args);
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159 $as_echo "yes" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5163 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5167 CC="$CC -m64"
5168 CXX="$CXX -m64"
5169 host_cpu="x86_64"
5170 notice_platform="64-bit "
5171 TARGETFLAGS="-m64"
5175 arm*)
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5177 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5179 /* end confdefs.h. */
5180 int ac_test(int i) { return i; }
5182 main ()
5184 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5186 return 0;
5188 _ACEOF
5189 if ac_fn_c_try_link "$LINENO"; then :
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 $as_echo "yes" >&6; }
5192 else
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5195 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5197 rm -f core conftest.err conftest.$ac_objext \
5198 conftest$ac_exeext conftest.$ac_ext
5199 CFLAGS="$CFLAGS -marm"
5200 TARGETFLAGS="-marm"
5203 i[3456789]86*)
5204 enable_win16=${enable_win16:-yes}
5206 esac
5208 enable_win16=${enable_win16:-no}
5209 enable_win64=${enable_win64:-no}
5211 enable_winetest=${enable_winetest:-$enable_tests}
5213 if test -n "$with_wine64"
5214 then
5215 if test "x$enable_win64" = "xyes"
5216 then
5217 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5218 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5220 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5221 You should create a separate build directory and run configure from there." "$LINENO" 5
5222 enable_fonts=${enable_fonts:-no}
5223 enable_server=${enable_server:-no}
5224 elif test "x$enable_win64" = "xyes"
5225 then
5226 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5230 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5231 if ${wine_cv_toolsdir+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 wine_cv_toolsdir="$with_wine_tools"
5235 if test -z "$with_wine_tools"; then
5236 if test "$cross_compiling" = "yes"; then
5237 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5238 elif test -n "$with_wine64"; then
5239 wine_cv_toolsdir="$with_wine64"
5242 if test -z "$wine_cv_toolsdir"; then
5243 wine_makedep=tools/makedep
5244 wine_cv_toolsdir="\$(top_builddir)"
5245 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5246 wine_makedep=$wine_cv_toolsdir/tools/makedep
5247 case "$wine_cv_toolsdir" in
5248 /*) ;;
5249 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5250 esac
5251 enable_tools=${enable_tools:-no}
5252 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5253 else
5254 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5258 $as_echo "$wine_cv_toolsdir" >&6; }
5259 TOOLSDIR=$wine_cv_toolsdir
5261 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5262 then
5263 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5267 for ac_prog in flex
5269 # Extract the first word of "$ac_prog", so it can be a program name with args.
5270 set dummy $ac_prog; ac_word=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if ${ac_cv_prog_FLEX+:} false; then :
5274 $as_echo_n "(cached) " >&6
5275 else
5276 if test -n "$FLEX"; then
5277 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5278 else
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5282 IFS=$as_save_IFS
5283 test -z "$as_dir" && as_dir=.
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5286 ac_cv_prog_FLEX="$ac_prog"
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 break 2
5290 done
5291 done
5292 IFS=$as_save_IFS
5296 FLEX=$ac_cv_prog_FLEX
5297 if test -n "$FLEX"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5299 $as_echo "$FLEX" >&6; }
5300 else
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5306 test -n "$FLEX" && break
5307 done
5308 test -n "$FLEX" || FLEX="none"
5310 if test "$FLEX" = "none"
5311 then
5312 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5315 $as_echo_n "checking whether flex is recent enough... " >&6; }
5316 cat >conftest.l <<EOF
5317 %top{
5318 #include "prediluvian.h"
5322 if $FLEX -t conftest.l >/dev/null 2>&5
5323 then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5325 $as_echo "yes" >&6; }
5326 else
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5329 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5332 for ac_prog in bison
5334 # Extract the first word of "$ac_prog", so it can be a program name with args.
5335 set dummy $ac_prog; ac_word=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_prog_BISON+:} false; then :
5339 $as_echo_n "(cached) " >&6
5340 else
5341 if test -n "$BISON"; then
5342 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5343 else
5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 for as_dir in $PATH
5347 IFS=$as_save_IFS
5348 test -z "$as_dir" && as_dir=.
5349 for ac_exec_ext in '' $ac_executable_extensions; do
5350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5351 ac_cv_prog_BISON="$ac_prog"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 break 2
5355 done
5356 done
5357 IFS=$as_save_IFS
5361 BISON=$ac_cv_prog_BISON
5362 if test -n "$BISON"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5364 $as_echo "$BISON" >&6; }
5365 else
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5371 test -n "$BISON" && break
5372 done
5373 test -n "$BISON" || BISON="none"
5375 if test "$BISON" = "none"
5376 then
5377 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5380 if test -n "$ac_tool_prefix"; then
5381 for ac_prog in ar gar
5383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_AR+:} false; then :
5388 $as_echo_n "(cached) " >&6
5389 else
5390 if test -n "$AR"; then
5391 ac_cv_prog_AR="$AR" # Let the user override the test.
5392 else
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 for as_dir in $PATH
5396 IFS=$as_save_IFS
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5400 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 break 2
5404 done
5405 done
5406 IFS=$as_save_IFS
5410 AR=$ac_cv_prog_AR
5411 if test -n "$AR"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5413 $as_echo "$AR" >&6; }
5414 else
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5420 test -n "$AR" && break
5421 done
5423 if test -z "$AR"; then
5424 ac_ct_AR=$AR
5425 for ac_prog in ar gar
5427 # Extract the first word of "$ac_prog", so it can be a program name with args.
5428 set dummy $ac_prog; ac_word=$2
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430 $as_echo_n "checking for $ac_word... " >&6; }
5431 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5432 $as_echo_n "(cached) " >&6
5433 else
5434 if test -n "$ac_ct_AR"; then
5435 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5436 else
5437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 for as_dir in $PATH
5440 IFS=$as_save_IFS
5441 test -z "$as_dir" && as_dir=.
5442 for ac_exec_ext in '' $ac_executable_extensions; do
5443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5444 ac_cv_prog_ac_ct_AR="$ac_prog"
5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 break 2
5448 done
5449 done
5450 IFS=$as_save_IFS
5454 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5455 if test -n "$ac_ct_AR"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5457 $as_echo "$ac_ct_AR" >&6; }
5458 else
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5464 test -n "$ac_ct_AR" && break
5465 done
5467 if test "x$ac_ct_AR" = x; then
5468 AR="ar"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5474 ac_tool_warned=yes ;;
5475 esac
5476 AR=$ac_ct_AR
5480 if test -n "$ac_tool_prefix"; then
5481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5482 set dummy ${ac_tool_prefix}strip; ac_word=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_STRIP+:} false; then :
5486 $as_echo_n "(cached) " >&6
5487 else
5488 if test -n "$STRIP"; then
5489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5490 else
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 break 2
5502 done
5503 done
5504 IFS=$as_save_IFS
5508 STRIP=$ac_cv_prog_STRIP
5509 if test -n "$STRIP"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5511 $as_echo "$STRIP" >&6; }
5512 else
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5519 if test -z "$ac_cv_prog_STRIP"; then
5520 ac_ct_STRIP=$STRIP
5521 # Extract the first word of "strip", so it can be a program name with args.
5522 set dummy strip; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5526 $as_echo_n "(cached) " >&6
5527 else
5528 if test -n "$ac_ct_STRIP"; then
5529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_ac_ct_STRIP="strip"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 break 2
5542 done
5543 done
5544 IFS=$as_save_IFS
5548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5549 if test -n "$ac_ct_STRIP"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5551 $as_echo "$ac_ct_STRIP" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5557 if test "x$ac_ct_STRIP" = x; then
5558 STRIP="strip"
5559 else
5560 case $cross_compiling:$ac_tool_warned in
5561 yes:)
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5564 ac_tool_warned=yes ;;
5565 esac
5566 STRIP=$ac_ct_STRIP
5568 else
5569 STRIP="$ac_cv_prog_STRIP"
5572 ARFLAGS=rc
5574 if test -n "$ac_tool_prefix"; then
5575 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5576 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5578 $as_echo_n "checking for $ac_word... " >&6; }
5579 if ${ac_cv_prog_RANLIB+:} false; then :
5580 $as_echo_n "(cached) " >&6
5581 else
5582 if test -n "$RANLIB"; then
5583 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5584 else
5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5586 for as_dir in $PATH
5588 IFS=$as_save_IFS
5589 test -z "$as_dir" && as_dir=.
5590 for ac_exec_ext in '' $ac_executable_extensions; do
5591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5592 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 break 2
5596 done
5597 done
5598 IFS=$as_save_IFS
5602 RANLIB=$ac_cv_prog_RANLIB
5603 if test -n "$RANLIB"; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5605 $as_echo "$RANLIB" >&6; }
5606 else
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5613 if test -z "$ac_cv_prog_RANLIB"; then
5614 ac_ct_RANLIB=$RANLIB
5615 # Extract the first word of "ranlib", so it can be a program name with args.
5616 set dummy ranlib; ac_word=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if test -n "$ac_ct_RANLIB"; then
5623 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5628 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_ac_ct_RANLIB="ranlib"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5636 done
5637 done
5638 IFS=$as_save_IFS
5642 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5643 if test -n "$ac_ct_RANLIB"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5645 $as_echo "$ac_ct_RANLIB" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5651 if test "x$ac_ct_RANLIB" = x; then
5652 RANLIB=":"
5653 else
5654 case $cross_compiling:$ac_tool_warned in
5655 yes:)
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5658 ac_tool_warned=yes ;;
5659 esac
5660 RANLIB=$ac_ct_RANLIB
5662 else
5663 RANLIB="$ac_cv_prog_RANLIB"
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5667 $as_echo_n "checking whether ln -s works... " >&6; }
5668 LN_S=$as_ln_s
5669 if test "$LN_S" = "ln -s"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5671 $as_echo "yes" >&6; }
5672 else
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5674 $as_echo "no, using $LN_S" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5678 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5679 if ${ac_cv_path_GREP+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 if test -z "$GREP"; then
5683 ac_path_GREP_found=false
5684 # Loop through the user's path and test for each of PROGNAME-LIST
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5688 IFS=$as_save_IFS
5689 test -z "$as_dir" && as_dir=.
5690 for ac_prog in grep ggrep; do
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5693 as_fn_executable_p "$ac_path_GREP" || continue
5694 # Check for GNU ac_path_GREP and select it if it is found.
5695 # Check for GNU $ac_path_GREP
5696 case `"$ac_path_GREP" --version 2>&1` in
5697 *GNU*)
5698 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5700 ac_count=0
5701 $as_echo_n 0123456789 >"conftest.in"
5702 while :
5704 cat "conftest.in" "conftest.in" >"conftest.tmp"
5705 mv "conftest.tmp" "conftest.in"
5706 cp "conftest.in" "conftest.nl"
5707 $as_echo 'GREP' >> "conftest.nl"
5708 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5709 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5710 as_fn_arith $ac_count + 1 && ac_count=$as_val
5711 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5712 # Best one so far, save it but keep looking for a better one
5713 ac_cv_path_GREP="$ac_path_GREP"
5714 ac_path_GREP_max=$ac_count
5716 # 10*(2^10) chars as input seems more than enough
5717 test $ac_count -gt 10 && break
5718 done
5719 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5720 esac
5722 $ac_path_GREP_found && break 3
5723 done
5724 done
5725 done
5726 IFS=$as_save_IFS
5727 if test -z "$ac_cv_path_GREP"; then
5728 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5730 else
5731 ac_cv_path_GREP=$GREP
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5736 $as_echo "$ac_cv_path_GREP" >&6; }
5737 GREP="$ac_cv_path_GREP"
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5741 $as_echo_n "checking for egrep... " >&6; }
5742 if ${ac_cv_path_EGREP+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5746 then ac_cv_path_EGREP="$GREP -E"
5747 else
5748 if test -z "$EGREP"; then
5749 ac_path_EGREP_found=false
5750 # Loop through the user's path and test for each of PROGNAME-LIST
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_prog in egrep; do
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5759 as_fn_executable_p "$ac_path_EGREP" || continue
5760 # Check for GNU ac_path_EGREP and select it if it is found.
5761 # Check for GNU $ac_path_EGREP
5762 case `"$ac_path_EGREP" --version 2>&1` in
5763 *GNU*)
5764 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5766 ac_count=0
5767 $as_echo_n 0123456789 >"conftest.in"
5768 while :
5770 cat "conftest.in" "conftest.in" >"conftest.tmp"
5771 mv "conftest.tmp" "conftest.in"
5772 cp "conftest.in" "conftest.nl"
5773 $as_echo 'EGREP' >> "conftest.nl"
5774 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5775 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5776 as_fn_arith $ac_count + 1 && ac_count=$as_val
5777 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5778 # Best one so far, save it but keep looking for a better one
5779 ac_cv_path_EGREP="$ac_path_EGREP"
5780 ac_path_EGREP_max=$ac_count
5782 # 10*(2^10) chars as input seems more than enough
5783 test $ac_count -gt 10 && break
5784 done
5785 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5786 esac
5788 $ac_path_EGREP_found && break 3
5789 done
5790 done
5791 done
5792 IFS=$as_save_IFS
5793 if test -z "$ac_cv_path_EGREP"; then
5794 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5796 else
5797 ac_cv_path_EGREP=$EGREP
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5803 $as_echo "$ac_cv_path_EGREP" >&6; }
5804 EGREP="$ac_cv_path_EGREP"
5807 # Extract the first word of "ldconfig", so it can be a program name with args.
5808 set dummy ldconfig; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_path_LDCONFIG+:} false; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 case $LDCONFIG in
5815 [\\/]* | ?:[\\/]*)
5816 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in /sbin /usr/sbin $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5834 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5836 esac
5838 LDCONFIG=$ac_cv_path_LDCONFIG
5839 if test -n "$LDCONFIG"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5841 $as_echo "$LDCONFIG" >&6; }
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 for ac_prog in msgfmt
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_MSGFMT+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$MSGFMT"; then
5858 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_MSGFMT="$ac_prog"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 MSGFMT=$ac_cv_prog_MSGFMT
5878 if test -n "$MSGFMT"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5880 $as_echo "$MSGFMT" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 test -n "$MSGFMT" && break
5888 done
5889 test -n "$MSGFMT" || MSGFMT="false"
5891 if ${ac_tool_prefix+:} false; then :
5892 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5893 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 if test -n "$PKG_CONFIG"; then
5900 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5919 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5920 if test -n "$PKG_CONFIG"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5922 $as_echo "$PKG_CONFIG" >&6; }
5923 else
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5930 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5931 if test "x$cross_compiling" = xyes; then :
5933 else
5934 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5935 # Extract the first word of "pkg-config", so it can be a program name with args.
5936 set dummy pkg-config; ac_word=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5938 $as_echo_n "checking for $ac_word... " >&6; }
5939 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 if test -n "$PKG_CONFIG"; then
5943 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5944 else
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 for as_dir in $PATH
5948 IFS=$as_save_IFS
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_PKG_CONFIG="pkg-config"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 break 2
5956 done
5957 done
5958 IFS=$as_save_IFS
5962 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5963 if test -n "$PKG_CONFIG"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5965 $as_echo "$PKG_CONFIG" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5973 else
5974 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5977 if test "x$enable_maintainer_mode" != "xyes"
5978 then
5979 FONTFORGE=""
5980 RSVG=""
5981 CONVERT=""
5982 ICOTOOL=""
5983 else
5984 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5985 for ac_prog in fontforge
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy $ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_FONTFORGE+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 if test -n "$FONTFORGE"; then
5995 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_FONTFORGE="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6014 FONTFORGE=$ac_cv_prog_FONTFORGE
6015 if test -n "$FONTFORGE"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6017 $as_echo "$FONTFORGE" >&6; }
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$FONTFORGE" && break
6025 done
6026 test -n "$FONTFORGE" || FONTFORGE="false"
6028 for ac_prog in rsvg-convert rsvg
6030 # Extract the first word of "$ac_prog", so it can be a program name with args.
6031 set dummy $ac_prog; ac_word=$2
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033 $as_echo_n "checking for $ac_word... " >&6; }
6034 if ${ac_cv_prog_RSVG+:} false; then :
6035 $as_echo_n "(cached) " >&6
6036 else
6037 if test -n "$RSVG"; then
6038 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6039 else
6040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041 for as_dir in $PATH
6043 IFS=$as_save_IFS
6044 test -z "$as_dir" && as_dir=.
6045 for ac_exec_ext in '' $ac_executable_extensions; do
6046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6047 ac_cv_prog_RSVG="$ac_prog"
6048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049 break 2
6051 done
6052 done
6053 IFS=$as_save_IFS
6057 RSVG=$ac_cv_prog_RSVG
6058 if test -n "$RSVG"; then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6060 $as_echo "$RSVG" >&6; }
6061 else
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6063 $as_echo "no" >&6; }
6067 test -n "$RSVG" && break
6068 done
6069 test -n "$RSVG" || RSVG="false"
6071 for ac_prog in convert
6073 # Extract the first word of "$ac_prog", so it can be a program name with args.
6074 set dummy $ac_prog; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if ${ac_cv_prog_CONVERT+:} false; then :
6078 $as_echo_n "(cached) " >&6
6079 else
6080 if test -n "$CONVERT"; then
6081 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6086 IFS=$as_save_IFS
6087 test -z "$as_dir" && as_dir=.
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_CONVERT="$ac_prog"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 CONVERT=$ac_cv_prog_CONVERT
6101 if test -n "$CONVERT"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6103 $as_echo "$CONVERT" >&6; }
6104 else
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6110 test -n "$CONVERT" && break
6111 done
6112 test -n "$CONVERT" || CONVERT="false"
6114 for ac_prog in icotool
6116 # Extract the first word of "$ac_prog", so it can be a program name with args.
6117 set dummy $ac_prog; ac_word=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 $as_echo_n "checking for $ac_word... " >&6; }
6120 if ${ac_cv_prog_ICOTOOL+:} false; then :
6121 $as_echo_n "(cached) " >&6
6122 else
6123 if test -n "$ICOTOOL"; then
6124 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6125 else
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 for as_dir in $PATH
6129 IFS=$as_save_IFS
6130 test -z "$as_dir" && as_dir=.
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ICOTOOL="$ac_prog"
6134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6139 IFS=$as_save_IFS
6143 ICOTOOL=$ac_cv_prog_ICOTOOL
6144 if test -n "$ICOTOOL"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6146 $as_echo "$ICOTOOL" >&6; }
6147 else
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 $as_echo "no" >&6; }
6153 test -n "$ICOTOOL" && break
6154 done
6155 test -n "$ICOTOOL" || ICOTOOL="false"
6157 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6158 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6160 if test "$CONVERT" = false
6161 then
6162 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6163 else
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6165 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6166 convert_version=`convert --version | head -n1`
6167 if test "x$convert_version" != "x"
6168 then
6169 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6170 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6171 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6172 then
6173 CONVERT=false
6176 if test "$CONVERT" = false
6177 then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6179 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6180 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6183 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6187 if test "$ICOTOOL" = false
6188 then
6189 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6192 $as_echo_n "checking for recent enough icotool... " >&6; }
6193 icotool_version=`icotool --version | head -n1`
6194 if test "x$icotool_version" != "x"
6195 then
6196 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6197 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6198 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6199 then
6200 ICOTOOL=false
6201 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6204 if test "$ICOTOOL" = false
6205 then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6207 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6208 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6209 else
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6211 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6215 with_gettext=yes
6216 with_gettextpo=yes
6217 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6220 test "x$with_gettext" != xno || MSGFMT=false
6221 if test "$MSGFMT" != "false"
6222 then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6224 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6225 cat >conftest.po <<EOF
6226 # comment
6227 msgctxt "ctxt"
6228 msgid "id"
6229 msgstr "str"
6231 if $MSGFMT -o /dev/null conftest.po 2>&5
6232 then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6234 $as_echo "yes" >&6; }
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6238 MSGFMT=false
6241 if test "$MSGFMT" = false; then :
6242 case "x$with_gettext" in
6243 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6244 xno) ;;
6245 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6246 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6247 esac
6248 enable_po=${enable_po:-no}
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6253 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6254 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 ac_check_lib_save_LIBS=$LIBS
6258 LIBS="-li386 $LIBS"
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6265 #ifdef __cplusplus
6266 extern "C"
6267 #endif
6268 char i386_set_ldt ();
6270 main ()
6272 return i386_set_ldt ();
6274 return 0;
6276 _ACEOF
6277 if ac_fn_c_try_link "$LINENO"; then :
6278 ac_cv_lib_i386_i386_set_ldt=yes
6279 else
6280 ac_cv_lib_i386_i386_set_ldt=no
6282 rm -f core conftest.err conftest.$ac_objext \
6283 conftest$ac_exeext conftest.$ac_ext
6284 LIBS=$ac_check_lib_save_LIBS
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6287 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6288 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6289 cat >>confdefs.h <<_ACEOF
6290 #define HAVE_LIBI386 1
6291 _ACEOF
6293 LIBS="-li386 $LIBS"
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6298 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6299 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6300 $as_echo_n "(cached) " >&6
6301 else
6302 ac_check_lib_save_LIBS=$LIBS
6303 LIBS="-lossaudio $LIBS"
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6307 /* Override any GCC internal prototype to avoid an error.
6308 Use char because int might match the return type of a GCC
6309 builtin and then its argument prototype would still apply. */
6310 #ifdef __cplusplus
6311 extern "C"
6312 #endif
6313 char _oss_ioctl ();
6315 main ()
6317 return _oss_ioctl ();
6319 return 0;
6321 _ACEOF
6322 if ac_fn_c_try_link "$LINENO"; then :
6323 ac_cv_lib_ossaudio__oss_ioctl=yes
6324 else
6325 ac_cv_lib_ossaudio__oss_ioctl=no
6327 rm -f core conftest.err conftest.$ac_objext \
6328 conftest$ac_exeext conftest.$ac_ext
6329 LIBS=$ac_check_lib_save_LIBS
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6332 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6333 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6334 cat >>confdefs.h <<_ACEOF
6335 #define HAVE_LIBOSSAUDIO 1
6336 _ACEOF
6338 LIBS="-lossaudio $LIBS"
6343 OPENGL_LIBS=""
6347 # Check whether --enable-largefile was given.
6348 if test "${enable_largefile+set}" = set; then :
6349 enableval=$enable_largefile;
6352 if test "$enable_largefile" != no; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6355 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6356 if ${ac_cv_sys_largefile_CC+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 ac_cv_sys_largefile_CC=no
6360 if test "$GCC" != yes; then
6361 ac_save_CC=$CC
6362 while :; do
6363 # IRIX 6.2 and later do not support large files by default,
6364 # so use the C compiler's -n32 option if that helps.
6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6367 #include <sys/types.h>
6368 /* Check that off_t can represent 2**63 - 1 correctly.
6369 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6370 since some C++ compilers masquerading as C compilers
6371 incorrectly reject 9223372036854775807. */
6372 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6374 && LARGE_OFF_T % 2147483647 == 1)
6375 ? 1 : -1];
6377 main ()
6381 return 0;
6383 _ACEOF
6384 if ac_fn_c_try_compile "$LINENO"; then :
6385 break
6387 rm -f core conftest.err conftest.$ac_objext
6388 CC="$CC -n32"
6389 if ac_fn_c_try_compile "$LINENO"; then :
6390 ac_cv_sys_largefile_CC=' -n32'; break
6392 rm -f core conftest.err conftest.$ac_objext
6393 break
6394 done
6395 CC=$ac_save_CC
6396 rm -f conftest.$ac_ext
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6400 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6401 if test "$ac_cv_sys_largefile_CC" != no; then
6402 CC=$CC$ac_cv_sys_largefile_CC
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6406 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6407 if ${ac_cv_sys_file_offset_bits+:} false; then :
6408 $as_echo_n "(cached) " >&6
6409 else
6410 while :; do
6411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6413 #include <sys/types.h>
6414 /* Check that off_t can represent 2**63 - 1 correctly.
6415 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6416 since some C++ compilers masquerading as C compilers
6417 incorrectly reject 9223372036854775807. */
6418 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6419 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6420 && LARGE_OFF_T % 2147483647 == 1)
6421 ? 1 : -1];
6423 main ()
6427 return 0;
6429 _ACEOF
6430 if ac_fn_c_try_compile "$LINENO"; then :
6431 ac_cv_sys_file_offset_bits=no; break
6433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #define _FILE_OFFSET_BITS 64
6437 #include <sys/types.h>
6438 /* Check that off_t can represent 2**63 - 1 correctly.
6439 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6440 since some C++ compilers masquerading as C compilers
6441 incorrectly reject 9223372036854775807. */
6442 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6443 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6444 && LARGE_OFF_T % 2147483647 == 1)
6445 ? 1 : -1];
6447 main ()
6451 return 0;
6453 _ACEOF
6454 if ac_fn_c_try_compile "$LINENO"; then :
6455 ac_cv_sys_file_offset_bits=64; break
6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6458 ac_cv_sys_file_offset_bits=unknown
6459 break
6460 done
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6463 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6464 case $ac_cv_sys_file_offset_bits in #(
6465 no | unknown) ;;
6467 cat >>confdefs.h <<_ACEOF
6468 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6469 _ACEOF
6471 esac
6472 rm -rf conftest*
6473 if test $ac_cv_sys_file_offset_bits = unknown; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6475 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6476 if ${ac_cv_sys_large_files+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 while :; do
6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6482 #include <sys/types.h>
6483 /* Check that off_t can represent 2**63 - 1 correctly.
6484 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6485 since some C++ compilers masquerading as C compilers
6486 incorrectly reject 9223372036854775807. */
6487 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6488 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6489 && LARGE_OFF_T % 2147483647 == 1)
6490 ? 1 : -1];
6492 main ()
6496 return 0;
6498 _ACEOF
6499 if ac_fn_c_try_compile "$LINENO"; then :
6500 ac_cv_sys_large_files=no; break
6502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6505 #define _LARGE_FILES 1
6506 #include <sys/types.h>
6507 /* Check that off_t can represent 2**63 - 1 correctly.
6508 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6509 since some C++ compilers masquerading as C compilers
6510 incorrectly reject 9223372036854775807. */
6511 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6512 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6513 && LARGE_OFF_T % 2147483647 == 1)
6514 ? 1 : -1];
6516 main ()
6520 return 0;
6522 _ACEOF
6523 if ac_fn_c_try_compile "$LINENO"; then :
6524 ac_cv_sys_large_files=1; break
6526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6527 ac_cv_sys_large_files=unknown
6528 break
6529 done
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6532 $as_echo "$ac_cv_sys_large_files" >&6; }
6533 case $ac_cv_sys_large_files in #(
6534 no | unknown) ;;
6536 cat >>confdefs.h <<_ACEOF
6537 #define _LARGE_FILES $ac_cv_sys_large_files
6538 _ACEOF
6540 esac
6541 rm -rf conftest*
6548 ac_ext=c
6549 ac_cpp='$CPP $CPPFLAGS'
6550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6554 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6555 # On Suns, sometimes $CPP names a directory.
6556 if test -n "$CPP" && test -d "$CPP"; then
6557 CPP=
6559 if test -z "$CPP"; then
6560 if ${ac_cv_prog_CPP+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 # Double quotes because CPP needs to be expanded
6564 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6566 ac_preproc_ok=false
6567 for ac_c_preproc_warn_flag in '' yes
6569 # Use a header file that comes with gcc, so configuring glibc
6570 # with a fresh cross-compiler works.
6571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6572 # <limits.h> exists even on freestanding compilers.
6573 # On the NeXT, cc -E runs the code through the compiler's parser,
6574 # not just through cpp. "Syntax error" is here to catch this case.
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #ifdef __STDC__
6578 # include <limits.h>
6579 #else
6580 # include <assert.h>
6581 #endif
6582 Syntax error
6583 _ACEOF
6584 if ac_fn_c_try_cpp "$LINENO"; then :
6586 else
6587 # Broken: fails on valid input.
6588 continue
6590 rm -f conftest.err conftest.i conftest.$ac_ext
6592 # OK, works on sane cases. Now check whether nonexistent headers
6593 # can be detected and how.
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <ac_nonexistent.h>
6597 _ACEOF
6598 if ac_fn_c_try_cpp "$LINENO"; then :
6599 # Broken: success on invalid input.
6600 continue
6601 else
6602 # Passes both tests.
6603 ac_preproc_ok=:
6604 break
6606 rm -f conftest.err conftest.i conftest.$ac_ext
6608 done
6609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6610 rm -f conftest.i conftest.err conftest.$ac_ext
6611 if $ac_preproc_ok; then :
6612 break
6615 done
6616 ac_cv_prog_CPP=$CPP
6619 CPP=$ac_cv_prog_CPP
6620 else
6621 ac_cv_prog_CPP=$CPP
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6624 $as_echo "$CPP" >&6; }
6625 ac_preproc_ok=false
6626 for ac_c_preproc_warn_flag in '' yes
6628 # Use a header file that comes with gcc, so configuring glibc
6629 # with a fresh cross-compiler works.
6630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6631 # <limits.h> exists even on freestanding compilers.
6632 # On the NeXT, cc -E runs the code through the compiler's parser,
6633 # not just through cpp. "Syntax error" is here to catch this case.
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636 #ifdef __STDC__
6637 # include <limits.h>
6638 #else
6639 # include <assert.h>
6640 #endif
6641 Syntax error
6642 _ACEOF
6643 if ac_fn_c_try_cpp "$LINENO"; then :
6645 else
6646 # Broken: fails on valid input.
6647 continue
6649 rm -f conftest.err conftest.i conftest.$ac_ext
6651 # OK, works on sane cases. Now check whether nonexistent headers
6652 # can be detected and how.
6653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6654 /* end confdefs.h. */
6655 #include <ac_nonexistent.h>
6656 _ACEOF
6657 if ac_fn_c_try_cpp "$LINENO"; then :
6658 # Broken: success on invalid input.
6659 continue
6660 else
6661 # Passes both tests.
6662 ac_preproc_ok=:
6663 break
6665 rm -f conftest.err conftest.i conftest.$ac_ext
6667 done
6668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6669 rm -f conftest.i conftest.err conftest.$ac_ext
6670 if $ac_preproc_ok; then :
6672 else
6673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6675 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6676 See \`config.log' for more details" "$LINENO" 5; }
6679 ac_ext=c
6680 ac_cpp='$CPP $CPPFLAGS'
6681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6687 $as_echo_n "checking for ANSI C header files... " >&6; }
6688 if ${ac_cv_header_stdc+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 #include <stdlib.h>
6694 #include <stdarg.h>
6695 #include <string.h>
6696 #include <float.h>
6699 main ()
6703 return 0;
6705 _ACEOF
6706 if ac_fn_c_try_compile "$LINENO"; then :
6707 ac_cv_header_stdc=yes
6708 else
6709 ac_cv_header_stdc=no
6711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6713 if test $ac_cv_header_stdc = yes; then
6714 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 #include <string.h>
6719 _ACEOF
6720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6721 $EGREP "memchr" >/dev/null 2>&1; then :
6723 else
6724 ac_cv_header_stdc=no
6726 rm -f conftest*
6730 if test $ac_cv_header_stdc = yes; then
6731 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6734 #include <stdlib.h>
6736 _ACEOF
6737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6738 $EGREP "free" >/dev/null 2>&1; then :
6740 else
6741 ac_cv_header_stdc=no
6743 rm -f conftest*
6747 if test $ac_cv_header_stdc = yes; then
6748 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6749 if test "$cross_compiling" = yes; then :
6751 else
6752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h. */
6754 #include <ctype.h>
6755 #include <stdlib.h>
6756 #if ((' ' & 0x0FF) == 0x020)
6757 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6758 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6759 #else
6760 # define ISLOWER(c) \
6761 (('a' <= (c) && (c) <= 'i') \
6762 || ('j' <= (c) && (c) <= 'r') \
6763 || ('s' <= (c) && (c) <= 'z'))
6764 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6765 #endif
6767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6769 main ()
6771 int i;
6772 for (i = 0; i < 256; i++)
6773 if (XOR (islower (i), ISLOWER (i))
6774 || toupper (i) != TOUPPER (i))
6775 return 2;
6776 return 0;
6778 _ACEOF
6779 if ac_fn_c_try_run "$LINENO"; then :
6781 else
6782 ac_cv_header_stdc=no
6784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6785 conftest.$ac_objext conftest.beam conftest.$ac_ext
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6791 $as_echo "$ac_cv_header_stdc" >&6; }
6792 if test $ac_cv_header_stdc = yes; then
6794 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6798 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6799 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6800 inttypes.h stdint.h unistd.h
6801 do :
6802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6803 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6805 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6806 cat >>confdefs.h <<_ACEOF
6807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6808 _ACEOF
6812 done
6815 for ac_header in \
6816 AL/al.h \
6817 ApplicationServices/ApplicationServices.h \
6818 AudioToolbox/AudioConverter.h \
6819 AudioUnit/AudioUnit.h \
6820 AudioUnit/AudioComponent.h \
6821 CL/cl.h \
6822 Carbon/Carbon.h \
6823 CommonCrypto/CommonDigest.h \
6824 CoreAudio/CoreAudio.h \
6825 CoreServices/CoreServices.h \
6826 DiskArbitration/DiskArbitration.h \
6827 IOKit/IOKitLib.h \
6828 IOKit/hid/IOHIDLib.h \
6829 OpenAL/al.h \
6830 OpenCL/opencl.h \
6831 QuickTime/ImageCompression.h \
6832 Security/Security.h \
6833 alias.h \
6834 alsa/asoundlib.h \
6835 arpa/inet.h \
6836 arpa/nameser.h \
6837 asm/types.h \
6838 asm/user.h \
6839 curses.h \
6840 direct.h \
6841 dirent.h \
6842 dlfcn.h \
6843 elf.h \
6844 float.h \
6845 fnmatch.h \
6846 getopt.h \
6847 gettext-po.h \
6848 grp.h \
6849 gsm.h \
6850 gsm/gsm.h \
6851 ieeefp.h \
6852 inet/mib2.h \
6853 io.h \
6854 kstat.h \
6855 lber.h \
6856 ldap.h \
6857 libproc.h \
6858 link.h \
6859 linux/cdrom.h \
6860 linux/compiler.h \
6861 linux/filter.h \
6862 linux/hdreg.h \
6863 linux/hidraw.h \
6864 linux/input.h \
6865 linux/ioctl.h \
6866 linux/joystick.h \
6867 linux/major.h \
6868 linux/param.h \
6869 linux/serial.h \
6870 linux/types.h \
6871 linux/ucdrom.h \
6872 lwp.h \
6873 mach-o/nlist.h \
6874 mach-o/loader.h \
6875 mach/mach.h \
6876 mach/machine.h \
6877 machine/cpu.h \
6878 machine/limits.h \
6879 machine/sysarch.h \
6880 mntent.h \
6881 ncurses.h \
6882 netdb.h \
6883 netinet/in.h \
6884 netinet/in_systm.h \
6885 netinet/tcp.h \
6886 netinet/tcp_fsm.h \
6887 pcap/pcap.h \
6888 poll.h \
6889 port.h \
6890 process.h \
6891 pthread.h \
6892 pwd.h \
6893 sched.h \
6894 scsi/scsi.h \
6895 scsi/scsi_ioctl.h \
6896 scsi/sg.h \
6897 stdbool.h \
6898 stdint.h \
6899 stropts.h \
6900 sys/asoundlib.h \
6901 sys/attr.h \
6902 sys/auxv.h \
6903 sys/cdio.h \
6904 sys/elf32.h \
6905 sys/epoll.h \
6906 sys/event.h \
6907 sys/exec_elf.h \
6908 sys/filio.h \
6909 sys/inotify.h \
6910 sys/ioctl.h \
6911 sys/ipc.h \
6912 sys/limits.h \
6913 sys/link.h \
6914 sys/mman.h \
6915 sys/modem.h \
6916 sys/msg.h \
6917 sys/mtio.h \
6918 sys/param.h \
6919 sys/poll.h \
6920 sys/prctl.h \
6921 sys/protosw.h \
6922 sys/ptrace.h \
6923 sys/queue.h \
6924 sys/resource.h \
6925 sys/scsiio.h \
6926 sys/shm.h \
6927 sys/signal.h \
6928 sys/socket.h \
6929 sys/socketvar.h \
6930 sys/sockio.h \
6931 sys/statvfs.h \
6932 sys/strtio.h \
6933 sys/syscall.h \
6934 sys/sysinfo.h \
6935 sys/tihdr.h \
6936 sys/time.h \
6937 sys/timeout.h \
6938 sys/times.h \
6939 sys/uio.h \
6940 sys/user.h \
6941 sys/utsname.h \
6942 sys/vm86.h \
6943 sys/vnode.h \
6944 sys/wait.h \
6945 syscall.h \
6946 termios.h \
6947 unistd.h \
6948 utime.h \
6949 valgrind/memcheck.h \
6950 valgrind/valgrind.h \
6951 zlib.h
6953 do :
6954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6956 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6957 cat >>confdefs.h <<_ACEOF
6958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6959 _ACEOF
6963 done
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6966 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6967 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6968 $as_echo_n "(cached) " >&6
6969 else
6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971 /* end confdefs.h. */
6972 #include <sys/types.h>
6974 main ()
6976 return makedev(0, 0);
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_link "$LINENO"; then :
6982 ac_cv_header_sys_types_h_makedev=yes
6983 else
6984 ac_cv_header_sys_types_h_makedev=no
6986 rm -f core conftest.err conftest.$ac_objext \
6987 conftest$ac_exeext conftest.$ac_ext
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6991 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6993 if test $ac_cv_header_sys_types_h_makedev = no; then
6994 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6995 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6997 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7003 if test $ac_cv_header_sys_mkdev_h = no; then
7004 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7005 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7007 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7016 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7017 if ${ac_cv_header_stat_broken+:} false; then :
7018 $as_echo_n "(cached) " >&6
7019 else
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 #include <sys/stat.h>
7025 #if defined S_ISBLK && defined S_IFDIR
7026 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7027 #endif
7029 #if defined S_ISBLK && defined S_IFCHR
7030 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7031 #endif
7033 #if defined S_ISLNK && defined S_IFREG
7034 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7035 #endif
7037 #if defined S_ISSOCK && defined S_IFREG
7038 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7039 #endif
7041 _ACEOF
7042 if ac_fn_c_try_compile "$LINENO"; then :
7043 ac_cv_header_stat_broken=no
7044 else
7045 ac_cv_header_stat_broken=yes
7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7050 $as_echo "$ac_cv_header_stat_broken" >&6; }
7051 if test $ac_cv_header_stat_broken = yes; then
7053 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7059 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7060 do :
7061 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7062 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7063 #ifdef HAVE_SYS_PARAM_H
7064 # include <sys/param.h>
7065 #endif
7067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7068 cat >>confdefs.h <<_ACEOF
7069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7070 _ACEOF
7074 done
7077 for ac_header in \
7078 netinet/ip.h \
7079 net/if.h \
7080 net/if_arp.h \
7081 net/if_dl.h \
7082 net/if_types.h \
7083 net/route.h \
7084 netinet/if_ether.h \
7085 netinet/if_inarp.h \
7086 netinet/in_pcb.h \
7087 netinet/ip_icmp.h \
7088 netinet/ip_var.h \
7089 netinet/udp.h \
7090 netipx/ipx.h \
7091 sys/un.h \
7093 do :
7094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7095 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7096 #ifdef HAVE_SYS_SOCKET_H
7097 # include <sys/socket.h>
7098 #endif
7099 #ifdef HAVE_SYS_SOCKETVAR_H
7100 # include <sys/socketvar.h>
7101 #endif
7102 #ifdef HAVE_NET_ROUTE_H
7103 # include <net/route.h>
7104 #endif
7105 #ifdef HAVE_NETINET_IN_H
7106 # include <netinet/in.h>
7107 #endif
7108 #ifdef HAVE_NETINET_IN_SYSTM_H
7109 # include <netinet/in_systm.h>
7110 #endif
7111 #ifdef HAVE_NET_IF_H
7112 # include <net/if.h>
7113 #endif
7114 #ifdef HAVE_NETINET_IP_H
7115 # include <netinet/ip.h>
7116 #endif
7118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7119 cat >>confdefs.h <<_ACEOF
7120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7121 _ACEOF
7125 done
7128 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7129 do :
7130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7131 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7132 #ifdef HAVE_ALIAS_H
7133 # include <alias.h>
7134 #endif
7135 #ifdef HAVE_SYS_SOCKET_H
7136 # include <sys/socket.h>
7137 #endif
7138 #ifdef HAVE_SYS_SOCKETVAR_H
7139 # include <sys/socketvar.h>
7140 #endif
7141 #ifdef HAVE_SYS_TIMEOUT_H
7142 # include <sys/timeout.h>
7143 #endif
7144 #ifdef HAVE_NETINET_IN_H
7145 # include <netinet/in.h>
7146 #endif
7147 #ifdef HAVE_NETINET_IN_SYSTM_H
7148 # include <netinet/in_systm.h>
7149 #endif
7150 #ifdef HAVE_NETINET_IP_H
7151 # include <netinet/ip.h>
7152 #endif
7153 #ifdef HAVE_NETINET_IP_VAR_H
7154 # include <netinet/ip_var.h>
7155 #endif
7156 #ifdef HAVE_NETINET_IP_ICMP_H
7157 # include <netinet/ip_icmp.h>
7158 #endif
7159 #ifdef HAVE_NETINET_UDP_H
7160 # include <netinet/udp.h>
7161 #endif
7162 #ifdef HAVE_NETINET_TCP_H
7163 # include <netinet/tcp.h>
7164 #endif
7165 #ifdef HAVE_NETINET_TCP_TIMER_H
7166 #include <netinet/tcp_timer.h>
7167 #endif
7169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7170 cat >>confdefs.h <<_ACEOF
7171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7172 _ACEOF
7176 done
7179 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7180 do :
7181 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7182 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7183 #ifdef HAVE_ASM_TYPES_H
7184 # include <asm/types.h>
7185 #endif
7186 #ifdef HAVE_SYS_SOCKET_H
7187 # include <sys/socket.h>
7188 #endif
7189 #ifdef HAVE_LINUX_TYPES_H
7190 # include <linux/types.h>
7191 #endif
7193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7194 cat >>confdefs.h <<_ACEOF
7195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7196 _ACEOF
7200 done
7203 for ac_header in mach-o/dyld_images.h
7204 do :
7205 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7206 # include <stdbool.h>
7207 #endif
7208 #ifdef HAVE_STDINT_H
7209 # include <stdint.h>
7210 #endif
7212 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7213 cat >>confdefs.h <<_ACEOF
7214 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7215 _ACEOF
7219 done
7222 for ac_header in resolv.h
7223 do :
7224 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7225 #ifdef HAVE_SYS_SOCKET_H
7226 # include <sys/socket.h>
7227 #endif
7228 #ifdef HAVE_NETINET_IN_H
7229 # include <netinet/in.h>
7230 #endif
7231 #ifdef HAVE_ARPA_NAMESER_H
7232 # include <arpa/nameser.h>
7233 #endif
7235 if test "x$ac_cv_header_resolv_h" = xyes; then :
7236 cat >>confdefs.h <<_ACEOF
7237 #define HAVE_RESOLV_H 1
7238 _ACEOF
7242 done
7245 for ac_header in ifaddrs.h
7246 do :
7247 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7249 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7250 cat >>confdefs.h <<_ACEOF
7251 #define HAVE_IFADDRS_H 1
7252 _ACEOF
7256 done
7259 for ac_header in sys/ucontext.h
7260 do :
7261 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7263 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7264 cat >>confdefs.h <<_ACEOF
7265 #define HAVE_SYS_UCONTEXT_H 1
7266 _ACEOF
7270 done
7273 for ac_header in sys/thr.h
7274 do :
7275 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7276 #ifdef HAVE_SYS_UCONTEXT_H
7277 #include <sys/ucontext.h>
7278 #endif
7280 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7281 cat >>confdefs.h <<_ACEOF
7282 #define HAVE_SYS_THR_H 1
7283 _ACEOF
7287 done
7290 for ac_header in pthread_np.h
7291 do :
7292 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7293 #include <pthread.h>
7294 #endif
7296 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7297 cat >>confdefs.h <<_ACEOF
7298 #define HAVE_PTHREAD_NP_H 1
7299 _ACEOF
7303 done
7306 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7307 do :
7308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7309 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7310 #include <sys/time.h>
7311 #endif
7312 #include <sys/types.h>
7313 #ifdef HAVE_ASM_TYPES_H
7314 #include <asm/types.h>
7315 #endif
7317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7318 cat >>confdefs.h <<_ACEOF
7319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7320 _ACEOF
7324 done
7327 for ac_header in libprocstat.h
7328 do :
7329 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7330 #include <sys/param.h>
7331 #endif
7332 #ifdef HAVE_SYS_QUEUE_H
7333 #include <sys/queue.h>
7334 #endif
7335 #ifdef HAVE_SYS_SOCKET_H
7336 #include <sys/socket.h>
7337 #endif
7339 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7340 cat >>confdefs.h <<_ACEOF
7341 #define HAVE_LIBPROCSTAT_H 1
7342 _ACEOF
7346 done
7350 dlldir="\${libdir}/wine"
7352 DLLFLAGS="-D_REENTRANT"
7354 LDRPATH_INSTALL=""
7356 LDRPATH_LOCAL=""
7358 LDEXECFLAGS=""
7360 WINELOADER_LDFLAGS=""
7362 LIBEXT="so"
7363 DLLEXT=".so"
7364 IMPLIBEXT="def"
7365 # Extract the first word of "ldd", so it can be a program name with args.
7366 set dummy ldd; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if ${ac_cv_path_LDD+:} false; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 case $LDD in
7373 [\\/]* | ?:[\\/]*)
7374 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 as_dummy="/sbin:/usr/sbin:$PATH"
7379 for as_dir in $as_dummy
7381 IFS=$as_save_IFS
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 break 2
7389 done
7390 done
7391 IFS=$as_save_IFS
7393 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7395 esac
7397 LDD=$ac_cv_path_LDD
7398 if test -n "$LDD"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7400 $as_echo "$LDD" >&6; }
7401 else
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7407 if test -n "$ac_tool_prefix"; then
7408 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7409 set dummy ${ac_tool_prefix}otool; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_OTOOL+:} false; then :
7413 $as_echo_n "(cached) " >&6
7414 else
7415 if test -n "$OTOOL"; then
7416 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7417 else
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $PATH
7421 IFS=$as_save_IFS
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427 break 2
7429 done
7430 done
7431 IFS=$as_save_IFS
7435 OTOOL=$ac_cv_prog_OTOOL
7436 if test -n "$OTOOL"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7438 $as_echo "$OTOOL" >&6; }
7439 else
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7446 if test -z "$ac_cv_prog_OTOOL"; then
7447 ac_ct_OTOOL=$OTOOL
7448 # Extract the first word of "otool", so it can be a program name with args.
7449 set dummy otool; ac_word=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7453 $as_echo_n "(cached) " >&6
7454 else
7455 if test -n "$ac_ct_OTOOL"; then
7456 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7457 else
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 for as_dir in $PATH
7461 IFS=$as_save_IFS
7462 test -z "$as_dir" && as_dir=.
7463 for ac_exec_ext in '' $ac_executable_extensions; do
7464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_prog_ac_ct_OTOOL="otool"
7466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467 break 2
7469 done
7470 done
7471 IFS=$as_save_IFS
7475 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7476 if test -n "$ac_ct_OTOOL"; then
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7478 $as_echo "$ac_ct_OTOOL" >&6; }
7479 else
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7484 if test "x$ac_ct_OTOOL" = x; then
7485 OTOOL="otool"
7486 else
7487 case $cross_compiling:$ac_tool_warned in
7488 yes:)
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7491 ac_tool_warned=yes ;;
7492 esac
7493 OTOOL=$ac_ct_OTOOL
7495 else
7496 OTOOL="$ac_cv_prog_OTOOL"
7499 if test -n "$ac_tool_prefix"; then
7500 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7501 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503 $as_echo_n "checking for $ac_word... " >&6; }
7504 if ${ac_cv_prog_READELF+:} false; then :
7505 $as_echo_n "(cached) " >&6
7506 else
7507 if test -n "$READELF"; then
7508 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7509 else
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7511 for as_dir in $PATH
7513 IFS=$as_save_IFS
7514 test -z "$as_dir" && as_dir=.
7515 for ac_exec_ext in '' $ac_executable_extensions; do
7516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7517 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519 break 2
7521 done
7522 done
7523 IFS=$as_save_IFS
7527 READELF=$ac_cv_prog_READELF
7528 if test -n "$READELF"; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7530 $as_echo "$READELF" >&6; }
7531 else
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7533 $as_echo "no" >&6; }
7538 if test -z "$ac_cv_prog_READELF"; then
7539 ac_ct_READELF=$READELF
7540 # Extract the first word of "readelf", so it can be a program name with args.
7541 set dummy readelf; ac_word=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7545 $as_echo_n "(cached) " >&6
7546 else
7547 if test -n "$ac_ct_READELF"; then
7548 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7549 else
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 for as_dir in $PATH
7553 IFS=$as_save_IFS
7554 test -z "$as_dir" && as_dir=.
7555 for ac_exec_ext in '' $ac_executable_extensions; do
7556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557 ac_cv_prog_ac_ct_READELF="readelf"
7558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 break 2
7561 done
7562 done
7563 IFS=$as_save_IFS
7567 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7568 if test -n "$ac_ct_READELF"; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7570 $as_echo "$ac_ct_READELF" >&6; }
7571 else
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573 $as_echo "no" >&6; }
7576 if test "x$ac_ct_READELF" = x; then
7577 READELF="true"
7578 else
7579 case $cross_compiling:$ac_tool_warned in
7580 yes:)
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7583 ac_tool_warned=yes ;;
7584 esac
7585 READELF=$ac_ct_READELF
7587 else
7588 READELF="$ac_cv_prog_READELF"
7591 wine_rules_file=conf$$rules.make
7592 rm -f $wine_rules_file
7593 SUBDIRS=""
7595 DISABLED_SUBDIRS=""
7597 CONFIGURE_TARGETS=""
7599 ALL_TEST_RESOURCES=""
7602 wine_fn_append_file ()
7604 as_fn_append $1 " \\$as_nl $2"
7607 wine_fn_append_rule ()
7609 $as_echo "$1" >>$wine_rules_file
7612 wine_fn_has_flag ()
7614 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7617 wine_fn_all_rules ()
7619 wine_fn_append_file SUBDIRS $ac_dir
7620 wine_fn_append_rule \
7621 "all: $ac_dir
7622 .PHONY: $ac_dir
7623 $ac_dir: dummy
7624 @cd $ac_dir && \$(MAKE)"
7627 wine_fn_install_rules ()
7629 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7631 wine_fn_append_rule \
7632 ".PHONY: $ac_dir/install $ac_dir/uninstall
7633 $ac_dir/install:: $ac_dir
7634 @cd $ac_dir && \$(MAKE) install
7635 $ac_dir/uninstall::
7636 @cd $ac_dir && \$(MAKE) uninstall
7637 install:: $ac_dir/install
7638 __uninstall__: $ac_dir/uninstall"
7640 if wine_fn_has_flag install-lib
7641 then
7642 wine_fn_append_rule \
7643 ".PHONY: $ac_dir/install-lib
7644 $ac_dir/install-lib:: $ac_dir
7645 @cd $ac_dir && \$(MAKE) install-lib
7646 install-lib:: $ac_dir/install-lib"
7649 if wine_fn_has_flag install-dev
7650 then
7651 wine_fn_append_rule \
7652 ".PHONY: $ac_dir/install-dev
7653 $ac_dir/install-dev:: $ac_dir
7654 @cd $ac_dir && \$(MAKE) install-dev
7655 install-dev:: $ac_dir/install-dev"
7659 wine_fn_clean_rules ()
7661 ac_clean=$@
7663 if wine_fn_has_flag clean
7664 then
7665 wine_fn_append_rule \
7666 "$ac_dir/clean: dummy
7667 @cd $ac_dir && \$(MAKE) clean"
7668 else
7669 wine_fn_append_rule \
7670 "$ac_dir/clean: dummy
7671 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7673 wine_fn_append_rule \
7674 "__clean__: $ac_dir/clean
7675 .PHONY: $ac_dir/clean"
7678 wine_fn_disabled_rules ()
7680 ac_clean=$@
7682 wine_fn_append_file SUBDIRS $ac_dir
7683 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7684 wine_fn_append_rule \
7685 "__clean__: $ac_dir/clean
7686 .PHONY: $ac_dir/clean
7687 $ac_dir/clean: dummy
7688 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7691 wine_fn_config_makefile ()
7693 ac_dir=$1
7694 ac_enable=$2
7695 ac_flags=$3
7697 case $ac_dir in
7698 fonts|server) test -z "$with_wine64" || return ;;
7699 esac
7700 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7701 wine_fn_disabled_rules; return
7703 wine_fn_all_rules
7704 wine_fn_install_rules
7705 wine_fn_clean_rules
7708 wine_fn_config_lib ()
7710 ac_name=$1
7711 ac_flags=$2
7712 ac_dir=dlls/$ac_name
7713 ac_deps="include"
7715 if test "x$enable_tools" = xno; then :
7717 else
7718 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7720 wine_fn_all_rules
7721 wine_fn_clean_rules
7723 wine_fn_append_rule \
7724 ".PHONY: $ac_dir/install $ac_dir/uninstall
7725 $ac_dir/install:: $ac_dir
7726 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7727 $ac_dir/uninstall::
7728 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7729 install install-dev:: $ac_dir/install
7730 __uninstall__: $ac_dir/uninstall
7731 __builddeps__: $ac_dir
7732 $ac_dir: $ac_deps"
7735 wine_fn_config_dll ()
7737 ac_name=$1
7738 ac_dir=dlls/$ac_name
7739 ac_enable=$2
7740 ac_flags=$3
7741 ac_implib=${4:-$ac_name}
7742 ac_file=$ac_dir/lib$ac_implib
7743 ac_dll=$ac_name
7744 ac_deps="include"
7745 ac_implibflags=""
7747 if test "x$enable_tools" = xno; then :
7749 else
7750 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7752 case $ac_name in
7753 *.*16) ac_implibflags=" -m16" ;;
7754 *.*) ;;
7755 *) ac_dll=$ac_dll.dll ;;
7756 esac
7758 ac_clean=
7759 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7760 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7762 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7763 if test "$ac_enable" != enable_win16
7764 then
7765 wine_fn_clean_rules $ac_clean
7766 wine_fn_append_file SUBDIRS $ac_dir
7767 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7768 else
7769 wine_fn_disabled_rules $ac_clean
7770 return
7772 else
7773 wine_fn_all_rules
7774 wine_fn_clean_rules $ac_clean
7775 wine_fn_append_rule \
7776 "$ac_dir: __builddeps__
7777 manpages htmlpages sgmlpages xmlpages::
7778 @cd $ac_dir && \$(MAKE) \$@
7779 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7780 install install-lib:: $ac_dir/install-lib
7781 __uninstall__: $ac_dir/uninstall"
7782 if test -n "$DLLEXT"
7783 then
7784 wine_fn_append_rule \
7785 "$ac_dir/install-lib:: $ac_dir
7786 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7787 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7788 $ac_dir/uninstall::
7789 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7790 else
7791 wine_fn_append_rule \
7792 "$ac_dir/install-lib:: $ac_dir
7793 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7794 $ac_dir/uninstall::
7795 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7799 if wine_fn_has_flag staticimplib
7800 then
7801 wine_fn_append_rule \
7802 "__builddeps__: $ac_file.a
7803 $ac_file.a $ac_file.cross.a: $ac_deps
7804 $ac_file.a: dummy
7805 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7806 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7807 $ac_dir/install-dev:: $ac_file.a
7808 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7809 $ac_dir/uninstall::
7810 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7811 install install-dev:: $ac_dir/install-dev
7812 __uninstall__: $ac_dir/uninstall"
7814 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7815 then
7816 wine_fn_append_rule \
7817 "__builddeps__: $ac_file.cross.a
7818 $ac_file.cross.a: dummy
7819 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7822 elif wine_fn_has_flag implib
7823 then
7824 wine_fn_append_rule \
7825 "__builddeps__: $ac_file.$IMPLIBEXT
7826 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7827 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7828 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7829 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7830 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7831 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7832 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7833 $ac_dir/uninstall::
7834 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7835 install install-dev:: $ac_dir/install-dev
7836 __uninstall__: $ac_dir/uninstall"
7837 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7838 then
7839 wine_fn_append_rule \
7840 "__builddeps__: $ac_file.cross.a
7841 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7842 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7847 wine_fn_config_program ()
7849 ac_name=$1
7850 ac_dir=programs/$ac_name
7851 ac_enable=$2
7852 ac_flags=$3
7853 ac_program=$ac_name
7855 case $ac_name in
7856 *.*) ;;
7857 *) ac_program=$ac_program.exe ;;
7858 esac
7860 ac_clean=
7861 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7862 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7864 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7865 wine_fn_disabled_rules $ac_clean; return
7868 wine_fn_all_rules
7869 wine_fn_clean_rules $ac_clean
7870 wine_fn_append_rule "$ac_dir: __builddeps__"
7872 wine_fn_has_flag install || return
7873 wine_fn_append_rule \
7874 ".PHONY: $ac_dir/install $ac_dir/uninstall
7875 install install-lib:: $ac_dir/install
7876 __uninstall__: $ac_dir/uninstall"
7878 if test -n "$DLLEXT"
7879 then
7880 wine_fn_append_rule \
7881 "$ac_dir/install:: $ac_dir
7882 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7883 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7884 $ac_dir/uninstall::
7885 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7887 if test -z "$with_wine64" && wine_fn_has_flag installbin
7888 then
7889 wine_fn_append_rule \
7890 "$ac_dir/install:: __tooldeps__
7891 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7892 $ac_dir/uninstall::
7893 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7895 else
7896 wine_fn_append_rule \
7897 "$ac_dir/install:: $ac_dir
7898 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7899 $ac_dir/uninstall::
7900 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7903 if test -z "$with_wine64" && wine_fn_has_flag manpage
7904 then
7905 wine_fn_append_rule \
7906 "$ac_dir/install:: $ac_dir
7907 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7908 $ac_dir/uninstall::
7909 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7913 wine_fn_config_test ()
7915 ac_dir=$1
7916 ac_name=$2
7917 ac_flags=$3
7919 ac_clean=
7920 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7921 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7923 if test "x$enable_tests" = xno; then :
7924 wine_fn_disabled_rules $ac_clean; return
7927 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7928 wine_fn_all_rules
7929 wine_fn_clean_rules $ac_clean
7931 wine_fn_append_rule \
7932 "$ac_dir: __builddeps__
7933 programs/winetest: $ac_dir
7934 check test: $ac_dir/test
7935 .PHONY: $ac_dir/test
7936 $ac_dir/test: dummy
7937 @cd $ac_dir && \$(MAKE) test
7938 testclean::
7939 \$(RM) $ac_dir/*.ok"
7941 if test -n "$CROSSTARGET"
7942 then
7943 wine_fn_append_rule \
7944 "crosstest: $ac_dir/crosstest
7945 .PHONY: $ac_dir/crosstest
7946 $ac_dir/crosstest: __builddeps__ dummy
7947 @cd $ac_dir && \$(MAKE) crosstest"
7951 wine_fn_config_tool ()
7953 ac_dir=$1
7954 ac_flags=$2
7955 if test "x$enable_tools" = xno; then :
7956 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7959 wine_fn_all_rules
7960 wine_fn_install_rules
7961 wine_fn_clean_rules
7963 wine_fn_append_rule "__tooldeps__: $ac_dir"
7964 wine_fn_append_rule "$ac_dir: libs/port"
7965 case $ac_dir in
7966 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7967 esac
7970 wine_fn_config_symlink ()
7972 ac_linkdir=
7973 if test "x$1" = "x-d"
7974 then
7975 ac_linkdir=$2
7976 shift; shift
7978 ac_links=$@
7979 wine_fn_append_rule \
7980 "$ac_links:
7981 @./config.status \$@"
7982 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7983 test -n "$ac_linkdir" || return
7984 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7987 wine_binary="wine"
7988 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7989 WINELOADER_PROGRAMS="$wine_binary"
7991 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7993 case $host_os in
7994 cygwin*|mingw32*)
7995 if test -n "$ac_tool_prefix"; then
7996 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7997 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_DLLTOOL+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$DLLTOOL"; then
8004 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8017 done
8018 done
8019 IFS=$as_save_IFS
8023 DLLTOOL=$ac_cv_prog_DLLTOOL
8024 if test -n "$DLLTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8026 $as_echo "$DLLTOOL" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8034 if test -z "$ac_cv_prog_DLLTOOL"; then
8035 ac_ct_DLLTOOL=$DLLTOOL
8036 # Extract the first word of "dlltool", so it can be a program name with args.
8037 set dummy dlltool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$ac_ct_DLLTOOL"; then
8044 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8057 done
8058 done
8059 IFS=$as_save_IFS
8063 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8064 if test -n "$ac_ct_DLLTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8066 $as_echo "$ac_ct_DLLTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8072 if test "x$ac_ct_DLLTOOL" = x; then
8073 DLLTOOL="false"
8074 else
8075 case $cross_compiling:$ac_tool_warned in
8076 yes:)
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8079 ac_tool_warned=yes ;;
8080 esac
8081 DLLTOOL=$ac_ct_DLLTOOL
8083 else
8084 DLLTOOL="$ac_cv_prog_DLLTOOL"
8087 LIBEXT="dll"
8088 DLLEXT=""
8089 IMPLIBEXT="a"
8090 enable_iphlpapi=${enable_iphlpapi:-no}
8091 enable_kernel32=${enable_kernel32:-no}
8092 enable_msvcrt=${enable_msvcrt:-no}
8093 enable_ntdll=${enable_ntdll:-no}
8094 enable_ws2_32=${enable_ws2_32:-no}
8095 enable_loader=${enable_loader:-no}
8096 enable_server=${enable_server:-no}
8097 with_x=${with_x:-no}
8098 with_pthread=${with_pthread:-no}
8100 crtlibs=""
8101 case $host_os in
8102 mingw32*)
8103 crtlibs="-lmsvcrt"
8104 SOCKET_LIBS="-lws2_32"
8106 esac
8108 LIBWINE_SHAREDLIB="libwine.dll"
8110 LIBWINE_IMPORTLIB="libwine.a"
8112 LIBWINE_INSTALL_LIB="libwine.dll"
8114 LIBWINE_INSTALL_DEV="libwine.a"
8116 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8118 LIBWINE_DEPENDS="wine.def"
8122 darwin*|macosx*)
8123 for ac_header in libunwind.h
8124 do :
8125 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8127 cat >>confdefs.h <<_ACEOF
8128 #define HAVE_LIBUNWIND_H 1
8129 _ACEOF
8133 done
8135 LIBEXT="dylib"
8136 DLLFLAGS="$DLLFLAGS -fPIC"
8137 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8138 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8139 COREFOUNDATION_LIBS="-framework CoreFoundation"
8141 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8143 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8145 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8147 CORESERVICES_LIBS="-framework CoreServices"
8149 APPKIT_LIBS="-framework AppKit"
8151 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8153 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8154 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8155 $as_echo_n "(cached) " >&6
8156 else
8157 ac_wine_try_cflags_saved=$CFLAGS
8158 CFLAGS="$CFLAGS -Wl,-no_pie"
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 int main(int argc, char **argv) { return 0; }
8162 _ACEOF
8163 if ac_fn_c_try_link "$LINENO"; then :
8164 ac_cv_cflags__Wl__no_pie=yes
8165 else
8166 ac_cv_cflags__Wl__no_pie=no
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 CFLAGS=$ac_wine_try_cflags_saved
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8173 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8174 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8175 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8177 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8178 then
8179 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8182 if test "$ac_cv_header_Security_Security_h" = "yes"
8183 then
8184 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8186 ac_save_LIBS="$LIBS"
8187 LIBS="$LIBS $SECURITY_LIBS"
8188 for ac_func in SSLCopyPeerCertificates
8189 do :
8190 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8191 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8194 _ACEOF
8197 done
8199 LIBS="$ac_save_LIBS"
8200 with_gnutls=${with_gnutls:-no}
8202 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8203 then
8204 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8205 then
8206 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8208 else
8209 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8212 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8213 ac_save_LIBS="$LIBS"
8214 LIBS="$LIBS $COREAUDIO_LIBS"
8215 for ac_func in AUGraphAddNode
8216 do :
8217 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8218 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8219 cat >>confdefs.h <<_ACEOF
8220 #define HAVE_AUGRAPHADDNODE 1
8221 _ACEOF
8224 done
8226 LIBS="$ac_save_LIBS"
8228 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8229 then
8230 OPENAL_LIBS="-framework OpenAL"
8233 cat >>confdefs.h <<_ACEOF
8234 #define HAVE_OPENAL 1
8235 _ACEOF
8237 ac_cv_lib_openal=yes
8239 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8240 then
8241 OPENCL_LIBS="-framework OpenCL"
8243 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8245 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8246 then
8247 ac_save_LIBS="$LIBS"
8248 LIBS="$LIBS $IOKIT_LIBS"
8249 for ac_func in IOHIDManagerCreate
8250 do :
8251 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8252 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8253 cat >>confdefs.h <<_ACEOF
8254 #define HAVE_IOHIDMANAGERCREATE 1
8255 _ACEOF
8258 done
8260 LIBS="$ac_save_LIBS"
8262 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8263 then
8264 ac_save_LIBS="$LIBS"
8265 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8267 $as_echo_n "checking for the QuickTime framework... " >&6; }
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 #include <QuickTime/ImageCompression.h>
8272 main ()
8274 CodecManagerVersion(NULL);
8276 return 0;
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8281 $as_echo "yes" >&6; }
8282 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8284 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8285 else
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8288 ac_cv_header_QuickTime_ImageCompression_h=no
8290 rm -f core conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 LIBS="$ac_save_LIBS"
8294 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8295 then
8296 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8298 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8299 then
8300 CARBON_LIBS="-framework Carbon"
8304 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8305 then
8306 ac_save_LIBS="$LIBS"
8307 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8308 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8309 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8310 enable_winemac_drv=${enable_winemac_drv:-yes}
8313 LIBS="$ac_save_LIBS"
8316 if test "x$enable_win16" = "xyes"
8317 then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8319 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8320 if test "$cross_compiling" = yes; then :
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8322 $as_echo "cross-compiling, assuming yes" >&6; }
8323 else
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 asm(".text\n"
8327 "bad:\tnop;nop\n"
8328 "good:\tnop;nop\n\t"
8329 ".globl _testfunc\n"
8330 "_testfunc:\tcallw good");
8331 extern void testfunc();
8333 main ()
8335 unsigned short *p = (unsigned short *)testfunc;
8336 return p[0] != 0xe866 || p[1] != 0xfffa
8338 return 0;
8340 _ACEOF
8341 if ac_fn_c_try_run "$LINENO"; then :
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8343 $as_echo "yes" >&6; }
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8347 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
8349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8350 conftest.$ac_objext conftest.beam conftest.$ac_ext
8355 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8357 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8359 LIBWINE_INSTALL_DEV="libwine.dylib"
8361 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8363 WINELOADER_DEPENDS="wine_info.plist"
8367 linux-android*)
8368 DLLFLAGS="$DLLFLAGS -fPIC"
8369 LDEXECFLAGS="-Wl,-pie"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8371 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8372 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8383 else
8384 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8391 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8392 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8393 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8395 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8397 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8398 if eval \${$as_ac_var+:} false; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 ac_wine_try_cflags_saved=$CFLAGS
8402 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 int main(int argc, char **argv) { return 0; }
8406 _ACEOF
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 eval "$as_ac_var=yes"
8409 else
8410 eval "$as_ac_var=no"
8412 rm -f core conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 CFLAGS=$ac_wine_try_cflags_saved
8416 eval ac_res=\$$as_ac_var
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8418 $as_echo "$ac_res" >&6; }
8419 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8420 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8421 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8422 else
8423 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8425 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8426 if eval \${$as_ac_var+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_wine_try_cflags_saved=$CFLAGS
8430 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8434 _ACEOF
8435 if ac_fn_c_try_link "$LINENO"; then :
8436 eval "$as_ac_var=yes"
8437 else
8438 eval "$as_ac_var=no"
8440 rm -f core conftest.err conftest.$ac_objext \
8441 conftest$ac_exeext conftest.$ac_ext
8442 CFLAGS=$ac_wine_try_cflags_saved
8444 eval ac_res=\$$as_ac_var
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8446 $as_echo "$ac_res" >&6; }
8447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8448 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8449 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8453 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8454 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 ac_wine_try_cflags_saved=$CFLAGS
8458 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 ac_cv_cflags__Wl___enable_new_dtags=yes
8465 else
8466 ac_cv_cflags__Wl___enable_new_dtags=no
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 CFLAGS=$ac_wine_try_cflags_saved
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8473 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8474 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8475 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8478 LIBWINE_SHAREDLIB="libwine.so"
8480 LIBWINE_INSTALL_LIB="libwine.so"
8482 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8487 DLLFLAGS="$DLLFLAGS -fPIC"
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8489 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8490 if ${ac_cv_c_dll_gnuelf+:} false; then :
8491 $as_echo_n "(cached) " >&6
8492 else
8493 ac_wine_try_cflags_saved=$CFLAGS
8494 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8497 void myfunc() {}
8498 _ACEOF
8499 if ac_fn_c_try_link "$LINENO"; then :
8500 ac_cv_c_dll_gnuelf="yes"
8501 else
8502 ac_cv_c_dll_gnuelf="no"
8504 rm -f core conftest.err conftest.$ac_objext \
8505 conftest$ac_exeext conftest.$ac_ext
8506 CFLAGS=$ac_wine_try_cflags_saved
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8509 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8510 if test "$ac_cv_c_dll_gnuelf" = "yes"
8511 then
8512 LIBWINE_LDFLAGS="-shared"
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8514 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8515 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_wine_try_cflags_saved=$CFLAGS
8519 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8522 int main(int argc, char **argv) { return 0; }
8523 _ACEOF
8524 if ac_fn_c_try_link "$LINENO"; then :
8525 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8526 else
8527 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8529 rm -f core conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8531 CFLAGS=$ac_wine_try_cflags_saved
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8534 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8535 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8536 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8537 else
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8539 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8540 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 int main(int argc, char **argv) { return 0; }
8548 _ACEOF
8549 if ac_fn_c_try_link "$LINENO"; then :
8550 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8551 else
8552 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8554 rm -f core conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 CFLAGS=$ac_wine_try_cflags_saved
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8559 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8560 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8561 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8565 echo '{ global: *; };' >conftest.map
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8567 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8568 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 int main(int argc, char **argv) { return 0; }
8576 _ACEOF
8577 if ac_fn_c_try_link "$LINENO"; then :
8578 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8579 else
8580 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8582 rm -f core conftest.err conftest.$ac_objext \
8583 conftest$ac_exeext conftest.$ac_ext
8584 CFLAGS=$ac_wine_try_cflags_saved
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8587 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8588 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8589 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8591 rm -f conftest.map
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8594 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8595 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 ac_wine_try_cflags_saved=$CFLAGS
8599 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8602 int main(int argc, char **argv) { return 0; }
8603 _ACEOF
8604 if ac_fn_c_try_link "$LINENO"; then :
8605 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8606 else
8607 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8609 rm -f core conftest.err conftest.$ac_objext \
8610 conftest$ac_exeext conftest.$ac_ext
8611 CFLAGS=$ac_wine_try_cflags_saved
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8614 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8615 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8616 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8619 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8621 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8622 if eval \${$as_ac_var+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 int main(int argc, char **argv) { return 0; }
8630 _ACEOF
8631 if ac_fn_c_try_link "$LINENO"; then :
8632 eval "$as_ac_var=yes"
8633 else
8634 eval "$as_ac_var=no"
8636 rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 CFLAGS=$ac_wine_try_cflags_saved
8640 eval ac_res=\$$as_ac_var
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8642 $as_echo "$ac_res" >&6; }
8643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8644 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8645 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8646 else
8647 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8649 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8650 if eval \${$as_ac_var+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8658 _ACEOF
8659 if ac_fn_c_try_link "$LINENO"; then :
8660 eval "$as_ac_var=yes"
8661 else
8662 eval "$as_ac_var=no"
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 eval ac_res=\$$as_ac_var
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8670 $as_echo "$ac_res" >&6; }
8671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8672 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8673 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8678 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8679 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 int main(int argc, char **argv) { return 0; }
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_cflags__Wl___enable_new_dtags=yes
8690 else
8691 ac_cv_cflags__Wl___enable_new_dtags=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 CFLAGS=$ac_wine_try_cflags_saved
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8698 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8699 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8700 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8703 case $host_cpu in
8704 *i[3456789]86* | x86_64)
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8706 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8707 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 ac_wine_try_cflags_saved=$CFLAGS
8711 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 int main(int argc, char **argv) { return 0; }
8715 _ACEOF
8716 if ac_fn_c_try_link "$LINENO"; then :
8717 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8718 else
8719 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8721 rm -f core conftest.err conftest.$ac_objext \
8722 conftest$ac_exeext conftest.$ac_ext
8723 CFLAGS=$ac_wine_try_cflags_saved
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8726 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8727 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8728 case $host_os in
8729 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8730 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8731 esac
8732 else
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8734 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8735 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_wine_try_cflags_saved=$CFLAGS
8739 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 int main(int argc, char **argv) { return 0; }
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8746 else
8747 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 CFLAGS=$ac_wine_try_cflags_saved
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8754 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8755 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8756 case $host_os in
8757 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8758 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8759 esac
8761 # Extract the first word of "prelink", so it can be a program name with args.
8762 set dummy prelink; ac_word=$2
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8764 $as_echo_n "checking for $ac_word... " >&6; }
8765 if ${ac_cv_path_PRELINK+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 case $PRELINK in
8769 [\\/]* | ?:[\\/]*)
8770 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8774 for as_dir in /sbin /usr/sbin $PATH
8776 IFS=$as_save_IFS
8777 test -z "$as_dir" && as_dir=.
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8780 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8782 break 2
8784 done
8785 done
8786 IFS=$as_save_IFS
8788 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8790 esac
8792 PRELINK=$ac_cv_path_PRELINK
8793 if test -n "$PRELINK"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8795 $as_echo "$PRELINK" >&6; }
8796 else
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8802 if test "x$PRELINK" = xfalse
8803 then
8804 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8808 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8809 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 int main(int argc, char **argv) { return 0; }
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8820 else
8821 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8828 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8829 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8830 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8833 esac
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8837 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8838 if ${ac_cv_c_dll_unixware+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 void myfunc() {}
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_c_dll_unixware="yes"
8849 else
8850 ac_cv_c_dll_unixware="no"
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8857 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8858 if test "$ac_cv_c_dll_unixware" = "yes"
8859 then
8860 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8863 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8865 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8867 LIBWINE_INSTALL_DEV="libwine.so"
8869 LIBWINE_DEPENDS="wine.map"
8872 esac
8874 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8875 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8876 enable_winemac_drv=${enable_winemac_drv:-no}
8877 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8879 CROSSTARGET=""
8881 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8882 then
8883 case "$host_cpu" in
8884 arm*)
8885 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8886 i[3456789]86*)
8887 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
8888 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8889 mingw32-gcc" ;;
8890 x86_64)
8891 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
8892 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8894 ac_prefix_list="" ;;
8895 esac
8896 for ac_prog in $ac_prefix_list
8898 # Extract the first word of "$ac_prog", so it can be a program name with args.
8899 set dummy $ac_prog; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8901 $as_echo_n "checking for $ac_word... " >&6; }
8902 if ${ac_cv_prog_CROSSCC+:} false; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 if test -n "$CROSSCC"; then
8906 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8907 else
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909 for as_dir in $PATH
8911 IFS=$as_save_IFS
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8915 ac_cv_prog_CROSSCC="$ac_prog"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8917 break 2
8919 done
8920 done
8921 IFS=$as_save_IFS
8925 CROSSCC=$ac_cv_prog_CROSSCC
8926 if test -n "$CROSSCC"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8928 $as_echo "$CROSSCC" >&6; }
8929 else
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8931 $as_echo "no" >&6; }
8935 test -n "$CROSSCC" && break
8936 done
8937 test -n "$CROSSCC" || CROSSCC="false"
8939 if test "$CROSSCC" != "false"
8940 then
8941 ac_save_CC="$CC"
8942 CC="$CROSSCC"
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8944 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8949 main ()
8953 return 0;
8955 _ACEOF
8956 if ac_fn_c_try_compile "$LINENO"; then :
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8958 $as_echo "yes" >&6; }
8959 set x $CROSSCC
8960 shift
8961 while test $# -ge 1
8963 case "$1" in
8964 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8965 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8966 esac
8967 shift
8968 done
8969 else
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8974 CC="$ac_save_CC"
8979 if test "$ac_cv_header_pthread_h" = "yes"
8980 then
8981 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8982 if test "x$ac_cv_func_pthread_create" = xyes; then :
8984 else
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8986 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8987 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8988 $as_echo_n "(cached) " >&6
8989 else
8990 ac_check_lib_save_LIBS=$LIBS
8991 LIBS="-lpthread $LIBS"
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8995 /* Override any GCC internal prototype to avoid an error.
8996 Use char because int might match the return type of a GCC
8997 builtin and then its argument prototype would still apply. */
8998 #ifdef __cplusplus
8999 extern "C"
9000 #endif
9001 char pthread_create ();
9003 main ()
9005 return pthread_create ();
9007 return 0;
9009 _ACEOF
9010 if ac_fn_c_try_link "$LINENO"; then :
9011 ac_cv_lib_pthread_pthread_create=yes
9012 else
9013 ac_cv_lib_pthread_pthread_create=no
9015 rm -f core conftest.err conftest.$ac_objext \
9016 conftest$ac_exeext conftest.$ac_ext
9017 LIBS=$ac_check_lib_save_LIBS
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9020 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9021 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9022 PTHREAD_LIBS="-lpthread"
9029 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9030 case "x$with_pthread" in
9031 xno) ;;
9032 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9033 Wine cannot support threads without libpthread.
9034 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9035 esac
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9041 $as_echo_n "checking for X... " >&6; }
9044 # Check whether --with-x was given.
9045 if test "${with_x+set}" = set; then :
9046 withval=$with_x;
9049 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9050 if test "x$with_x" = xno; then
9051 # The user explicitly disabled X.
9052 have_x=disabled
9053 else
9054 case $x_includes,$x_libraries in #(
9055 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9056 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9057 $as_echo_n "(cached) " >&6
9058 else
9059 # One or both of the vars are not set, and there is no cached value.
9060 ac_x_includes=no ac_x_libraries=no
9061 rm -f -r conftest.dir
9062 if mkdir conftest.dir; then
9063 cd conftest.dir
9064 cat >Imakefile <<'_ACEOF'
9065 incroot:
9066 @echo incroot='${INCROOT}'
9067 usrlibdir:
9068 @echo usrlibdir='${USRLIBDIR}'
9069 libdir:
9070 @echo libdir='${LIBDIR}'
9071 _ACEOF
9072 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9073 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9074 for ac_var in incroot usrlibdir libdir; do
9075 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9076 done
9077 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9078 for ac_extension in a so sl dylib la dll; do
9079 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9080 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9081 ac_im_usrlibdir=$ac_im_libdir; break
9083 done
9084 # Screen out bogus values from the imake configuration. They are
9085 # bogus both because they are the default anyway, and because
9086 # using them would break gcc on systems where it needs fixed includes.
9087 case $ac_im_incroot in
9088 /usr/include) ac_x_includes= ;;
9089 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9090 esac
9091 case $ac_im_usrlibdir in
9092 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9093 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9094 esac
9096 cd ..
9097 rm -f -r conftest.dir
9100 # Standard set of common directories for X headers.
9101 # Check X11 before X11Rn because it is often a symlink to the current release.
9102 ac_x_header_dirs='
9103 /usr/X11/include
9104 /usr/X11R7/include
9105 /usr/X11R6/include
9106 /usr/X11R5/include
9107 /usr/X11R4/include
9109 /usr/include/X11
9110 /usr/include/X11R7
9111 /usr/include/X11R6
9112 /usr/include/X11R5
9113 /usr/include/X11R4
9115 /usr/local/X11/include
9116 /usr/local/X11R7/include
9117 /usr/local/X11R6/include
9118 /usr/local/X11R5/include
9119 /usr/local/X11R4/include
9121 /usr/local/include/X11
9122 /usr/local/include/X11R7
9123 /usr/local/include/X11R6
9124 /usr/local/include/X11R5
9125 /usr/local/include/X11R4
9127 /usr/X386/include
9128 /usr/x386/include
9129 /usr/XFree86/include/X11
9131 /usr/include
9132 /usr/local/include
9133 /usr/unsupported/include
9134 /usr/athena/include
9135 /usr/local/x11r5/include
9136 /usr/lpp/Xamples/include
9138 /usr/openwin/include
9139 /usr/openwin/share/include'
9141 if test "$ac_x_includes" = no; then
9142 # Guess where to find include files, by looking for Xlib.h.
9143 # First, try using that file with no special directory specified.
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 #include <X11/Xlib.h>
9147 _ACEOF
9148 if ac_fn_c_try_cpp "$LINENO"; then :
9149 # We can compile using X headers with no special include directory.
9150 ac_x_includes=
9151 else
9152 for ac_dir in $ac_x_header_dirs; do
9153 if test -r "$ac_dir/X11/Xlib.h"; then
9154 ac_x_includes=$ac_dir
9155 break
9157 done
9159 rm -f conftest.err conftest.i conftest.$ac_ext
9160 fi # $ac_x_includes = no
9162 if test "$ac_x_libraries" = no; then
9163 # Check for the libraries.
9164 # See if we find them without any special options.
9165 # Don't add to $LIBS permanently.
9166 ac_save_LIBS=$LIBS
9167 LIBS="-lX11 $LIBS"
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9170 #include <X11/Xlib.h>
9172 main ()
9174 XrmInitialize ()
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 LIBS=$ac_save_LIBS
9181 # We can link X programs with no special library path.
9182 ac_x_libraries=
9183 else
9184 LIBS=$ac_save_LIBS
9185 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9187 # Don't even attempt the hair of trying to link an X program!
9188 for ac_extension in a so sl dylib la dll; do
9189 if test -r "$ac_dir/libX11.$ac_extension"; then
9190 ac_x_libraries=$ac_dir
9191 break 2
9193 done
9194 done
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 fi # $ac_x_libraries = no
9200 case $ac_x_includes,$ac_x_libraries in #(
9201 no,* | *,no | *\'*)
9202 # Didn't find X, or a directory has "'" in its name.
9203 ac_cv_have_x="have_x=no";; #(
9205 # Record where we found X for the cache.
9206 ac_cv_have_x="have_x=yes\
9207 ac_x_includes='$ac_x_includes'\
9208 ac_x_libraries='$ac_x_libraries'"
9209 esac
9211 ;; #(
9212 *) have_x=yes;;
9213 esac
9214 eval "$ac_cv_have_x"
9215 fi # $with_x != no
9217 if test "$have_x" != yes; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9219 $as_echo "$have_x" >&6; }
9220 no_x=yes
9221 else
9222 # If each of the values was on the command line, it overrides each guess.
9223 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9224 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9225 # Update the cache value to reflect the command line values.
9226 ac_cv_have_x="have_x=yes\
9227 ac_x_includes='$x_includes'\
9228 ac_x_libraries='$x_libraries'"
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9230 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9233 if test "$no_x" = yes; then
9234 # Not all programs may use this symbol, but it does not hurt to define it.
9236 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9238 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9239 else
9240 if test -n "$x_includes"; then
9241 X_CFLAGS="$X_CFLAGS -I$x_includes"
9244 # It would also be nice to do this for all -L options, not just this one.
9245 if test -n "$x_libraries"; then
9246 X_LIBS="$X_LIBS -L$x_libraries"
9247 # For Solaris; some versions of Sun CC require a space after -R and
9248 # others require no space. Words are not sufficient . . . .
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9250 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9251 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9252 ac_xsave_c_werror_flag=$ac_c_werror_flag
9253 ac_c_werror_flag=yes
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9258 main ()
9262 return 0;
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9267 $as_echo "no" >&6; }
9268 X_LIBS="$X_LIBS -R$x_libraries"
9269 else
9270 LIBS="$ac_xsave_LIBS -R $x_libraries"
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9275 main ()
9279 return 0;
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9284 $as_echo "yes" >&6; }
9285 X_LIBS="$X_LIBS -R $x_libraries"
9286 else
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9288 $as_echo "neither works" >&6; }
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9293 rm -f core conftest.err conftest.$ac_objext \
9294 conftest$ac_exeext conftest.$ac_ext
9295 ac_c_werror_flag=$ac_xsave_c_werror_flag
9296 LIBS=$ac_xsave_LIBS
9299 # Check for system-dependent libraries X programs must link with.
9300 # Do this before checking for the system-independent R6 libraries
9301 # (-lICE), since we may need -lsocket or whatever for X linking.
9303 if test "$ISC" = yes; then
9304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9305 else
9306 # Martyn Johnson says this is needed for Ultrix, if the X
9307 # libraries were built with DECnet support. And Karl Berry says
9308 # the Alpha needs dnet_stub (dnet does not exist).
9309 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9313 /* Override any GCC internal prototype to avoid an error.
9314 Use char because int might match the return type of a GCC
9315 builtin and then its argument prototype would still apply. */
9316 #ifdef __cplusplus
9317 extern "C"
9318 #endif
9319 char XOpenDisplay ();
9321 main ()
9323 return XOpenDisplay ();
9325 return 0;
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9330 else
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9332 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9333 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_check_lib_save_LIBS=$LIBS
9337 LIBS="-ldnet $LIBS"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9344 #ifdef __cplusplus
9345 extern "C"
9346 #endif
9347 char dnet_ntoa ();
9349 main ()
9351 return dnet_ntoa ();
9353 return 0;
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 ac_cv_lib_dnet_dnet_ntoa=yes
9358 else
9359 ac_cv_lib_dnet_dnet_ntoa=no
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 LIBS=$ac_check_lib_save_LIBS
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9366 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9367 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9368 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9371 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9373 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9374 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_check_lib_save_LIBS=$LIBS
9378 LIBS="-ldnet_stub $LIBS"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9385 #ifdef __cplusplus
9386 extern "C"
9387 #endif
9388 char dnet_ntoa ();
9390 main ()
9392 return dnet_ntoa ();
9394 return 0;
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9399 else
9400 ac_cv_lib_dnet_stub_dnet_ntoa=no
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS=$ac_check_lib_save_LIBS
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9407 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9408 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9409 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 LIBS="$ac_xsave_LIBS"
9418 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9419 # to get the SysV transport functions.
9420 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9421 # needs -lnsl.
9422 # The nsl library prevents programs from opening the X display
9423 # on Irix 5.2, according to T.E. Dickey.
9424 # The functions gethostbyname, getservbyname, and inet_addr are
9425 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9426 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9427 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9431 if test $ac_cv_func_gethostbyname = no; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9433 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9434 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lnsl $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char gethostbyname ();
9450 main ()
9452 return gethostbyname ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_nsl_gethostbyname=yes
9459 else
9460 ac_cv_lib_nsl_gethostbyname=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9467 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9468 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9469 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9472 if test $ac_cv_lib_nsl_gethostbyname = no; then
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9474 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9475 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 ac_check_lib_save_LIBS=$LIBS
9479 LIBS="-lbsd $LIBS"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9486 #ifdef __cplusplus
9487 extern "C"
9488 #endif
9489 char gethostbyname ();
9491 main ()
9493 return gethostbyname ();
9495 return 0;
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"; then :
9499 ac_cv_lib_bsd_gethostbyname=yes
9500 else
9501 ac_cv_lib_bsd_gethostbyname=no
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 LIBS=$ac_check_lib_save_LIBS
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9508 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9509 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9510 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9516 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9517 # socket/setsockopt and other routines are undefined under SCO ODT
9518 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9519 # on later versions), says Simon Leinen: it contains gethostby*
9520 # variants that don't use the name server (or something). -lsocket
9521 # must be given before -lnsl if both are needed. We assume that
9522 # if connect needs -lnsl, so does gethostbyname.
9523 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9524 if test "x$ac_cv_func_connect" = xyes; then :
9528 if test $ac_cv_func_connect = no; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9530 $as_echo_n "checking for connect in -lsocket... " >&6; }
9531 if ${ac_cv_lib_socket_connect+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_lib_save_LIBS=$LIBS
9535 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char connect ();
9547 main ()
9549 return connect ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_lib_socket_connect=yes
9556 else
9557 ac_cv_lib_socket_connect=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9564 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9565 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9566 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9571 # Guillermo Gomez says -lposix is necessary on A/UX.
9572 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9573 if test "x$ac_cv_func_remove" = xyes; then :
9577 if test $ac_cv_func_remove = no; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9579 $as_echo_n "checking for remove in -lposix... " >&6; }
9580 if ${ac_cv_lib_posix_remove+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lposix $LIBS"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 char remove ();
9596 main ()
9598 return remove ();
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_lib_posix_remove=yes
9605 else
9606 ac_cv_lib_posix_remove=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 LIBS=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9613 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9614 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9615 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9620 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9621 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9622 if test "x$ac_cv_func_shmat" = xyes; then :
9626 if test $ac_cv_func_shmat = no; then
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9628 $as_echo_n "checking for shmat in -lipc... " >&6; }
9629 if ${ac_cv_lib_ipc_shmat+:} false; then :
9630 $as_echo_n "(cached) " >&6
9631 else
9632 ac_check_lib_save_LIBS=$LIBS
9633 LIBS="-lipc $LIBS"
9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9635 /* end confdefs.h. */
9637 /* Override any GCC internal prototype to avoid an error.
9638 Use char because int might match the return type of a GCC
9639 builtin and then its argument prototype would still apply. */
9640 #ifdef __cplusplus
9641 extern "C"
9642 #endif
9643 char shmat ();
9645 main ()
9647 return shmat ();
9649 return 0;
9651 _ACEOF
9652 if ac_fn_c_try_link "$LINENO"; then :
9653 ac_cv_lib_ipc_shmat=yes
9654 else
9655 ac_cv_lib_ipc_shmat=no
9657 rm -f core conftest.err conftest.$ac_objext \
9658 conftest$ac_exeext conftest.$ac_ext
9659 LIBS=$ac_check_lib_save_LIBS
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9662 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9663 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9664 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9670 # Check for libraries that X11R6 Xt/Xaw programs need.
9671 ac_save_LDFLAGS=$LDFLAGS
9672 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9673 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9674 # check for ICE first), but we must link in the order -lSM -lICE or
9675 # we get undefined symbols. So assume we have SM if we have ICE.
9676 # These have to be linked with before -lX11, unlike the other
9677 # libraries we check for below, so use a different variable.
9678 # John Interrante, Karl Berry
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9680 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9681 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9682 $as_echo_n "(cached) " >&6
9683 else
9684 ac_check_lib_save_LIBS=$LIBS
9685 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9689 /* Override any GCC internal prototype to avoid an error.
9690 Use char because int might match the return type of a GCC
9691 builtin and then its argument prototype would still apply. */
9692 #ifdef __cplusplus
9693 extern "C"
9694 #endif
9695 char IceConnectionNumber ();
9697 main ()
9699 return IceConnectionNumber ();
9701 return 0;
9703 _ACEOF
9704 if ac_fn_c_try_link "$LINENO"; then :
9705 ac_cv_lib_ICE_IceConnectionNumber=yes
9706 else
9707 ac_cv_lib_ICE_IceConnectionNumber=no
9709 rm -f core conftest.err conftest.$ac_objext \
9710 conftest$ac_exeext conftest.$ac_ext
9711 LIBS=$ac_check_lib_save_LIBS
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9714 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9715 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9716 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9719 LDFLAGS=$ac_save_LDFLAGS
9724 if test "$have_x" = "yes"
9725 then
9726 ac_save_CPPFLAGS="$CPPFLAGS"
9727 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9730 $as_echo_n "checking for -lX11... " >&6; }
9731 if ${ac_cv_lib_soname_X11+:} false; then :
9732 $as_echo_n "(cached) " >&6
9733 else
9734 ac_check_soname_save_LIBS=$LIBS
9735 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9742 #ifdef __cplusplus
9743 extern "C"
9744 #endif
9745 char XCreateWindow ();
9747 main ()
9749 return XCreateWindow ();
9751 return 0;
9753 _ACEOF
9754 if ac_fn_c_try_link "$LINENO"; then :
9755 case "$LIBEXT" in
9756 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9757 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'` ;;
9758 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9759 if ${ac_cv_lib_soname_X11:+false} :; then :
9760 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9761 fi ;;
9762 esac
9764 rm -f core conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 LIBS=$ac_check_soname_save_LIBS
9768 if ${ac_cv_lib_soname_X11:+false} :; then :
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9770 $as_echo "not found" >&6; }
9772 else
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9774 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9776 cat >>confdefs.h <<_ACEOF
9777 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9778 _ACEOF
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9783 $as_echo_n "checking for -lXext... " >&6; }
9784 if ${ac_cv_lib_soname_Xext+:} false; then :
9785 $as_echo_n "(cached) " >&6
9786 else
9787 ac_check_soname_save_LIBS=$LIBS
9788 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9795 #ifdef __cplusplus
9796 extern "C"
9797 #endif
9798 char XextCreateExtension ();
9800 main ()
9802 return XextCreateExtension ();
9804 return 0;
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808 case "$LIBEXT" in
9809 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9810 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'` ;;
9811 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9812 if ${ac_cv_lib_soname_Xext:+false} :; then :
9813 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9814 fi ;;
9815 esac
9817 rm -f core conftest.err conftest.$ac_objext \
9818 conftest$ac_exeext conftest.$ac_ext
9819 LIBS=$ac_check_soname_save_LIBS
9821 if ${ac_cv_lib_soname_Xext:+false} :; then :
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9823 $as_echo "not found" >&6; }
9825 else
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9827 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9829 cat >>confdefs.h <<_ACEOF
9830 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9831 _ACEOF
9833 X_LIBS="$X_LIBS -lXext"
9835 X_LIBS="$X_LIBS -lX11"
9837 for ac_header in X11/Xlib.h \
9838 X11/XKBlib.h \
9839 X11/Xutil.h \
9840 X11/Xcursor/Xcursor.h \
9841 X11/extensions/shape.h \
9842 X11/extensions/XInput.h \
9843 X11/extensions/XInput2.h \
9844 X11/extensions/XShm.h \
9845 X11/extensions/Xcomposite.h \
9846 X11/extensions/Xfixes.h \
9847 X11/extensions/Xinerama.h \
9848 X11/extensions/Xrandr.h \
9849 X11/extensions/Xrender.h \
9850 X11/extensions/xf86vmode.h \
9851 X11/extensions/xf86vmproto.h
9852 do :
9853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9854 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9855 # include <X11/Xlib.h>
9856 #endif
9857 #ifdef HAVE_X11_XUTIL_H
9858 # include <X11/Xutil.h>
9859 #endif
9861 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9862 cat >>confdefs.h <<_ACEOF
9863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9864 _ACEOF
9868 done
9871 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9872 then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9874 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9875 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_check_lib_save_LIBS=$LIBS
9879 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9886 #ifdef __cplusplus
9887 extern "C"
9888 #endif
9889 char XkbQueryExtension ();
9891 main ()
9893 return XkbQueryExtension ();
9895 return 0;
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 ac_cv_lib_X11_XkbQueryExtension=yes
9900 else
9901 ac_cv_lib_X11_XkbQueryExtension=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 LIBS=$ac_check_lib_save_LIBS
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9908 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9909 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9911 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9917 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9918 then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9920 $as_echo_n "checking for -lXcursor... " >&6; }
9921 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_check_soname_save_LIBS=$LIBS
9925 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9932 #ifdef __cplusplus
9933 extern "C"
9934 #endif
9935 char XcursorImageLoadCursor ();
9937 main ()
9939 return XcursorImageLoadCursor ();
9941 return 0;
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 case "$LIBEXT" in
9946 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9949 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9950 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9951 fi ;;
9952 esac
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 LIBS=$ac_check_soname_save_LIBS
9958 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9960 $as_echo "not found" >&6; }
9962 else
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9964 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9966 cat >>confdefs.h <<_ACEOF
9967 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9968 _ACEOF
9973 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9974 case "x$with_xcursor" in
9975 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9976 xno) ;;
9977 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9978 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9979 esac
9983 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9984 then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9986 $as_echo_n "checking for -lXi... " >&6; }
9987 if ${ac_cv_lib_soname_Xi+:} false; then :
9988 $as_echo_n "(cached) " >&6
9989 else
9990 ac_check_soname_save_LIBS=$LIBS
9991 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9995 /* Override any GCC internal prototype to avoid an error.
9996 Use char because int might match the return type of a GCC
9997 builtin and then its argument prototype would still apply. */
9998 #ifdef __cplusplus
9999 extern "C"
10000 #endif
10001 char XOpenDevice ();
10003 main ()
10005 return XOpenDevice ();
10007 return 0;
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"; then :
10011 case "$LIBEXT" in
10012 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10013 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'` ;;
10014 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10015 if ${ac_cv_lib_soname_Xi:+false} :; then :
10016 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10017 fi ;;
10018 esac
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_soname_save_LIBS
10024 if ${ac_cv_lib_soname_Xi:+false} :; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10026 $as_echo "not found" >&6; }
10028 else
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10030 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10032 cat >>confdefs.h <<_ACEOF
10033 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10034 _ACEOF
10039 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10040 case "x$with_xinput" in
10041 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10042 xno) ;;
10043 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10044 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10045 esac
10049 if test "x$ac_cv_lib_soname_Xi" != x
10050 then
10051 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10052 case "x$with_xinput2" in
10053 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10054 xno) ;;
10055 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10056 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10057 esac
10062 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10063 then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10065 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10066 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_check_lib_save_LIBS=$LIBS
10070 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10077 #ifdef __cplusplus
10078 extern "C"
10079 #endif
10080 char XShmQueryExtension ();
10082 main ()
10084 return XShmQueryExtension ();
10086 return 0;
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 ac_cv_lib_Xext_XShmQueryExtension=yes
10091 else
10092 ac_cv_lib_Xext_XShmQueryExtension=no
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 LIBS=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10099 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10100 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10102 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10107 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10108 case "x$with_xshm" in
10109 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10110 xno) ;;
10111 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10112 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10113 esac
10117 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10118 then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10120 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10121 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 ac_check_lib_save_LIBS=$LIBS
10125 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10129 /* Override any GCC internal prototype to avoid an error.
10130 Use char because int might match the return type of a GCC
10131 builtin and then its argument prototype would still apply. */
10132 #ifdef __cplusplus
10133 extern "C"
10134 #endif
10135 char XShapeQueryExtension ();
10137 main ()
10139 return XShapeQueryExtension ();
10141 return 0;
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10145 ac_cv_lib_Xext_XShapeQueryExtension=yes
10146 else
10147 ac_cv_lib_Xext_XShapeQueryExtension=no
10149 rm -f core conftest.err conftest.$ac_objext \
10150 conftest$ac_exeext conftest.$ac_ext
10151 LIBS=$ac_check_lib_save_LIBS
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10154 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10155 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10157 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10162 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10163 case "x$with_xshape" in
10164 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10165 xno) ;;
10166 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10167 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10168 esac
10172 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10173 then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10175 $as_echo_n "checking for -lXxf86vm... " >&6; }
10176 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_check_soname_save_LIBS=$LIBS
10180 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10187 #ifdef __cplusplus
10188 extern "C"
10189 #endif
10190 char XF86VidModeQueryExtension ();
10192 main ()
10194 return XF86VidModeQueryExtension ();
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"; then :
10200 case "$LIBEXT" in
10201 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10202 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'` ;;
10203 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10204 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10205 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10206 fi ;;
10207 esac
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_soname_save_LIBS
10213 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10215 $as_echo "not found" >&6; }
10217 else
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10219 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10221 cat >>confdefs.h <<_ACEOF
10222 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10223 _ACEOF
10228 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10229 case "x$with_xxf86vm" in
10230 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10231 xno) ;;
10232 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10233 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10234 esac
10238 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10239 then
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10241 $as_echo_n "checking for -lXrender... " >&6; }
10242 if ${ac_cv_lib_soname_Xrender+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_check_soname_save_LIBS=$LIBS
10246 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10253 #ifdef __cplusplus
10254 extern "C"
10255 #endif
10256 char XRenderQueryExtension ();
10258 main ()
10260 return XRenderQueryExtension ();
10262 return 0;
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 case "$LIBEXT" in
10267 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10268 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'` ;;
10269 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10270 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10271 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10272 fi ;;
10273 esac
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 $as_echo "not found" >&6; }
10283 else
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10285 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10287 cat >>confdefs.h <<_ACEOF
10288 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10289 _ACEOF
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10292 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10293 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10294 $as_echo_n "(cached) " >&6
10295 else
10296 ac_check_lib_save_LIBS=$LIBS
10297 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10301 /* Override any GCC internal prototype to avoid an error.
10302 Use char because int might match the return type of a GCC
10303 builtin and then its argument prototype would still apply. */
10304 #ifdef __cplusplus
10305 extern "C"
10306 #endif
10307 char XRenderSetPictureTransform ();
10309 main ()
10311 return XRenderSetPictureTransform ();
10313 return 0;
10315 _ACEOF
10316 if ac_fn_c_try_link "$LINENO"; then :
10317 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10318 else
10319 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_lib_save_LIBS
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10326 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10327 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10329 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10334 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10335 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_check_lib_save_LIBS=$LIBS
10339 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10346 #ifdef __cplusplus
10347 extern "C"
10348 #endif
10349 char XRenderCreateLinearGradient ();
10351 main ()
10353 return XRenderCreateLinearGradient ();
10355 return 0;
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"; then :
10359 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10360 else
10361 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10363 rm -f core conftest.err conftest.$ac_objext \
10364 conftest$ac_exeext conftest.$ac_ext
10365 LIBS=$ac_check_lib_save_LIBS
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10368 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10369 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10371 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10378 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10379 case "x$with_xrender" in
10380 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10381 xno) ;;
10382 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10383 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10384 esac
10388 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10389 then
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 #include <X11/Xlib.h>
10393 #include <X11/extensions/Xrandr.h>
10395 main ()
10397 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10399 return 0;
10401 _ACEOF
10402 if ac_fn_c_try_compile "$LINENO"; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10404 $as_echo_n "checking for -lXrandr... " >&6; }
10405 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10406 $as_echo_n "(cached) " >&6
10407 else
10408 ac_check_soname_save_LIBS=$LIBS
10409 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10416 #ifdef __cplusplus
10417 extern "C"
10418 #endif
10419 char XRRQueryExtension ();
10421 main ()
10423 return XRRQueryExtension ();
10425 return 0;
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 case "$LIBEXT" in
10430 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10431 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'` ;;
10432 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10433 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10434 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10435 fi ;;
10436 esac
10438 rm -f core conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_soname_save_LIBS
10442 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10444 $as_echo "not found" >&6; }
10446 else
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10448 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10450 cat >>confdefs.h <<_ACEOF
10451 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10452 _ACEOF
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 #include <X11/Xlib.h>
10457 #include <X11/extensions/Xrandr.h>
10459 main ()
10461 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10463 return 0;
10465 _ACEOF
10466 if ac_fn_c_try_compile "$LINENO"; then :
10468 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10476 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10477 case "x$with_xrandr" in
10478 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10479 xno) ;;
10480 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10481 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10482 esac
10486 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10487 then
10488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10490 #include <X11/Xlib.h>
10491 #include <X11/extensions/Xfixes.h>
10493 main ()
10495 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10497 return 0;
10499 _ACEOF
10500 if ac_fn_c_try_compile "$LINENO"; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10502 $as_echo_n "checking for -lXfixes... " >&6; }
10503 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10504 $as_echo_n "(cached) " >&6
10505 else
10506 ac_check_soname_save_LIBS=$LIBS
10507 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10514 #ifdef __cplusplus
10515 extern "C"
10516 #endif
10517 char XFixesQueryVersion ();
10519 main ()
10521 return XFixesQueryVersion ();
10523 return 0;
10525 _ACEOF
10526 if ac_fn_c_try_link "$LINENO"; then :
10527 case "$LIBEXT" in
10528 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10529 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'` ;;
10530 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10531 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10532 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10533 fi ;;
10534 esac
10536 rm -f core conftest.err conftest.$ac_objext \
10537 conftest$ac_exeext conftest.$ac_ext
10538 LIBS=$ac_check_soname_save_LIBS
10540 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10542 $as_echo "not found" >&6; }
10544 else
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10546 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10548 cat >>confdefs.h <<_ACEOF
10549 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10550 _ACEOF
10555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10557 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10558 case "x$with_xfixes" in
10559 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10560 xno) ;;
10561 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10562 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10563 esac
10567 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10568 then
10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10571 #include <X11/Xlib.h>
10572 #include <X11/extensions/Xinerama.h>
10574 main ()
10576 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10578 return 0;
10580 _ACEOF
10581 if ac_fn_c_try_compile "$LINENO"; then :
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10583 $as_echo_n "checking for -lXinerama... " >&6; }
10584 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_check_soname_save_LIBS=$LIBS
10588 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10592 /* Override any GCC internal prototype to avoid an error.
10593 Use char because int might match the return type of a GCC
10594 builtin and then its argument prototype would still apply. */
10595 #ifdef __cplusplus
10596 extern "C"
10597 #endif
10598 char XineramaQueryScreens ();
10600 main ()
10602 return XineramaQueryScreens ();
10604 return 0;
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 case "$LIBEXT" in
10609 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10610 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'` ;;
10611 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10612 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10613 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10614 fi ;;
10615 esac
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 LIBS=$ac_check_soname_save_LIBS
10621 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10623 $as_echo "not found" >&6; }
10625 else
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10627 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10629 cat >>confdefs.h <<_ACEOF
10630 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10631 _ACEOF
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10638 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10639 case "x$with_xinerama" in
10640 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10641 xno) ;;
10642 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10643 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10644 esac
10648 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10649 then
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10651 $as_echo_n "checking for -lXcomposite... " >&6; }
10652 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10653 $as_echo_n "(cached) " >&6
10654 else
10655 ac_check_soname_save_LIBS=$LIBS
10656 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10660 /* Override any GCC internal prototype to avoid an error.
10661 Use char because int might match the return type of a GCC
10662 builtin and then its argument prototype would still apply. */
10663 #ifdef __cplusplus
10664 extern "C"
10665 #endif
10666 char XCompositeRedirectWindow ();
10668 main ()
10670 return XCompositeRedirectWindow ();
10672 return 0;
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 case "$LIBEXT" in
10677 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10678 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'` ;;
10679 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10680 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10681 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10682 fi ;;
10683 esac
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_soname_save_LIBS
10689 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10691 $as_echo "not found" >&6; }
10693 else
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10695 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10697 cat >>confdefs.h <<_ACEOF
10698 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10699 _ACEOF
10704 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10705 case "x$with_xcomposite" in
10706 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10707 xno) ;;
10708 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10709 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10710 esac
10714 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10715 #include <X11/Xlib.h>
10716 #endif
10718 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10720 cat >>confdefs.h <<_ACEOF
10721 #define HAVE_XICCALLBACK_CALLBACK 1
10722 _ACEOF
10726 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10727 #include <X11/Xlib.h>
10728 #endif
10730 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10732 cat >>confdefs.h <<_ACEOF
10733 #define HAVE_XEVENT_XCOOKIE 1
10734 _ACEOF
10741 opengl_msg=""
10742 if test "x$with_opengl" != "xno"
10743 then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10745 $as_echo_n "checking for -lGL... " >&6; }
10746 if ${ac_cv_lib_soname_GL+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_soname_save_LIBS=$LIBS
10750 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char glXCreateContext ();
10762 main ()
10764 return glXCreateContext ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 case "$LIBEXT" in
10771 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10772 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'` ;;
10773 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10774 if ${ac_cv_lib_soname_GL:+false} :; then :
10775 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10776 fi ;;
10777 esac
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_soname_save_LIBS
10783 if ${ac_cv_lib_soname_GL:+false} :; then :
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10785 $as_echo "not found" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10787 $as_echo_n "checking for -lGL... " >&6; }
10788 if ${ac_cv_lib_soname_GL+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_soname_save_LIBS=$LIBS
10792 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"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char glXCreateContext ();
10804 main ()
10806 return glXCreateContext ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 case "$LIBEXT" in
10813 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10814 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'` ;;
10815 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10816 if ${ac_cv_lib_soname_GL:+false} :; then :
10817 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10818 fi ;;
10819 esac
10821 rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823 LIBS=$ac_check_soname_save_LIBS
10825 if ${ac_cv_lib_soname_GL:+false} :; then :
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10827 $as_echo "not found" >&6; }
10828 if test -f /usr/X11R6/lib/libGL.a
10829 then
10830 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10831 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10832 else
10833 opengl_msg="No OpenGL library found on this system."
10835 else
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10837 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10839 cat >>confdefs.h <<_ACEOF
10840 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10841 _ACEOF
10843 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"
10845 else
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10847 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10849 cat >>confdefs.h <<_ACEOF
10850 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10851 _ACEOF
10853 OPENGL_LIBS="-lGL"
10855 if test "x$with_glu" != "xno"
10856 then
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10858 $as_echo_n "checking for -lGLU... " >&6; }
10859 if ${ac_cv_lib_soname_GLU+:} false; then :
10860 $as_echo_n "(cached) " >&6
10861 else
10862 ac_check_soname_save_LIBS=$LIBS
10863 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10870 #ifdef __cplusplus
10871 extern "C"
10872 #endif
10873 char gluLookAt ();
10875 main ()
10877 return gluLookAt ();
10879 return 0;
10881 _ACEOF
10882 if ac_fn_c_try_link "$LINENO"; then :
10883 case "$LIBEXT" in
10884 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10885 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'` ;;
10886 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10887 if ${ac_cv_lib_soname_GLU:+false} :; then :
10888 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10889 fi ;;
10890 esac
10892 rm -f core conftest.err conftest.$ac_objext \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_soname_save_LIBS
10896 if ${ac_cv_lib_soname_GLU:+false} :; then :
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10898 $as_echo "not found" >&6; }
10900 else
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10902 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10904 cat >>confdefs.h <<_ACEOF
10905 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10906 _ACEOF
10910 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10911 case "x$with_glu" in
10912 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10913 xno) ;;
10914 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10915 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10916 esac
10921 if test "x$with_osmesa" != "xno"
10922 then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10924 $as_echo_n "checking for -lOSMesa... " >&6; }
10925 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10926 $as_echo_n "(cached) " >&6
10927 else
10928 ac_check_soname_save_LIBS=$LIBS
10929 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10936 #ifdef __cplusplus
10937 extern "C"
10938 #endif
10939 char OSMesaGetProcAddress ();
10941 main ()
10943 return OSMesaGetProcAddress ();
10945 return 0;
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 case "$LIBEXT" in
10950 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10951 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'` ;;
10952 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10953 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10954 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10955 fi ;;
10956 esac
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_soname_save_LIBS
10962 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10964 $as_echo "not found" >&6; }
10966 else
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10968 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10970 cat >>confdefs.h <<_ACEOF
10971 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10972 _ACEOF
10976 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10977 case "x$with_osmesa" in
10978 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10979 xno) ;;
10980 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10981 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10982 esac
10987 if test -n "$opengl_msg"; then :
10988 case "x$with_opengl" in
10989 x) as_fn_append wine_warnings "|$opengl_msg
10990 OpenGL and Direct3D won't be supported." ;;
10991 xno) ;;
10992 *) as_fn_error $? "$opengl_msg
10993 OpenGL and Direct3D won't be supported.
10994 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10995 esac
10999 CPPFLAGS="$ac_save_CPPFLAGS"
11000 else
11001 X_CFLAGS=""
11002 X_LIBS=""
11005 if test "$enable_winemac_drv" = "no"
11006 then
11007 if test "x$X_LIBS" = "x"; then :
11008 case "x$with_x" in
11009 xno) ;;
11010 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11011 without X support, which probably isn't what you want. You will need
11012 to install ${notice_platform}development packages of Xlib at the very least.
11013 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11014 esac
11015 enable_winex11_drv=${enable_winex11_drv:-no}
11017 else
11018 if test "x$X_LIBS" = "x"; then :
11019 case "x$with_x" in
11020 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11021 xno) ;;
11022 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11023 This is an error since --with-x was requested." "$LINENO" 5 ;;
11024 esac
11025 enable_winex11_drv=${enable_winex11_drv:-no}
11029 if test "$ac_cv_header_CL_cl_h" = "yes"
11030 then
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11032 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11033 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11034 $as_echo_n "(cached) " >&6
11035 else
11036 ac_check_lib_save_LIBS=$LIBS
11037 LIBS="-lOpenCL $LIBS"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11041 /* Override any GCC internal prototype to avoid an error.
11042 Use char because int might match the return type of a GCC
11043 builtin and then its argument prototype would still apply. */
11044 #ifdef __cplusplus
11045 extern "C"
11046 #endif
11047 char clGetPlatformInfo ();
11049 main ()
11051 return clGetPlatformInfo ();
11053 return 0;
11055 _ACEOF
11056 if ac_fn_c_try_link "$LINENO"; then :
11057 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11058 else
11059 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11061 rm -f core conftest.err conftest.$ac_objext \
11062 conftest$ac_exeext conftest.$ac_ext
11063 LIBS=$ac_check_lib_save_LIBS
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11066 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11067 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11068 OPENCL_LIBS="-lOpenCL"
11073 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11074 case "x$with_opencl" in
11075 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11076 xno) ;;
11077 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11078 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11079 esac
11080 enable_opencl=${enable_opencl:-no}
11083 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11084 then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11086 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11087 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11088 $as_echo_n "(cached) " >&6
11089 else
11090 ac_check_lib_save_LIBS=$LIBS
11091 LIBS="-lpcap $LIBS"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11095 /* Override any GCC internal prototype to avoid an error.
11096 Use char because int might match the return type of a GCC
11097 builtin and then its argument prototype would still apply. */
11098 #ifdef __cplusplus
11099 extern "C"
11100 #endif
11101 char pcap_create ();
11103 main ()
11105 return pcap_create ();
11107 return 0;
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"; then :
11111 ac_cv_lib_pcap_pcap_create=yes
11112 else
11113 ac_cv_lib_pcap_pcap_create=no
11115 rm -f core conftest.err conftest.$ac_objext \
11116 conftest$ac_exeext conftest.$ac_ext
11117 LIBS=$ac_check_lib_save_LIBS
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11120 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11121 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11122 PCAP_LIBS="-lpcap"
11127 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11128 case "x$with_pcap" in
11129 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11130 xno) ;;
11131 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11132 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11133 esac
11134 enable_wpcap=${enable_wpcap:-no}
11138 if test "x$with_xml" != "xno"
11139 then
11140 if ${XML2_CFLAGS:+false} :; then :
11141 if ${PKG_CONFIG+:} false; then :
11142 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11145 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11146 if ${XML2_LIBS:+false} :; then :
11147 if ${PKG_CONFIG+:} false; then :
11148 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11151 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11152 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11153 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11154 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11155 ac_save_CPPFLAGS=$CPPFLAGS
11156 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11157 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11158 do :
11159 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11160 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11161 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11162 cat >>confdefs.h <<_ACEOF
11163 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11164 _ACEOF
11168 done
11170 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"
11171 then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11173 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11174 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11175 $as_echo_n "(cached) " >&6
11176 else
11177 ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-lxml2 $XML2_LIBS $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char xmlParseMemory ();
11190 main ()
11192 return xmlParseMemory ();
11194 return 0;
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 ac_cv_lib_xml2_xmlParseMemory=yes
11199 else
11200 ac_cv_lib_xml2_xmlParseMemory=no
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11207 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11208 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11210 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11212 else
11213 XML2_LIBS=""
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11217 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11218 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-lxml2 $XML2_LIBS $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char xmlReadMemory ();
11234 main ()
11236 return xmlReadMemory ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_xml2_xmlReadMemory=yes
11243 else
11244 ac_cv_lib_xml2_xmlReadMemory=no
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11251 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11252 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11254 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11259 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11260 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11261 $as_echo_n "(cached) " >&6
11262 else
11263 ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lxml2 $XML2_LIBS $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char xmlNewDocPI ();
11276 main ()
11278 return xmlNewDocPI ();
11280 return 0;
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 ac_cv_lib_xml2_xmlNewDocPI=yes
11285 else
11286 ac_cv_lib_xml2_xmlNewDocPI=no
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11293 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11294 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11296 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11301 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11302 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-lxml2 $XML2_LIBS $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char xmlSchemaSetParserStructuredErrors ();
11318 main ()
11320 return xmlSchemaSetParserStructuredErrors ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11327 else
11328 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11335 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11336 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11338 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11343 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11344 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-lxml2 $XML2_LIBS $LIBS"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char xmlSchemaSetValidStructuredErrors ();
11360 main ()
11362 return xmlSchemaSetValidStructuredErrors ();
11364 return 0;
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"; then :
11368 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11369 else
11370 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11372 rm -f core conftest.err conftest.$ac_objext \
11373 conftest$ac_exeext conftest.$ac_ext
11374 LIBS=$ac_check_lib_save_LIBS
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11377 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11378 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11380 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11385 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11386 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-lxml2 $XML2_LIBS $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char xmlFirstElementChild ();
11402 main ()
11404 return xmlFirstElementChild ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_xml2_xmlFirstElementChild=yes
11411 else
11412 ac_cv_lib_xml2_xmlFirstElementChild=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11419 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11420 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11422 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11426 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11428 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11430 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11434 else
11435 XML2_CFLAGS=""
11436 XML2_LIBS=""
11438 CPPFLAGS=$ac_save_CPPFLAGS
11439 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11440 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11443 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11444 case "x$with_xml" in
11445 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11446 xno) ;;
11447 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11448 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11449 esac
11453 if test "x$with_xslt" != "xno"
11454 then
11455 if ${XSLT_CFLAGS:+false} :; then :
11456 if ${PKG_CONFIG+:} false; then :
11457 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11460 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11461 if ${XSLT_LIBS:+false} :; then :
11462 if ${PKG_CONFIG+:} false; then :
11463 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11466 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11467 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11468 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11469 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11470 ac_save_CPPFLAGS=$CPPFLAGS
11471 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11472 for ac_header in libxslt/pattern.h libxslt/transform.h
11473 do :
11474 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11475 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11476 # include <libxslt/pattern.h>
11477 #endif
11479 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11480 cat >>confdefs.h <<_ACEOF
11481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11482 _ACEOF
11486 done
11488 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11489 then
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11491 $as_echo_n "checking for -lxslt... " >&6; }
11492 if ${ac_cv_lib_soname_xslt+:} false; then :
11493 $as_echo_n "(cached) " >&6
11494 else
11495 ac_check_soname_save_LIBS=$LIBS
11496 LIBS="-lxslt $XSLT_LIBS $LIBS"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 /* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11503 #ifdef __cplusplus
11504 extern "C"
11505 #endif
11506 char xsltCompilePattern ();
11508 main ()
11510 return xsltCompilePattern ();
11512 return 0;
11514 _ACEOF
11515 if ac_fn_c_try_link "$LINENO"; then :
11516 case "$LIBEXT" in
11517 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11518 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'` ;;
11519 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11520 if ${ac_cv_lib_soname_xslt:+false} :; then :
11521 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11522 fi ;;
11523 esac
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_soname_save_LIBS
11529 if ${ac_cv_lib_soname_xslt:+false} :; then :
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11531 $as_echo "not found" >&6; }
11533 else
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11535 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11537 cat >>confdefs.h <<_ACEOF
11538 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11539 _ACEOF
11543 else
11544 XSLT_CFLAGS=""
11546 CPPFLAGS=$ac_save_CPPFLAGS
11547 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11548 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11551 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11552 case "x$with_xslt" in
11553 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11554 xno) ;;
11555 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11556 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11557 esac
11561 if test "x$with_dbus" != "xno"
11562 then
11563 if ${DBUS_CFLAGS:+false} :; then :
11564 if ${PKG_CONFIG+:} false; then :
11565 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11569 if ${DBUS_LIBS:+false} :; then :
11570 if ${PKG_CONFIG+:} false; then :
11571 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11576 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11577 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11578 ac_save_CPPFLAGS=$CPPFLAGS
11579 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11580 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11581 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11583 $as_echo_n "checking for -ldbus-1... " >&6; }
11584 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11585 $as_echo_n "(cached) " >&6
11586 else
11587 ac_check_soname_save_LIBS=$LIBS
11588 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11592 /* Override any GCC internal prototype to avoid an error.
11593 Use char because int might match the return type of a GCC
11594 builtin and then its argument prototype would still apply. */
11595 #ifdef __cplusplus
11596 extern "C"
11597 #endif
11598 char dbus_connection_close ();
11600 main ()
11602 return dbus_connection_close ();
11604 return 0;
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"; then :
11608 case "$LIBEXT" in
11609 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11610 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'` ;;
11611 *) 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'`
11612 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11613 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11614 fi ;;
11615 esac
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_soname_save_LIBS
11621 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11623 $as_echo "not found" >&6; }
11624 DBUS_CFLAGS=""
11625 else
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11627 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11629 cat >>confdefs.h <<_ACEOF
11630 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11631 _ACEOF
11635 else
11636 DBUS_CFLAGS=""
11640 CPPFLAGS=$ac_save_CPPFLAGS
11641 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11642 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11645 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11646 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11647 case "x$with_dbus" in
11648 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11649 xno) ;;
11650 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11651 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11652 esac
11656 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11657 then
11658 if ${HAL_CFLAGS:+false} :; then :
11659 if ${PKG_CONFIG+:} false; then :
11660 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11664 if ${HAL_LIBS:+false} :; then :
11665 if ${PKG_CONFIG+:} false; then :
11666 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11670 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11671 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11672 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11673 ac_save_CPPFLAGS=$CPPFLAGS
11674 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11675 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11676 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11678 $as_echo_n "checking for -lhal... " >&6; }
11679 if ${ac_cv_lib_soname_hal+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_soname_save_LIBS=$LIBS
11683 LIBS="-lhal $HAL_LIBS $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char libhal_ctx_new ();
11695 main ()
11697 return libhal_ctx_new ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 case "$LIBEXT" in
11704 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11705 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'` ;;
11706 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11707 if ${ac_cv_lib_soname_hal:+false} :; then :
11708 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11709 fi ;;
11710 esac
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_soname_save_LIBS
11716 if ${ac_cv_lib_soname_hal:+false} :; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11718 $as_echo "not found" >&6; }
11719 HAL_CFLAGS=""
11720 else
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11722 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11724 cat >>confdefs.h <<_ACEOF
11725 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11726 _ACEOF
11730 else
11731 HAL_CFLAGS=""
11735 CPPFLAGS=$ac_save_CPPFLAGS
11736 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11737 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11739 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11740 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11741 case "x$with_hal" in
11742 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11743 xno) ;;
11744 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11745 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11746 esac
11751 if test "x$with_gnutls" != "xno"
11752 then
11753 if ${GNUTLS_CFLAGS:+false} :; then :
11754 if ${PKG_CONFIG+:} false; then :
11755 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11759 if ${GNUTLS_LIBS:+false} :; then :
11760 if ${PKG_CONFIG+:} false; then :
11761 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11766 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11767 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11768 ac_save_CPPFLAGS=$CPPFLAGS
11769 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11770 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11771 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11774 #include <gnutls/gnutls.h>
11775 #include <gnutls/crypto.h>
11777 main ()
11779 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11781 return 0;
11783 _ACEOF
11784 if ac_fn_c_try_compile "$LINENO"; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11786 $as_echo_n "checking for -lgnutls... " >&6; }
11787 if ${ac_cv_lib_soname_gnutls+:} false; then :
11788 $as_echo_n "(cached) " >&6
11789 else
11790 ac_check_soname_save_LIBS=$LIBS
11791 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 char gnutls_global_init ();
11803 main ()
11805 return gnutls_global_init ();
11807 return 0;
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"; then :
11811 case "$LIBEXT" in
11812 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11813 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'` ;;
11814 *) 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'`
11815 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11816 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'`
11817 fi ;;
11818 esac
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_soname_save_LIBS
11824 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11826 $as_echo "not found" >&6; }
11827 GNUTLS_CFLAGS=""
11828 else
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11830 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11832 cat >>confdefs.h <<_ACEOF
11833 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11834 _ACEOF
11838 ac_wine_check_funcs_save_LIBS="$LIBS"
11839 LIBS="$LIBS $GNUTLS_LIBS"
11840 for ac_func in gnutls_hash
11841 do :
11842 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11843 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11844 cat >>confdefs.h <<_ACEOF
11845 #define HAVE_GNUTLS_HASH 1
11846 _ACEOF
11848 else
11849 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11851 done
11853 LIBS="$ac_wine_check_funcs_save_LIBS"
11855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11856 else
11857 GNUTLS_CFLAGS=""
11861 CPPFLAGS=$ac_save_CPPFLAGS
11862 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11863 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11866 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11867 case "x$with_gnutls" in
11868 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11869 xno) ;;
11870 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11871 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11872 esac
11876 CURSES_LIBS=""
11877 if test "$ac_cv_header_ncurses_h" = "yes"
11878 then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11880 $as_echo_n "checking for -lncurses... " >&6; }
11881 if ${ac_cv_lib_soname_ncurses+:} false; then :
11882 $as_echo_n "(cached) " >&6
11883 else
11884 ac_check_soname_save_LIBS=$LIBS
11885 LIBS="-lncurses $LIBS"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11892 #ifdef __cplusplus
11893 extern "C"
11894 #endif
11895 char waddch ();
11897 main ()
11899 return waddch ();
11901 return 0;
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"; then :
11905 case "$LIBEXT" in
11906 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11907 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'` ;;
11908 *) 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'`
11909 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11910 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11911 fi ;;
11912 esac
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_soname_save_LIBS
11918 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11920 $as_echo "not found" >&6; }
11922 else
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11924 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11926 cat >>confdefs.h <<_ACEOF
11927 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11928 _ACEOF
11930 CURSES_LIBS="-lncurses"
11932 elif test "$ac_cv_header_curses_h" = "yes"
11933 then
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11935 $as_echo_n "checking for -lcurses... " >&6; }
11936 if ${ac_cv_lib_soname_curses+:} false; then :
11937 $as_echo_n "(cached) " >&6
11938 else
11939 ac_check_soname_save_LIBS=$LIBS
11940 LIBS="-lcurses $LIBS"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char waddch ();
11952 main ()
11954 return waddch ();
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 case "$LIBEXT" in
11961 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11962 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'` ;;
11963 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11964 if ${ac_cv_lib_soname_curses:+false} :; then :
11965 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11966 fi ;;
11967 esac
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_soname_save_LIBS
11973 if ${ac_cv_lib_soname_curses:+false} :; then :
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11975 $as_echo "not found" >&6; }
11977 else
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11979 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11981 cat >>confdefs.h <<_ACEOF
11982 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11983 _ACEOF
11985 CURSES_LIBS="-lcurses"
11988 ac_save_LIBS="$LIBS"
11989 LIBS="$LIBS $CURSES_LIBS"
11990 for ac_func in mousemask
11991 do :
11992 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11993 if test "x$ac_cv_func_mousemask" = xyes; then :
11994 cat >>confdefs.h <<_ACEOF
11995 #define HAVE_MOUSEMASK 1
11996 _ACEOF
11999 done
12001 LIBS="$ac_save_LIBS"
12002 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12003 case "x$with_curses" in
12004 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12005 xno) ;;
12006 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12007 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12008 esac
12012 if test "x$with_sane" != "xno"
12013 then
12014 if ${SANE_CFLAGS:+false} :; then :
12015 if ${PKG_CONFIG+:} false; then :
12016 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12019 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12020 if ${SANE_LIBS:+false} :; then :
12021 if ${PKG_CONFIG+:} false; then :
12022 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12025 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12027 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12028 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12029 ac_save_CPPFLAGS=$CPPFLAGS
12030 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12031 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12032 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12034 $as_echo_n "checking for -lsane... " >&6; }
12035 if ${ac_cv_lib_soname_sane+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_check_soname_save_LIBS=$LIBS
12039 LIBS="-lsane $SANE_LIBS $LIBS"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12046 #ifdef __cplusplus
12047 extern "C"
12048 #endif
12049 char sane_init ();
12051 main ()
12053 return sane_init ();
12055 return 0;
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"; then :
12059 case "$LIBEXT" in
12060 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12061 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'` ;;
12062 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12063 if ${ac_cv_lib_soname_sane:+false} :; then :
12064 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12065 fi ;;
12066 esac
12068 rm -f core conftest.err conftest.$ac_objext \
12069 conftest$ac_exeext conftest.$ac_ext
12070 LIBS=$ac_check_soname_save_LIBS
12072 if ${ac_cv_lib_soname_sane:+false} :; then :
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12074 $as_echo "not found" >&6; }
12075 SANE_CFLAGS=""
12076 else
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12078 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12080 cat >>confdefs.h <<_ACEOF
12081 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12082 _ACEOF
12086 else
12087 SANE_CFLAGS=""
12091 CPPFLAGS=$ac_save_CPPFLAGS
12092 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12093 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12096 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12097 case "x$with_sane" in
12098 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12099 xno) ;;
12100 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12101 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12102 esac
12106 if test "x$with_v4l" != "xno"
12107 then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12109 $as_echo_n "checking for -lv4l1... " >&6; }
12110 if ${ac_cv_lib_soname_v4l1+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_check_soname_save_LIBS=$LIBS
12114 LIBS="-lv4l1 $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char v4l1_open ();
12126 main ()
12128 return v4l1_open ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 case "$LIBEXT" in
12135 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12136 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'` ;;
12137 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12138 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12139 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12140 fi ;;
12141 esac
12143 rm -f core conftest.err conftest.$ac_objext \
12144 conftest$ac_exeext conftest.$ac_ext
12145 LIBS=$ac_check_soname_save_LIBS
12147 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12149 $as_echo "not found" >&6; }
12151 else
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12153 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12155 cat >>confdefs.h <<_ACEOF
12156 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12157 _ACEOF
12162 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12163 case "x$with_v4l" in
12164 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12165 xno) ;;
12166 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12167 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12168 esac
12172 if test "x$with_gphoto" != "xno"
12173 then
12174 if ${GPHOTO2_CFLAGS:+false} :; then :
12175 if ${PKG_CONFIG+:} false; then :
12176 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12179 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12180 if ${GPHOTO2_LIBS:+false} :; then :
12181 if ${PKG_CONFIG+:} false; then :
12182 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12185 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12186 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12187 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12188 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12189 ac_save_CPPFLAGS=$CPPFLAGS
12190 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12191 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12192 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12194 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12195 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12196 $as_echo_n "(cached) " >&6
12197 else
12198 ac_check_lib_save_LIBS=$LIBS
12199 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 /* Override any GCC internal prototype to avoid an error.
12204 Use char because int might match the return type of a GCC
12205 builtin and then its argument prototype would still apply. */
12206 #ifdef __cplusplus
12207 extern "C"
12208 #endif
12209 char gp_camera_new ();
12211 main ()
12213 return gp_camera_new ();
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_link "$LINENO"; then :
12219 ac_cv_lib_gphoto2_gp_camera_new=yes
12220 else
12221 ac_cv_lib_gphoto2_gp_camera_new=no
12223 rm -f core conftest.err conftest.$ac_objext \
12224 conftest$ac_exeext conftest.$ac_ext
12225 LIBS=$ac_check_lib_save_LIBS
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12228 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12229 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12231 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12233 else
12234 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12237 else
12238 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12242 CPPFLAGS=$ac_save_CPPFLAGS
12243 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12244 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12246 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12247 if ${PKG_CONFIG+:} false; then :
12248 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12251 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12252 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12253 if ${PKG_CONFIG+:} false; then :
12254 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12257 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12258 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12259 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12260 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12261 ac_save_CPPFLAGS=$CPPFLAGS
12262 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12263 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12264 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12266 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12267 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12268 $as_echo_n "(cached) " >&6
12269 else
12270 ac_check_lib_save_LIBS=$LIBS
12271 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12275 /* Override any GCC internal prototype to avoid an error.
12276 Use char because int might match the return type of a GCC
12277 builtin and then its argument prototype would still apply. */
12278 #ifdef __cplusplus
12279 extern "C"
12280 #endif
12281 char gp_port_info_list_new ();
12283 main ()
12285 return gp_port_info_list_new ();
12287 return 0;
12289 _ACEOF
12290 if ac_fn_c_try_link "$LINENO"; then :
12291 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12292 else
12293 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12295 rm -f core conftest.err conftest.$ac_objext \
12296 conftest$ac_exeext conftest.$ac_ext
12297 LIBS=$ac_check_lib_save_LIBS
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12300 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12301 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12303 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12305 else
12306 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12309 else
12310 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12314 CPPFLAGS=$ac_save_CPPFLAGS
12315 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12316 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12319 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12320 case "x$with_gphoto" in
12321 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12322 xno) ;;
12323 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12324 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12325 esac
12328 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12329 case "x$with_gphoto" in
12330 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12331 xno) ;;
12332 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12333 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12334 esac
12339 if test "$ac_cv_header_resolv_h" = "yes"
12340 then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12342 $as_echo_n "checking for resolver library... " >&6; }
12343 if ${ac_cv_have_resolv+:} false; then :
12344 $as_echo_n "(cached) " >&6
12345 else
12346 ac_save_LIBS="$LIBS"
12347 for lib in '' -lresolv
12349 LIBS="$lib $ac_save_LIBS"
12350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12351 /* end confdefs.h. */
12352 #ifdef HAVE_NETINET_IN_H
12353 #include <netinet/in.h>
12354 #endif
12355 #include <resolv.h>
12357 main ()
12359 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12361 return 0;
12363 _ACEOF
12364 if ac_fn_c_try_link "$LINENO"; then :
12365 ac_cv_have_resolv=${lib:-"none required"}
12366 else
12367 ac_cv_have_resolv="not found"
12369 rm -f core conftest.err conftest.$ac_objext \
12370 conftest$ac_exeext conftest.$ac_ext
12371 test "x$ac_cv_have_resolv" = "xnot found" || break
12372 done
12373 LIBS="$ac_save_LIBS"
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12376 $as_echo "$ac_cv_have_resolv" >&6; }
12378 case "$ac_cv_have_resolv" in
12379 "not found") ;;
12380 "none required")
12382 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12385 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12387 RESOLV_LIBS=$ac_cv_have_resolv
12389 esac
12392 if test "x$with_cms" != "xno"
12393 then
12394 if ${LCMS2_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12400 if ${LCMS2_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false; then :
12402 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12406 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12407 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12409 ac_save_CPPFLAGS=$CPPFLAGS
12410 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12411 for ac_header in lcms2.h
12412 do :
12413 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12414 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12415 cat >>confdefs.h <<_ACEOF
12416 #define HAVE_LCMS2_H 1
12417 _ACEOF
12421 done
12423 if test "$ac_cv_header_lcms2_h" = "yes"
12424 then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12426 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12427 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12428 $as_echo_n "(cached) " >&6
12429 else
12430 ac_check_lib_save_LIBS=$LIBS
12431 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12438 #ifdef __cplusplus
12439 extern "C"
12440 #endif
12441 char cmsOpenProfileFromFile ();
12443 main ()
12445 return cmsOpenProfileFromFile ();
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_link "$LINENO"; then :
12451 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12452 else
12453 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12455 rm -f core conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12457 LIBS=$ac_check_lib_save_LIBS
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12460 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12461 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12463 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12465 else
12466 LCMS2_LIBS=""
12469 else
12470 LCMS2_CFLAGS=""
12471 LCMS2_LIBS=""
12473 CPPFLAGS=$ac_save_CPPFLAGS
12474 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12475 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12478 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12479 case "x$with_cms" in
12480 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12481 xno) ;;
12482 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12483 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12484 esac
12488 if test "x$with_freetype" != "xno"
12489 then
12490 if ${FREETYPE_CFLAGS:+false} :; then :
12491 if ${PKG_CONFIG+:} false; then :
12492 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12495 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12496 if ${FREETYPE_LIBS:+false} :; then :
12497 if ${PKG_CONFIG+:} false; then :
12498 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12501 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12502 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12503 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12504 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12505 ac_save_CPPFLAGS=$CPPFLAGS
12506 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12507 for ac_header in ft2build.h
12508 do :
12509 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12510 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12511 cat >>confdefs.h <<_ACEOF
12512 #define HAVE_FT2BUILD_H 1
12513 _ACEOF
12517 done
12519 if test "$ac_cv_header_ft2build_h" = "yes"
12520 then
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12522 $as_echo_n "checking for -lfreetype... " >&6; }
12523 if ${ac_cv_lib_soname_freetype+:} false; then :
12524 $as_echo_n "(cached) " >&6
12525 else
12526 ac_check_soname_save_LIBS=$LIBS
12527 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12531 /* Override any GCC internal prototype to avoid an error.
12532 Use char because int might match the return type of a GCC
12533 builtin and then its argument prototype would still apply. */
12534 #ifdef __cplusplus
12535 extern "C"
12536 #endif
12537 char FT_Init_FreeType ();
12539 main ()
12541 return FT_Init_FreeType ();
12543 return 0;
12545 _ACEOF
12546 if ac_fn_c_try_link "$LINENO"; then :
12547 case "$LIBEXT" in
12548 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12549 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'` ;;
12550 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12551 if ${ac_cv_lib_soname_freetype:+false} :; then :
12552 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12553 fi ;;
12554 esac
12556 rm -f core conftest.err conftest.$ac_objext \
12557 conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_soname_save_LIBS
12560 if ${ac_cv_lib_soname_freetype:+false} :; then :
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12562 $as_echo "not found" >&6; }
12563 FREETYPE_LIBS=""
12564 else
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12566 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12568 cat >>confdefs.h <<_ACEOF
12569 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12570 _ACEOF
12573 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12575 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12576 #include FT_MODULE_H
12578 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12580 cat >>confdefs.h <<_ACEOF
12581 #define HAVE_FT_TRUETYPEENGINETYPE 1
12582 _ACEOF
12588 else
12589 FREETYPE_CFLAGS=""
12590 FREETYPE_LIBS=""
12592 CPPFLAGS=$ac_save_CPPFLAGS
12593 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12594 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12597 if test "x$ac_cv_lib_soname_freetype" = x; then :
12598 case "x$with_freetype" in
12599 xno) ;;
12600 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12601 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12602 esac
12603 enable_fonts=${enable_fonts:-no}
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12607 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12608 if ${ac_cv_c_ppdev+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12613 #ifdef HAVE_SYS_IOCTL_H
12614 # include <sys/ioctl.h>
12615 #endif
12616 #include <linux/ppdev.h>
12618 main ()
12620 ioctl (1,PPCLAIM,0)
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_compile "$LINENO"; then :
12626 ac_cv_c_ppdev="yes"
12627 else
12628 ac_cv_c_ppdev="no"
12630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12633 $as_echo "$ac_cv_c_ppdev" >&6; }
12634 if test "$ac_cv_c_ppdev" = "yes"
12635 then
12637 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12641 ac_wine_check_funcs_save_LIBS="$LIBS"
12642 LIBS="$LIBS $PTHREAD_LIBS"
12643 for ac_func in \
12644 pthread_attr_get_np \
12645 pthread_getattr_np \
12646 pthread_getthreadid_np \
12647 pthread_get_stackaddr_np \
12648 pthread_get_stacksize_np
12649 do :
12650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12652 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12653 cat >>confdefs.h <<_ACEOF
12654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12655 _ACEOF
12658 done
12660 LIBS="$ac_wine_check_funcs_save_LIBS"
12662 if test "$ac_cv_header_zlib_h" = "yes"
12663 then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12665 $as_echo_n "checking for inflate in -lz... " >&6; }
12666 if ${ac_cv_lib_z_inflate+:} false; then :
12667 $as_echo_n "(cached) " >&6
12668 else
12669 ac_check_lib_save_LIBS=$LIBS
12670 LIBS="-lz $LIBS"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12677 #ifdef __cplusplus
12678 extern "C"
12679 #endif
12680 char inflate ();
12682 main ()
12684 return inflate ();
12686 return 0;
12688 _ACEOF
12689 if ac_fn_c_try_link "$LINENO"; then :
12690 ac_cv_lib_z_inflate=yes
12691 else
12692 ac_cv_lib_z_inflate=no
12694 rm -f core conftest.err conftest.$ac_objext \
12695 conftest$ac_exeext conftest.$ac_ext
12696 LIBS=$ac_check_lib_save_LIBS
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12699 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12700 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12702 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12704 Z_LIBS="-lz"
12709 if test "x$Z_LIBS" = "x"; then :
12710 case "x$with_zlib" in
12711 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12712 xno) ;;
12713 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12714 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12715 esac
12719 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12720 then
12721 if test "$ac_cv_header_gettext_po_h" = "yes"
12722 then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12724 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12725 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12726 $as_echo_n "(cached) " >&6
12727 else
12728 ac_check_lib_save_LIBS=$LIBS
12729 LIBS="-lgettextpo $LIBS"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 char po_message_msgctxt ();
12741 main ()
12743 return po_message_msgctxt ();
12745 return 0;
12747 _ACEOF
12748 if ac_fn_c_try_link "$LINENO"; then :
12749 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12750 else
12751 ac_cv_lib_gettextpo_po_message_msgctxt=no
12753 rm -f core conftest.err conftest.$ac_objext \
12754 conftest$ac_exeext conftest.$ac_ext
12755 LIBS=$ac_check_lib_save_LIBS
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12758 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12759 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12761 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12763 GETTEXTPO_LIBS="-lgettextpo"
12768 if test "x$GETTEXTPO_LIBS" = "x"; then :
12769 case "x$with_gettextpo" in
12770 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12771 xno) ;;
12772 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12773 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12774 esac
12777 if test "$srcdir" != .; then :
12778 case "x$with_gettextpo" in
12779 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12780 xno) ;;
12781 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12782 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12783 esac
12788 if test "x$with_pulse" != "xno";
12789 then
12790 if ${PULSE_CFLAGS:+false} :; then :
12791 if ${PKG_CONFIG+:} false; then :
12792 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12796 if ${PULSE_LIBS:+false} :; then :
12797 if ${PKG_CONFIG+:} false; then :
12798 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12803 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12804 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12805 ac_save_CPPFLAGS=$CPPFLAGS
12806 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12807 for ac_header in pulse/pulseaudio.h
12808 do :
12809 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12810 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12811 cat >>confdefs.h <<_ACEOF
12812 #define HAVE_PULSE_PULSEAUDIO_H 1
12813 _ACEOF
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12815 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12816 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12817 $as_echo_n "(cached) " >&6
12818 else
12819 ac_check_lib_save_LIBS=$LIBS
12820 LIBS="-lpulse $PULSE_LIBS $LIBS"
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12824 /* Override any GCC internal prototype to avoid an error.
12825 Use char because int might match the return type of a GCC
12826 builtin and then its argument prototype would still apply. */
12827 #ifdef __cplusplus
12828 extern "C"
12829 #endif
12830 char pa_stream_is_corked ();
12832 main ()
12834 return pa_stream_is_corked ();
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_link "$LINENO"; then :
12840 ac_cv_lib_pulse_pa_stream_is_corked=yes
12841 else
12842 ac_cv_lib_pulse_pa_stream_is_corked=no
12844 rm -f core conftest.err conftest.$ac_objext \
12845 conftest$ac_exeext conftest.$ac_ext
12846 LIBS=$ac_check_lib_save_LIBS
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12849 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12850 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12852 else
12853 PULSE_LIBS=""
12856 else
12857 PULSE_LIBS=""
12860 done
12862 CPPFLAGS=$ac_save_CPPFLAGS
12863 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12864 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12867 if test -z "$PULSE_LIBS"; then :
12868 case "x$with_pulse" in
12869 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12870 xno) ;;
12871 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12872 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12873 esac
12874 enable_winepulse_drv=${enable_winepulse_drv:-no}
12877 if test "x$with_gstreamer" != "xno"
12878 then
12879 if ${GSTREAMER_CFLAGS:+false} :; then :
12880 if ${PKG_CONFIG+:} false; then :
12881 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12885 if ${GSTREAMER_LIBS:+false} :; then :
12886 if ${PKG_CONFIG+:} false; then :
12887 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12892 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12893 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12894 ac_save_CPPFLAGS=$CPPFLAGS
12895 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12896 ac_gst_incl=""
12897 for i in $GSTREAMER_CFLAGS
12899 case "$i" in
12900 -I*) ac_gst_incl="$ac_gst_incl $i";;
12901 esac
12902 done
12903 GSTREAMER_CFLAGS=$ac_gst_incl
12904 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12905 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12906 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12908 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12911 #include <gst/gst.h>
12913 main ()
12915 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_compile "$LINENO"; then :
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12922 $as_echo "yes" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12924 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12925 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12926 $as_echo_n "(cached) " >&6
12927 else
12928 ac_check_lib_save_LIBS=$LIBS
12929 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 #ifdef __cplusplus
12937 extern "C"
12938 #endif
12939 char gst_pad_new ();
12941 main ()
12943 return gst_pad_new ();
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_link "$LINENO"; then :
12949 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12950 else
12951 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12953 rm -f core conftest.err conftest.$ac_objext \
12954 conftest$ac_exeext conftest.$ac_ext
12955 LIBS=$ac_check_lib_save_LIBS
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12958 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12959 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12963 else
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12966 ac_glib2_broken=yes
12967 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12973 CPPFLAGS=$ac_save_CPPFLAGS
12974 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12975 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12978 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 :
12979 case "x$with_gstreamer" in
12980 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12981 xno) ;;
12982 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12983 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12984 esac
12987 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12989 ALSA_LIBS=""
12991 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12992 then
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12994 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12995 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12996 $as_echo_n "(cached) " >&6
12997 else
12998 ac_check_lib_save_LIBS=$LIBS
12999 LIBS="-lasound $LIBS"
13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13003 /* Override any GCC internal prototype to avoid an error.
13004 Use char because int might match the return type of a GCC
13005 builtin and then its argument prototype would still apply. */
13006 #ifdef __cplusplus
13007 extern "C"
13008 #endif
13009 char snd_pcm_hw_params_get_access_mask ();
13011 main ()
13013 return snd_pcm_hw_params_get_access_mask ();
13015 return 0;
13017 _ACEOF
13018 if ac_fn_c_try_link "$LINENO"; then :
13019 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13020 else
13021 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13023 rm -f core conftest.err conftest.$ac_objext \
13024 conftest$ac_exeext conftest.$ac_ext
13025 LIBS=$ac_check_lib_save_LIBS
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13028 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13029 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13032 #ifdef HAVE_ALSA_ASOUNDLIB_H
13033 #include <alsa/asoundlib.h>
13034 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13035 #include <sys/asoundlib.h>
13036 #endif
13038 main ()
13040 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_compile "$LINENO"; then :
13046 ALSA_LIBS="-lasound"
13048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13052 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13054 if test "x$with_oss" != xno
13055 then
13056 ac_save_CPPFLAGS="$CPPFLAGS"
13057 if test -f /etc/oss.conf
13058 then
13059 . /etc/oss.conf
13061 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13062 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13063 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13064 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13065 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13067 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13069 cat >>confdefs.h <<_ACEOF
13070 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13071 _ACEOF
13073 OSS4_CFLAGS="$ac_oss_incl"
13080 CPPFLAGS="$ac_save_CPPFLAGS"
13082 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13083 case "x$with_oss" in
13084 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13085 xno) ;;
13086 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13087 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13088 esac
13089 enable_wineoss_drv=${enable_wineoss_drv:-no}
13092 if test "x$with_udev" != "xno"
13093 then
13094 if ${UDEV_CFLAGS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13100 if ${UDEV_LIBS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13106 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13107 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13108 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13109 ac_save_CPPFLAGS=$CPPFLAGS
13110 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13111 for ac_header in libudev.h
13112 do :
13113 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13114 if test "x$ac_cv_header_libudev_h" = xyes; then :
13115 cat >>confdefs.h <<_ACEOF
13116 #define HAVE_LIBUDEV_H 1
13117 _ACEOF
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13119 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13120 if ${ac_cv_lib_udev_udev_new+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_check_lib_save_LIBS=$LIBS
13124 LIBS="-ludev $UDEV_LIBS $LIBS"
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13131 #ifdef __cplusplus
13132 extern "C"
13133 #endif
13134 char udev_new ();
13136 main ()
13138 return udev_new ();
13140 return 0;
13142 _ACEOF
13143 if ac_fn_c_try_link "$LINENO"; then :
13144 ac_cv_lib_udev_udev_new=yes
13145 else
13146 ac_cv_lib_udev_udev_new=no
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_lib_save_LIBS
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13153 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13154 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13156 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13158 else
13159 UDEV_LIBS=""
13162 else
13163 UDEV_LIBS=""
13166 done
13168 CPPFLAGS=$ac_save_CPPFLAGS
13169 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13170 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13173 if test "x$UDEV_LIBS" = "x"; then :
13174 case "x$with_udev" in
13175 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13176 xno) ;;
13177 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13178 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13179 esac
13183 if test "x$with_capi" != "xno"
13184 then
13185 if ${CAPI20_CFLAGS:+false} :; then :
13186 if ${PKG_CONFIG+:} false; then :
13187 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13191 if ${CAPI20_LIBS:+false} :; then :
13192 if ${PKG_CONFIG+:} false; then :
13193 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13198 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13199 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13200 ac_save_CPPFLAGS=$CPPFLAGS
13201 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13202 for ac_header in capi20.h linux/capi.h
13203 do :
13204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13205 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13207 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13208 cat >>confdefs.h <<_ACEOF
13209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13210 _ACEOF
13214 done
13216 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13217 then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13219 $as_echo_n "checking for -lcapi20... " >&6; }
13220 if ${ac_cv_lib_soname_capi20+:} false; then :
13221 $as_echo_n "(cached) " >&6
13222 else
13223 ac_check_soname_save_LIBS=$LIBS
13224 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13228 /* Override any GCC internal prototype to avoid an error.
13229 Use char because int might match the return type of a GCC
13230 builtin and then its argument prototype would still apply. */
13231 #ifdef __cplusplus
13232 extern "C"
13233 #endif
13234 char capi20_register ();
13236 main ()
13238 return capi20_register ();
13240 return 0;
13242 _ACEOF
13243 if ac_fn_c_try_link "$LINENO"; then :
13244 case "$LIBEXT" in
13245 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13246 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'` ;;
13247 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13248 if ${ac_cv_lib_soname_capi20:+false} :; then :
13249 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13250 fi ;;
13251 esac
13253 rm -f core conftest.err conftest.$ac_objext \
13254 conftest$ac_exeext conftest.$ac_ext
13255 LIBS=$ac_check_soname_save_LIBS
13257 if ${ac_cv_lib_soname_capi20:+false} :; then :
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13259 $as_echo "not found" >&6; }
13261 else
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13263 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13265 cat >>confdefs.h <<_ACEOF
13266 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13267 _ACEOF
13272 CPPFLAGS=$ac_save_CPPFLAGS
13273 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13274 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13277 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13278 case "x$with_capi" in
13279 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13280 xno) ;;
13281 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13282 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13283 esac
13287 CUPS_CFLAGS=""
13289 if test "x$with_cups" != "xno"
13290 then
13291 ac_save_CPPFLAGS="$CPPFLAGS"
13292 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13293 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13294 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13295 for ac_header in cups/cups.h
13296 do :
13297 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13298 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13299 cat >>confdefs.h <<_ACEOF
13300 #define HAVE_CUPS_CUPS_H 1
13301 _ACEOF
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13303 $as_echo_n "checking for -lcups... " >&6; }
13304 if ${ac_cv_lib_soname_cups+:} false; then :
13305 $as_echo_n "(cached) " >&6
13306 else
13307 ac_check_soname_save_LIBS=$LIBS
13308 LIBS="-lcups $ac_cups_libs $LIBS"
13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13312 /* Override any GCC internal prototype to avoid an error.
13313 Use char because int might match the return type of a GCC
13314 builtin and then its argument prototype would still apply. */
13315 #ifdef __cplusplus
13316 extern "C"
13317 #endif
13318 char cupsGetDefault ();
13320 main ()
13322 return cupsGetDefault ();
13324 return 0;
13326 _ACEOF
13327 if ac_fn_c_try_link "$LINENO"; then :
13328 case "$LIBEXT" in
13329 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13330 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'` ;;
13331 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13332 if ${ac_cv_lib_soname_cups:+false} :; then :
13333 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13334 fi ;;
13335 esac
13337 rm -f core conftest.err conftest.$ac_objext \
13338 conftest$ac_exeext conftest.$ac_ext
13339 LIBS=$ac_check_soname_save_LIBS
13341 if ${ac_cv_lib_soname_cups:+false} :; then :
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13343 $as_echo "not found" >&6; }
13345 else
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13347 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13349 cat >>confdefs.h <<_ACEOF
13350 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13351 _ACEOF
13353 CUPS_CFLAGS="$ac_cups_cflags"
13355 for ac_header in cups/ppd.h
13356 do :
13357 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13358 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13359 cat >>confdefs.h <<_ACEOF
13360 #define HAVE_CUPS_PPD_H 1
13361 _ACEOF
13365 done
13369 done
13371 CPPFLAGS="$ac_save_CPPFLAGS"
13373 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13374 case "x$with_cups" in
13375 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13376 xno) ;;
13377 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13378 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13379 esac
13383 if test "x$with_fontconfig" != "xno"
13384 then
13385 if ${FONTCONFIG_CFLAGS:+false} :; then :
13386 if ${PKG_CONFIG+:} false; then :
13387 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13390 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13391 if ${FONTCONFIG_LIBS:+false} :; then :
13392 if ${PKG_CONFIG+:} false; then :
13393 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13396 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13398 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13399 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13400 ac_save_CPPFLAGS=$CPPFLAGS
13401 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13402 for ac_header in fontconfig/fontconfig.h
13403 do :
13404 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13405 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13406 cat >>confdefs.h <<_ACEOF
13407 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13408 _ACEOF
13412 done
13414 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13415 then
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13417 $as_echo_n "checking for -lfontconfig... " >&6; }
13418 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13419 $as_echo_n "(cached) " >&6
13420 else
13421 ac_check_soname_save_LIBS=$LIBS
13422 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13424 /* end confdefs.h. */
13426 /* Override any GCC internal prototype to avoid an error.
13427 Use char because int might match the return type of a GCC
13428 builtin and then its argument prototype would still apply. */
13429 #ifdef __cplusplus
13430 extern "C"
13431 #endif
13432 char FcInit ();
13434 main ()
13436 return FcInit ();
13438 return 0;
13440 _ACEOF
13441 if ac_fn_c_try_link "$LINENO"; then :
13442 case "$LIBEXT" in
13443 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13444 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'` ;;
13445 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13446 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13447 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13448 fi ;;
13449 esac
13451 rm -f core conftest.err conftest.$ac_objext \
13452 conftest$ac_exeext conftest.$ac_ext
13453 LIBS=$ac_check_soname_save_LIBS
13455 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13457 $as_echo "not found" >&6; }
13458 FONTCONFIG_CFLAGS=""
13459 else
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13461 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13463 cat >>confdefs.h <<_ACEOF
13464 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13465 _ACEOF
13469 else
13470 FONTCONFIG_CFLAGS=""
13472 CPPFLAGS=$ac_save_CPPFLAGS
13473 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13474 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13477 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13478 case "x$with_fontconfig" in
13479 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13480 xno) ;;
13481 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13482 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13483 esac
13487 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13488 then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13490 $as_echo_n "checking for -lgsm... " >&6; }
13491 if ${ac_cv_lib_soname_gsm+:} false; then :
13492 $as_echo_n "(cached) " >&6
13493 else
13494 ac_check_soname_save_LIBS=$LIBS
13495 LIBS="-lgsm $LIBS"
13496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13502 #ifdef __cplusplus
13503 extern "C"
13504 #endif
13505 char gsm_create ();
13507 main ()
13509 return gsm_create ();
13511 return 0;
13513 _ACEOF
13514 if ac_fn_c_try_link "$LINENO"; then :
13515 case "$LIBEXT" in
13516 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13517 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'` ;;
13518 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13519 if ${ac_cv_lib_soname_gsm:+false} :; then :
13520 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13521 fi ;;
13522 esac
13524 rm -f core conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13526 LIBS=$ac_check_soname_save_LIBS
13528 if ${ac_cv_lib_soname_gsm:+false} :; then :
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13530 $as_echo "not found" >&6; }
13532 else
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13534 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13536 cat >>confdefs.h <<_ACEOF
13537 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13538 _ACEOF
13543 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13544 case "x$with_gsm" in
13545 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13546 xno) ;;
13547 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13548 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13549 esac
13553 if test "x$with_jpeg" != "xno"
13554 then
13555 if ${JPEG_CFLAGS:+false} :; then :
13556 if ${PKG_CONFIG+:} false; then :
13557 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13561 if ${JPEG_LIBS:+false} :; then :
13562 if ${PKG_CONFIG+:} false; then :
13563 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13568 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13569 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13570 ac_save_CPPFLAGS=$CPPFLAGS
13571 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13572 for ac_header in jpeglib.h
13573 do :
13574 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13575 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13576 cat >>confdefs.h <<_ACEOF
13577 #define HAVE_JPEGLIB_H 1
13578 _ACEOF
13582 done
13584 if test "$ac_cv_header_jpeglib_h" = "yes"
13585 then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13587 $as_echo_n "checking for -ljpeg... " >&6; }
13588 if ${ac_cv_lib_soname_jpeg+:} false; then :
13589 $as_echo_n "(cached) " >&6
13590 else
13591 ac_check_soname_save_LIBS=$LIBS
13592 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13599 #ifdef __cplusplus
13600 extern "C"
13601 #endif
13602 char jpeg_start_decompress ();
13604 main ()
13606 return jpeg_start_decompress ();
13608 return 0;
13610 _ACEOF
13611 if ac_fn_c_try_link "$LINENO"; then :
13612 case "$LIBEXT" in
13613 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13614 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'` ;;
13615 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13616 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13617 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13618 fi ;;
13619 esac
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13623 LIBS=$ac_check_soname_save_LIBS
13625 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13627 $as_echo "not found" >&6; }
13628 JPEG_CFLAGS=""
13629 else
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13631 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13633 cat >>confdefs.h <<_ACEOF
13634 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13635 _ACEOF
13639 else
13640 JPEG_CFLAGS=""
13642 CPPFLAGS=$ac_save_CPPFLAGS
13643 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13644 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13647 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13648 case "x$with_jpeg" in
13649 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13650 xno) ;;
13651 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13652 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13653 esac
13657 if test "x$with_png" != "xno"
13658 then
13659 if ${PNG_CFLAGS:+false} :; then :
13660 if ${PKG_CONFIG+:} false; then :
13661 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13664 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13665 if ${PNG_LIBS:+false} :; then :
13666 if ${PKG_CONFIG+:} false; then :
13667 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13670 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13672 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13673 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13674 ac_save_CPPFLAGS=$CPPFLAGS
13675 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13676 for ac_header in png.h
13677 do :
13678 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13679 if test "x$ac_cv_header_png_h" = xyes; then :
13680 cat >>confdefs.h <<_ACEOF
13681 #define HAVE_PNG_H 1
13682 _ACEOF
13686 done
13688 if test "$ac_cv_header_png_h" = "yes"
13689 then
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13691 $as_echo_n "checking for -lpng... " >&6; }
13692 if ${ac_cv_lib_soname_png+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_check_soname_save_LIBS=$LIBS
13696 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 /* Override any GCC internal prototype to avoid an error.
13701 Use char because int might match the return type of a GCC
13702 builtin and then its argument prototype would still apply. */
13703 #ifdef __cplusplus
13704 extern "C"
13705 #endif
13706 char png_create_read_struct ();
13708 main ()
13710 return png_create_read_struct ();
13712 return 0;
13714 _ACEOF
13715 if ac_fn_c_try_link "$LINENO"; then :
13716 case "$LIBEXT" in
13717 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13718 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'` ;;
13719 *) 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'`
13720 if ${ac_cv_lib_soname_png:+false} :; then :
13721 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13722 fi ;;
13723 esac
13725 rm -f core conftest.err conftest.$ac_objext \
13726 conftest$ac_exeext conftest.$ac_ext
13727 LIBS=$ac_check_soname_save_LIBS
13729 if ${ac_cv_lib_soname_png:+false} :; then :
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13731 $as_echo "not found" >&6; }
13732 PNG_CFLAGS=""
13733 else
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13735 $as_echo "$ac_cv_lib_soname_png" >&6; }
13737 cat >>confdefs.h <<_ACEOF
13738 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13739 _ACEOF
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 #include <png.h>
13745 main ()
13747 typeof(png_set_expand_gray_1_2_4_to_8) *p
13749 return 0;
13751 _ACEOF
13752 if ac_fn_c_try_compile "$LINENO"; then :
13754 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13759 else
13760 PNG_CFLAGS=""
13762 CPPFLAGS=$ac_save_CPPFLAGS
13763 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13764 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13767 if test "x$ac_cv_lib_soname_png" = "x"; then :
13768 case "x$with_png" in
13769 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13770 xno) ;;
13771 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13772 This is an error since --with-png was requested." "$LINENO" 5 ;;
13773 esac
13777 if test "x$with_tiff" != "xno"
13778 then
13779 if ${TIFF_CFLAGS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13785 if ${TIFF_LIBS:+false} :; then :
13786 if ${PKG_CONFIG+:} false; then :
13787 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13792 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13793 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13794 ac_save_CPPFLAGS=$CPPFLAGS
13795 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13796 for ac_header in tiffio.h
13797 do :
13798 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13799 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13800 cat >>confdefs.h <<_ACEOF
13801 #define HAVE_TIFFIO_H 1
13802 _ACEOF
13806 done
13808 if test "$ac_cv_header_tiffio_h" = "yes"
13809 then
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13811 $as_echo_n "checking for -ltiff... " >&6; }
13812 if ${ac_cv_lib_soname_tiff+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 ac_check_soname_save_LIBS=$LIBS
13816 LIBS="-ltiff $TIFF_LIBS $LIBS"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13820 /* Override any GCC internal prototype to avoid an error.
13821 Use char because int might match the return type of a GCC
13822 builtin and then its argument prototype would still apply. */
13823 #ifdef __cplusplus
13824 extern "C"
13825 #endif
13826 char TIFFClientOpen ();
13828 main ()
13830 return TIFFClientOpen ();
13832 return 0;
13834 _ACEOF
13835 if ac_fn_c_try_link "$LINENO"; then :
13836 case "$LIBEXT" in
13837 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13838 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'` ;;
13839 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13840 if ${ac_cv_lib_soname_tiff:+false} :; then :
13841 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13842 fi ;;
13843 esac
13845 rm -f core conftest.err conftest.$ac_objext \
13846 conftest$ac_exeext conftest.$ac_ext
13847 LIBS=$ac_check_soname_save_LIBS
13849 if ${ac_cv_lib_soname_tiff:+false} :; then :
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13851 $as_echo "not found" >&6; }
13853 else
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13855 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13857 cat >>confdefs.h <<_ACEOF
13858 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13859 _ACEOF
13864 CPPFLAGS=$ac_save_CPPFLAGS
13865 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13866 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13869 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13870 case "x$with_tiff" in
13871 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13872 xno) ;;
13873 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13874 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13875 esac
13879 if test "x$with_mpg123" != "xno"
13880 then
13881 if ${MPG123_CFLAGS:+false} :; then :
13882 if ${PKG_CONFIG+:} false; then :
13883 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13887 if ${MPG123_LIBS:+false} :; then :
13888 if ${PKG_CONFIG+:} false; then :
13889 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13893 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13894 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13895 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13896 ac_save_CPPFLAGS=$CPPFLAGS
13897 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13898 for ac_header in mpg123.h
13899 do :
13900 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13901 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13902 cat >>confdefs.h <<_ACEOF
13903 #define HAVE_MPG123_H 1
13904 _ACEOF
13908 done
13910 if test "$ac_cv_header_mpg123_h" = "yes"
13911 then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13913 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13914 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13915 $as_echo_n "(cached) " >&6
13916 else
13917 ac_check_lib_save_LIBS=$LIBS
13918 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13922 /* Override any GCC internal prototype to avoid an error.
13923 Use char because int might match the return type of a GCC
13924 builtin and then its argument prototype would still apply. */
13925 #ifdef __cplusplus
13926 extern "C"
13927 #endif
13928 char mpg123_feed ();
13930 main ()
13932 return mpg123_feed ();
13934 return 0;
13936 _ACEOF
13937 if ac_fn_c_try_link "$LINENO"; then :
13938 ac_cv_lib_mpg123_mpg123_feed=yes
13939 else
13940 ac_cv_lib_mpg123_mpg123_feed=no
13942 rm -f core conftest.err conftest.$ac_objext \
13943 conftest$ac_exeext conftest.$ac_ext
13944 LIBS=$ac_check_lib_save_LIBS
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13947 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13948 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13950 else
13951 MPG123_LIBS=""
13954 else
13955 MPG123_CFLAGS=""
13956 MPG123_LIBS=""
13958 CPPFLAGS=$ac_save_CPPFLAGS
13959 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13960 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13963 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13964 case "x$with_mpg123" in
13965 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13966 xno) ;;
13967 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13968 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13969 esac
13970 enable_winemp3_acm=${enable_winemp3_acm:-no}
13973 if test "$ac_cv_header_AL_al_h" = "yes"
13974 then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13976 $as_echo_n "checking for -lopenal... " >&6; }
13977 if ${ac_cv_lib_soname_openal+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_check_soname_save_LIBS=$LIBS
13981 LIBS="-lopenal $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 #ifdef __cplusplus
13989 extern "C"
13990 #endif
13991 char alGetSource3i ();
13993 main ()
13995 return alGetSource3i ();
13997 return 0;
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 case "$LIBEXT" in
14002 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14003 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'` ;;
14004 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14005 if ${ac_cv_lib_soname_openal:+false} :; then :
14006 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14007 fi ;;
14008 esac
14010 rm -f core conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS=$ac_check_soname_save_LIBS
14014 if ${ac_cv_lib_soname_openal:+false} :; then :
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14016 $as_echo "not found" >&6; }
14018 else
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14020 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14022 cat >>confdefs.h <<_ACEOF
14023 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14024 _ACEOF
14026 OPENAL_LIBS="-lopenal"
14028 ac_cv_lib_openal=yes
14030 cat >>confdefs.h <<_ACEOF
14031 #define HAVE_OPENAL 1
14032 _ACEOF
14036 if test "x$ac_cv_lib_openal" != xyes; then :
14037 case "x$with_openal" in
14038 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14039 xno) ;;
14040 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14041 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14042 esac
14043 enable_openal32=${enable_openal32:-no}
14046 if test "x$ac_cv_lib_openal" = xyes
14047 then
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14049 $as_echo_n "checking for openal-soft... " >&6; }
14050 if ${ac_cv_have_openalsoft+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14055 #include <AL/al.h>
14056 #include <AL/alc.h>
14057 #include <AL/alext.h>
14058 LPALCRENDERSAMPLESSOFT x;
14060 main ()
14064 return 0;
14066 _ACEOF
14067 if ac_fn_c_try_compile "$LINENO"; then :
14068 ac_cv_have_openalsoft=yes
14069 else
14070 ac_cv_have_openalsoft=no
14072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14075 $as_echo "$ac_cv_have_openalsoft" >&6; }
14077 if test "x$ac_cv_have_openalsoft" != xyes
14078 then
14079 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14080 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14081 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14082 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14083 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14084 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14085 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14086 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14087 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14088 enable_xapofx1_1=${enable_xapofx1_1:-no}
14089 enable_xapofx1_2=${enable_xapofx1_2:-no}
14090 enable_xapofx1_3=${enable_xapofx1_3:-no}
14091 enable_xapofx1_4=${enable_xapofx1_4:-no}
14092 enable_xapofx1_5=${enable_xapofx1_5:-no}
14093 enable_xaudio2_0=${enable_xaudio2_0:-no}
14094 enable_xaudio2_1=${enable_xaudio2_1:-no}
14095 enable_xaudio2_2=${enable_xaudio2_2:-no}
14096 enable_xaudio2_3=${enable_xaudio2_3:-no}
14097 enable_xaudio2_4=${enable_xaudio2_4:-no}
14098 enable_xaudio2_5=${enable_xaudio2_5:-no}
14099 enable_xaudio2_6=${enable_xaudio2_6:-no}
14100 enable_xaudio2_7=${enable_xaudio2_7:-no}
14101 enable_xaudio2_8=${enable_xaudio2_8:-no}
14102 enable_xaudio2_9=${enable_xaudio2_9:-no}
14105 if test "$ac_cv_header_kstat_h" = "yes"
14106 then
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14108 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14109 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 ac_check_lib_save_LIBS=$LIBS
14113 LIBS="-lkstat $LIBS"
14114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14117 /* Override any GCC internal prototype to avoid an error.
14118 Use char because int might match the return type of a GCC
14119 builtin and then its argument prototype would still apply. */
14120 #ifdef __cplusplus
14121 extern "C"
14122 #endif
14123 char kstat_open ();
14125 main ()
14127 return kstat_open ();
14129 return 0;
14131 _ACEOF
14132 if ac_fn_c_try_link "$LINENO"; then :
14133 ac_cv_lib_kstat_kstat_open=yes
14134 else
14135 ac_cv_lib_kstat_kstat_open=no
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 LIBS=$ac_check_lib_save_LIBS
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14142 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14143 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14145 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14147 KSTAT_LIBS="-lkstat"
14153 if test "$ac_cv_header_libprocstat_h" = "yes"
14154 then
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14156 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14157 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14158 $as_echo_n "(cached) " >&6
14159 else
14160 ac_check_lib_save_LIBS=$LIBS
14161 LIBS="-lprocstat $LIBS"
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14165 /* Override any GCC internal prototype to avoid an error.
14166 Use char because int might match the return type of a GCC
14167 builtin and then its argument prototype would still apply. */
14168 #ifdef __cplusplus
14169 extern "C"
14170 #endif
14171 char procstat_open_sysctl ();
14173 main ()
14175 return procstat_open_sysctl ();
14177 return 0;
14179 _ACEOF
14180 if ac_fn_c_try_link "$LINENO"; then :
14181 ac_cv_lib_procstat_procstat_open_sysctl=yes
14182 else
14183 ac_cv_lib_procstat_procstat_open_sysctl=no
14185 rm -f core conftest.err conftest.$ac_objext \
14186 conftest$ac_exeext conftest.$ac_ext
14187 LIBS=$ac_check_lib_save_LIBS
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14190 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14191 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14193 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14195 PROCSTAT_LIBS="-lprocstat"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14202 $as_echo_n "checking for -lodbc... " >&6; }
14203 if ${ac_cv_lib_soname_odbc+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_check_soname_save_LIBS=$LIBS
14207 LIBS="-lodbc $LIBS"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 #ifdef __cplusplus
14215 extern "C"
14216 #endif
14217 char SQLConnect ();
14219 main ()
14221 return SQLConnect ();
14223 return 0;
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 case "$LIBEXT" in
14228 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14229 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'` ;;
14230 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14231 if ${ac_cv_lib_soname_odbc:+false} :; then :
14232 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14233 fi ;;
14234 esac
14236 rm -f core conftest.err conftest.$ac_objext \
14237 conftest$ac_exeext conftest.$ac_ext
14238 LIBS=$ac_check_soname_save_LIBS
14240 if ${ac_cv_lib_soname_odbc:+false} :; then :
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14242 $as_echo "not found" >&6; }
14243 cat >>confdefs.h <<_ACEOF
14244 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14245 _ACEOF
14247 else
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14249 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14251 cat >>confdefs.h <<_ACEOF
14252 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14253 _ACEOF
14258 if test "x$with_netapi" != "xno"
14259 then
14260 if ${NETAPI_CFLAGS:+false} :; then :
14261 if ${PKG_CONFIG+:} false; then :
14262 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14266 if ${NETAPI_LIBS:+false} :; then :
14267 if ${PKG_CONFIG+:} false; then :
14268 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14273 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14274 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14275 ac_save_CPPFLAGS=$CPPFLAGS
14276 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14278 $as_echo_n "checking for -lnetapi... " >&6; }
14279 if ${ac_cv_lib_soname_netapi+:} false; then :
14280 $as_echo_n "(cached) " >&6
14281 else
14282 ac_check_soname_save_LIBS=$LIBS
14283 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14290 #ifdef __cplusplus
14291 extern "C"
14292 #endif
14293 char libnetapi_init ();
14295 main ()
14297 return libnetapi_init ();
14299 return 0;
14301 _ACEOF
14302 if ac_fn_c_try_link "$LINENO"; then :
14303 case "$LIBEXT" in
14304 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14305 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'` ;;
14306 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14307 if ${ac_cv_lib_soname_netapi:+false} :; then :
14308 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14309 fi ;;
14310 esac
14312 rm -f core conftest.err conftest.$ac_objext \
14313 conftest$ac_exeext conftest.$ac_ext
14314 LIBS=$ac_check_soname_save_LIBS
14316 if ${ac_cv_lib_soname_netapi:+false} :; then :
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14318 $as_echo "not found" >&6; }
14319 cat >>confdefs.h <<_ACEOF
14320 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14321 _ACEOF
14323 else
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14325 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14327 cat >>confdefs.h <<_ACEOF
14328 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14329 _ACEOF
14333 CPPFLAGS=$ac_save_CPPFLAGS
14334 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14335 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14339 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14340 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14341 then
14342 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14346 EXTRACFLAGS=""
14348 if test "x${GCC}" = "xyes"
14349 then
14350 EXTRACFLAGS="-Wall -pipe"
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14353 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14354 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14355 $as_echo_n "(cached) " >&6
14356 else
14357 if test "$cross_compiling" = yes; then :
14358 ac_cv_c_gcc_strength_bug="no"
14359 else
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int L[4] = {0,1,2,3};
14364 main ()
14366 static int Array[3];
14367 unsigned int B = 3;
14368 int i;
14369 for(i=0; i<B; i++) Array[i] = i - 3;
14370 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14371 L[i] = 4;
14372 return (Array[1] != -2 || L[2] != 3)
14374 return 0;
14376 _ACEOF
14377 if ac_fn_c_try_run "$LINENO"; then :
14378 ac_cv_c_gcc_strength_bug="no"
14379 else
14380 ac_cv_c_gcc_strength_bug="yes"
14382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14383 conftest.$ac_objext conftest.beam conftest.$ac_ext
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14388 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14389 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14390 then
14391 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14395 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14396 if ${ac_cv_cflags__fno_builtin+:} false; then :
14397 $as_echo_n "(cached) " >&6
14398 else
14399 ac_wine_try_cflags_saved=$CFLAGS
14400 CFLAGS="$CFLAGS -fno-builtin"
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 int main(int argc, char **argv) { return 0; }
14404 _ACEOF
14405 if ac_fn_c_try_link "$LINENO"; then :
14406 ac_cv_cflags__fno_builtin=yes
14407 else
14408 ac_cv_cflags__fno_builtin=no
14410 rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412 CFLAGS=$ac_wine_try_cflags_saved
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14415 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14416 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14417 BUILTINFLAG="-fno-builtin"
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14421 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14422 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 ac_wine_try_cflags_saved=$CFLAGS
14426 CFLAGS="$CFLAGS -fno-strict-aliasing"
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14429 int main(int argc, char **argv) { return 0; }
14430 _ACEOF
14431 if ac_fn_c_try_link "$LINENO"; then :
14432 ac_cv_cflags__fno_strict_aliasing=yes
14433 else
14434 ac_cv_cflags__fno_strict_aliasing=no
14436 rm -f core conftest.err conftest.$ac_objext \
14437 conftest$ac_exeext conftest.$ac_ext
14438 CFLAGS=$ac_wine_try_cflags_saved
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14441 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14442 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14443 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14446 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14447 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14448 $as_echo_n "(cached) " >&6
14449 else
14450 ac_wine_try_cflags_saved=$CFLAGS
14451 CFLAGS="$CFLAGS -fexcess-precision=standard"
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14454 int main(int argc, char **argv) { return 0; }
14455 _ACEOF
14456 if ac_fn_c_try_link "$LINENO"; then :
14457 ac_cv_cflags__fexcess_precision_standard=yes
14458 else
14459 ac_cv_cflags__fexcess_precision_standard=no
14461 rm -f core conftest.err conftest.$ac_objext \
14462 conftest$ac_exeext conftest.$ac_ext
14463 CFLAGS=$ac_wine_try_cflags_saved
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14466 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14467 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14468 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14471 saved_CFLAGS=$CFLAGS
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14473 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14474 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14475 $as_echo_n "(cached) " >&6
14476 else
14477 ac_wine_try_cflags_saved=$CFLAGS
14478 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14481 int main(int argc, char **argv) { return 0; }
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 ac_cv_cflags__Werror_unknown_warning_option=yes
14485 else
14486 ac_cv_cflags__Werror_unknown_warning_option=no
14488 rm -f core conftest.err conftest.$ac_objext \
14489 conftest$ac_exeext conftest.$ac_ext
14490 CFLAGS=$ac_wine_try_cflags_saved
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14493 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14494 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14495 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14498 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14499 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 ac_wine_try_cflags_saved=$CFLAGS
14503 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14506 int main(int argc, char **argv) { return 0; }
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 ac_cv_cflags__Wdeclaration_after_statement=yes
14510 else
14511 ac_cv_cflags__Wdeclaration_after_statement=no
14513 rm -f core conftest.err conftest.$ac_objext \
14514 conftest$ac_exeext conftest.$ac_ext
14515 CFLAGS=$ac_wine_try_cflags_saved
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14518 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14519 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14520 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14523 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14524 if ${ac_cv_cflags__Wempty_body+:} false; then :
14525 $as_echo_n "(cached) " >&6
14526 else
14527 ac_wine_try_cflags_saved=$CFLAGS
14528 CFLAGS="$CFLAGS -Wempty-body"
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14531 int main(int argc, char **argv) { return 0; }
14532 _ACEOF
14533 if ac_fn_c_try_link "$LINENO"; then :
14534 ac_cv_cflags__Wempty_body=yes
14535 else
14536 ac_cv_cflags__Wempty_body=no
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 CFLAGS=$ac_wine_try_cflags_saved
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14543 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14544 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14545 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14548 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14549 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14550 $as_echo_n "(cached) " >&6
14551 else
14552 ac_wine_try_cflags_saved=$CFLAGS
14553 CFLAGS="$CFLAGS -Wignored-qualifiers"
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 int main(int argc, char **argv) { return 0; }
14557 _ACEOF
14558 if ac_fn_c_try_link "$LINENO"; then :
14559 ac_cv_cflags__Wignored_qualifiers=yes
14560 else
14561 ac_cv_cflags__Wignored_qualifiers=no
14563 rm -f core conftest.err conftest.$ac_objext \
14564 conftest$ac_exeext conftest.$ac_ext
14565 CFLAGS=$ac_wine_try_cflags_saved
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14568 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14569 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14570 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14573 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14574 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14575 $as_echo_n "(cached) " >&6
14576 else
14577 ac_wine_try_cflags_saved=$CFLAGS
14578 CFLAGS="$CFLAGS -Wshift-overflow=2"
14579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14580 /* end confdefs.h. */
14581 int main(int argc, char **argv) { return 0; }
14582 _ACEOF
14583 if ac_fn_c_try_link "$LINENO"; then :
14584 ac_cv_cflags__Wshift_overflow_2=yes
14585 else
14586 ac_cv_cflags__Wshift_overflow_2=no
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 CFLAGS=$ac_wine_try_cflags_saved
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14593 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14594 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14595 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14598 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14599 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 ac_wine_try_cflags_saved=$CFLAGS
14603 CFLAGS="$CFLAGS -Wstrict-prototypes"
14604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14605 /* end confdefs.h. */
14606 int main(int argc, char **argv) { return 0; }
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"; then :
14609 ac_cv_cflags__Wstrict_prototypes=yes
14610 else
14611 ac_cv_cflags__Wstrict_prototypes=no
14613 rm -f core conftest.err conftest.$ac_objext \
14614 conftest$ac_exeext conftest.$ac_ext
14615 CFLAGS=$ac_wine_try_cflags_saved
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14618 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14619 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14620 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14623 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14624 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14625 $as_echo_n "(cached) " >&6
14626 else
14627 ac_wine_try_cflags_saved=$CFLAGS
14628 CFLAGS="$CFLAGS -Wtype-limits"
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14631 int main(int argc, char **argv) { return 0; }
14632 _ACEOF
14633 if ac_fn_c_try_link "$LINENO"; then :
14634 ac_cv_cflags__Wtype_limits=yes
14635 else
14636 ac_cv_cflags__Wtype_limits=no
14638 rm -f core conftest.err conftest.$ac_objext \
14639 conftest$ac_exeext conftest.$ac_ext
14640 CFLAGS=$ac_wine_try_cflags_saved
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14643 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14644 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14645 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14648 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14649 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651 else
14652 ac_wine_try_cflags_saved=$CFLAGS
14653 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 int main(int argc, char **argv) { return 0; }
14657 _ACEOF
14658 if ac_fn_c_try_link "$LINENO"; then :
14659 ac_cv_cflags__Wunused_but_set_parameter=yes
14660 else
14661 ac_cv_cflags__Wunused_but_set_parameter=no
14663 rm -f core conftest.err conftest.$ac_objext \
14664 conftest$ac_exeext conftest.$ac_ext
14665 CFLAGS=$ac_wine_try_cflags_saved
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14668 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14669 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14670 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14673 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14674 if ${ac_cv_cflags__Wvla+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_wine_try_cflags_saved=$CFLAGS
14678 CFLAGS="$CFLAGS -Wvla"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 int main(int argc, char **argv) { return 0; }
14682 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"; then :
14684 ac_cv_cflags__Wvla=yes
14685 else
14686 ac_cv_cflags__Wvla=no
14688 rm -f core conftest.err conftest.$ac_objext \
14689 conftest$ac_exeext conftest.$ac_ext
14690 CFLAGS=$ac_wine_try_cflags_saved
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14693 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14694 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14695 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14698 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14699 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 ac_wine_try_cflags_saved=$CFLAGS
14703 CFLAGS="$CFLAGS -Wwrite-strings"
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 int main(int argc, char **argv) { return 0; }
14707 _ACEOF
14708 if ac_fn_c_try_link "$LINENO"; then :
14709 ac_cv_cflags__Wwrite_strings=yes
14710 else
14711 ac_cv_cflags__Wwrite_strings=no
14713 rm -f core conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14715 CFLAGS=$ac_wine_try_cflags_saved
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14718 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14719 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14720 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14724 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14725 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14726 $as_echo_n "(cached) " >&6
14727 else
14728 ac_wine_try_cflags_saved=$CFLAGS
14729 CFLAGS="$CFLAGS -Wpointer-arith"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 int main(int argc, char **argv) { return 0; }
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_cflags__Wpointer_arith=yes
14736 else
14737 ac_cv_cflags__Wpointer_arith=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 CFLAGS=$ac_wine_try_cflags_saved
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14744 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14745 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14746 saved_string_h_CFLAGS=$CFLAGS
14747 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14749 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14750 if ${ac_cv_c_string_h_warnings+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 #include <string.h>
14757 main ()
14761 return 0;
14763 _ACEOF
14764 if ac_fn_c_try_compile "$LINENO"; then :
14765 ac_cv_c_string_h_warnings=no
14766 else
14767 ac_cv_c_string_h_warnings=yes
14769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14772 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14773 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14774 CFLAGS=$saved_string_h_CFLAGS
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14778 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14779 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 ac_wine_try_cflags_saved=$CFLAGS
14783 CFLAGS="$CFLAGS -Wlogical-op"
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 int main(int argc, char **argv) { return 0; }
14787 _ACEOF
14788 if ac_fn_c_try_link "$LINENO"; then :
14789 ac_cv_cflags__Wlogical_op=yes
14790 else
14791 ac_cv_cflags__Wlogical_op=no
14793 rm -f core conftest.err conftest.$ac_objext \
14794 conftest$ac_exeext conftest.$ac_ext
14795 CFLAGS=$ac_wine_try_cflags_saved
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14798 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14799 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14800 saved_string_h_CFLAGS=$CFLAGS
14801 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14803 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14804 if ${ac_cv_c_logicalop_noisy+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14809 #include <string.h>
14810 char*f(const char *h,char n) {return strchr(h,n);}
14812 main ()
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_compile "$LINENO"; then :
14820 ac_cv_c_logicalop_noisy=no
14821 else
14822 ac_cv_c_logicalop_noisy=yes
14824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14827 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14828 CFLAGS=$saved_string_h_CFLAGS
14829 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14832 CFLAGS=$saved_CFLAGS
14834 for ac_flag in $CFLAGS; do
14835 case $ac_flag in
14836 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14837 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14838 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14839 $as_echo_n "(cached) " >&6
14840 else
14841 ac_wine_try_cflags_saved=$CFLAGS
14842 CFLAGS="$CFLAGS -gdwarf-2"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 int main(int argc, char **argv) { return 0; }
14846 _ACEOF
14847 if ac_fn_c_try_link "$LINENO"; then :
14848 ac_cv_cflags__gdwarf_2=yes
14849 else
14850 ac_cv_cflags__gdwarf_2=no
14852 rm -f core conftest.err conftest.$ac_objext \
14853 conftest$ac_exeext conftest.$ac_ext
14854 CFLAGS=$ac_wine_try_cflags_saved
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14857 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14858 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14859 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14862 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14863 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 ac_wine_try_cflags_saved=$CFLAGS
14867 CFLAGS="$CFLAGS -gstrict-dwarf"
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14870 int main(int argc, char **argv) { return 0; }
14871 _ACEOF
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 ac_cv_cflags__gstrict_dwarf=yes
14874 else
14875 ac_cv_cflags__gstrict_dwarf=no
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext conftest.$ac_ext
14879 CFLAGS=$ac_wine_try_cflags_saved
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14882 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14883 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14884 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14885 fi ;;
14886 esac
14887 done
14889 case $host_cpu in
14890 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14891 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14892 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14893 $as_echo_n "(cached) " >&6
14894 else
14895 ac_wine_try_cflags_saved=$CFLAGS
14896 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14899 int main(int argc, char **argv) { return 0; }
14900 _ACEOF
14901 if ac_fn_c_try_link "$LINENO"; then :
14902 ac_cv_cflags__fno_omit_frame_pointer=yes
14903 else
14904 ac_cv_cflags__fno_omit_frame_pointer=no
14906 rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14908 CFLAGS=$ac_wine_try_cflags_saved
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14911 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14912 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14913 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14914 fi ;;
14915 esac
14917 case $host in
14918 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14919 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14920 if ${ac_cv_cflags__Wno_format+:} false; then :
14921 $as_echo_n "(cached) " >&6
14922 else
14923 ac_wine_try_cflags_saved=$CFLAGS
14924 CFLAGS="$CFLAGS -Wno-format"
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 int main(int argc, char **argv) { return 0; }
14928 _ACEOF
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 ac_cv_cflags__Wno_format=yes
14931 else
14932 ac_cv_cflags__Wno_format=no
14934 rm -f core conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext conftest.$ac_ext
14936 CFLAGS=$ac_wine_try_cflags_saved
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14939 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14940 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14941 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14942 fi ;;
14943 esac
14945 if test "x$enable_maintainer_mode" = "xyes"
14946 then
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14948 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14949 if ${ac_cv_cflags__Werror+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 ac_wine_try_cflags_saved=$CFLAGS
14953 CFLAGS="$CFLAGS -Werror"
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 int main(int argc, char **argv) { return 0; }
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_cflags__Werror=yes
14960 else
14961 ac_cv_cflags__Werror=no
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14965 CFLAGS=$ac_wine_try_cflags_saved
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14968 $as_echo "$ac_cv_cflags__Werror" >&6; }
14969 if test "x$ac_cv_cflags__Werror" = xyes; then :
14970 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14974 saved_CFLAGS="$CFLAGS"
14975 CFLAGS="$CFLAGS -Werror"
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14977 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14978 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14979 $as_echo_n "(cached) " >&6
14980 else
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14983 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14985 main ()
14989 return 0;
14991 _ACEOF
14992 if ac_fn_c_try_compile "$LINENO"; then :
14993 ac_cv_have_ms_hook_prologue="yes"
14994 else
14995 ac_cv_have_ms_hook_prologue="no"
14997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15000 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15001 CFLAGS="$saved_CFLAGS"
15002 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15003 then
15005 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15007 else
15008 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15015 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15016 if ${ac_cv_c_fortify_enabled+:} false; then :
15017 $as_echo_n "(cached) " >&6
15018 else
15019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15021 #include <string.h>
15023 main ()
15025 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15026 #error Fortify enabled
15027 #endif
15029 return 0;
15031 _ACEOF
15032 if ac_fn_c_try_compile "$LINENO"; then :
15033 ac_cv_c_fortify_enabled=no
15034 else
15035 ac_cv_c_fortify_enabled=yes
15037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15040 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15041 if test "$ac_cv_c_fortify_enabled" = yes
15042 then
15043 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15048 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15049 if ${ac_cv_c_extern_prefix+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 extern int ac_test;
15056 main ()
15058 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15060 return 0;
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"; then :
15064 ac_cv_c_extern_prefix="yes"
15065 else
15066 ac_cv_c_extern_prefix="no"
15068 rm -f core conftest.err conftest.$ac_objext \
15069 conftest$ac_exeext conftest.$ac_ext
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15072 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15074 case $host_cpu in
15075 *i[3456789]86*)
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15077 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15078 if ${ac_cv_c_stdcall_suffix+:} false; then :
15079 $as_echo_n "(cached) " >&6
15080 else
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 #ifndef _MSC_VER
15084 #define __stdcall __attribute__((__stdcall__))
15085 #endif
15086 int __stdcall ac_test(int i) { return i; }
15088 main ()
15090 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"; then :
15096 ac_cv_c_stdcall_suffix="yes"
15097 else
15098 ac_cv_c_stdcall_suffix="no"
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15104 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15105 *) ac_cv_c_stdcall_suffix="no" ;;
15106 esac
15109 if test "$ac_cv_c_extern_prefix" = "yes"
15110 then
15111 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15113 asm_name_prefix="_"
15114 else
15115 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15117 asm_name_prefix=""
15121 if test "$ac_cv_c_stdcall_suffix" = "yes"
15122 then
15123 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15125 else
15126 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15132 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15133 if ${ac_cv_asm_func_def+:} false; then :
15134 $as_echo_n "(cached) " >&6
15135 else
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15140 main ()
15142 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15144 return 0;
15146 _ACEOF
15147 if ac_fn_c_try_link "$LINENO"; then :
15148 ac_cv_asm_func_def=".def"
15149 else
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15154 main ()
15156 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15158 return 0;
15160 _ACEOF
15161 if ac_fn_c_try_link "$LINENO"; then :
15162 ac_cv_asm_func_def=".type @function"
15163 else
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15168 main ()
15170 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15172 return 0;
15174 _ACEOF
15175 if ac_fn_c_try_link "$LINENO"; then :
15176 ac_cv_asm_func_def=".type 2"
15177 else
15178 ac_cv_asm_func_def="unknown"
15180 rm -f core conftest.err conftest.$ac_objext \
15181 conftest$ac_exeext conftest.$ac_ext
15183 rm -f core conftest.err conftest.$ac_objext \
15184 conftest$ac_exeext conftest.$ac_ext
15186 rm -f core conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15190 $as_echo "$ac_cv_asm_func_def" >&6; }
15193 case "$ac_cv_asm_func_def" in
15194 ".def")
15195 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15197 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15198 ".type @function")
15199 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15201 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15202 ".type 2")
15203 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15205 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15207 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15209 asm_func_header="" ;;
15210 esac
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15213 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15214 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 asm(".text\n\t.long 0");
15221 main ()
15225 return 0;
15227 _ACEOF
15228 if ac_fn_c_try_compile "$LINENO"; then :
15229 ac_cv_c_asm_outside_funcs="yes"
15230 else
15231 ac_cv_c_asm_outside_funcs="no"
15233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15236 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15239 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15240 if ${ac_cv_c_dot_previous+:} false; then :
15241 $as_echo_n "(cached) " >&6
15242 else
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15247 main ()
15249 asm(".text\nac_test:\t.long 0\n\t.previous");
15251 return 0;
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 ac_cv_c_dot_previous="yes"
15256 else
15257 ac_cv_c_dot_previous="no"
15259 rm -f core conftest.err conftest.$ac_objext \
15260 conftest$ac_exeext conftest.$ac_ext
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15263 $as_echo "$ac_cv_c_dot_previous" >&6; }
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15266 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15267 if ${ac_cv_c_cfi_support+:} false; then :
15268 $as_echo_n "(cached) " >&6
15269 else
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15272 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15274 main ()
15278 return 0;
15280 _ACEOF
15281 if ac_fn_c_try_compile "$LINENO"; then :
15282 ac_cv_c_cfi_support="yes"
15283 else
15284 ac_cv_c_cfi_support="no"
15286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15289 $as_echo "$ac_cv_c_cfi_support" >&6; }
15291 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15292 asm_func_trailer=""
15293 if test "$ac_cv_c_dot_previous" = "yes"
15294 then
15295 asm_func_trailer="\\n\\t.previous"
15297 if test "$ac_cv_c_cfi_support" = "yes"
15298 then
15299 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15300 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15302 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15304 UNWINDFLAGS=-fasynchronous-unwind-tables
15306 else
15307 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15309 if test "x$enable_win64" = "xyes"
15310 then
15311 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15315 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15318 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15319 then
15320 cat >>confdefs.h <<_ACEOF
15321 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15322 _ACEOF
15324 else
15325 cat >>confdefs.h <<_ACEOF
15326 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15327 _ACEOF
15331 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15334 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15338 case $build_os in
15339 cygwin*|mingw32*) TOOLSEXT=".exe"
15341 esac
15343 case $host_os in
15344 linux*)
15345 case $host_cpu in
15346 *i[3456789]86*|x86_64*)
15347 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15348 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15350 esac
15352 esac
15355 ac_save_CFLAGS="$CFLAGS"
15356 CFLAGS="$CFLAGS $BUILTINFLAG"
15357 for ac_func in \
15358 __res_get_state \
15359 __res_getservers \
15360 _finite \
15361 _isnan \
15362 _pclose \
15363 _popen \
15364 _snprintf \
15365 _spawnvp \
15366 _strdup \
15367 _stricmp \
15368 _strnicmp \
15369 _strtoi64 \
15370 _strtoui64 \
15371 _vsnprintf \
15372 asctime_r \
15373 chsize \
15374 dlopen \
15375 epoll_create \
15376 ffs \
15377 finitef \
15378 fnmatch \
15379 fork \
15380 fpclass \
15381 fstatfs \
15382 fstatvfs \
15383 ftruncate \
15384 futimens \
15385 futimes \
15386 futimesat \
15387 getattrlist \
15388 getauxval \
15389 getopt_long_only \
15390 getpwuid \
15391 gettimeofday \
15392 getuid \
15393 isnanf \
15394 kqueue \
15395 lstat \
15396 memmove \
15397 mmap \
15398 pclose \
15399 pipe2 \
15400 poll \
15401 popen \
15402 port_create \
15403 prctl \
15404 pread \
15405 proc_pidinfo \
15406 pwrite \
15407 readdir \
15408 readlink \
15409 sched_yield \
15410 select \
15411 setproctitle \
15412 setprogname \
15413 setrlimit \
15414 settimeofday \
15415 sigaltstack \
15416 sigprocmask \
15417 snprintf \
15418 statfs \
15419 statvfs \
15420 strcasecmp \
15421 strdup \
15422 strerror \
15423 strncasecmp \
15424 strtold \
15425 strtoll \
15426 strtoull \
15427 symlink \
15428 sysinfo \
15429 tcdrain \
15430 thr_kill2 \
15431 timegm \
15432 usleep \
15433 vsnprintf
15435 do :
15436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15439 cat >>confdefs.h <<_ACEOF
15440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15441 _ACEOF
15444 done
15446 CFLAGS="$ac_save_CFLAGS"
15448 if test "$ac_cv_func_dlopen" = no
15449 then
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15451 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15452 if ${ac_cv_lib_dl_dlopen+:} false; then :
15453 $as_echo_n "(cached) " >&6
15454 else
15455 ac_check_lib_save_LIBS=$LIBS
15456 LIBS="-ldl $LIBS"
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15460 /* Override any GCC internal prototype to avoid an error.
15461 Use char because int might match the return type of a GCC
15462 builtin and then its argument prototype would still apply. */
15463 #ifdef __cplusplus
15464 extern "C"
15465 #endif
15466 char dlopen ();
15468 main ()
15470 return dlopen ();
15472 return 0;
15474 _ACEOF
15475 if ac_fn_c_try_link "$LINENO"; then :
15476 ac_cv_lib_dl_dlopen=yes
15477 else
15478 ac_cv_lib_dl_dlopen=no
15480 rm -f core conftest.err conftest.$ac_objext \
15481 conftest$ac_exeext conftest.$ac_ext
15482 LIBS=$ac_check_lib_save_LIBS
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15485 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15486 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15487 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15488 DL_LIBS="-ldl"
15493 ac_wine_check_funcs_save_LIBS="$LIBS"
15494 LIBS="$LIBS $DL_LIBS"
15495 for ac_func in dladdr
15496 do :
15497 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15498 if test "x$ac_cv_func_dladdr" = xyes; then :
15499 cat >>confdefs.h <<_ACEOF
15500 #define HAVE_DLADDR 1
15501 _ACEOF
15504 done
15506 LIBS="$ac_wine_check_funcs_save_LIBS"
15508 if test "$ac_cv_func_poll" = no
15509 then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15511 $as_echo_n "checking for poll in -lpoll... " >&6; }
15512 if ${ac_cv_lib_poll_poll+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_check_lib_save_LIBS=$LIBS
15516 LIBS="-lpoll $LIBS"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 #ifdef __cplusplus
15524 extern "C"
15525 #endif
15526 char poll ();
15528 main ()
15530 return poll ();
15532 return 0;
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 ac_cv_lib_poll_poll=yes
15537 else
15538 ac_cv_lib_poll_poll=no
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15542 LIBS=$ac_check_lib_save_LIBS
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15545 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15546 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15547 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15548 POLL_LIBS="-lpoll"
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15555 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15556 if ${ac_cv_search_gethostbyname+:} false; then :
15557 $as_echo_n "(cached) " >&6
15558 else
15559 ac_func_search_save_LIBS=$LIBS
15560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15563 /* Override any GCC internal prototype to avoid an error.
15564 Use char because int might match the return type of a GCC
15565 builtin and then its argument prototype would still apply. */
15566 #ifdef __cplusplus
15567 extern "C"
15568 #endif
15569 char gethostbyname ();
15571 main ()
15573 return gethostbyname ();
15575 return 0;
15577 _ACEOF
15578 for ac_lib in '' nsl; do
15579 if test -z "$ac_lib"; then
15580 ac_res="none required"
15581 else
15582 ac_res=-l$ac_lib
15583 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15585 if ac_fn_c_try_link "$LINENO"; then :
15586 ac_cv_search_gethostbyname=$ac_res
15588 rm -f core conftest.err conftest.$ac_objext \
15589 conftest$ac_exeext
15590 if ${ac_cv_search_gethostbyname+:} false; then :
15591 break
15593 done
15594 if ${ac_cv_search_gethostbyname+:} false; then :
15596 else
15597 ac_cv_search_gethostbyname=no
15599 rm conftest.$ac_ext
15600 LIBS=$ac_func_search_save_LIBS
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15603 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15604 ac_res=$ac_cv_search_gethostbyname
15605 if test "$ac_res" != no; then :
15606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15612 $as_echo_n "checking for library containing connect... " >&6; }
15613 if ${ac_cv_search_connect+:} false; then :
15614 $as_echo_n "(cached) " >&6
15615 else
15616 ac_func_search_save_LIBS=$LIBS
15617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618 /* end confdefs.h. */
15620 /* Override any GCC internal prototype to avoid an error.
15621 Use char because int might match the return type of a GCC
15622 builtin and then its argument prototype would still apply. */
15623 #ifdef __cplusplus
15624 extern "C"
15625 #endif
15626 char connect ();
15628 main ()
15630 return connect ();
15632 return 0;
15634 _ACEOF
15635 for ac_lib in '' socket; do
15636 if test -z "$ac_lib"; then
15637 ac_res="none required"
15638 else
15639 ac_res=-l$ac_lib
15640 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15642 if ac_fn_c_try_link "$LINENO"; then :
15643 ac_cv_search_connect=$ac_res
15645 rm -f core conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext
15647 if ${ac_cv_search_connect+:} false; then :
15648 break
15650 done
15651 if ${ac_cv_search_connect+:} false; then :
15653 else
15654 ac_cv_search_connect=no
15656 rm conftest.$ac_ext
15657 LIBS=$ac_func_search_save_LIBS
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15660 $as_echo "$ac_cv_search_connect" >&6; }
15661 ac_res=$ac_cv_search_connect
15662 if test "$ac_res" != no; then :
15663 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15669 $as_echo_n "checking for library containing inet_aton... " >&6; }
15670 if ${ac_cv_search_inet_aton+:} false; then :
15671 $as_echo_n "(cached) " >&6
15672 else
15673 ac_func_search_save_LIBS=$LIBS
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 #ifdef __cplusplus
15681 extern "C"
15682 #endif
15683 char inet_aton ();
15685 main ()
15687 return inet_aton ();
15689 return 0;
15691 _ACEOF
15692 for ac_lib in '' resolv; do
15693 if test -z "$ac_lib"; then
15694 ac_res="none required"
15695 else
15696 ac_res=-l$ac_lib
15697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15699 if ac_fn_c_try_link "$LINENO"; then :
15700 ac_cv_search_inet_aton=$ac_res
15702 rm -f core conftest.err conftest.$ac_objext \
15703 conftest$ac_exeext
15704 if ${ac_cv_search_inet_aton+:} false; then :
15705 break
15707 done
15708 if ${ac_cv_search_inet_aton+:} false; then :
15710 else
15711 ac_cv_search_inet_aton=no
15713 rm conftest.$ac_ext
15714 LIBS=$ac_func_search_save_LIBS
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15717 $as_echo "$ac_cv_search_inet_aton" >&6; }
15718 ac_res=$ac_cv_search_inet_aton
15719 if test "$ac_res" != no; then :
15720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15725 for ac_func in \
15726 getaddrinfo \
15727 getnameinfo \
15728 getnetbyname \
15729 getprotobyname \
15730 getprotobynumber \
15731 getservbyport \
15732 inet_addr \
15733 inet_network \
15734 inet_ntop \
15735 inet_pton \
15736 sendmsg \
15737 socketpair \
15739 do :
15740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15742 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15743 cat >>confdefs.h <<_ACEOF
15744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15745 _ACEOF
15748 done
15751 ac_save_LIBS=$LIBS
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15753 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15754 if ${ac_cv_search_clock_gettime+:} false; then :
15755 $as_echo_n "(cached) " >&6
15756 else
15757 ac_func_search_save_LIBS=$LIBS
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 #ifdef __cplusplus
15765 extern "C"
15766 #endif
15767 char clock_gettime ();
15769 main ()
15771 return clock_gettime ();
15773 return 0;
15775 _ACEOF
15776 for ac_lib in '' rt; do
15777 if test -z "$ac_lib"; then
15778 ac_res="none required"
15779 else
15780 ac_res=-l$ac_lib
15781 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15783 if ac_fn_c_try_link "$LINENO"; then :
15784 ac_cv_search_clock_gettime=$ac_res
15786 rm -f core conftest.err conftest.$ac_objext \
15787 conftest$ac_exeext
15788 if ${ac_cv_search_clock_gettime+:} false; then :
15789 break
15791 done
15792 if ${ac_cv_search_clock_gettime+:} false; then :
15794 else
15795 ac_cv_search_clock_gettime=no
15797 rm conftest.$ac_ext
15798 LIBS=$ac_func_search_save_LIBS
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15801 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15802 ac_res=$ac_cv_search_clock_gettime
15803 if test "$ac_res" != no; then :
15804 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15806 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15808 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15812 LIBS=$ac_save_LIBS
15814 LDAP_LIBS=""
15816 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15817 then
15818 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15820 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15822 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15823 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15824 $as_echo_n "(cached) " >&6
15825 else
15826 ac_check_lib_save_LIBS=$LIBS
15827 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15829 /* end confdefs.h. */
15831 /* Override any GCC internal prototype to avoid an error.
15832 Use char because int might match the return type of a GCC
15833 builtin and then its argument prototype would still apply. */
15834 #ifdef __cplusplus
15835 extern "C"
15836 #endif
15837 char ldap_initialize ();
15839 main ()
15841 return ldap_initialize ();
15843 return 0;
15845 _ACEOF
15846 if ac_fn_c_try_link "$LINENO"; then :
15847 ac_cv_lib_ldap_r_ldap_initialize=yes
15848 else
15849 ac_cv_lib_ldap_r_ldap_initialize=no
15851 rm -f core conftest.err conftest.$ac_objext \
15852 conftest$ac_exeext conftest.$ac_ext
15853 LIBS=$ac_check_lib_save_LIBS
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15856 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15857 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15859 $as_echo_n "checking for ber_init in -llber... " >&6; }
15860 if ${ac_cv_lib_lber_ber_init+:} false; then :
15861 $as_echo_n "(cached) " >&6
15862 else
15863 ac_check_lib_save_LIBS=$LIBS
15864 LIBS="-llber $PTHREAD_LIBS $LIBS"
15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15868 /* Override any GCC internal prototype to avoid an error.
15869 Use char because int might match the return type of a GCC
15870 builtin and then its argument prototype would still apply. */
15871 #ifdef __cplusplus
15872 extern "C"
15873 #endif
15874 char ber_init ();
15876 main ()
15878 return ber_init ();
15880 return 0;
15882 _ACEOF
15883 if ac_fn_c_try_link "$LINENO"; then :
15884 ac_cv_lib_lber_ber_init=yes
15885 else
15886 ac_cv_lib_lber_ber_init=no
15888 rm -f core conftest.err conftest.$ac_objext \
15889 conftest$ac_exeext conftest.$ac_ext
15890 LIBS=$ac_check_lib_save_LIBS
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15893 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15894 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15896 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15898 LDAP_LIBS="-lldap_r -llber"
15905 ac_wine_check_funcs_save_LIBS="$LIBS"
15906 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15907 for ac_func in \
15908 ldap_count_references \
15909 ldap_first_reference \
15910 ldap_next_reference \
15911 ldap_parse_reference \
15912 ldap_parse_sort_control \
15913 ldap_parse_sortresponse_control \
15914 ldap_parse_vlv_control \
15915 ldap_parse_vlvresponse_control
15916 do :
15917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15920 cat >>confdefs.h <<_ACEOF
15921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15922 _ACEOF
15925 done
15927 LIBS="$ac_wine_check_funcs_save_LIBS"
15929 if test "x$LDAP_LIBS" = "x"; then :
15930 case "x$with_ldap" in
15931 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15932 xno) ;;
15933 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15934 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15935 esac
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15940 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15941 if ${wine_cv_one_arg_mkdir+:} false; then :
15942 $as_echo_n "(cached) " >&6
15943 else
15944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15946 #include <sys/stat.h>
15948 main ()
15950 mkdir("foo");
15952 return 0;
15954 _ACEOF
15955 if ac_fn_c_try_compile "$LINENO"; then :
15956 wine_cv_one_arg_mkdir=yes
15957 else
15958 wine_cv_one_arg_mkdir=no
15960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15963 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15964 if test "$wine_cv_one_arg_mkdir" = "yes"
15965 then
15967 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15972 $as_echo_n "checking for sched_setaffinity... " >&6; }
15973 if ${wine_cv_have_sched_setaffinity+:} false; then :
15974 $as_echo_n "(cached) " >&6
15975 else
15976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15977 /* end confdefs.h. */
15978 #define _GNU_SOURCE
15979 #include <sched.h>
15981 main ()
15983 sched_setaffinity(0, 0, 0);
15985 return 0;
15987 _ACEOF
15988 if ac_fn_c_try_link "$LINENO"; then :
15989 wine_cv_have_sched_setaffinity=yes
15990 else
15991 wine_cv_have_sched_setaffinity=no
15993 rm -f core conftest.err conftest.$ac_objext \
15994 conftest$ac_exeext conftest.$ac_ext
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15997 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15998 if test "$wine_cv_have_sched_setaffinity" = "yes"
15999 then
16001 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16006 $as_echo_n "checking for fallocate... " >&6; }
16007 if ${wine_cv_have_fallocate+:} false; then :
16008 $as_echo_n "(cached) " >&6
16009 else
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16012 #define _GNU_SOURCE
16013 #include <fcntl.h>
16015 main ()
16017 fallocate(-1, 0, 0, 0);
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 wine_cv_have_fallocate=yes
16024 else
16025 wine_cv_have_fallocate=no
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16031 $as_echo "$wine_cv_have_fallocate" >&6; }
16032 if test "$wine_cv_have_fallocate" = "yes"
16033 then
16035 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16041 $as_echo_n "checking for inline... " >&6; }
16042 if ${ac_cv_c_inline+:} false; then :
16043 $as_echo_n "(cached) " >&6
16044 else
16045 ac_cv_c_inline=no
16046 for ac_kw in inline __inline__ __inline; do
16047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16048 /* end confdefs.h. */
16049 #ifndef __cplusplus
16050 typedef int foo_t;
16051 static $ac_kw foo_t static_foo () {return 0; }
16052 $ac_kw foo_t foo () {return 0; }
16053 #endif
16055 _ACEOF
16056 if ac_fn_c_try_compile "$LINENO"; then :
16057 ac_cv_c_inline=$ac_kw
16059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16060 test "$ac_cv_c_inline" != no && break
16061 done
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16065 $as_echo "$ac_cv_c_inline" >&6; }
16067 case $ac_cv_c_inline in
16068 inline | yes) ;;
16070 case $ac_cv_c_inline in
16071 no) ac_val=;;
16072 *) ac_val=$ac_cv_c_inline;;
16073 esac
16074 cat >>confdefs.h <<_ACEOF
16075 #ifndef __cplusplus
16076 #define inline $ac_val
16077 #endif
16078 _ACEOF
16080 esac
16082 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16083 if test "x$ac_cv_type_mode_t" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_MODE_T 1
16087 _ACEOF
16091 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16092 if test "x$ac_cv_type_off_t" = xyes; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define HAVE_OFF_T 1
16096 _ACEOF
16100 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16101 if test "x$ac_cv_type_pid_t" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_PID_T 1
16105 _ACEOF
16109 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16110 if test "x$ac_cv_type_size_t" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_SIZE_T 1
16114 _ACEOF
16118 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16119 if test "x$ac_cv_type_ssize_t" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_SSIZE_T 1
16123 _ACEOF
16127 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16128 if test "x$ac_cv_type_long_long" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_LONG_LONG 1
16132 _ACEOF
16136 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16137 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_FSBLKCNT_T 1
16141 _ACEOF
16145 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16146 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_FSFILCNT_T 1
16150 _ACEOF
16155 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16156 #include <signal.h>
16158 if test "x$ac_cv_type_sigset_t" = xyes; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define HAVE_SIGSET_T 1
16162 _ACEOF
16167 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16169 if test "x$ac_cv_type_request_sense" = xyes; then :
16171 cat >>confdefs.h <<_ACEOF
16172 #define HAVE_REQUEST_SENSE 1
16173 _ACEOF
16179 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16180 #ifdef HAVE_SYS_SOCKET_H
16181 #include <sys/socket.h>
16182 #endif
16183 #ifdef HAVE_SYS_SOCKETVAR_H
16184 #include <sys/socketvar.h>
16185 #endif
16186 #ifdef HAVE_NET_ROUTE_H
16187 #include <net/route.h>
16188 #endif
16189 #ifdef HAVE_NETINET_IN_H
16190 #include <netinet/in.h>
16191 #endif
16192 #ifdef HAVE_NETINET_IN_SYSTM_H
16193 #include <netinet/in_systm.h>
16194 #endif
16195 #ifdef HAVE_NETINET_IP_H
16196 #include <netinet/ip.h>
16197 #endif
16198 #ifdef HAVE_NETINET_IN_PCB_H
16199 #include <netinet/in_pcb.h>
16200 #endif
16202 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_STRUCT_XINPGEN 1
16206 _ACEOF
16212 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16213 #include <link.h>
16214 #endif
16215 #ifdef HAVE_SYS_LINK_H
16216 #include <sys/link.h>
16217 #endif
16219 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_STRUCT_R_DEBUG 1
16223 _ACEOF
16227 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16228 #include <link.h>
16229 #endif
16230 #ifdef HAVE_SYS_LINK_H
16231 #include <sys/link.h>
16232 #endif
16234 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16236 cat >>confdefs.h <<_ACEOF
16237 #define HAVE_STRUCT_LINK_MAP 1
16238 _ACEOF
16244 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16245 #include <linux/input.h>
16246 #endif
16248 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16252 _ACEOF
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16259 $as_echo_n "checking for if_nameindex... " >&6; }
16260 if ${wine_cv_have_if_nameindex+:} false; then :
16261 $as_echo_n "(cached) " >&6
16262 else
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16265 #ifdef HAVE_SYS_TYPES_H
16266 #include <sys/types.h>
16267 #endif
16268 #ifdef HAVE_NET_IF_H
16269 # include <net/if.h>
16270 #endif
16272 main ()
16274 struct if_nameindex *p = if_nameindex(); return p->if_index;
16276 return 0;
16278 _ACEOF
16279 if ac_fn_c_try_link "$LINENO"; then :
16280 wine_cv_have_if_nameindex=yes
16281 else
16282 wine_cv_have_if_nameindex=no
16284 rm -f core conftest.err conftest.$ac_objext \
16285 conftest$ac_exeext conftest.$ac_ext
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16288 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16289 if test "$wine_cv_have_if_nameindex" = "yes"
16290 then
16292 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16297 $as_echo_n "checking for sigaddset... " >&6; }
16298 if ${wine_cv_have_sigaddset+:} false; then :
16299 $as_echo_n "(cached) " >&6
16300 else
16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16303 #include <signal.h>
16305 main ()
16307 sigset_t set; sigaddset(&set,SIGTERM);
16309 return 0;
16311 _ACEOF
16312 if ac_fn_c_try_link "$LINENO"; then :
16313 wine_cv_have_sigaddset=yes
16314 else
16315 wine_cv_have_sigaddset=no
16317 rm -f core conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16321 $as_echo "$wine_cv_have_sigaddset" >&6; }
16322 if test "$wine_cv_have_sigaddset" = "yes"
16323 then
16325 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16331 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16332 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16333 $as_echo_n "(cached) " >&6
16334 else
16335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16337 #include <netdb.h>
16339 main ()
16342 char *name=0;
16343 struct hostent he;
16344 struct hostent *result;
16345 char *buf=0;
16346 int bufsize=0;
16347 int errnr;
16348 char *addr=0;
16349 int addrlen=0;
16350 int addrtype=0;
16351 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16352 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16355 return 0;
16357 _ACEOF
16358 if ac_fn_c_try_link "$LINENO"; then :
16359 wine_cv_linux_gethostbyname_r_6=yes
16360 else
16361 wine_cv_linux_gethostbyname_r_6=no
16364 rm -f core conftest.err conftest.$ac_objext \
16365 conftest$ac_exeext conftest.$ac_ext
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16369 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16370 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16371 then
16373 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16377 if test "$ac_cv_header_linux_joystick_h" = "yes"
16378 then
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16380 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16381 if ${wine_cv_linux_joystick_22_api+:} false; then :
16382 $as_echo_n "(cached) " >&6
16383 else
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16387 #include <sys/ioctl.h>
16388 #include <sys/types.h>
16389 #include <linux/joystick.h>
16391 struct js_event blub;
16392 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16393 #error "no 2.2 header"
16394 #endif
16397 main ()
16399 /*empty*/
16401 return 0;
16403 _ACEOF
16404 if ac_fn_c_try_compile "$LINENO"; then :
16405 wine_cv_linux_joystick_22_api=yes
16406 else
16407 wine_cv_linux_joystick_22_api=no
16409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16413 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16414 if test "$wine_cv_linux_joystick_22_api" = "yes"
16415 then
16417 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16423 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16424 #ifdef HAVE_SYS_PARAM_H
16425 # include <sys/param.h>
16426 #endif
16427 #ifdef HAVE_SYS_MOUNT_H
16428 # include <sys/mount.h>
16429 #endif
16430 #ifdef HAVE_SYS_VFS_H
16431 # include <sys/vfs.h>
16432 #endif
16433 #ifdef HAVE_SYS_STATFS_H
16434 # include <sys/statfs.h>
16435 #endif
16437 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT_STATFS_F_BFREE 1
16441 _ACEOF
16445 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16446 #ifdef HAVE_SYS_PARAM_H
16447 # include <sys/param.h>
16448 #endif
16449 #ifdef HAVE_SYS_MOUNT_H
16450 # include <sys/mount.h>
16451 #endif
16452 #ifdef HAVE_SYS_VFS_H
16453 # include <sys/vfs.h>
16454 #endif
16455 #ifdef HAVE_SYS_STATFS_H
16456 # include <sys/statfs.h>
16457 #endif
16459 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16463 _ACEOF
16467 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16468 #ifdef HAVE_SYS_PARAM_H
16469 # include <sys/param.h>
16470 #endif
16471 #ifdef HAVE_SYS_MOUNT_H
16472 # include <sys/mount.h>
16473 #endif
16474 #ifdef HAVE_SYS_VFS_H
16475 # include <sys/vfs.h>
16476 #endif
16477 #ifdef HAVE_SYS_STATFS_H
16478 # include <sys/statfs.h>
16479 #endif
16481 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16485 _ACEOF
16489 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16490 #ifdef HAVE_SYS_PARAM_H
16491 # include <sys/param.h>
16492 #endif
16493 #ifdef HAVE_SYS_MOUNT_H
16494 # include <sys/mount.h>
16495 #endif
16496 #ifdef HAVE_SYS_VFS_H
16497 # include <sys/vfs.h>
16498 #endif
16499 #ifdef HAVE_SYS_STATFS_H
16500 # include <sys/statfs.h>
16501 #endif
16503 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_STRUCT_STATFS_F_FFREE 1
16507 _ACEOF
16511 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16512 #ifdef HAVE_SYS_PARAM_H
16513 # include <sys/param.h>
16514 #endif
16515 #ifdef HAVE_SYS_MOUNT_H
16516 # include <sys/mount.h>
16517 #endif
16518 #ifdef HAVE_SYS_VFS_H
16519 # include <sys/vfs.h>
16520 #endif
16521 #ifdef HAVE_SYS_STATFS_H
16522 # include <sys/statfs.h>
16523 #endif
16525 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16529 _ACEOF
16533 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16534 #ifdef HAVE_SYS_PARAM_H
16535 # include <sys/param.h>
16536 #endif
16537 #ifdef HAVE_SYS_MOUNT_H
16538 # include <sys/mount.h>
16539 #endif
16540 #ifdef HAVE_SYS_VFS_H
16541 # include <sys/vfs.h>
16542 #endif
16543 #ifdef HAVE_SYS_STATFS_H
16544 # include <sys/statfs.h>
16545 #endif
16547 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16551 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16558 #include <sys/statvfs.h>
16559 #endif
16561 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16565 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16572 #include <dirent.h>
16573 #endif
16575 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16579 _ACEOF
16585 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16586 #ifdef HAVE_SYS_SOCKET_H
16587 # include <sys/socket.h>
16588 #endif
16589 #ifdef HAVE_SYS_UN_H
16590 # include <sys/un.h>
16591 #endif
16593 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16597 _ACEOF
16601 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16602 #ifdef HAVE_SYS_SOCKET_H
16603 # include <sys/socket.h>
16604 #endif
16605 #ifdef HAVE_SYS_UN_H
16606 # include <sys/un.h>
16607 #endif
16609 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16613 _ACEOF
16617 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16618 #ifdef HAVE_SYS_SOCKET_H
16619 # include <sys/socket.h>
16620 #endif
16621 #ifdef HAVE_SYS_UN_H
16622 # include <sys/un.h>
16623 #endif
16625 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16629 _ACEOF
16635 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16636 #ifdef HAVE_SCSI_SG_H
16637 #include <scsi/sg.h>
16638 #endif
16640 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_SCSIREQ_T_CMD 1
16644 _ACEOF
16648 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>
16649 #ifdef HAVE_SCSI_SG_H
16650 #include <scsi/sg.h>
16651 #endif
16653 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16657 _ACEOF
16663 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16665 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_SIGINFO_T_SI_FD 1
16669 _ACEOF
16675 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16676 #ifdef HAVE_SYS_MTIO_H
16677 #include <sys/mtio.h>
16678 #endif
16680 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16682 cat >>confdefs.h <<_ACEOF
16683 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16684 _ACEOF
16688 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16689 #ifdef HAVE_SYS_MTIO_H
16690 #include <sys/mtio.h>
16691 #endif
16693 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16697 _ACEOF
16701 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16702 #ifdef HAVE_SYS_MTIO_H
16703 #include <sys/mtio.h>
16704 #endif
16706 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16708 cat >>confdefs.h <<_ACEOF
16709 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16710 _ACEOF
16716 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16717 #include <getopt.h>
16718 #endif
16720 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_STRUCT_OPTION_NAME 1
16724 _ACEOF
16730 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16731 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16733 cat >>confdefs.h <<_ACEOF
16734 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16735 _ACEOF
16739 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16740 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16742 cat >>confdefs.h <<_ACEOF
16743 #define HAVE_STRUCT_STAT_ST_MTIM 1
16744 _ACEOF
16748 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16749 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16751 cat >>confdefs.h <<_ACEOF
16752 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16753 _ACEOF
16757 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16758 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16760 cat >>confdefs.h <<_ACEOF
16761 #define HAVE_STRUCT_STAT_ST_CTIM 1
16762 _ACEOF
16766 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16767 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16771 _ACEOF
16775 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16776 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16778 cat >>confdefs.h <<_ACEOF
16779 #define HAVE_STRUCT_STAT_ST_ATIM 1
16780 _ACEOF
16784 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16785 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16787 cat >>confdefs.h <<_ACEOF
16788 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16789 _ACEOF
16793 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16794 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16796 cat >>confdefs.h <<_ACEOF
16797 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16798 _ACEOF
16802 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16803 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16805 cat >>confdefs.h <<_ACEOF
16806 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16807 _ACEOF
16811 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16812 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16814 cat >>confdefs.h <<_ACEOF
16815 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16816 _ACEOF
16820 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16821 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16825 _ACEOF
16829 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16830 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16832 cat >>confdefs.h <<_ACEOF
16833 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16834 _ACEOF
16840 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
16841 #include <sys/types.h>
16842 #endif
16843 #ifdef HAVE_NETINET_IN_H
16844 #include <netinet/in.h>
16845 #endif
16847 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16851 _ACEOF
16857 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16858 #include <sys/types.h>
16859 #endif
16860 #ifdef HAVE_NETINET_IN_H
16861 #include <netinet/in.h>
16862 #endif
16863 #ifdef HAVE_RESOLV_H
16864 #include <resolv.h>
16865 #endif
16867 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16869 cat >>confdefs.h <<_ACEOF
16870 #define HAVE_STRUCT___RES_STATE 1
16871 _ACEOF
16877 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
16878 #include <resolv.h>
16879 #endif
16881 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16885 _ACEOF
16891 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16892 #include <sys/types.h>
16893 #endif
16894 #ifdef HAVE_NETINET_IN_H
16895 # include <netinet/in.h>
16896 #endif
16897 #ifdef HAVE_ARPA_NAMESER_H
16898 # include <arpa/nameser.h>
16899 #endif
16901 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_NS_MSG__MSG_PTR 1
16905 _ACEOF
16911 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16912 #include <sys/types.h>
16913 #endif
16914 #ifdef HAVE_NETINET_IN_H
16915 #include <netinet/in.h>
16916 #endif
16917 #ifdef HAVE_NETINET_IP_H
16918 #include <netinet/ip.h>
16919 #endif
16920 #ifdef HAVE_NETINET_IP_ICMP_H
16921 #include <netinet/ip_icmp.h>
16922 #endif
16923 #ifdef HAVE_NETINET_ICMP_VAR_H
16924 #include <netinet/icmp_var.h>
16925 #endif
16927 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16929 cat >>confdefs.h <<_ACEOF
16930 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16931 _ACEOF
16937 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16938 #include <sys/types.h>
16939 #endif
16940 #ifdef HAVE_ALIAS_H
16941 #include <alias.h>
16942 #endif
16943 #ifdef HAVE_SYS_SOCKET_H
16944 #include <sys/socket.h>
16945 #endif
16946 #ifdef HAVE_SYS_SOCKETVAR_H
16947 #include <sys/socketvar.h>
16948 #endif
16949 #ifdef HAVE_SYS_TIMEOUT_H
16950 #include <sys/timeout.h>
16951 #endif
16952 #ifdef HAVE_NETINET_IN_H
16953 #include <netinet/in.h>
16954 #endif
16955 #ifdef HAVE_NETINET_IN_SYSTM_H
16956 #include <netinet/in_systm.h>
16957 #endif
16958 #ifdef HAVE_NETINET_IP_H
16959 #include <netinet/ip.h>
16960 #endif
16961 #ifdef HAVE_NETINET_IP_VAR_H
16962 #include <netinet/ip_var.h>
16963 #endif
16964 #ifdef HAVE_NETINET_IP_ICMP_H
16965 #include <netinet/ip_icmp.h>
16966 #endif
16967 #ifdef HAVE_NETINET_ICMP_VAR_H
16968 #include <netinet/icmp_var.h>
16969 #endif
16971 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16973 cat >>confdefs.h <<_ACEOF
16974 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16975 _ACEOF
16981 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16982 #include <sys/types.h>
16983 #endif
16984 #ifdef HAVE_SYS_SOCKETVAR_H
16985 #include <sys/socketvar.h>
16986 #endif
16987 #ifdef HAVE_NETINET_IN_H
16988 #include <netinet/in.h>
16989 #endif
16990 #ifdef HAVE_NETINET_IP_VAR_H
16991 #include <netinet/ip_var.h>
16992 #endif
16994 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16998 _ACEOF
17004 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
17005 #include <netinet/ip_var.h>
17006 #endif
17008 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17010 cat >>confdefs.h <<_ACEOF
17011 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17012 _ACEOF
17018 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17019 #include <sys/types.h>
17020 #endif
17021 #ifdef HAVE_SYS_SOCKETVAR_H
17022 #include <sys/socketvar.h>
17023 #endif
17024 #ifdef HAVE_NETINET_IN_H
17025 #include <netinet/in.h>
17026 #endif
17027 #ifdef HAVE_NETINET_TCP_H
17028 #include <netinet/tcp.h>
17029 #endif
17030 #ifdef HAVE_NETINET_TCP_VAR_H
17031 #include <netinet/tcp_var.h>
17032 #endif
17034 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17036 cat >>confdefs.h <<_ACEOF
17037 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17038 _ACEOF
17044 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
17045 #include <netinet/tcp_var.h>
17046 #endif
17048 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17050 cat >>confdefs.h <<_ACEOF
17051 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17052 _ACEOF
17058 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17059 #include <sys/types.h>
17060 #endif
17061 #ifdef HAVE_NETINET_IN_H
17062 #include <netinet/in.h>
17063 #endif
17064 #ifdef HAVE_NETINET_IP_VAR_H
17065 #include <netinet/ip_var.h>
17066 #endif
17067 #ifdef HAVE_NETINET_UDP_H
17068 #include <netinet/udp.h>
17069 #endif
17070 #ifdef HAVE_NETINET_UDP_VAR_H
17071 #include <netinet/udp_var.h>
17072 #endif
17074 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17076 cat >>confdefs.h <<_ACEOF
17077 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17078 _ACEOF
17084 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17085 #include <sys/types.h>
17086 #endif
17087 #ifdef HAVE_NET_IF_H
17088 # include <net/if.h>
17089 #endif
17091 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17095 _ACEOF
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17102 $as_echo_n "checking for timezone variable... " >&6; }
17103 if ${ac_cv_have_timezone+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <time.h>
17110 main ()
17112 timezone = 1
17114 return 0;
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_have_timezone="yes"
17119 else
17120 ac_cv_have_timezone="no"
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17126 $as_echo "$ac_cv_have_timezone" >&6; }
17127 if test "$ac_cv_have_timezone" = "yes"
17128 then
17130 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17134 $as_echo_n "checking for daylight variable... " >&6; }
17135 if ${ac_cv_have_daylight+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 #include <time.h>
17142 main ()
17144 daylight = 1
17146 return 0;
17148 _ACEOF
17149 if ac_fn_c_try_link "$LINENO"; then :
17150 ac_cv_have_daylight="yes"
17151 else
17152 ac_cv_have_daylight="no"
17154 rm -f core conftest.err conftest.$ac_objext \
17155 conftest$ac_exeext conftest.$ac_ext
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17158 $as_echo "$ac_cv_have_daylight" >&6; }
17159 if test "$ac_cv_have_daylight" = "yes"
17160 then
17162 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17166 ac_save_LIBS="$LIBS"
17167 LIBS="$LIBS -lm"
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17169 $as_echo_n "checking for isfinite... " >&6; }
17170 if ${ac_cv_have_isfinite+:} false; then :
17171 $as_echo_n "(cached) " >&6
17172 else
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17175 #define _GNU_SOURCE
17176 #include <math.h>
17178 main ()
17180 float f = 0.0; return isfinite(f)
17182 return 0;
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_have_isfinite="yes"
17187 else
17188 ac_cv_have_isfinite="no"
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17194 $as_echo "$ac_cv_have_isfinite" >&6; }
17195 if test "$ac_cv_have_isfinite" = "yes"
17196 then
17198 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17203 $as_echo_n "checking for isinf... " >&6; }
17204 if ${ac_cv_have_isinf+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 #include <math.h>
17211 main ()
17213 float f = 0.0; return isinf(f)
17215 return 0;
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 ac_cv_have_isinf="yes"
17220 else
17221 ac_cv_have_isinf="no"
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17227 $as_echo "$ac_cv_have_isinf" >&6; }
17228 if test "$ac_cv_have_isinf" = "yes"
17229 then
17231 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17236 $as_echo_n "checking for isnan... " >&6; }
17237 if ${ac_cv_have_isnan+:} false; then :
17238 $as_echo_n "(cached) " >&6
17239 else
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17242 #include <math.h>
17244 main ()
17246 float f = 0.0; return isnan(f)
17248 return 0;
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252 ac_cv_have_isnan="yes"
17253 else
17254 ac_cv_have_isnan="no"
17256 rm -f core conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17260 $as_echo "$ac_cv_have_isnan" >&6; }
17261 if test "$ac_cv_have_isnan" = "yes"
17262 then
17264 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17268 for ac_func in \
17269 asinh \
17270 asinhf \
17271 cbrt \
17272 cbrtf \
17273 erf \
17274 erff \
17275 exp2 \
17276 exp2f \
17277 lgamma \
17278 lgammaf \
17279 llrint \
17280 llrintf \
17281 llround \
17282 llroundf \
17283 log2 \
17284 log2f \
17285 lrint \
17286 lrintf \
17287 lround \
17288 lroundf \
17289 nearbyint \
17290 nearbyintf \
17291 powl \
17292 remainder \
17293 remainderf \
17294 rint \
17295 rintf \
17296 round \
17297 roundf \
17298 trunc \
17299 truncf
17301 do :
17302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17304 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17305 cat >>confdefs.h <<_ACEOF
17306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17307 _ACEOF
17310 done
17312 LIBS="$ac_save_LIBS"
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17315 $as_echo_n "checking for __builtin_clz... " >&6; }
17316 if ${ac_cv_have___builtin_clz+:} false; then :
17317 $as_echo_n "(cached) " >&6
17318 else
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17323 main ()
17325 return __builtin_clz(1)
17327 return 0;
17329 _ACEOF
17330 if ac_fn_c_try_link "$LINENO"; then :
17331 ac_cv_have___builtin_clz="yes"
17332 else
17333 ac_cv_have___builtin_clz="no"
17335 rm -f core conftest.err conftest.$ac_objext \
17336 conftest$ac_exeext conftest.$ac_ext
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17339 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17340 if test "$ac_cv_have___builtin_clz" = "yes"
17341 then
17343 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17348 $as_echo_n "checking for __builtin_popcount... " >&6; }
17349 if ${ac_cv_have___builtin_popcount+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17356 main ()
17358 return __builtin_popcount(1)
17360 return 0;
17362 _ACEOF
17363 if ac_fn_c_try_link "$LINENO"; then :
17364 ac_cv_have___builtin_popcount="yes"
17365 else
17366 ac_cv_have___builtin_popcount="no"
17368 rm -f core conftest.err conftest.$ac_objext \
17369 conftest$ac_exeext conftest.$ac_ext
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17372 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17373 if test "$ac_cv_have___builtin_popcount" = "yes"
17374 then
17376 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17381 case $host_cpu in
17382 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17383 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17384 if ${ac_cv_cpp_def___i386__+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 #ifndef __i386__
17391 #endif
17392 _ACEOF
17393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17394 $EGREP "yes" >/dev/null 2>&1; then :
17395 ac_cv_cpp_def___i386__=yes
17396 else
17397 ac_cv_cpp_def___i386__=no
17399 rm -f conftest*
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17403 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17404 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17405 CFLAGS="$CFLAGS -D__i386__"
17406 LINTFLAGS="$LINTFLAGS -D__i386__"
17407 fi ;;
17408 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17409 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17410 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17415 #ifndef __x86_64__
17417 #endif
17418 _ACEOF
17419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17420 $EGREP "yes" >/dev/null 2>&1; then :
17421 ac_cv_cpp_def___x86_64__=yes
17422 else
17423 ac_cv_cpp_def___x86_64__=no
17425 rm -f conftest*
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17429 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17430 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17431 CFLAGS="$CFLAGS -D__x86_64__"
17432 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17433 fi ;;
17434 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17435 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17436 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17437 $as_echo_n "(cached) " >&6
17438 else
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 #ifndef __sparc64__
17443 #endif
17444 _ACEOF
17445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17446 $EGREP "yes" >/dev/null 2>&1; then :
17447 ac_cv_cpp_def___sparc64__=yes
17448 else
17449 ac_cv_cpp_def___sparc64__=no
17451 rm -f conftest*
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17455 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17456 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17457 CFLAGS="$CFLAGS -D__sparc64__"
17458 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17459 fi ;;
17460 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17461 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17462 if ${ac_cv_cpp_def___sparc__+:} false; then :
17463 $as_echo_n "(cached) " >&6
17464 else
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 #ifndef __sparc__
17469 #endif
17470 _ACEOF
17471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17472 $EGREP "yes" >/dev/null 2>&1; then :
17473 ac_cv_cpp_def___sparc__=yes
17474 else
17475 ac_cv_cpp_def___sparc__=no
17477 rm -f conftest*
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17481 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17482 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17483 CFLAGS="$CFLAGS -D__sparc__"
17484 LINTFLAGS="$LINTFLAGS -D__sparc__"
17485 fi ;;
17486 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17487 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17488 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17489 $as_echo_n "(cached) " >&6
17490 else
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #ifndef __powerpc64__
17495 #endif
17496 _ACEOF
17497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17498 $EGREP "yes" >/dev/null 2>&1; then :
17499 ac_cv_cpp_def___powerpc64__=yes
17500 else
17501 ac_cv_cpp_def___powerpc64__=no
17503 rm -f conftest*
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17507 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17508 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17509 CFLAGS="$CFLAGS -D__powerpc64__"
17510 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17511 fi ;;
17512 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17513 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17514 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 #ifndef __powerpc__
17521 #endif
17522 _ACEOF
17523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17524 $EGREP "yes" >/dev/null 2>&1; then :
17525 ac_cv_cpp_def___powerpc__=yes
17526 else
17527 ac_cv_cpp_def___powerpc__=no
17529 rm -f conftest*
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17533 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17534 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17535 CFLAGS="$CFLAGS -D__powerpc__"
17536 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17537 fi ;;
17538 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17539 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17540 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17545 #ifndef __aarch64__
17547 #endif
17548 _ACEOF
17549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17550 $EGREP "yes" >/dev/null 2>&1; then :
17551 ac_cv_cpp_def___aarch64__=yes
17552 else
17553 ac_cv_cpp_def___aarch64__=no
17555 rm -f conftest*
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17559 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17560 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17561 CFLAGS="$CFLAGS -D__aarch64__"
17562 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17563 fi ;;
17564 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17565 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17566 if ${ac_cv_cpp_def___arm__+:} false; then :
17567 $as_echo_n "(cached) " >&6
17568 else
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #ifndef __arm__
17573 #endif
17574 _ACEOF
17575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17576 $EGREP "yes" >/dev/null 2>&1; then :
17577 ac_cv_cpp_def___arm__=yes
17578 else
17579 ac_cv_cpp_def___arm__=no
17581 rm -f conftest*
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17585 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17586 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17587 CFLAGS="$CFLAGS -D__arm__"
17588 LINTFLAGS="$LINTFLAGS -D__arm__"
17589 fi ;;
17590 esac
17592 case $host_vendor in
17593 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17594 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17595 if ${ac_cv_cpp_def___sun__+:} false; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 #ifndef __sun__
17602 #endif
17603 _ACEOF
17604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17605 $EGREP "yes" >/dev/null 2>&1; then :
17606 ac_cv_cpp_def___sun__=yes
17607 else
17608 ac_cv_cpp_def___sun__=no
17610 rm -f conftest*
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17614 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17615 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17616 CFLAGS="$CFLAGS -D__sun__"
17617 LINTFLAGS="$LINTFLAGS -D__sun__"
17618 fi ;;
17619 esac
17625 ac_config_commands="$ac_config_commands include/stamp-h"
17627 $as_echo_n "creating Makefile rules..." >&6
17629 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17630 SOCKET_LIBS = $SOCKET_LIBS
17631 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17632 IOKIT_LIBS = $IOKIT_LIBS
17633 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17634 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17635 CORESERVICES_LIBS = $CORESERVICES_LIBS
17636 APPKIT_LIBS = $APPKIT_LIBS
17637 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17638 SECURITY_LIBS = $SECURITY_LIBS
17639 COREAUDIO_LIBS = $COREAUDIO_LIBS
17640 OPENAL_LIBS = $OPENAL_LIBS
17641 OPENCL_LIBS = $OPENCL_LIBS
17642 QUICKTIME_LIBS = $QUICKTIME_LIBS
17643 CARBON_LIBS = $CARBON_LIBS
17644 PTHREAD_LIBS = $PTHREAD_LIBS
17645 X_CFLAGS = $X_CFLAGS
17646 X_PRE_LIBS = $X_PRE_LIBS
17647 X_LIBS = $X_LIBS
17648 X_EXTRA_LIBS = $X_EXTRA_LIBS
17649 PCAP_LIBS = $PCAP_LIBS
17650 XML2_CFLAGS = $XML2_CFLAGS
17651 XML2_LIBS = $XML2_LIBS
17652 XSLT_CFLAGS = $XSLT_CFLAGS
17653 XSLT_LIBS = $XSLT_LIBS
17654 DBUS_CFLAGS = $DBUS_CFLAGS
17655 DBUS_LIBS = $DBUS_LIBS
17656 HAL_CFLAGS = $HAL_CFLAGS
17657 HAL_LIBS = $HAL_LIBS
17658 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17659 GNUTLS_LIBS = $GNUTLS_LIBS
17660 SANE_CFLAGS = $SANE_CFLAGS
17661 SANE_LIBS = $SANE_LIBS
17662 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17663 GPHOTO2_LIBS = $GPHOTO2_LIBS
17664 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17665 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17666 RESOLV_LIBS = $RESOLV_LIBS
17667 LCMS2_CFLAGS = $LCMS2_CFLAGS
17668 LCMS2_LIBS = $LCMS2_LIBS
17669 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17670 FREETYPE_LIBS = $FREETYPE_LIBS
17671 Z_LIBS = $Z_LIBS
17672 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17673 PULSE_CFLAGS = $PULSE_CFLAGS
17674 PULSE_LIBS = $PULSE_LIBS
17675 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17676 GSTREAMER_LIBS = $GSTREAMER_LIBS
17677 ALSA_LIBS = $ALSA_LIBS
17678 OSS4_CFLAGS = $OSS4_CFLAGS
17679 UDEV_CFLAGS = $UDEV_CFLAGS
17680 UDEV_LIBS = $UDEV_LIBS
17681 CAPI20_CFLAGS = $CAPI20_CFLAGS
17682 CAPI20_LIBS = $CAPI20_LIBS
17683 CUPS_CFLAGS = $CUPS_CFLAGS
17684 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17685 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17686 JPEG_CFLAGS = $JPEG_CFLAGS
17687 JPEG_LIBS = $JPEG_LIBS
17688 PNG_CFLAGS = $PNG_CFLAGS
17689 PNG_LIBS = $PNG_LIBS
17690 TIFF_CFLAGS = $TIFF_CFLAGS
17691 TIFF_LIBS = $TIFF_LIBS
17692 MPG123_CFLAGS = $MPG123_CFLAGS
17693 MPG123_LIBS = $MPG123_LIBS
17694 KSTAT_LIBS = $KSTAT_LIBS
17695 PROCSTAT_LIBS = $PROCSTAT_LIBS
17696 NETAPI_CFLAGS = $NETAPI_CFLAGS
17697 NETAPI_LIBS = $NETAPI_LIBS
17698 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17699 DL_LIBS = $DL_LIBS
17700 POLL_LIBS = $POLL_LIBS
17701 RT_LIBS = $RT_LIBS
17702 LDAP_LIBS = $LDAP_LIBS
17707 wine_fn_append_rule "
17708 # Rules automatically generated by configure
17710 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17712 .INIT: Makefile
17713 .MAKEFILEDEPS:
17714 all: Makefile
17715 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17716 @./config.status Make.tmp Makefile
17717 depend: \$(MAKEDEP) dummy
17718 \$(MAKEDEP)"
17720 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17721 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17723 if test "x$enable_fonts" != xno; then
17724 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17725 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17726 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17727 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17728 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17729 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17731 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17732 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17733 ac_config_links="$ac_config_links wine:tools/winewrapper"
17734 wine_fn_config_symlink wine
17735 if test "x$enable_win64" != xno; then
17736 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17737 wine_fn_config_symlink wine64
17740 wine_fn_config_dll acledit enable_acledit
17741 wine_fn_config_dll aclui enable_aclui implib
17742 wine_fn_config_dll activeds enable_activeds implib
17743 wine_fn_config_dll actxprxy enable_actxprxy clean
17744 wine_fn_config_lib adsiid
17745 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17746 wine_fn_config_test dlls/advapi32/tests advapi32_test
17747 wine_fn_config_dll advpack enable_advpack implib
17748 wine_fn_config_test dlls/advpack/tests advpack_test
17749 wine_fn_config_dll amstream enable_amstream clean
17750 wine_fn_config_test dlls/amstream/tests amstream_test
17751 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17752 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17753 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17754 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17755 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17756 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17757 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17758 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17759 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17760 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17761 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17762 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17763 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17764 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17765 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17766 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17767 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17768 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17769 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17770 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17771 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17772 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17773 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17774 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17775 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17776 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17777 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17778 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17779 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17780 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17781 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17782 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17783 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17784 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17785 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17786 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17787 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17788 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17789 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17790 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17791 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17792 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17793 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17794 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17795 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17796 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17797 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17798 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17799 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17800 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17801 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17802 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17803 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17804 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17805 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17806 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17807 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17808 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17809 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17810 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17811 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17812 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17813 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17814 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17815 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17816 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17817 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17818 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17819 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17820 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17821 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17822 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17823 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17824 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17825 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17826 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17827 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17828 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17829 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17830 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17831 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17832 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17833 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17834 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17835 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17836 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17837 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17838 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17839 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17840 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17841 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17842 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17843 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17844 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17845 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17846 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17847 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17848 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17849 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17850 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17851 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17852 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17853 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17854 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17855 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17856 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17857 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17858 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17859 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17860 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17861 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17862 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17863 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17864 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17865 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17866 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17867 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17868 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17869 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17870 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17871 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17872 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17873 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17874 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17875 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17876 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17877 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17878 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17879 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17880 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17881 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17882 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17883 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17884 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17885 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17886 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17887 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17888 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17889 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17890 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17891 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17892 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17893 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17894 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17895 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17896 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17897 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17898 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17899 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17900 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17901 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
17902 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17903 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17904 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17905 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17906 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17907 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17908 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17909 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17910 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17911 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17912 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17913 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17914 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17915 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17916 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17917 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17918 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17919 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17920 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17921 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17922 wine_fn_config_dll apphelp enable_apphelp
17923 wine_fn_config_test dlls/apphelp/tests apphelp_test
17924 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17925 wine_fn_config_dll atl enable_atl clean,implib
17926 wine_fn_config_test dlls/atl/tests atl_test
17927 wine_fn_config_dll atl100 enable_atl100 clean,implib
17928 wine_fn_config_test dlls/atl100/tests atl100_test
17929 wine_fn_config_dll atl110 enable_atl110 clean
17930 wine_fn_config_dll atl80 enable_atl80 clean,implib
17931 wine_fn_config_test dlls/atl80/tests atl80_test
17932 wine_fn_config_dll atl90 enable_atl90 clean
17933 wine_fn_config_dll authz enable_authz
17934 wine_fn_config_dll avicap32 enable_avicap32 implib
17935 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17936 wine_fn_config_test dlls/avifil32/tests avifil32_test
17937 wine_fn_config_dll avifile.dll16 enable_win16
17938 wine_fn_config_dll avrt enable_avrt implib
17939 wine_fn_config_dll bcrypt enable_bcrypt implib
17940 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17941 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17942 wine_fn_config_dll browseui enable_browseui clean
17943 wine_fn_config_test dlls/browseui/tests browseui_test
17944 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17945 wine_fn_config_dll cabinet enable_cabinet implib
17946 wine_fn_config_test dlls/cabinet/tests cabinet_test
17947 wine_fn_config_dll capi2032 enable_capi2032 implib
17948 wine_fn_config_dll cards enable_cards implib
17949 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17950 wine_fn_config_dll clusapi enable_clusapi implib
17951 wine_fn_config_dll combase enable_combase
17952 wine_fn_config_test dlls/combase/tests combase_test
17953 wine_fn_config_dll comcat enable_comcat
17954 wine_fn_config_test dlls/comcat/tests comcat_test
17955 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17956 wine_fn_config_test dlls/comctl32/tests comctl32_test
17957 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17958 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17959 wine_fn_config_dll comm.drv16 enable_win16
17960 wine_fn_config_dll commdlg.dll16 enable_win16
17961 wine_fn_config_dll compobj.dll16 enable_win16
17962 wine_fn_config_dll compstui enable_compstui implib
17963 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17964 wine_fn_config_dll concrt140 enable_concrt140
17965 wine_fn_config_dll connect enable_connect
17966 wine_fn_config_dll credui enable_credui clean,implib
17967 wine_fn_config_test dlls/credui/tests credui_test
17968 wine_fn_config_dll crtdll enable_crtdll
17969 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17970 wine_fn_config_test dlls/crypt32/tests crypt32_test
17971 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17972 wine_fn_config_dll cryptdll enable_cryptdll implib
17973 wine_fn_config_dll cryptext enable_cryptext
17974 wine_fn_config_dll cryptnet enable_cryptnet implib
17975 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17976 wine_fn_config_dll cryptui enable_cryptui clean,implib
17977 wine_fn_config_test dlls/cryptui/tests cryptui_test
17978 wine_fn_config_dll ctapi32 enable_ctapi32
17979 wine_fn_config_dll ctl3d.dll16 enable_win16
17980 wine_fn_config_dll ctl3d32 enable_ctl3d32
17981 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17982 wine_fn_config_dll d2d1 enable_d2d1 implib
17983 wine_fn_config_test dlls/d2d1/tests d2d1_test
17984 wine_fn_config_dll d3d10 enable_d3d10 implib
17985 wine_fn_config_test dlls/d3d10/tests d3d10_test
17986 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17987 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17988 wine_fn_config_dll d3d10core enable_d3d10core implib
17989 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17990 wine_fn_config_dll d3d11 enable_d3d11 implib
17991 wine_fn_config_test dlls/d3d11/tests d3d11_test
17992 wine_fn_config_dll d3d8 enable_d3d8 implib
17993 wine_fn_config_test dlls/d3d8/tests d3d8_test
17994 wine_fn_config_dll d3d9 enable_d3d9 implib
17995 wine_fn_config_test dlls/d3d9/tests d3d9_test
17996 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17997 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17998 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17999 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18000 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18001 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18002 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18003 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18004 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18005 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18006 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18007 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18008 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18009 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18010 wine_fn_config_dll d3dim enable_d3dim
18011 wine_fn_config_dll d3drm enable_d3drm implib
18012 wine_fn_config_test dlls/d3drm/tests d3drm_test
18013 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18014 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18015 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18016 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18017 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18018 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18019 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18020 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18021 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18022 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18023 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18024 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18025 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18026 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18027 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18028 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18029 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18030 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18031 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18032 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18033 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18034 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18035 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18036 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18037 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18038 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18039 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18040 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18041 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18042 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18043 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18044 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18045 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18046 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18047 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18048 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18049 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18050 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18051 wine_fn_config_dll davclnt enable_davclnt
18052 wine_fn_config_dll dbgeng enable_dbgeng implib
18053 wine_fn_config_dll dbghelp enable_dbghelp implib
18054 wine_fn_config_dll dciman32 enable_dciman32 implib
18055 wine_fn_config_dll ddeml.dll16 enable_win16
18056 wine_fn_config_dll ddraw enable_ddraw clean,implib
18057 wine_fn_config_test dlls/ddraw/tests ddraw_test
18058 wine_fn_config_dll ddrawex enable_ddrawex clean
18059 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18060 wine_fn_config_dll devenum enable_devenum clean
18061 wine_fn_config_test dlls/devenum/tests devenum_test
18062 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18063 wine_fn_config_dll difxapi enable_difxapi
18064 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18065 wine_fn_config_test dlls/dinput/tests dinput_test
18066 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18067 wine_fn_config_test dlls/dinput8/tests dinput8_test
18068 wine_fn_config_dll dispdib.dll16 enable_win16
18069 wine_fn_config_dll dispex enable_dispex clean
18070 wine_fn_config_test dlls/dispex/tests dispex_test
18071 wine_fn_config_dll display.drv16 enable_win16
18072 wine_fn_config_dll dmband enable_dmband clean
18073 wine_fn_config_test dlls/dmband/tests dmband_test
18074 wine_fn_config_dll dmcompos enable_dmcompos clean
18075 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18076 wine_fn_config_dll dmime enable_dmime clean
18077 wine_fn_config_test dlls/dmime/tests dmime_test
18078 wine_fn_config_dll dmloader enable_dmloader clean
18079 wine_fn_config_test dlls/dmloader/tests dmloader_test
18080 wine_fn_config_dll dmscript enable_dmscript clean
18081 wine_fn_config_test dlls/dmscript/tests dmscript_test
18082 wine_fn_config_dll dmstyle enable_dmstyle clean
18083 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18084 wine_fn_config_dll dmsynth enable_dmsynth clean
18085 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18086 wine_fn_config_dll dmusic enable_dmusic clean
18087 wine_fn_config_test dlls/dmusic/tests dmusic_test
18088 wine_fn_config_dll dmusic32 enable_dmusic32
18089 wine_fn_config_dll dnsapi enable_dnsapi implib
18090 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18091 wine_fn_config_dll dplay enable_dplay
18092 wine_fn_config_dll dplayx enable_dplayx clean,implib
18093 wine_fn_config_test dlls/dplayx/tests dplayx_test
18094 wine_fn_config_dll dpnaddr enable_dpnaddr
18095 wine_fn_config_dll dpnet enable_dpnet clean,implib
18096 wine_fn_config_test dlls/dpnet/tests dpnet_test
18097 wine_fn_config_dll dpnhpast enable_dpnhpast
18098 wine_fn_config_dll dpnlobby enable_dpnlobby
18099 wine_fn_config_dll dpvoice enable_dpvoice clean
18100 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18101 wine_fn_config_dll dpwsockx enable_dpwsockx
18102 wine_fn_config_dll drmclien enable_drmclien
18103 wine_fn_config_dll dsound enable_dsound clean,implib
18104 wine_fn_config_test dlls/dsound/tests dsound_test
18105 wine_fn_config_dll dssenh enable_dssenh
18106 wine_fn_config_test dlls/dssenh/tests dssenh_test
18107 wine_fn_config_dll dswave enable_dswave clean
18108 wine_fn_config_test dlls/dswave/tests dswave_test
18109 wine_fn_config_dll dwmapi enable_dwmapi implib
18110 wine_fn_config_dll dwrite enable_dwrite implib
18111 wine_fn_config_test dlls/dwrite/tests dwrite_test
18112 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18113 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18114 wine_fn_config_lib dxerr8
18115 wine_fn_config_lib dxerr9
18116 wine_fn_config_dll dxgi enable_dxgi implib
18117 wine_fn_config_test dlls/dxgi/tests dxgi_test
18118 wine_fn_config_lib dxguid
18119 wine_fn_config_dll dxva2 enable_dxva2
18120 wine_fn_config_dll esent enable_esent
18121 wine_fn_config_dll evr enable_evr
18122 wine_fn_config_dll explorerframe enable_explorerframe clean
18123 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18124 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18125 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18126 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18127 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18128 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18129 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18130 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18131 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18132 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18133 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18134 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18135 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18136 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18137 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18138 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18139 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
18140 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18141 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18142 wine_fn_config_dll faultrep enable_faultrep implib
18143 wine_fn_config_test dlls/faultrep/tests faultrep_test
18144 wine_fn_config_dll fltlib enable_fltlib
18145 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18146 wine_fn_config_dll fntcache enable_fntcache
18147 wine_fn_config_dll fontsub enable_fontsub
18148 wine_fn_config_dll fusion enable_fusion
18149 wine_fn_config_test dlls/fusion/tests fusion_test
18150 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18151 wine_fn_config_dll gameux enable_gameux clean
18152 wine_fn_config_test dlls/gameux/tests gameux_test
18153 wine_fn_config_dll gdi.exe16 enable_win16
18154 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18155 wine_fn_config_test dlls/gdi32/tests gdi32_test
18156 wine_fn_config_dll gdiplus enable_gdiplus implib
18157 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18158 wine_fn_config_dll glu32 enable_glu32 implib
18159 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18160 wine_fn_config_dll gpkcsp enable_gpkcsp
18161 wine_fn_config_dll hal enable_hal
18162 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18163 wine_fn_config_dll hid enable_hid implib
18164 wine_fn_config_test dlls/hid/tests hid_test
18165 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18166 wine_fn_config_dll hlink enable_hlink clean,implib
18167 wine_fn_config_test dlls/hlink/tests hlink_test
18168 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18169 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18170 wine_fn_config_dll httpapi enable_httpapi
18171 wine_fn_config_dll iccvid enable_iccvid clean
18172 wine_fn_config_dll icmp enable_icmp
18173 wine_fn_config_dll ieframe enable_ieframe clean,implib
18174 wine_fn_config_test dlls/ieframe/tests ieframe_test
18175 wine_fn_config_dll ifsmgr.vxd enable_win16
18176 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18177 wine_fn_config_dll imagehlp enable_imagehlp implib
18178 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18179 wine_fn_config_dll imm.dll16 enable_win16
18180 wine_fn_config_dll imm32 enable_imm32 implib
18181 wine_fn_config_test dlls/imm32/tests imm32_test
18182 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18183 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18184 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18185 wine_fn_config_dll inetmib1 enable_inetmib1
18186 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18187 wine_fn_config_dll infosoft enable_infosoft clean
18188 wine_fn_config_test dlls/infosoft/tests infosoft_test
18189 wine_fn_config_dll initpki enable_initpki
18190 wine_fn_config_dll inkobj enable_inkobj
18191 wine_fn_config_dll inseng enable_inseng clean
18192 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18193 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18194 wine_fn_config_dll iprop enable_iprop
18195 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18196 wine_fn_config_dll itircl enable_itircl
18197 wine_fn_config_dll itss enable_itss clean
18198 wine_fn_config_test dlls/itss/tests itss_test
18199 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18200 wine_fn_config_dll jscript enable_jscript clean
18201 wine_fn_config_test dlls/jscript/tests jscript_test
18202 wine_fn_config_dll jsproxy enable_jsproxy implib
18203 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18204 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18205 wine_fn_config_test dlls/kernel32/tests kernel32_test
18206 wine_fn_config_dll kernelbase enable_kernelbase
18207 wine_fn_config_dll keyboard.drv16 enable_win16
18208 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18209 wine_fn_config_dll ksuser enable_ksuser
18210 wine_fn_config_dll ktmw32 enable_ktmw32
18211 wine_fn_config_dll loadperf enable_loadperf implib
18212 wine_fn_config_dll localspl enable_localspl clean
18213 wine_fn_config_test dlls/localspl/tests localspl_test
18214 wine_fn_config_dll localui enable_localui clean
18215 wine_fn_config_test dlls/localui/tests localui_test
18216 wine_fn_config_dll lz32 enable_lz32 implib
18217 wine_fn_config_test dlls/lz32/tests lz32_test
18218 wine_fn_config_dll lzexpand.dll16 enable_win16
18219 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18220 wine_fn_config_test dlls/mapi32/tests mapi32_test
18221 wine_fn_config_dll mapistub enable_mapistub
18222 wine_fn_config_dll mciavi32 enable_mciavi32
18223 wine_fn_config_dll mcicda enable_mcicda
18224 wine_fn_config_dll mciqtz32 enable_mciqtz32
18225 wine_fn_config_dll mciseq enable_mciseq
18226 wine_fn_config_dll mciwave enable_mciwave
18227 wine_fn_config_dll mf enable_mf
18228 wine_fn_config_dll mf3216 enable_mf3216
18229 wine_fn_config_dll mfplat enable_mfplat implib
18230 wine_fn_config_test dlls/mfplat/tests mfplat_test
18231 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18232 wine_fn_config_dll mgmtapi enable_mgmtapi
18233 wine_fn_config_dll midimap enable_midimap
18234 wine_fn_config_dll mlang enable_mlang clean,implib
18235 wine_fn_config_test dlls/mlang/tests mlang_test
18236 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18237 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18238 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18239 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18240 wine_fn_config_dll mmdevldr.vxd enable_win16
18241 wine_fn_config_dll mmsystem.dll16 enable_win16
18242 wine_fn_config_dll monodebg.vxd enable_win16
18243 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18244 wine_fn_config_dll mouse.drv16 enable_win16
18245 wine_fn_config_dll mpr enable_mpr clean,implib
18246 wine_fn_config_test dlls/mpr/tests mpr_test
18247 wine_fn_config_dll mprapi enable_mprapi implib
18248 wine_fn_config_dll msacm.dll16 enable_win16
18249 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18250 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18251 wine_fn_config_test dlls/msacm32/tests msacm32_test
18252 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18253 wine_fn_config_dll msasn1 enable_msasn1 implib
18254 wine_fn_config_dll mscat32 enable_mscat32
18255 wine_fn_config_dll mscms enable_mscms implib
18256 wine_fn_config_test dlls/mscms/tests mscms_test
18257 wine_fn_config_dll mscoree enable_mscoree clean
18258 wine_fn_config_test dlls/mscoree/tests mscoree_test
18259 wine_fn_config_dll msctf enable_msctf clean
18260 wine_fn_config_test dlls/msctf/tests msctf_test
18261 wine_fn_config_dll msctfp enable_msctfp clean
18262 wine_fn_config_dll msdaps enable_msdaps clean
18263 wine_fn_config_dll msdelta enable_msdelta
18264 wine_fn_config_dll msdmo enable_msdmo implib
18265 wine_fn_config_test dlls/msdmo/tests msdmo_test
18266 wine_fn_config_dll msdrm enable_msdrm
18267 wine_fn_config_dll msftedit enable_msftedit
18268 wine_fn_config_dll msg711.acm enable_msg711_acm
18269 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18270 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18271 wine_fn_config_dll mshtml enable_mshtml clean,implib
18272 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18273 wine_fn_config_dll msi enable_msi clean,implib
18274 wine_fn_config_test dlls/msi/tests msi_test
18275 wine_fn_config_dll msident enable_msident clean
18276 wine_fn_config_dll msimg32 enable_msimg32 implib
18277 wine_fn_config_dll msimsg enable_msimsg
18278 wine_fn_config_dll msimtf enable_msimtf clean
18279 wine_fn_config_dll msisip enable_msisip
18280 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18281 wine_fn_config_dll msls31 enable_msls31
18282 wine_fn_config_dll msnet32 enable_msnet32
18283 wine_fn_config_dll mspatcha enable_mspatcha implib
18284 wine_fn_config_dll msports enable_msports
18285 wine_fn_config_dll msrle32 enable_msrle32 clean
18286 wine_fn_config_test dlls/msrle32/tests msrle32_test
18287 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18288 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18289 wine_fn_config_dll mssign32 enable_mssign32
18290 wine_fn_config_dll mssip32 enable_mssip32
18291 wine_fn_config_dll mstask enable_mstask clean
18292 wine_fn_config_test dlls/mstask/tests mstask_test
18293 wine_fn_config_dll msvcirt enable_msvcirt
18294 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18295 wine_fn_config_dll msvcm80 enable_msvcm80
18296 wine_fn_config_dll msvcm90 enable_msvcm90
18297 wine_fn_config_dll msvcp100 enable_msvcp100
18298 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18299 wine_fn_config_dll msvcp110 enable_msvcp110
18300 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18301 wine_fn_config_dll msvcp120 enable_msvcp120
18302 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18303 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18304 wine_fn_config_dll msvcp140 enable_msvcp140
18305 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18306 wine_fn_config_dll msvcp60 enable_msvcp60
18307 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18308 wine_fn_config_dll msvcp70 enable_msvcp70
18309 wine_fn_config_dll msvcp71 enable_msvcp71
18310 wine_fn_config_dll msvcp80 enable_msvcp80
18311 wine_fn_config_dll msvcp90 enable_msvcp90
18312 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18313 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18314 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18315 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18316 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18317 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18318 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18319 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18320 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18321 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18322 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18323 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18324 wine_fn_config_dll msvcrt enable_msvcrt implib
18325 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18326 wine_fn_config_dll msvcrt20 enable_msvcrt20
18327 wine_fn_config_dll msvcrt40 enable_msvcrt40
18328 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18329 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18330 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18331 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18332 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18333 wine_fn_config_dll msvideo.dll16 enable_win16
18334 wine_fn_config_dll mswsock enable_mswsock implib
18335 wine_fn_config_dll msxml enable_msxml clean
18336 wine_fn_config_dll msxml2 enable_msxml2 clean
18337 wine_fn_config_dll msxml3 enable_msxml3 clean
18338 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18339 wine_fn_config_dll msxml4 enable_msxml4 clean
18340 wine_fn_config_dll msxml6 enable_msxml6 clean
18341 wine_fn_config_dll mtxdm enable_mtxdm
18342 wine_fn_config_dll ncrypt enable_ncrypt
18343 wine_fn_config_dll nddeapi enable_nddeapi implib
18344 wine_fn_config_dll ndis.sys enable_ndis_sys
18345 wine_fn_config_dll netapi32 enable_netapi32 implib
18346 wine_fn_config_test dlls/netapi32/tests netapi32_test
18347 wine_fn_config_dll netcfgx enable_netcfgx clean
18348 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18349 wine_fn_config_dll netprofm enable_netprofm clean
18350 wine_fn_config_test dlls/netprofm/tests netprofm_test
18351 wine_fn_config_dll newdev enable_newdev implib
18352 wine_fn_config_dll normaliz enable_normaliz implib
18353 wine_fn_config_dll npmshtml enable_npmshtml
18354 wine_fn_config_dll npptools enable_npptools
18355 wine_fn_config_dll ntdll enable_ntdll implib
18356 wine_fn_config_test dlls/ntdll/tests ntdll_test
18357 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18358 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18359 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18360 wine_fn_config_dll ntprint enable_ntprint
18361 wine_fn_config_test dlls/ntprint/tests ntprint_test
18362 wine_fn_config_dll objsel enable_objsel clean
18363 wine_fn_config_dll odbc32 enable_odbc32 implib
18364 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18365 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18366 wine_fn_config_dll odbccu32 enable_odbccu32
18367 wine_fn_config_dll ole2.dll16 enable_win16
18368 wine_fn_config_dll ole2conv.dll16 enable_win16
18369 wine_fn_config_dll ole2disp.dll16 enable_win16
18370 wine_fn_config_dll ole2nls.dll16 enable_win16
18371 wine_fn_config_dll ole2prox.dll16 enable_win16
18372 wine_fn_config_dll ole2thk.dll16 enable_win16
18373 wine_fn_config_dll ole32 enable_ole32 clean,implib
18374 wine_fn_config_test dlls/ole32/tests ole32_test
18375 wine_fn_config_dll oleacc enable_oleacc clean,implib
18376 wine_fn_config_test dlls/oleacc/tests oleacc_test
18377 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18378 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18379 wine_fn_config_dll olecli.dll16 enable_win16
18380 wine_fn_config_dll olecli32 enable_olecli32 implib
18381 wine_fn_config_dll oledb32 enable_oledb32 clean
18382 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18383 wine_fn_config_dll oledlg enable_oledlg clean,implib
18384 wine_fn_config_test dlls/oledlg/tests oledlg_test
18385 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18386 wine_fn_config_dll olesvr.dll16 enable_win16
18387 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18388 wine_fn_config_dll olethk32 enable_olethk32
18389 wine_fn_config_dll openal32 enable_openal32
18390 wine_fn_config_dll opencl enable_opencl
18391 wine_fn_config_dll opengl32 enable_opengl32 implib
18392 wine_fn_config_test dlls/opengl32/tests opengl32_test
18393 wine_fn_config_dll packager enable_packager clean
18394 wine_fn_config_test dlls/packager/tests packager_test
18395 wine_fn_config_dll pdh enable_pdh implib
18396 wine_fn_config_test dlls/pdh/tests pdh_test
18397 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18398 wine_fn_config_dll pidgen enable_pidgen
18399 wine_fn_config_dll powrprof enable_powrprof implib
18400 wine_fn_config_dll printui enable_printui
18401 wine_fn_config_dll prntvpt enable_prntvpt
18402 wine_fn_config_dll propsys enable_propsys clean,implib
18403 wine_fn_config_test dlls/propsys/tests propsys_test
18404 wine_fn_config_dll psapi enable_psapi implib
18405 wine_fn_config_test dlls/psapi/tests psapi_test
18406 wine_fn_config_dll pstorec enable_pstorec clean
18407 wine_fn_config_test dlls/pstorec/tests pstorec_test
18408 wine_fn_config_dll qcap enable_qcap
18409 wine_fn_config_test dlls/qcap/tests qcap_test
18410 wine_fn_config_dll qedit enable_qedit clean
18411 wine_fn_config_test dlls/qedit/tests qedit_test
18412 wine_fn_config_dll qmgr enable_qmgr clean
18413 wine_fn_config_test dlls/qmgr/tests qmgr_test
18414 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18415 wine_fn_config_dll quartz enable_quartz clean,implib
18416 wine_fn_config_test dlls/quartz/tests quartz_test clean
18417 wine_fn_config_dll query enable_query
18418 wine_fn_config_dll rasapi16.dll16 enable_win16
18419 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18420 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18421 wine_fn_config_dll rasdlg enable_rasdlg implib
18422 wine_fn_config_dll regapi enable_regapi
18423 wine_fn_config_dll resutils enable_resutils implib
18424 wine_fn_config_dll riched20 enable_riched20 clean,implib
18425 wine_fn_config_test dlls/riched20/tests riched20_test
18426 wine_fn_config_dll riched32 enable_riched32
18427 wine_fn_config_test dlls/riched32/tests riched32_test
18428 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18429 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18430 wine_fn_config_dll rsabase enable_rsabase
18431 wine_fn_config_dll rsaenh enable_rsaenh implib
18432 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18433 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18434 wine_fn_config_dll rtutils enable_rtutils implib
18435 wine_fn_config_dll samlib enable_samlib
18436 wine_fn_config_dll sane.ds enable_sane_ds clean
18437 wine_fn_config_dll scarddlg enable_scarddlg
18438 wine_fn_config_dll sccbase enable_sccbase
18439 wine_fn_config_dll schannel enable_schannel
18440 wine_fn_config_test dlls/schannel/tests schannel_test
18441 wine_fn_config_dll schedsvc enable_schedsvc clean
18442 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18443 wine_fn_config_dll scrobj enable_scrobj clean
18444 wine_fn_config_dll scrrun enable_scrrun clean
18445 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18446 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18447 wine_fn_config_dll secur32 enable_secur32 implib
18448 wine_fn_config_test dlls/secur32/tests secur32_test
18449 wine_fn_config_dll security enable_security
18450 wine_fn_config_dll sensapi enable_sensapi implib
18451 wine_fn_config_dll serialui enable_serialui clean
18452 wine_fn_config_test dlls/serialui/tests serialui_test
18453 wine_fn_config_dll setupapi enable_setupapi clean,implib
18454 wine_fn_config_test dlls/setupapi/tests setupapi_test
18455 wine_fn_config_dll setupx.dll16 enable_win16
18456 wine_fn_config_dll sfc enable_sfc implib
18457 wine_fn_config_dll sfc_os enable_sfc_os implib
18458 wine_fn_config_dll shdoclc enable_shdoclc clean
18459 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18460 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18461 wine_fn_config_dll shell.dll16 enable_win16
18462 wine_fn_config_dll shell32 enable_shell32 clean,implib
18463 wine_fn_config_test dlls/shell32/tests shell32_test
18464 wine_fn_config_dll shfolder enable_shfolder implib
18465 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18466 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18467 wine_fn_config_dll slbcsp enable_slbcsp
18468 wine_fn_config_dll slc enable_slc implib
18469 wine_fn_config_test dlls/slc/tests slc_test
18470 wine_fn_config_dll snmpapi enable_snmpapi implib
18471 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18472 wine_fn_config_dll softpub enable_softpub
18473 wine_fn_config_dll sound.drv16 enable_win16
18474 wine_fn_config_dll spoolss enable_spoolss implib
18475 wine_fn_config_test dlls/spoolss/tests spoolss_test
18476 wine_fn_config_dll sspicli enable_sspicli
18477 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18478 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18479 wine_fn_config_dll sti enable_sti clean,implib
18480 wine_fn_config_test dlls/sti/tests sti_test
18481 wine_fn_config_dll storage.dll16 enable_win16
18482 wine_fn_config_dll stress.dll16 enable_win16
18483 wine_fn_config_lib strmbase
18484 wine_fn_config_lib strmiids
18485 wine_fn_config_dll svrapi enable_svrapi
18486 wine_fn_config_dll sxs enable_sxs implib
18487 wine_fn_config_test dlls/sxs/tests sxs_test
18488 wine_fn_config_dll system.drv16 enable_win16
18489 wine_fn_config_dll t2embed enable_t2embed implib
18490 wine_fn_config_test dlls/t2embed/tests t2embed_test
18491 wine_fn_config_dll tapi32 enable_tapi32 implib
18492 wine_fn_config_dll taskschd enable_taskschd clean
18493 wine_fn_config_test dlls/taskschd/tests taskschd_test
18494 wine_fn_config_dll tdi.sys enable_tdi_sys
18495 wine_fn_config_dll toolhelp.dll16 enable_win16
18496 wine_fn_config_dll traffic enable_traffic
18497 wine_fn_config_dll twain.dll16 enable_win16
18498 wine_fn_config_dll twain_32 enable_twain_32
18499 wine_fn_config_test dlls/twain_32/tests twain_32_test
18500 wine_fn_config_dll typelib.dll16 enable_win16
18501 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18502 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18503 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18504 wine_fn_config_dll unicows enable_unicows implib
18505 wine_fn_config_dll updspapi enable_updspapi
18506 wine_fn_config_dll url enable_url implib
18507 wine_fn_config_dll urlmon enable_urlmon clean,implib
18508 wine_fn_config_test dlls/urlmon/tests urlmon_test
18509 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18510 wine_fn_config_dll user.exe16 enable_win16
18511 wine_fn_config_dll user32 enable_user32 clean,implib
18512 wine_fn_config_test dlls/user32/tests user32_test
18513 wine_fn_config_dll userenv enable_userenv implib
18514 wine_fn_config_test dlls/userenv/tests userenv_test
18515 wine_fn_config_dll usp10 enable_usp10 implib
18516 wine_fn_config_test dlls/usp10/tests usp10_test
18517 wine_fn_config_lib uuid
18518 wine_fn_config_dll uxtheme enable_uxtheme implib
18519 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18520 wine_fn_config_dll vbscript enable_vbscript clean
18521 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18522 wine_fn_config_dll vcomp enable_vcomp
18523 wine_fn_config_test dlls/vcomp/tests vcomp_test
18524 wine_fn_config_dll vcomp100 enable_vcomp100
18525 wine_fn_config_dll vcomp110 enable_vcomp110
18526 wine_fn_config_dll vcomp120 enable_vcomp120
18527 wine_fn_config_dll vcomp140 enable_vcomp140
18528 wine_fn_config_dll vcomp90 enable_vcomp90
18529 wine_fn_config_dll vcruntime140 enable_vcruntime140
18530 wine_fn_config_dll vdhcp.vxd enable_win16
18531 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18532 wine_fn_config_dll ver.dll16 enable_win16
18533 wine_fn_config_dll version enable_version implib
18534 wine_fn_config_test dlls/version/tests version_test
18535 wine_fn_config_dll virtdisk enable_virtdisk
18536 wine_fn_config_dll vmm.vxd enable_win16
18537 wine_fn_config_dll vnbt.vxd enable_win16
18538 wine_fn_config_dll vnetbios.vxd enable_win16
18539 wine_fn_config_dll vssapi enable_vssapi
18540 wine_fn_config_dll vtdapi.vxd enable_win16
18541 wine_fn_config_dll vwin32.vxd enable_win16
18542 wine_fn_config_dll w32skrnl enable_win16
18543 wine_fn_config_dll w32sys.dll16 enable_win16
18544 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18545 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18546 wine_fn_config_dll wbemprox enable_wbemprox clean
18547 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18548 wine_fn_config_dll webservices enable_webservices implib
18549 wine_fn_config_test dlls/webservices/tests webservices_test
18550 wine_fn_config_dll wer enable_wer implib
18551 wine_fn_config_test dlls/wer/tests wer_test
18552 wine_fn_config_dll wevtapi enable_wevtapi
18553 wine_fn_config_dll wiaservc enable_wiaservc clean
18554 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18555 wine_fn_config_dll wimgapi enable_wimgapi
18556 wine_fn_config_dll win32s16.dll16 enable_win16
18557 wine_fn_config_dll win87em.dll16 enable_win16
18558 wine_fn_config_dll winaspi.dll16 enable_win16
18559 wine_fn_config_dll windebug.dll16 enable_win16
18560 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18561 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18562 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18563 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18564 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18565 wine_fn_config_dll winebus.sys enable_winebus_sys
18566 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18567 wine_fn_config_lib winecrt0
18568 wine_fn_config_dll wined3d enable_wined3d implib
18569 wine_fn_config_dll winegstreamer enable_winegstreamer
18570 wine_fn_config_dll winehid.sys enable_winehid_sys
18571 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18572 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18573 wine_fn_config_dll winemapi enable_winemapi
18574 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18575 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18576 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18577 wine_fn_config_dll wineps16.drv16 enable_win16
18578 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18579 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18580 wine_fn_config_dll winex11.drv enable_winex11_drv
18581 wine_fn_config_dll wing.dll16 enable_win16
18582 wine_fn_config_dll wing32 enable_wing32
18583 wine_fn_config_dll winhttp enable_winhttp clean,implib
18584 wine_fn_config_test dlls/winhttp/tests winhttp_test
18585 wine_fn_config_dll wininet enable_wininet clean,implib
18586 wine_fn_config_test dlls/wininet/tests wininet_test
18587 wine_fn_config_dll winmm enable_winmm clean,implib
18588 wine_fn_config_test dlls/winmm/tests winmm_test
18589 wine_fn_config_dll winnls.dll16 enable_win16
18590 wine_fn_config_dll winnls32 enable_winnls32 implib
18591 wine_fn_config_dll winscard enable_winscard implib
18592 wine_fn_config_dll winsock.dll16 enable_win16
18593 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18594 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18595 wine_fn_config_dll winsta enable_winsta
18596 wine_fn_config_dll wintab.dll16 enable_win16
18597 wine_fn_config_dll wintab32 enable_wintab32 implib
18598 wine_fn_config_test dlls/wintab32/tests wintab32_test
18599 wine_fn_config_dll wintrust enable_wintrust implib
18600 wine_fn_config_test dlls/wintrust/tests wintrust_test
18601 wine_fn_config_dll winusb enable_winusb
18602 wine_fn_config_dll wlanapi enable_wlanapi implib
18603 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18604 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18605 wine_fn_config_test dlls/wldap32/tests wldap32_test
18606 wine_fn_config_dll wmasf enable_wmasf
18607 wine_fn_config_dll wmi enable_wmi
18608 wine_fn_config_dll wmiutils enable_wmiutils clean
18609 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18610 wine_fn_config_dll wmp enable_wmp clean
18611 wine_fn_config_test dlls/wmp/tests wmp_test
18612 wine_fn_config_dll wmvcore enable_wmvcore implib
18613 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18614 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18615 wine_fn_config_dll wow32 enable_win16 implib
18616 wine_fn_config_dll wpc enable_wpc clean
18617 wine_fn_config_test dlls/wpc/tests wpc_test
18618 wine_fn_config_dll wpcap enable_wpcap
18619 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18620 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18621 wine_fn_config_dll wsdapi enable_wsdapi implib
18622 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18623 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18624 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18625 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18626 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18627 wine_fn_config_dll wsock32 enable_wsock32 implib
18628 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18629 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18630 wine_fn_config_dll wuapi enable_wuapi clean
18631 wine_fn_config_dll wuaueng enable_wuaueng
18632 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18633 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18634 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18635 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18636 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18637 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18638 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18639 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18640 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18641 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18642 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18643 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18644 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18645 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18646 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18647 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18648 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18649 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18650 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18651 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18652 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18653 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18654 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18655 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18656 wine_fn_config_dll xinput1_1 enable_xinput1_1
18657 wine_fn_config_dll xinput1_2 enable_xinput1_2
18658 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18659 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18660 wine_fn_config_dll xinput1_4 enable_xinput1_4
18661 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18662 wine_fn_config_dll xmllite enable_xmllite implib
18663 wine_fn_config_test dlls/xmllite/tests xmllite_test
18664 wine_fn_config_dll xolehlp enable_xolehlp
18665 wine_fn_config_dll xpsprint enable_xpsprint
18666 wine_fn_config_dll xpssvcs enable_xpssvcs
18667 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18668 wine_fn_config_makefile include enable_include clean,install-dev
18669 wine_fn_config_makefile libs/port enable_libs_port
18670 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18671 wine_fn_config_makefile libs/wpp enable_libs_wpp
18672 wine_fn_config_makefile loader enable_loader clean,install-lib
18673 wine_fn_config_makefile po enable_po clean
18674 wine_fn_config_program arp enable_arp install
18675 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18676 wine_fn_config_program attrib enable_attrib clean,install
18677 wine_fn_config_program cabarc enable_cabarc install
18678 wine_fn_config_program cacls enable_cacls install
18679 wine_fn_config_program clock enable_clock clean,install
18680 wine_fn_config_program cmd enable_cmd clean,install
18681 wine_fn_config_test programs/cmd/tests cmd.exe_test
18682 wine_fn_config_program conhost enable_conhost install
18683 wine_fn_config_program control enable_control install
18684 wine_fn_config_program cscript enable_cscript clean,install
18685 wine_fn_config_program dpnsvr enable_dpnsvr install
18686 wine_fn_config_program dxdiag enable_dxdiag clean,install
18687 wine_fn_config_program eject enable_eject install
18688 wine_fn_config_program expand enable_expand install
18689 wine_fn_config_program explorer enable_explorer clean,install
18690 wine_fn_config_program extrac32 enable_extrac32 install
18691 wine_fn_config_program findstr enable_findstr install
18692 wine_fn_config_program fsutil enable_fsutil install
18693 wine_fn_config_program hh enable_hh install
18694 wine_fn_config_program hostname enable_hostname clean,install
18695 wine_fn_config_program icacls enable_icacls install
18696 wine_fn_config_program icinfo enable_icinfo install
18697 wine_fn_config_program iexplore enable_iexplore install
18698 wine_fn_config_program ipconfig enable_ipconfig clean,install
18699 wine_fn_config_program lodctr enable_lodctr install
18700 wine_fn_config_program mofcomp enable_mofcomp install
18701 wine_fn_config_program mshta enable_mshta install
18702 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18703 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18704 wine_fn_config_program net enable_net clean,install
18705 wine_fn_config_program netsh enable_netsh install
18706 wine_fn_config_program netstat enable_netstat clean,install
18707 wine_fn_config_program ngen enable_ngen install
18708 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18709 wine_fn_config_program oleview enable_oleview clean,install
18710 wine_fn_config_program ping enable_ping install
18711 wine_fn_config_program plugplay enable_plugplay install
18712 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18713 wine_fn_config_program progman enable_progman clean,install
18714 wine_fn_config_program reg enable_reg clean,install
18715 wine_fn_config_test programs/reg/tests reg.exe_test
18716 wine_fn_config_program regasm enable_regasm install
18717 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18718 wine_fn_config_test programs/regedit/tests regedit.exe_test
18719 wine_fn_config_program regsvcs enable_regsvcs install
18720 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18721 wine_fn_config_program rpcss enable_rpcss clean,install
18722 wine_fn_config_program rundll.exe16 enable_win16 install
18723 wine_fn_config_program rundll32 enable_rundll32 install
18724 wine_fn_config_program sc enable_sc install
18725 wine_fn_config_program schtasks enable_schtasks install
18726 wine_fn_config_program sdbinst enable_sdbinst install
18727 wine_fn_config_program secedit enable_secedit install
18728 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18729 wine_fn_config_program services enable_services clean,install
18730 wine_fn_config_test programs/services/tests services.exe_test
18731 wine_fn_config_program shutdown enable_shutdown install
18732 wine_fn_config_program spoolsv enable_spoolsv install
18733 wine_fn_config_program start enable_start clean,install
18734 wine_fn_config_program subst enable_subst install
18735 wine_fn_config_program svchost enable_svchost install
18736 wine_fn_config_program systeminfo enable_systeminfo install
18737 wine_fn_config_program taskkill enable_taskkill clean,install
18738 wine_fn_config_program tasklist enable_tasklist install
18739 wine_fn_config_program taskmgr enable_taskmgr clean,install
18740 wine_fn_config_program termsv enable_termsv install
18741 wine_fn_config_program uninstaller enable_uninstaller clean,install
18742 wine_fn_config_program unlodctr enable_unlodctr install
18743 wine_fn_config_program view enable_view clean,install
18744 wine_fn_config_program wevtutil enable_wevtutil install
18745 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18746 wine_fn_config_program winebrowser enable_winebrowser install
18747 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18748 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18749 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18750 wine_fn_config_program winedevice enable_winedevice install
18751 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18752 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18753 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18754 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18755 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18756 wine_fn_config_program winetest enable_winetest clean
18757 wine_fn_config_program winevdm enable_win16 install
18758 wine_fn_config_program winhelp.exe16 enable_win16 install
18759 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18760 wine_fn_config_program winoldap.mod16 enable_win16 install
18761 wine_fn_config_program winver enable_winver install
18762 wine_fn_config_program wmic enable_wmic clean,install
18763 wine_fn_config_program wmplayer enable_wmplayer install
18764 wine_fn_config_program wordpad enable_wordpad clean,install
18765 wine_fn_config_program write enable_write clean,install
18766 wine_fn_config_program wscript enable_wscript clean,install
18767 wine_fn_config_test programs/wscript/tests wscript.exe_test
18768 wine_fn_config_program wusa enable_wusa install
18769 wine_fn_config_program xcopy enable_xcopy clean,install
18770 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18771 wine_fn_config_makefile server enable_server clean,install-lib
18772 wine_fn_config_tool tools clean
18773 wine_fn_config_tool tools/sfnt2fon clean
18774 wine_fn_config_tool tools/widl clean,install-dev
18775 wine_fn_config_tool tools/winebuild clean,install-dev
18776 wine_fn_config_tool tools/winedump clean,install-dev
18777 wine_fn_config_tool tools/winegcc clean,install-dev
18778 wine_fn_config_tool tools/winemaker clean,install-dev
18779 wine_fn_config_tool tools/wmc clean,install-dev
18780 wine_fn_config_tool tools/wrc clean,install-dev
18783 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18784 wine_fn_append_file CONFIGURE_TARGETS "tags"
18785 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18786 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18787 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18788 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18789 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18790 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18792 if test "x$enable_tools" != xno
18793 then
18794 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18795 ac_config_commands="$ac_config_commands tools/makedep"
18799 ac_config_commands="$ac_config_commands Makefile"
18802 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18806 if test "x$enable_maintainer_mode" = xyes
18807 then
18808 wine_fn_append_rule "configure: configure.ac aclocal.m4
18809 autoconf --warnings=all
18810 include/config.h.in: include/stamp-h.in
18811 include/stamp-h.in: configure.ac aclocal.m4
18812 autoheader --warnings=all
18813 @echo timestamp > \$@"
18816 if test "x$enable_tools" != xno
18817 then
18818 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18819 @./config.status tools/makedep
18820 Makefile: tools/makedep$ac_exeext"
18821 else
18822 wine_fn_append_rule "\$(MAKEDEP):
18823 @echo \"You need to run make in $TOOLSDIR first\" && false"
18826 if test -n "$with_wine64"
18827 then
18828 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18829 fonts server:
18830 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18831 $with_wine64/loader/wine:
18832 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18833 $with_wine64/loader/wine-preloader:
18834 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18835 clean::
18836 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18837 else
18838 WINELOADER_INSTALL="wine.inf"
18840 wine_fn_append_rule "install install-lib::
18841 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18842 uninstall::
18843 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18844 case $host_os in
18845 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18846 *) wine_fn_append_rule "install install-lib::
18847 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18848 uninstall::
18849 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18850 esac
18853 $as_echo " done" >&6
18854 cat >confcache <<\_ACEOF
18855 # This file is a shell script that caches the results of configure
18856 # tests run on this system so they can be shared between configure
18857 # scripts and configure runs, see configure's option --config-cache.
18858 # It is not useful on other systems. If it contains results you don't
18859 # want to keep, you may remove or edit it.
18861 # config.status only pays attention to the cache file if you give it
18862 # the --recheck option to rerun configure.
18864 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18865 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18866 # following values.
18868 _ACEOF
18870 # The following way of writing the cache mishandles newlines in values,
18871 # but we know of no workaround that is simple, portable, and efficient.
18872 # So, we kill variables containing newlines.
18873 # Ultrix sh set writes to stderr and can't be redirected directly,
18874 # and sets the high bit in the cache file unless we assign to the vars.
18876 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18877 eval ac_val=\$$ac_var
18878 case $ac_val in #(
18879 *${as_nl}*)
18880 case $ac_var in #(
18881 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18882 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18883 esac
18884 case $ac_var in #(
18885 _ | IFS | as_nl) ;; #(
18886 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18887 *) { eval $ac_var=; unset $ac_var;} ;;
18888 esac ;;
18889 esac
18890 done
18892 (set) 2>&1 |
18893 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18894 *${as_nl}ac_space=\ *)
18895 # `set' does not quote correctly, so add quotes: double-quote
18896 # substitution turns \\\\ into \\, and sed turns \\ into \.
18897 sed -n \
18898 "s/'/'\\\\''/g;
18899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18900 ;; #(
18902 # `set' quotes correctly as required by POSIX, so do not add quotes.
18903 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18905 esac |
18906 sort
18908 sed '
18909 /^ac_cv_env_/b end
18910 t clear
18911 :clear
18912 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18913 t end
18914 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18915 :end' >>confcache
18916 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18917 if test -w "$cache_file"; then
18918 if test "x$cache_file" != "x/dev/null"; then
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18920 $as_echo "$as_me: updating cache $cache_file" >&6;}
18921 if test ! -f "$cache_file" || test -h "$cache_file"; then
18922 cat confcache >"$cache_file"
18923 else
18924 case $cache_file in #(
18925 */* | ?:*)
18926 mv -f confcache "$cache_file"$$ &&
18927 mv -f "$cache_file"$$ "$cache_file" ;; #(
18929 mv -f confcache "$cache_file" ;;
18930 esac
18933 else
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18935 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18938 rm -f confcache
18940 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18941 # Let make expand exec_prefix.
18942 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18944 DEFS=-DHAVE_CONFIG_H
18946 ac_libobjs=
18947 ac_ltlibobjs=
18949 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18950 # 1. Remove the extension, and $U if already installed.
18951 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18952 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18953 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18954 # will be set to the directory where LIBOBJS objects are built.
18955 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18956 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18957 done
18958 LIBOBJS=$ac_libobjs
18960 LTLIBOBJS=$ac_ltlibobjs
18964 : "${CONFIG_STATUS=./config.status}"
18965 ac_write_fail=0
18966 ac_clean_files_save=$ac_clean_files
18967 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18969 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18970 as_write_fail=0
18971 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18972 #! $SHELL
18973 # Generated by $as_me.
18974 # Run this file to recreate the current configuration.
18975 # Compiler output produced by configure, useful for debugging
18976 # configure, is in config.log if it exists.
18978 debug=false
18979 ac_cs_recheck=false
18980 ac_cs_silent=false
18982 SHELL=\${CONFIG_SHELL-$SHELL}
18983 export SHELL
18984 _ASEOF
18985 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18986 ## -------------------- ##
18987 ## M4sh Initialization. ##
18988 ## -------------------- ##
18990 # Be more Bourne compatible
18991 DUALCASE=1; export DUALCASE # for MKS sh
18992 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18993 emulate sh
18994 NULLCMD=:
18995 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18996 # is contrary to our usage. Disable this feature.
18997 alias -g '${1+"$@"}'='"$@"'
18998 setopt NO_GLOB_SUBST
18999 else
19000 case `(set -o) 2>/dev/null` in #(
19001 *posix*) :
19002 set -o posix ;; #(
19003 *) :
19005 esac
19009 as_nl='
19011 export as_nl
19012 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19013 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19014 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19015 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19016 # Prefer a ksh shell builtin over an external printf program on Solaris,
19017 # but without wasting forks for bash or zsh.
19018 if test -z "$BASH_VERSION$ZSH_VERSION" \
19019 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19020 as_echo='print -r --'
19021 as_echo_n='print -rn --'
19022 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19023 as_echo='printf %s\n'
19024 as_echo_n='printf %s'
19025 else
19026 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19027 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19028 as_echo_n='/usr/ucb/echo -n'
19029 else
19030 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19031 as_echo_n_body='eval
19032 arg=$1;
19033 case $arg in #(
19034 *"$as_nl"*)
19035 expr "X$arg" : "X\\(.*\\)$as_nl";
19036 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19037 esac;
19038 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19040 export as_echo_n_body
19041 as_echo_n='sh -c $as_echo_n_body as_echo'
19043 export as_echo_body
19044 as_echo='sh -c $as_echo_body as_echo'
19047 # The user is always right.
19048 if test "${PATH_SEPARATOR+set}" != set; then
19049 PATH_SEPARATOR=:
19050 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19051 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19052 PATH_SEPARATOR=';'
19057 # IFS
19058 # We need space, tab and new line, in precisely that order. Quoting is
19059 # there to prevent editors from complaining about space-tab.
19060 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19061 # splitting by setting IFS to empty value.)
19062 IFS=" "" $as_nl"
19064 # Find who we are. Look in the path if we contain no directory separator.
19065 as_myself=
19066 case $0 in #((
19067 *[\\/]* ) as_myself=$0 ;;
19068 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19069 for as_dir in $PATH
19071 IFS=$as_save_IFS
19072 test -z "$as_dir" && as_dir=.
19073 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19074 done
19075 IFS=$as_save_IFS
19078 esac
19079 # We did not find ourselves, most probably we were run as `sh COMMAND'
19080 # in which case we are not to be found in the path.
19081 if test "x$as_myself" = x; then
19082 as_myself=$0
19084 if test ! -f "$as_myself"; then
19085 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19086 exit 1
19089 # Unset variables that we do not need and which cause bugs (e.g. in
19090 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19091 # suppresses any "Segmentation fault" message there. '((' could
19092 # trigger a bug in pdksh 5.2.14.
19093 for as_var in BASH_ENV ENV MAIL MAILPATH
19094 do eval test x\${$as_var+set} = xset \
19095 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19096 done
19097 PS1='$ '
19098 PS2='> '
19099 PS4='+ '
19101 # NLS nuisances.
19102 LC_ALL=C
19103 export LC_ALL
19104 LANGUAGE=C
19105 export LANGUAGE
19107 # CDPATH.
19108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19111 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19112 # ----------------------------------------
19113 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19114 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19115 # script with STATUS, using 1 if that was 0.
19116 as_fn_error ()
19118 as_status=$1; test $as_status -eq 0 && as_status=1
19119 if test "$4"; then
19120 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19121 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19123 $as_echo "$as_me: error: $2" >&2
19124 as_fn_exit $as_status
19125 } # as_fn_error
19128 # as_fn_set_status STATUS
19129 # -----------------------
19130 # Set $? to STATUS, without forking.
19131 as_fn_set_status ()
19133 return $1
19134 } # as_fn_set_status
19136 # as_fn_exit STATUS
19137 # -----------------
19138 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19139 as_fn_exit ()
19141 set +e
19142 as_fn_set_status $1
19143 exit $1
19144 } # as_fn_exit
19146 # as_fn_unset VAR
19147 # ---------------
19148 # Portably unset VAR.
19149 as_fn_unset ()
19151 { eval $1=; unset $1;}
19153 as_unset=as_fn_unset
19154 # as_fn_append VAR VALUE
19155 # ----------------------
19156 # Append the text in VALUE to the end of the definition contained in VAR. Take
19157 # advantage of any shell optimizations that allow amortized linear growth over
19158 # repeated appends, instead of the typical quadratic growth present in naive
19159 # implementations.
19160 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19161 eval 'as_fn_append ()
19163 eval $1+=\$2
19165 else
19166 as_fn_append ()
19168 eval $1=\$$1\$2
19170 fi # as_fn_append
19172 # as_fn_arith ARG...
19173 # ------------------
19174 # Perform arithmetic evaluation on the ARGs, and store the result in the
19175 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19176 # must be portable across $(()) and expr.
19177 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19178 eval 'as_fn_arith ()
19180 as_val=$(( $* ))
19182 else
19183 as_fn_arith ()
19185 as_val=`expr "$@" || test $? -eq 1`
19187 fi # as_fn_arith
19190 if expr a : '\(a\)' >/dev/null 2>&1 &&
19191 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19192 as_expr=expr
19193 else
19194 as_expr=false
19197 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19198 as_basename=basename
19199 else
19200 as_basename=false
19203 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19204 as_dirname=dirname
19205 else
19206 as_dirname=false
19209 as_me=`$as_basename -- "$0" ||
19210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19211 X"$0" : 'X\(//\)$' \| \
19212 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19213 $as_echo X/"$0" |
19214 sed '/^.*\/\([^/][^/]*\)\/*$/{
19215 s//\1/
19218 /^X\/\(\/\/\)$/{
19219 s//\1/
19222 /^X\/\(\/\).*/{
19223 s//\1/
19226 s/.*/./; q'`
19228 # Avoid depending upon Character Ranges.
19229 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19230 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19231 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19232 as_cr_digits='0123456789'
19233 as_cr_alnum=$as_cr_Letters$as_cr_digits
19235 ECHO_C= ECHO_N= ECHO_T=
19236 case `echo -n x` in #(((((
19237 -n*)
19238 case `echo 'xy\c'` in
19239 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19240 xy) ECHO_C='\c';;
19241 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19242 ECHO_T=' ';;
19243 esac;;
19245 ECHO_N='-n';;
19246 esac
19248 rm -f conf$$ conf$$.exe conf$$.file
19249 if test -d conf$$.dir; then
19250 rm -f conf$$.dir/conf$$.file
19251 else
19252 rm -f conf$$.dir
19253 mkdir conf$$.dir 2>/dev/null
19255 if (echo >conf$$.file) 2>/dev/null; then
19256 if ln -s conf$$.file conf$$ 2>/dev/null; then
19257 as_ln_s='ln -s'
19258 # ... but there are two gotchas:
19259 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19260 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19261 # In both cases, we have to default to `cp -pR'.
19262 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19263 as_ln_s='cp -pR'
19264 elif ln conf$$.file conf$$ 2>/dev/null; then
19265 as_ln_s=ln
19266 else
19267 as_ln_s='cp -pR'
19269 else
19270 as_ln_s='cp -pR'
19272 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19273 rmdir conf$$.dir 2>/dev/null
19276 # as_fn_mkdir_p
19277 # -------------
19278 # Create "$as_dir" as a directory, including parents if necessary.
19279 as_fn_mkdir_p ()
19282 case $as_dir in #(
19283 -*) as_dir=./$as_dir;;
19284 esac
19285 test -d "$as_dir" || eval $as_mkdir_p || {
19286 as_dirs=
19287 while :; do
19288 case $as_dir in #(
19289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19290 *) as_qdir=$as_dir;;
19291 esac
19292 as_dirs="'$as_qdir' $as_dirs"
19293 as_dir=`$as_dirname -- "$as_dir" ||
19294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19295 X"$as_dir" : 'X\(//\)[^/]' \| \
19296 X"$as_dir" : 'X\(//\)$' \| \
19297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19298 $as_echo X"$as_dir" |
19299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19300 s//\1/
19303 /^X\(\/\/\)[^/].*/{
19304 s//\1/
19307 /^X\(\/\/\)$/{
19308 s//\1/
19311 /^X\(\/\).*/{
19312 s//\1/
19315 s/.*/./; q'`
19316 test -d "$as_dir" && break
19317 done
19318 test -z "$as_dirs" || eval "mkdir $as_dirs"
19319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19322 } # as_fn_mkdir_p
19323 if mkdir -p . 2>/dev/null; then
19324 as_mkdir_p='mkdir -p "$as_dir"'
19325 else
19326 test -d ./-p && rmdir ./-p
19327 as_mkdir_p=false
19331 # as_fn_executable_p FILE
19332 # -----------------------
19333 # Test if FILE is an executable regular file.
19334 as_fn_executable_p ()
19336 test -f "$1" && test -x "$1"
19337 } # as_fn_executable_p
19338 as_test_x='test -x'
19339 as_executable_p=as_fn_executable_p
19341 # Sed expression to map a string onto a valid CPP name.
19342 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19344 # Sed expression to map a string onto a valid variable name.
19345 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19348 exec 6>&1
19349 ## ----------------------------------- ##
19350 ## Main body of $CONFIG_STATUS script. ##
19351 ## ----------------------------------- ##
19352 _ASEOF
19353 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19356 # Save the log message, to keep $0 and so on meaningful, and to
19357 # report actual input values of CONFIG_FILES etc. instead of their
19358 # values after options handling.
19359 ac_log="
19360 This file was extended by Wine $as_me 2.9, which was
19361 generated by GNU Autoconf 2.69. Invocation command line was
19363 CONFIG_FILES = $CONFIG_FILES
19364 CONFIG_HEADERS = $CONFIG_HEADERS
19365 CONFIG_LINKS = $CONFIG_LINKS
19366 CONFIG_COMMANDS = $CONFIG_COMMANDS
19367 $ $0 $@
19369 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19372 _ACEOF
19374 case $ac_config_files in *"
19375 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19376 esac
19378 case $ac_config_headers in *"
19379 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19380 esac
19383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19384 # Files that config.status was made for.
19385 config_files="$ac_config_files"
19386 config_headers="$ac_config_headers"
19387 config_links="$ac_config_links"
19388 config_commands="$ac_config_commands"
19390 _ACEOF
19392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19393 ac_cs_usage="\
19394 \`$as_me' instantiates files and other configuration actions
19395 from templates according to the current configuration. Unless the files
19396 and actions are specified as TAGs, all are instantiated by default.
19398 Usage: $0 [OPTION]... [TAG]...
19400 -h, --help print this help, then exit
19401 -V, --version print version number and configuration settings, then exit
19402 --config print configuration, then exit
19403 -q, --quiet, --silent
19404 do not print progress messages
19405 -d, --debug don't remove temporary files
19406 --recheck update $as_me by reconfiguring in the same conditions
19407 --file=FILE[:TEMPLATE]
19408 instantiate the configuration file FILE
19409 --header=FILE[:TEMPLATE]
19410 instantiate the configuration header FILE
19412 Configuration files:
19413 $config_files
19415 Configuration headers:
19416 $config_headers
19418 Configuration links:
19419 $config_links
19421 Configuration commands:
19422 $config_commands
19424 Report bugs to <wine-devel@winehq.org>.
19425 Wine home page: <http://www.winehq.org>."
19427 _ACEOF
19428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19429 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19430 ac_cs_version="\\
19431 Wine config.status 2.9
19432 configured by $0, generated by GNU Autoconf 2.69,
19433 with options \\"\$ac_cs_config\\"
19435 Copyright (C) 2012 Free Software Foundation, Inc.
19436 This config.status script is free software; the Free Software Foundation
19437 gives unlimited permission to copy, distribute and modify it."
19439 ac_pwd='$ac_pwd'
19440 srcdir='$srcdir'
19441 test -n "\$AWK" || AWK=awk
19442 _ACEOF
19444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19445 # The default lists apply if the user does not specify any file.
19446 ac_need_defaults=:
19447 while test $# != 0
19449 case $1 in
19450 --*=?*)
19451 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19452 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19453 ac_shift=:
19455 --*=)
19456 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19457 ac_optarg=
19458 ac_shift=:
19461 ac_option=$1
19462 ac_optarg=$2
19463 ac_shift=shift
19465 esac
19467 case $ac_option in
19468 # Handling of the options.
19469 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19470 ac_cs_recheck=: ;;
19471 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19472 $as_echo "$ac_cs_version"; exit ;;
19473 --config | --confi | --conf | --con | --co | --c )
19474 $as_echo "$ac_cs_config"; exit ;;
19475 --debug | --debu | --deb | --de | --d | -d )
19476 debug=: ;;
19477 --file | --fil | --fi | --f )
19478 $ac_shift
19479 case $ac_optarg in
19480 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19481 '') as_fn_error $? "missing file argument" ;;
19482 esac
19483 as_fn_append CONFIG_FILES " '$ac_optarg'"
19484 ac_need_defaults=false;;
19485 --header | --heade | --head | --hea )
19486 $ac_shift
19487 case $ac_optarg in
19488 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19489 esac
19490 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19491 ac_need_defaults=false;;
19492 --he | --h)
19493 # Conflict between --help and --header
19494 as_fn_error $? "ambiguous option: \`$1'
19495 Try \`$0 --help' for more information.";;
19496 --help | --hel | -h )
19497 $as_echo "$ac_cs_usage"; exit ;;
19498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19499 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19500 ac_cs_silent=: ;;
19502 # This is an error.
19503 -*) as_fn_error $? "unrecognized option: \`$1'
19504 Try \`$0 --help' for more information." ;;
19506 *) as_fn_append ac_config_targets " $1"
19507 ac_need_defaults=false ;;
19509 esac
19510 shift
19511 done
19513 ac_configure_extra_args=
19515 if $ac_cs_silent; then
19516 exec 6>/dev/null
19517 ac_configure_extra_args="$ac_configure_extra_args --silent"
19520 _ACEOF
19521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19522 if \$ac_cs_recheck; then
19523 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19524 shift
19525 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19526 CONFIG_SHELL='$SHELL'
19527 export CONFIG_SHELL
19528 exec "\$@"
19531 _ACEOF
19532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19533 exec 5>>config.log
19535 echo
19536 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19537 ## Running $as_me. ##
19538 _ASBOX
19539 $as_echo "$ac_log"
19540 } >&5
19542 _ACEOF
19543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19545 # INIT-COMMANDS
19547 wine_fn_output_makedep ()
19549 as_dir=tools; as_fn_mkdir_p
19550 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19552 wine_fn_output_makefile ()
19554 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19555 `cat $wine_rules_file`
19556 _WINE_EOF
19557 as_fn_error $? "could not create Makefile" "$LINENO" 5
19560 _ACEOF
19562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19564 # Handling of arguments.
19565 for ac_config_target in $ac_config_targets
19567 case $ac_config_target in
19568 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19569 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19570 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19571 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19572 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19573 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19574 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19575 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19576 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19577 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19578 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19579 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19580 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19582 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19583 esac
19584 done
19587 # If the user did not use the arguments to specify the items to instantiate,
19588 # then the envvar interface is used. Set only those that are not.
19589 # We use the long form for the default assignment because of an extremely
19590 # bizarre bug on SunOS 4.1.3.
19591 if $ac_need_defaults; then
19592 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19593 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19594 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19595 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19598 # Have a temporary directory for convenience. Make it in the build tree
19599 # simply because there is no reason against having it here, and in addition,
19600 # creating and moving files from /tmp can sometimes cause problems.
19601 # Hook for its removal unless debugging.
19602 # Note that there is a small window in which the directory will not be cleaned:
19603 # after its creation but before its name has been assigned to `$tmp'.
19604 $debug ||
19606 tmp= ac_tmp=
19607 trap 'exit_status=$?
19608 : "${ac_tmp:=$tmp}"
19609 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19611 trap 'as_fn_exit 1' 1 2 13 15
19613 # Create a (secure) tmp directory for tmp files.
19616 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19617 test -d "$tmp"
19618 } ||
19620 tmp=./conf$$-$RANDOM
19621 (umask 077 && mkdir "$tmp")
19622 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19623 ac_tmp=$tmp
19625 # Set up the scripts for CONFIG_FILES section.
19626 # No need to generate them if there are no CONFIG_FILES.
19627 # This happens for instance with `./config.status config.h'.
19628 if test -n "$CONFIG_FILES"; then
19631 ac_cr=`echo X | tr X '\015'`
19632 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19633 # But we know of no other shell where ac_cr would be empty at this
19634 # point, so we can use a bashism as a fallback.
19635 if test "x$ac_cr" = x; then
19636 eval ac_cr=\$\'\\r\'
19638 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19639 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19640 ac_cs_awk_cr='\\r'
19641 else
19642 ac_cs_awk_cr=$ac_cr
19645 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19646 _ACEOF
19650 echo "cat >conf$$subs.awk <<_ACEOF" &&
19651 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19652 echo "_ACEOF"
19653 } >conf$$subs.sh ||
19654 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19655 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19656 ac_delim='%!_!# '
19657 for ac_last_try in false false false false false :; do
19658 . ./conf$$subs.sh ||
19659 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19661 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19662 if test $ac_delim_n = $ac_delim_num; then
19663 break
19664 elif $ac_last_try; then
19665 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19666 else
19667 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19669 done
19670 rm -f conf$$subs.sh
19672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19673 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19674 _ACEOF
19675 sed -n '
19677 s/^/S["/; s/!.*/"]=/
19680 s/^[^!]*!//
19681 :repl
19682 t repl
19683 s/'"$ac_delim"'$//
19684 t delim
19687 s/\(.\{148\}\)..*/\1/
19688 t more1
19689 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19692 b repl
19693 :more1
19694 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19697 s/.\{148\}//
19698 t nl
19699 :delim
19701 s/\(.\{148\}\)..*/\1/
19702 t more2
19703 s/["\\]/\\&/g; s/^/"/; s/$/"/
19706 :more2
19707 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19710 s/.\{148\}//
19711 t delim
19712 ' <conf$$subs.awk | sed '
19713 /^[^""]/{
19715 s/\n//
19717 ' >>$CONFIG_STATUS || ac_write_fail=1
19718 rm -f conf$$subs.awk
19719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19720 _ACAWK
19721 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19722 for (key in S) S_is_set[key] = 1
19723 FS = "\a"
19727 line = $ 0
19728 nfields = split(line, field, "@")
19729 substed = 0
19730 len = length(field[1])
19731 for (i = 2; i < nfields; i++) {
19732 key = field[i]
19733 keylen = length(key)
19734 if (S_is_set[key]) {
19735 value = S[key]
19736 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19737 len += length(value) + length(field[++i])
19738 substed = 1
19739 } else
19740 len += 1 + keylen
19743 print line
19746 _ACAWK
19747 _ACEOF
19748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19749 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19750 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19751 else
19753 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19754 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19755 _ACEOF
19757 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19758 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19759 # trailing colons and then remove the whole line if VPATH becomes empty
19760 # (actually we leave an empty line to preserve line numbers).
19761 if test "x$srcdir" = x.; then
19762 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19764 s///
19765 s/^/:/
19766 s/[ ]*$/:/
19767 s/:\$(srcdir):/:/g
19768 s/:\${srcdir}:/:/g
19769 s/:@srcdir@:/:/g
19770 s/^:*//
19771 s/:*$//
19773 s/\(=[ ]*\).*/\1/
19775 s/\n//
19776 s/^[^=]*=[ ]*$//
19780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19781 fi # test -n "$CONFIG_FILES"
19783 # Set up the scripts for CONFIG_HEADERS section.
19784 # No need to generate them if there are no CONFIG_HEADERS.
19785 # This happens for instance with `./config.status Makefile'.
19786 if test -n "$CONFIG_HEADERS"; then
19787 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19788 BEGIN {
19789 _ACEOF
19791 # Transform confdefs.h into an awk script `defines.awk', embedded as
19792 # here-document in config.status, that substitutes the proper values into
19793 # config.h.in to produce config.h.
19795 # Create a delimiter string that does not exist in confdefs.h, to ease
19796 # handling of long lines.
19797 ac_delim='%!_!# '
19798 for ac_last_try in false false :; do
19799 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19800 if test -z "$ac_tt"; then
19801 break
19802 elif $ac_last_try; then
19803 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19804 else
19805 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19807 done
19809 # For the awk script, D is an array of macro values keyed by name,
19810 # likewise P contains macro parameters if any. Preserve backslash
19811 # newline sequences.
19813 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19814 sed -n '
19815 s/.\{148\}/&'"$ac_delim"'/g
19816 t rset
19817 :rset
19818 s/^[ ]*#[ ]*define[ ][ ]*/ /
19819 t def
19821 :def
19822 s/\\$//
19823 t bsnl
19824 s/["\\]/\\&/g
19825 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19826 D["\1"]=" \3"/p
19827 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19829 :bsnl
19830 s/["\\]/\\&/g
19831 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19832 D["\1"]=" \3\\\\\\n"\\/p
19833 t cont
19834 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19835 t cont
19837 :cont
19839 s/.\{148\}/&'"$ac_delim"'/g
19840 t clear
19841 :clear
19842 s/\\$//
19843 t bsnlc
19844 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19846 :bsnlc
19847 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19848 b cont
19849 ' <confdefs.h | sed '
19850 s/'"$ac_delim"'/"\\\
19851 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19854 for (key in D) D_is_set[key] = 1
19855 FS = "\a"
19857 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19858 line = \$ 0
19859 split(line, arg, " ")
19860 if (arg[1] == "#") {
19861 defundef = arg[2]
19862 mac1 = arg[3]
19863 } else {
19864 defundef = substr(arg[1], 2)
19865 mac1 = arg[2]
19867 split(mac1, mac2, "(") #)
19868 macro = mac2[1]
19869 prefix = substr(line, 1, index(line, defundef) - 1)
19870 if (D_is_set[macro]) {
19871 # Preserve the white space surrounding the "#".
19872 print prefix "define", macro P[macro] D[macro]
19873 next
19874 } else {
19875 # Replace #undef with comments. This is necessary, for example,
19876 # in the case of _POSIX_SOURCE, which is predefined and required
19877 # on some systems where configure will not decide to define it.
19878 if (defundef == "undef") {
19879 print "/*", prefix defundef, macro, "*/"
19880 next
19884 { print }
19885 _ACAWK
19886 _ACEOF
19887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19888 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19889 fi # test -n "$CONFIG_HEADERS"
19892 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19893 shift
19894 for ac_tag
19896 case $ac_tag in
19897 :[FHLC]) ac_mode=$ac_tag; continue;;
19898 esac
19899 case $ac_mode$ac_tag in
19900 :[FHL]*:*);;
19901 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19902 :[FH]-) ac_tag=-:-;;
19903 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19904 esac
19905 ac_save_IFS=$IFS
19906 IFS=:
19907 set x $ac_tag
19908 IFS=$ac_save_IFS
19909 shift
19910 ac_file=$1
19911 shift
19913 case $ac_mode in
19914 :L) ac_source=$1;;
19915 :[FH])
19916 ac_file_inputs=
19917 for ac_f
19919 case $ac_f in
19920 -) ac_f="$ac_tmp/stdin";;
19921 *) # Look for the file first in the build tree, then in the source tree
19922 # (if the path is not absolute). The absolute path cannot be DOS-style,
19923 # because $ac_f cannot contain `:'.
19924 test -f "$ac_f" ||
19925 case $ac_f in
19926 [\\/$]*) false;;
19927 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19928 esac ||
19929 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19930 esac
19931 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19932 as_fn_append ac_file_inputs " '$ac_f'"
19933 done
19935 # Let's still pretend it is `configure' which instantiates (i.e., don't
19936 # use $as_me), people would be surprised to read:
19937 # /* config.h. Generated by config.status. */
19938 configure_input='Generated from '`
19939 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19940 `' by configure.'
19941 if test x"$ac_file" != x-; then
19942 configure_input="$ac_file. $configure_input"
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19944 $as_echo "$as_me: creating $ac_file" >&6;}
19946 # Neutralize special characters interpreted by sed in replacement strings.
19947 case $configure_input in #(
19948 *\&* | *\|* | *\\* )
19949 ac_sed_conf_input=`$as_echo "$configure_input" |
19950 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19951 *) ac_sed_conf_input=$configure_input;;
19952 esac
19954 case $ac_tag in
19955 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19957 esac
19959 esac
19961 ac_dir=`$as_dirname -- "$ac_file" ||
19962 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19963 X"$ac_file" : 'X\(//\)[^/]' \| \
19964 X"$ac_file" : 'X\(//\)$' \| \
19965 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19966 $as_echo X"$ac_file" |
19967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19968 s//\1/
19971 /^X\(\/\/\)[^/].*/{
19972 s//\1/
19975 /^X\(\/\/\)$/{
19976 s//\1/
19979 /^X\(\/\).*/{
19980 s//\1/
19983 s/.*/./; q'`
19984 as_dir="$ac_dir"; as_fn_mkdir_p
19985 ac_builddir=.
19987 case "$ac_dir" in
19988 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19990 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19991 # A ".." for each directory in $ac_dir_suffix.
19992 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19993 case $ac_top_builddir_sub in
19994 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19995 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19996 esac ;;
19997 esac
19998 ac_abs_top_builddir=$ac_pwd
19999 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20000 # for backward compatibility:
20001 ac_top_builddir=$ac_top_build_prefix
20003 case $srcdir in
20004 .) # We are building in place.
20005 ac_srcdir=.
20006 ac_top_srcdir=$ac_top_builddir_sub
20007 ac_abs_top_srcdir=$ac_pwd ;;
20008 [\\/]* | ?:[\\/]* ) # Absolute name.
20009 ac_srcdir=$srcdir$ac_dir_suffix;
20010 ac_top_srcdir=$srcdir
20011 ac_abs_top_srcdir=$srcdir ;;
20012 *) # Relative name.
20013 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20014 ac_top_srcdir=$ac_top_build_prefix$srcdir
20015 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20016 esac
20017 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20020 case $ac_mode in
20023 # CONFIG_FILE
20026 _ACEOF
20028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20029 # If the template does not know about datarootdir, expand it.
20030 # FIXME: This hack should be removed a few years after 2.60.
20031 ac_datarootdir_hack=; ac_datarootdir_seen=
20032 ac_sed_dataroot='
20033 /datarootdir/ {
20037 /@datadir@/p
20038 /@docdir@/p
20039 /@infodir@/p
20040 /@localedir@/p
20041 /@mandir@/p'
20042 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20043 *datarootdir*) ac_datarootdir_seen=yes;;
20044 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20046 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20047 _ACEOF
20048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20049 ac_datarootdir_hack='
20050 s&@datadir@&$datadir&g
20051 s&@docdir@&$docdir&g
20052 s&@infodir@&$infodir&g
20053 s&@localedir@&$localedir&g
20054 s&@mandir@&$mandir&g
20055 s&\\\${datarootdir}&$datarootdir&g' ;;
20056 esac
20057 _ACEOF
20059 # Neutralize VPATH when `$srcdir' = `.'.
20060 # Shell code in configure.ac might set extrasub.
20061 # FIXME: do we really want to maintain this feature?
20062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20063 ac_sed_extra="$ac_vpsub
20064 $extrasub
20065 _ACEOF
20066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20068 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20069 s|@configure_input@|$ac_sed_conf_input|;t t
20070 s&@top_builddir@&$ac_top_builddir_sub&;t t
20071 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20072 s&@srcdir@&$ac_srcdir&;t t
20073 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20074 s&@top_srcdir@&$ac_top_srcdir&;t t
20075 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20076 s&@builddir@&$ac_builddir&;t t
20077 s&@abs_builddir@&$ac_abs_builddir&;t t
20078 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20079 $ac_datarootdir_hack
20081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20082 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20085 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20086 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20087 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20089 which seems to be undefined. Please make sure it is defined" >&5
20090 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20091 which seems to be undefined. Please make sure it is defined" >&2;}
20093 rm -f "$ac_tmp/stdin"
20094 case $ac_file in
20095 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20096 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20097 esac \
20098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20102 # CONFIG_HEADER
20104 if test x"$ac_file" != x-; then
20106 $as_echo "/* $configure_input */" \
20107 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20108 } >"$ac_tmp/config.h" \
20109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20110 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20112 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20113 else
20114 rm -f "$ac_file"
20115 mv "$ac_tmp/config.h" "$ac_file" \
20116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20118 else
20119 $as_echo "/* $configure_input */" \
20120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20121 || as_fn_error $? "could not create -" "$LINENO" 5
20126 # CONFIG_LINK
20129 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20131 else
20132 # Prefer the file from the source tree if names are identical.
20133 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20134 ac_source=$srcdir/$ac_source
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20138 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20140 if test ! -r "$ac_source"; then
20141 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20143 rm -f "$ac_file"
20145 # Try a relative symlink, then a hard link, then a copy.
20146 case $ac_source in
20147 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20148 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20149 esac
20150 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20151 ln "$ac_source" "$ac_file" 2>/dev/null ||
20152 cp -p "$ac_source" "$ac_file" ||
20153 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20156 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20157 $as_echo "$as_me: executing $ac_file commands" >&6;}
20159 esac
20162 case $ac_file$ac_mode in
20163 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20164 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20165 "Makefile":C) wine_fn_output_makefile Makefile ;;
20167 esac
20168 done # for ac_tag
20171 as_fn_exit 0
20172 _ACEOF
20173 ac_clean_files=$ac_clean_files_save
20175 test $ac_write_fail = 0 ||
20176 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20179 # configure is writing to config.log, and then calls config.status.
20180 # config.status does its own redirection, appending to config.log.
20181 # Unfortunately, on DOS this fails, as config.log is still kept open
20182 # by configure, so config.status won't be able to write to it; its
20183 # output is simply discarded. So we exec the FD to /dev/null,
20184 # effectively closing config.log, so it can be properly (re)opened and
20185 # appended to by config.status. When coming back to configure, we
20186 # need to make the FD available again.
20187 if test "$no_create" != yes; then
20188 ac_cs_success=:
20189 ac_config_status_args=
20190 test "$silent" = yes &&
20191 ac_config_status_args="$ac_config_status_args --quiet"
20192 exec 5>/dev/null
20193 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20194 exec 5>>config.log
20195 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20196 # would make configure fail if this is the last instruction.
20197 $ac_cs_success || as_fn_exit 1
20199 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20201 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20205 if test "$no_create" = "yes"
20206 then
20207 exit 0
20210 ac_save_IFS="$IFS"
20211 if test "x$wine_notices" != x; then
20212 echo >&6
20213 IFS="|"
20214 for msg in $wine_notices; do
20215 IFS="$ac_save_IFS"
20216 if ${msg:+false} :; then :
20218 else
20219 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20220 $as_echo "$as_me: $msg" >&6;}
20222 done
20224 IFS="|"
20225 for msg in $wine_warnings; do
20226 IFS="$ac_save_IFS"
20227 if ${msg:+false} :; then :
20229 else
20230 echo >&2
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20232 $as_echo "$as_me: WARNING: $msg" >&2;}
20234 done
20235 IFS="$ac_save_IFS"
20237 $as_echo "
20238 $as_me: Finished. Do '${ac_make}' to compile Wine.
20239 " >&6